impera Open Impera

IB MYP Mathematics · Algebra

Expressions and equations

1The language of algebra

Algebra uses letters to stand for numbers. Precise words matter in explanations.

  • A variable is a letter that can take different values, such as $x$.
  • A term is a number, a variable or a product of them: $5x$, $-3y^2$, 7.
  • The coefficient is the number multiplying the variable: in $5x$ it is 5.
  • An expression is a collection of terms with no equals sign: $5x - 3$.
  • An equation says two expressions are equal and can be solved: $5x - 3 = 12$.
  • A formula links two or more variables: $A = lw$.
  • An identity is true for every value of the variable: $2(x + 3) \equiv 2x + 6$.

Algebra has its own shorthand: $3x$ means $3 \times x$; $ab$ means $a \times b$; $\frac{x}{4}$ means $x \div 4$; $x^2$ means $x \times x$.

Substitution means replacing letters with numbers. Use brackets around negative values.

Worked example

Find the value of 3x² − 2xy when x = −2 and y = 5

  1. $3(-2)^2 - 2(-2)(5)$.
  2. $(-2)^2 = 4$, so the first term is 12.
  3. $2 \times (-2) \times 5 = -20$, and subtracting −20 adds 20.
  4. Value: 12 + 20 = 32.
Check yourself

In the expression 7x − 4, what is the coefficient of x?

  • x

  • −4

  • 7

  • 3

Show the answer

7

The coefficient is the number multiplying the variable.

2Simplifying, expanding and factorising

Collecting like terms: terms are "like" when they have exactly the same letters and powers. $3x + 5y - x + 2y = 2x + 7y$. The terms $x$ and $x^2$ are not like terms.

Expanding means multiplying out brackets. Every term inside is multiplied by the term outside.

  • $4(2x - 3) = 8x - 12$.
  • $-2(x - 5) = -2x + 10$. A negative outside changes every sign.
  • $x(x + 7) = x^2 + 7x$.

For two brackets, multiply every term in the first by every term in the second.

Worked example

Expand (x + 3)(x − 5)

  1. $x \times x = x^2$.
  2. $x \times (-5) = -5x$.
  3. $3 \times x = 3x$.
  4. $3 \times (-5) = -15$.
  5. Collect: $x^2 - 2x - 15$.

Factorising is the reverse: taking out the highest common factor.

  • $6x + 15 = 3(2x + 5)$.
  • $8x^2 - 12x = 4x(2x - 3)$.
  • Check by expanding your answer.
Check yourself

What is 5(2x − 3) − 4x simplified?

  • 14x − 15

  • 10x − 19

  • 6x − 3

  • 6x − 15

Show the answer

6x − 15

Expanding gives 10x − 15, and 10x − 4x = 6x.

3Solving linear equations

To solve an equation, do the same operation to both sides until the variable is alone. Undo operations in reverse order.

Worked example

Solve 4x − 7 = 21

  1. Add 7 to both sides: $4x = 28$.
  2. Divide both sides by 4: $x = 7$.
  3. Check: 4 × 7 − 7 = 21.
Worked example

Unknown on both sides. Solve 5x + 3 = 2x − 9

  1. Subtract $2x$ from both sides: $3x + 3 = -9$.
  2. Subtract 3: $3x = -12$.
  3. Divide by 3: $x = -4$.
  4. Check: left 5(−4) + 3 = −17; right 2(−4) − 9 = −17.
Worked example

Brackets and fractions. Solve (2x + 1)/3 = x − 2

  1. Multiply both sides by 3: $2x + 1 = 3(x - 2)$.
  2. Expand: $2x + 1 = 3x - 6$.
  3. Subtract $2x$: $1 = x - 6$.
  4. Add 6: $x = 7$.
  5. Check: left (14 + 1) ÷ 3 = 5; right 7 − 2 = 5.

Always substitute your answer back. A check takes seconds and catches sign errors.

Check yourself

Solve 3x + 8 = 5x − 4.

  • x = −6

  • x = 2

  • x = 6

  • x = 1.5

Show the answer

x = 6

Subtracting 3x gives 8 = 2x − 4, so 2x = 12.

4Forming equations from words

Many problems give information in words. Turn it into an equation in four steps: choose a letter, write expressions, form the equation, solve and answer the question asked.

Worked example

Ages

  1. Maya is 4 years older than Leo. Their ages add to 30.
  2. Let Leo's age be $x$. Maya's age is $x + 4$.
  3. $x + (x + 4) = 30$, so $2x + 4 = 30$.
  4. $2x = 26$, so $x = 13$.
  5. Leo is 13 and Maya is 17. Check: 13 + 17 = 30.
Worked example

A rectangle

  1. A rectangle's length is 3 cm more than twice its width. Its perimeter is 48 cm.
  2. Width $w$, length $2w + 3$.
  3. Perimeter: $2(w + 2w + 3) = 48$, so $6w + 6 = 48$.
  4. $w = 7$. The width is 7 cm and the length 17 cm.
  5. Area = 7 × 17 = 119 cm².

Phrases to translate: "5 more than $x$" is $x + 5$; "twice $x$" is $2x$; "3 less than $x$" is $x - 3$; "the product of $x$ and 4" is $4x$; "$x$ divided by 2" is $\frac{x}{2}$.

Check yourself

I think of a number, double it and add 9. The result is 31. Which equation matches?

  • 2(x + 9) = 31

  • 2x + 9 = 31

  • 2x − 9 = 31

  • x + 18 = 31

Show the answer

2x + 9 = 31

Doubling happens first, then 9 is added.

5Rearranging formulae

Changing the subject of a formula means rearranging it so a different letter is alone on one side. Use the same balancing steps as for solving equations.

Worked example

Make x the subject of y = 3x − 5

  1. Add 5: $y + 5 = 3x$.
  2. Divide by 3: $x = \frac{y + 5}{3}$.
Worked example

Make r the subject of A = πr²

  1. Divide by $\pi$: $\frac{A}{\pi} = r^2$.
  2. Square root: $r = \sqrt{\frac{A}{\pi}}$ (the radius is positive).
Worked example

The subject appears in a fraction. Make t the subject of v = d/t

  1. Multiply by $t$: $vt = d$.
  2. Divide by $v$: $t = \frac{d}{v}$.

Rearranging lets one formula answer several questions. From speed = distance ÷ time you get distance = speed × time and time = distance ÷ speed.

Check yourself

Make x the subject of y = 2x + 6.

  • x = (y + 6)/2

  • x = 2y − 6

  • x = (y − 6)/2

  • x = y/2 − 6

Show the answer

x = (y − 6)/2

Subtract 6 first, then divide the whole of y − 6 by 2.

Now test yourself

This lesson has a 8-question quiz and 5 exam-style questions with mark schemes in Impera. Free, with your progress saved.

Practise in Impera