School › Grade 7

Algebraic Expressions & Linear Equations

Grade 7 · Units 5–6

📖 Short lecture

An algebraic expression combines numbers, variables and operations, such as $3x+5$. Like terms have the same variable part and can be added: $2x+5x=7x$. The distributive law gives $a(b+c)=ab+ac$.

A linear equation such as $3x+5=20$ is solved by doing the same operation on both sides, like keeping a balance level: subtract $5$, then divide by $3$, so $x=5$. Always check by substituting the answer.

⚠️ Common mistakes

  • $3(x+4)=3x+12$, not $3x+4$: multiply every term inside the brackets.
  • $2x$ and $2x^2$ are not like terms, and neither are $3x$ and $3$.
  • A minus sign before brackets changes every sign inside: $-(x-5)=-x+5$.

🔑 Key formulas

$$a(b+c)=ab+ac$$
Distributive law
$$ax+b=c\;\Rightarrow\;x=\frac{c-b}{a}$$
Solving a linear equation
$$-(a-b)=-a+b$$
Minus sign in front of brackets
$$\frac{x}{a}=b\;\Rightarrow\;x=ab$$
Undoing a division

✏️ Worked example

Solve $4(x-2)=2x+6$.

  1. $\displaystyle 4x-8=2x+6$
  2. $\displaystyle 2x=14$
  3. $\displaystyle x=7$

✔ $x=7$; check: $4(5)=20=2(7)+6$.

🧮 More worked examples

Each step says what we do and why.

Example 2Solve $5x-3=2x+12$.

  1. Subtract $2x$ from both sides to collect the $x$-terms:$$3x-3=12$$
  2. Add $3$ to both sides:$$3x=15$$
  3. Divide by $3$:$$x=5$$
✔ $x=5$ (check: $5(5)-3=22=2(5)+12$).

Example 3Solve $\dfrac{x+1}{3}=\dfrac{x-2}{2}$.

  1. Multiply both sides by $6$, the least common multiple of $3$ and $2$:$$2(x+1)=3(x-2)$$
  2. Expand the brackets:$$2x+2=3x-6$$
  3. Collect terms:$$x=8$$
✔ $x=8$ (check: $\frac93=3=\frac62$).

Example 4Simplify $4(2a-3)-(a-5)$.

  1. Expand both brackets; the minus sign changes both signs in the second:$$8a-12-a+5$$
  2. Collect like terms:$$7a-7$$
✔ $7a-7=7(a-1)$.

🖐️ Interactive demo & illustration

Move the sliders or press the buttons: the figure and the numbers update immediately. Try to predict the result before you look.

🎬 The equation machine: doing and undoing

The machine multiplies by $a$ and then adds $b$. Press Run to compute $y=ax+b$, and Undo to solve $ax+b=y$ by reversing the steps: first subtract $b$, then divide by $a$.

x
× 3
+ 5
y
4

🌍 Modelling problems

Real-life situations: translate the words into mathematics, solve, then interpret the answer.

🚕 Taxi fare

A taxi charges $5$ AED to start plus $1.80$ AED per km. A ride costs $32$ AED. How long was the ride?

Show the solution
  1. Equation: $5+1.8d=32$.
  2. $1.8d=27$, so $d=27\div1.8$.

✔ $15$ km.

🔢 Consecutive numbers

Three consecutive integers add up to $84$. Find them.

Show the solution
  1. Call them $n$, $n+1$, $n+2$: $3n+3=84$.
  2. $3n=81$, so $n=27$.

✔ $27,\ 28,\ 29$.

🖼️ Picture frame

A rectangle has perimeter $46$ cm and its length is $5$ cm more than its width. Find its dimensions.

Show the solution
  1. Width $w$, length $w+5$: $2(w+w+5)=46$.
  2. $2w+5=23$, so $w=9$.

✔ $9$ cm by $14$ cm.

✅ Multiple-choice quiz

📝 Short essay

Write a word problem that leads to the equation $2x+10=50$ and solve it.