Grade 7Mathematics

Algebraic Expressions

Forming and simplifying expressions; like terms; substitution into expressions.

📖 6 min read · 3 worked examples · 4 practice questions

📚 Practise Algebraic Expressions with the AI tutor
Free email sign-in · AI tutor in English, Kiswahili or Sheng
Get started →

The lesson

By the end of our time together, you'll be confident forming expressions, combining like terms, and substituting values—skills we'll see every day, from market pricing to measuring land. First, let's look at our learning objectives. We'll learn how to write algebraic expressions that represent real‑world situations, simplify them by grouping like terms, and then plug in numbers to find actual results. Notice the bullet point about 'forming expressions.' Think of a farmer calculating total revenue: price per kilogram of maize multiplied by kilograms sold gives the expression price × kg. The point on 'combining like terms' is similar to adding up the cost of different items that share the same unit—like adding several pieces of land measured in acres. Finally, 'substituting values' means we replace the variables with the numbers we know, just as we would plug in today's market price to find total earnings. Any questions before we move on?

All right, let's dive into forming algebraic expressions. This is where we turn the words of a problem into symbols we can work with. First, we need to identify the variables, constants, and operations hidden in the story. Think of the variable as the unknown number we're trying to find, constants as the fixed numbers, and operations as the actions like addition or multiplication. Here's a handy table that matches common word phrases to their symbolic counterparts. For example, 'three times the number of mangoes plus five' becomes 3 × x + 5, which we write as 3x + 5. A quick tip: keep the order of operations exactly as the story presents it. That way, the expression you write will correctly reflect the original problem. Does anyone have a sentence from everyday life they'd like to translate into an expression?

Everyone, let's dive into combining like terms. This is a key skill for simplifying algebraic expressions. First, what are like terms? They are terms that have exactly the same variable part—like 3x and ‑5x, both have the variable x. The rule we use is simple: a·x + b·x becomes (a + b)·x. In other words, you add the coefficients and keep the variable. At this chart. On the left you see examples that are truly like terms, and on the right some that aren't—notice the missing variable in the non‑like examples. A common mistake is forgetting the variable altogether, like writing a + b instead of a·x + b·x. Remember, the variable stays with the combined coefficient. To recap, we define like terms, apply the (a + b)·x rule, use the chart to spot true versus false examples, and watch out for dropping the variable. Any questions before we move on?

Everyone, let's dive into Substitution into Expressions. We'll see how to replace a variable with a number and evaluate the result. First, we follow three simple steps: write the expression, replace the variable with its given value, and then compute using the order of operations. For example, our bullet points remind us to write the expression clearly and then substitute the variable correctly. Consider the expression 3x + 4. Here, "x" is the variable we will replace. If we are told that x equals 5, we substitute 5 for x, giving us 3·5 + 4. Carrying out the multiplication first, 3·5 equals 15, then adding 4 gives us 19. The value of the expression is 19. Remember, when the expression is longer, we use parentheses to show exactly what we're substituting, like 3(x + 2). That keeps everything clear. Finally, think about a real‑life situation: if each notebook costs 3 dollars and you need 5 notebooks, the total cost is 3·5 + 4 (adding a $4 tax). Substituting the numbers gives you the total amount to pay. Great job, everyone! If anything is unclear, feel free to raise your hand and we'll go over it together.

Everyone, let's wrap up what we've explored today and look ahead to the next steps. First, remember how we turned word problems into algebraic expressions—just like translating a Swahili proverb into English, we keep the meaning while changing the language. Next, we combined like terms to simplify; think of it as gathering all the matatu fares for the same route into one total. Then we substituted values to evaluate the expression—just like plugging in the actual price of a kilo of maize into our budget formula. For homework, you'll solve five Kenyan‑context problems. Use your notebooks to write each step clearly; that habit will serve you well in exams and real‑life calculations. If any part feels shaky, feel free to ask a question now—let's make sure everyone's ready to tackle those problems with confidence.

Worked examples

Worked Example 1

Let's dive into Worked Example 1. The problem says: a farmer sells x kilograms of maize at Ksh 20 per kilogram and also earns an extra Ksh 150 for transport. To turn that story into a mathematical expression, we multiply the number of kilograms, x, by the price per kilogram, 20, then add the fixed transport cost of 150. That gives us 20x + 150. Let's check our expression with a sample value. If the farmer sells 10 kg, we substitute x = 10: 20 × 10 + 150 = 350. The total earnings would be Ksh 350. Great, we've formed the correct expression and verified it with a concrete number. Any questions before we move on?

Worked Example 2

Everyone, let's work through Worked Example 2 together. We'll simplify an algebraic expression step by step. First, look at the expression we need to simplify: 4y + 7 – 2y + 3y – 5. Notice we have several terms with the variable y and a few constant numbers. We'll group the like terms. Grouping like terms means putting all the y‑terms together and all the constants together. We rewrite the expression as (4y – 2y + 3y) + (7 – 5). This makes it clear which parts we can combine. Combine the y‑terms: 4y – 2y + 3y equals 5y. Combine the constants: 7 – 5 equals 2. Putting those results together gives the simplified expression 5y + 2. Quick check: if we let y = 2, the original expression becomes 4(2)+7–2(2)+3(2)–5 = 8+7–4+6–5 = 12, and our simplified form gives 5(2)+2 = 10+2 = 12. It matches, so we're correct. Great job, everyone! Remember, always gather like terms first—that's the key to simplifying any algebraic expression.

Worked Example 3

This example shows how we substitute numbers into a two‑variable expression that could represent the total cost of resources on a Kenyan farm. First, note the expression we'll be using: 2a + 3b – 4. Here, a stands for the number of hours of irrigation and b for the number of bags of fertilizer. Let's plug in the given values: a = 6 hours and b = 8 bags. Substituting, we get 2·6 + 3·8 – 4. Carrying out the arithmetic: 2·6 is 12, 3·8 is 24, so 12 + 24 – 4 equals 32. That 32 represents the total resource cost in our chosen units. Great job following each step. Remember, substitution is just replacing the variables with the numbers you're given, then simplifying. Any questions before we move on?

Practice questions

  • Remember, profit is what you earn after you subtract your costs from your sales. For the market story, think of the total cost as 4 kg × 150 shillings and the total revenue as 800 shillings.
  • When we simplify an expression like 7p – 2p + 4, we group the like terms (the p's) together: 7p – 2p becomes 5p, then add the constant 4. The simplified form is 5p + 4.
  • For substitution, plug the given number straight into the expression. If p = 3, then 5p – 2 becomes 5 × 3 – 2, which equals 13.
  • Finally, when we combine like terms in 3m + 4n – m – 2n, we subtract the m's (3m – m = 2m) and the n's (4n – 2n = 2n). The correct simplified form is 2m + 2n.

Ask the tutor

  • Explain Welcome & Learning Objectives in simple words.
  • Give me 3 worked examples on Welcome & Learning Objectives.
  • Quiz me with 5 questions on Welcome & Learning Objectives.
  • What's the most common mistake students make on Welcome & Learning Objectives?
Sign up for a CBC AI tutor →

Free email sign-up — the tutor answers in English, Kiswahili or Sheng and walks you through algebraic expressions step by step.

Keep going in Mathematics5 more