MathMastery.Beta
Learning Resources

Algebraic Expressions

Interactive curriculum lessons, worked examples, and geometric problem-solving techniques designed to help Kenyan students master CBC, KPSEA, KCSE, and IGCSE mathematics.

Form 1 Pathway: N/A

First Principles

Objective

Master the foundational principles of algebra by forming algebraic expressions, identifying like versus unlike terms, expanding brackets, and substituting numerical values.

1. The Concrete Concept: The Market stall Analogy

Imagine Achieng runs a produce stall in Muthurwa Market in Nairobi. She sells sacks of potatoes at \(x\) shillings each and bunches of sukuma wiki at \(y\) shillings each.

  • On Monday morning, she sells \(3\) sacks of potatoes: value = \(3x\).
  • In the afternoon, she sells another \(4\) sacks of potatoes: value = \(4x\).

Her total potato sales are \(3x + 4x = 7x\) shillings. Because both items are identical potato sacks priced at \(x\), we simply add the quantities. These are like terms.

However, if she also sells \(5\) bunches of sukuma wiki (\(5y\)), her total earnings are \(7x + 5y\). You cannot combine these to get \(12xy\) because a sack of potatoes and a bunch of sukuma wiki are completely different items with different prices!

Core Rule: Like terms must share the exact same variable(s) raised to the exact same powers (e.g., \(5a^2\) and \(-2a^2\)). You combine them by adding or subtracting their numerical coefficients while leaving the variable part unchanged.

2. Interactive Term Sorter

Group the scattered algebraic terms into their correct bins to see how an expression simplifies live!

Term Sorting Station

Click or drag a term from the holding pen into the correct category bin.

x-terms
y-terms
Constants
Simplified Result: Place all terms...

Key Formulas

Fundamental Algebraic Laws

1. Combining Like Terms: \[ ax + bx = (a + b)x \] \[ ax - bx = (a - b)x \] Only the coefficients add or subtract. The variable and its exponent remain unchanged.
2. Distributive Law (Expanding Brackets): \[ a(b + c) = ab + ac \] \[ a(b - c) = ab - ac \] \[ -a(b + c) = -ab - ac \] \[ -(b - c) = -b + c \] Be vigilant with negative signs multiplying across each internal term!
3. Evaluation by Substitution:

To evaluate an algebraic expression for given numerical values of variables:

  1. Replace each variable with parentheses containing its given numerical value: e.g., if \(x = -3\), write \(2(x)^2\) as \(2(-3)^2\).
  2. Follow BODMAS/PEMDAS: Powers first, then multiplication/division, and finally addition/subtraction.

Worked Examples

Example 1 (Easy): Basic Grouping and Evaluation

Problem: Simplify \(7x - 4x + 9\), then evaluate when \(x = 5\).

Step-by-step Solution:

  1. Identify like terms: \(7x\) and \(-4x\) both have the variable \(x\) to power 1. The constant is \(+9\).
  2. Combine like terms: \((7 - 4)x + 9 = 3x + 9\).
  3. Substitute \(x = 5\): \(3(5) + 9 = 15 + 9 = 24\).

Final Answer: Simplified = \(3x + 9\); Evaluated value = \(24\)

Example 2 (Medium): Expanding Single Brackets & Combining

Problem: Simplify the algebraic expression \(4(3a - 2) - 2(a - 5)\).

Step-by-step Solution:

  1. Expand the first bracket: \(4 \times 3a - 4 \times 2 = 12a - 8\).
  2. Expand the second bracket carefully with the negative sign: \[ -2(a - 5) = (-2)(a) + (-2)(-5) = -2a + 10 \]
  3. Group all terms together: \(12a - 8 - 2a + 10\).
  4. Collect like terms: \((12a - 2a) + (-8 + 10) = 10a + 2\).

Final Answer: \(10a + 2\)

Example 3 (Hard): Multi-Variable Real-World Problem with Negative Substitution

Problem: Juma buys \(3\) exercise books at KSh \((2x + y)\) each and returns \(2\) pens each worth KSh \((x - 3y)\). Find the simplified expression for his net expenditure, and determine the exact cost if \(x = 40\) and \(y = -5\).

Step-by-step Solution:

  1. Form the net expenditure expression: \(3(2x + y) - 2(x - 3y)\).
  2. Expand brackets: \[ 3(2x + y) = 6x + 3y \] \[ -2(x - 3y) = -2x + 6y \]
  3. Combine like terms: \[ (6x - 2x) + (3y + 6y) = 4x + 9y \]
  4. Substitute \(x = 40\) and \(y = -5\): \[ 4(40) + 9(-5) = 160 - 45 = 115 \]

Final Answer: Expression = \(4x + 9y\); Net Expenditure = KSh \(115\)

Common Mistakes

Misconception 1: Adding Coefficients and Variables indiscriminately

Mistake: Writing \(4x + 3 = 7x\) or \(2x + 3y = 5xy\).

Why it feels right: Your brain sees \(4 + 3 = 7\) and wants to perform basic arithmetic immediately.

Correction: An algebraic term \(4x\) means \(4\) units of \(x\), whereas \(3\) is just a constant number. They are incompatible units (like adding 4 cows and 3 shillings). \(4x + 3\) is already fully simplified.

Misconception 2: Dropping Negative Signs during Expansion

Mistake: Expanding \(-(x - 4)\) as \(-x - 4\) or \(-3(2x - 5)\) as \(-6x - 15\).

Why it feels right: The minus sign is applied to the first term, but the second term is copied without distributing the negative sign.

Correction: Remember that \(-(a - b) = -1 \times (a - b) = -a + b\). Multiplying a negative by a negative gives a positive: \(-3(2x - 5) = -6x + 15\).

Misconception 3: Squaring Negative Numbers Without Brackets

Mistake: When evaluating \(a^2\) for \(a = -3\), writing \(-3^2 = -9\).

Why it feels right: Calculators without parentheses interpret \(-3^2\) as \(-(3^2) = -9\).

Correction: When substituting into \(a^2\), always write \((-3)^2 = (-3) \times (-3) = +9\).

Real World

Real-World Applications in Kenya & Africa

1. Matatu Fare Collection & Fuel Expenses

A matatu conductor on the Rongai-CBD route collects \(x\) shillings from each of \(14\) normal passengers and \(y\) shillings from \(4\) standing passengers. If fuel costs \(F\) shillings, net revenue is \(14x + 4y - F\). Algebraic expressions model profitability per trip under changing fares.

2. Tea and Coffee Farming Yields (Kericho & Nyeri)

A farmer harvests from two plots: Plot A yields \((4k + 50)\) kg and Plot B yields \((6k - 20)\) kg, where \(k\) is the fertilizer rate factor. Combining like terms gives a total harvest of \(10k + 30\) kg, streamlining yield projections.

3. M-Pesa Agent Balances

An M-Pesa agent starts with \(C\) cash float and \(E\) e-float. After \(5\) cash deposits of \(d\) shillings each and \(3\) withdrawals of \(w\) shillings each, the new cash balance is \(C + 5d - 3w\). Only like transactions can be aggregated.

Practice

If \(a = 4\) and \(b = 5\), what is the value of the algebraic expression \(3a - 2b\)? (Type only the number, e.g., 42)
Review the concepts above.
Find the value of the expression \(4a^2 - 3a + 2\) when \(a = 2\). (Type only the number, e.g., 42)
Review the concepts above.
Find the value of the expression \(2a^2 - 3a + 4\) when \(a = 3\). (Type only the number, e.g., 42)
Review the concepts above.
Simplify the expression \(5y - 2(3y - 4) + 7\) and state the coefficient of \(y\) in the simplified result. (Type only the number, e.g., -3)
Review the concepts above.
Find the value of \(4a^2 - 3a + 2\) when \(a = -2\). (Type only the number, e.g., 42)
Review the concepts above.
Simplify the algebraic expression \(3x - 5 + 2x - 7 - (x - 4)\), then find its evaluated value when \(x = 6\). (Type only the number, e.g., 42)
Review the concepts above.