Cambridge IGCSE Mathematics 0580 · Algebra and graphs

Equations

How to build expressions, equations and formulas from words, solve linear equations and pairs of simultaneous equations, and rearrange formulas. Extended students also solve fractional and quadratic equations (by factorising, completing the square and the formula), a linear equation with a non-linear one, and harder rearrangements.

C2.5E2.5Core and ExtendedFree lesson
What the syllabus says

C2.5 (Core)

  • 1 Construct simple expressions, equations and formulas.
  • 2 Solve linear equations in one unknown.
  • 3 Solve simultaneous linear equations in two unknowns.
  • 4 Change the subject of simple formulas.

Notes and examples

  • e.g. write an expression for a number that is 2 more than n.
  • Includes constructing linear simultaneous equations.
  • Examples include:
  • 3x+4=10
  • 5−2x=3(x+7).
  • e.g. change the subject of formulas where:
  • the subject only appears once
  • there is not a power or root of the subject.

E2.5 (Extended)

  • 1 Construct expressions, equations and formulas.
  • 2 Solve linear equations in one unknown.
  • 3 Solve fractional equations with numerical and linear algebraic denominators.
  • 4 Solve simultaneous linear equations in two unknowns.
  • 5 Solve simultaneous equations, involving one linear and one non-linear.
  • 6 Solve quadratic equations by factorisation, completing the square and by use of the quadratic formula.
  • 7 Change the subject of formulas.

Notes and examples

  • e.g. write an expression for the product of two consecutive even numbers.
  • Includes constructing simultaneous equations.
  • Examples include:
  • 3x+4=10
  • 5−2x=3(x+7).
  • Examples include:
  • x2x+1=4
  • 2x+2+32x−1=1
  • xx+2=3x−6.
  • With powers no higher than two.
  • Includes writing a quadratic expression in completed square form.
  • Candidates may be expected to give solutions in surd form.
  • The quadratic formula is given in the List of formulas.
  • e.g. change the subject of a formula where:
  • the subject appears twice
  • there is a power or root of the subject.

Quoted from the Cambridge IGCSE Mathematics 0580 syllabus for 2025 to 2027.

Expressions, equations and formulas

An expression is a collection of terms with no equals sign, such as 3n+2. An equation says that two things are equal, and it is true only for particular values of the letter: 3n+2=17 is true only when n=5. A formula connects quantities that can each take many values, such as A=lw for the area of a rectangle.

To construct an expression, equation or formula from words, decide what each letter stands for, then translate one phrase at a time:

  • "2 more than n" is n+2.
  • "3 less than n" is n−3, not 3−n. "Less than" reverses the order you read the words in.
  • "n multiplied by 4, then 5 subtracted" is 4n−5.
  • "the total cost, C euros, of x pens at €0.60 each and a folder at €2" is the formula C=0.6x+2. Keep every amount in the same units.

The difference between an expression and an equation matters in the exam. "Write an expression" wants something like 4n−5 with no equals sign; "form an equation" wants an equals sign and something on each side.

Forming equations from a problem

Many questions describe a situation in words and expect you to set up the equation yourself. The method is always the same:

  1. Choose a letter for the unknown and say what it stands for.
  2. Write every quantity in the problem in terms of that letter.
  3. Use the fact the question gives you (a total, a perimeter, two things being equal) to make the equation.
  4. Solve it, then answer the question that was actually asked, with units.

For example, the angles of a triangle are x°, 2x° and (x+20)°. The angles of a triangle add up to 180°, so x+2x+x+20=180. That gives 4x=160 and x=40, so the angles are 40°, 80° and 60°. Step 4 matters: if the question asks for the largest angle, the answer is 80°, not 40.

Questions can also ask you to construct two equations from two facts, then solve them simultaneously. You will see this later in the lesson.

Constructing harder expressions Extended

Extended questions often need an expression with a product in it. Two consecutive whole numbers are n and n+1. Two consecutive even numbers are 2n and 2n+2: every even number is a multiple of 2, and the next even number is 2 more. Two consecutive odd numbers are 2n+1 and 2n+3.

So the product of two consecutive even numbers is 2n(2n+2)=4n2+4n. Notice that this is always a multiple of 4, which is the kind of fact an exam question may ask you to show.

Expressions like these lead to quadratic equations, which you will solve later in this lesson.

Solving linear equations

A linear equation has the unknown only to the power 1. You solve it by doing the same thing to both sides, which keeps the two sides equal, until the letter is on its own. Think of a balance: whatever you take off one side you must take off the other.

The usual order is:

  1. Multiply out any brackets.
  2. Clear any fractions by multiplying every term by the denominator.
  3. Collect the letter terms on one side and the numbers on the other. Collecting on the side where the letter term stays positive avoids sign errors.
  4. Divide by the number in front of the letter.

The syllabus example 5−2x=3(x+7) uses several of these steps. Expand: 5−2x=3x+21. Add 2x to both sides: 5=5x+21. Subtract 21: −16=5x. Divide by 5: x=−165=−3.2. A negative or fractional answer is perfectly normal; give it exactly unless the question asks you to round.

You can always check by substituting your answer into the original equation: 5−2(−3.2)=11.4 and 3(−3.2+7)=11.4, so both sides agree.

Worked example 1

Solve 4(2x−3)=5x+9.

  1. Expand the bracket: 8x−12=5x+9.

  2. Subtract 5x from both sides: 3x−12=9.

  3. Add 12 to both sides: 3x=21.

  4. Divide both sides by 3: x=7.

  5. Check: 4(14−3)=44 and 5(7)+9=44. Both sides agree.

Answer: x=7

Worked example 2

Solve 3x−24=x−3.

  1. Multiply both sides by 4. The whole right-hand side is multiplied: 3x−2=4(x−3).

  2. Expand: 3x−2=4x−12.

  3. Subtract 3x from both sides: −2=x−12.

  4. Add 12 to both sides: x=10.

  5. A common slip is to write 3x−2=4x−3, multiplying only the x by 4. Brackets round the side you multiply prevent it.

Answer: x=10

Check yourself

Solve 7x−4=3x+10.

Answer it in the portal, where your answer is checked as you type →

Simultaneous linear equations

Two equations in two unknowns, such as x+y=10 and x−y=4, are simultaneous when the same pair of values must make both of them true. Here the pair is x=7 and y=3. Each equation on its own has infinitely many solutions; it is the pair together that pins down one answer. On a graph each linear equation is a straight line, and the solution is the point where the two lines cross.

Elimination. Make the number in front of one letter the same in both equations, then add or subtract the equations to remove that letter.

  • If the matching terms have the same sign, subtract one equation from the other.
  • If they have opposite signs, add the equations.

You may need to multiply one or both equations first. Multiplying a whole equation by a number keeps it true, as long as every term on both sides is multiplied.

Substitution. If one equation already gives a letter on its own, such as y=2x−1, substitute that expression into the other equation. This is the method you need for Extended questions where one equation is not linear.

When you have found one letter, substitute it into either equation to find the other, then check both values in the other equation.

Worked example 3

Solve the simultaneous equations.
2x+3y=7
5x−2y=27

  1. No letter has matching coefficients, so make the y terms match: multiply the first equation by 2 and the second by 3.

  2. 4x+6y=14 and 15x−6y=81.

  3. The y terms have opposite signs, so add the equations: 19x=95, so x=5.

  4. Substitute into 2x+3y=7: 10+3y=7, so 3y=−3 and y=−1.

  5. Check in the other equation: 5(5)−2(−1)=25+2=27. Correct.

Answer: x=5, y=−1

Worked example 4

At a theatre, 3 adult tickets and 2 child tickets cost €41. 2 adult tickets and 5 child tickets cost €53. Find the cost of an adult ticket and the cost of a child ticket.

  1. Let an adult ticket cost a euros and a child ticket cost c euros.

  2. The two facts give the equations 3a+2c=41 and 2a+5c=53.

  3. Make the a terms match: multiply the first by 2 and the second by 3. This gives 6a+4c=82 and 6a+15c=159.

  4. The a terms have the same sign, so subtract: 11c=77, so c=7.

  5. Substitute into 3a+2c=41: 3a+14=41, so 3a=27 and a=9.

  6. Check: 2(9)+5(7)=18+35=53. Correct.

  7. Answer in context: an adult ticket costs €9 and a child ticket costs €7.

Answer: Adult €9, child €7

Check yourself

Solve the simultaneous equations.
4x+y=11
2x−3y=9

Answer it in the portal, where your answer is checked as you type →

Changing the subject of a formula

The subject of a formula is the letter on its own on one side. In v=u+at the subject is v. To make a different letter the subject, undo what has been done to it, in reverse order, doing the same to both sides each time, exactly as when solving an equation.

In y=3x−52, the operations applied to x were: multiply by 3, subtract 5, divide by 2. Undo them in reverse order: multiply by 2, add 5, divide by 3.

At Core level the new subject appears only once in the formula, and it is not squared or under a root. The answer is a formula, so it keeps its letters: you are not expected to find a number.

Worked example 5

Make x the subject of the formula y=3x−52.

  1. Multiply both sides by 2: 2y=3x−5.

  2. Add 5 to both sides: 2y+5=3x.

  3. Divide both sides by 3: x=2y+53.

  4. Keep the whole of 2y+5 over the 3. Writing 2y3+5 gives a different formula.

Answer: x=2y+53

Check yourself

Make h the subject of the formula A=12bh.

Answer it in the portal, where your answer is checked as you type →

Fractional equations Extended

When the unknown is in a denominator, or there are several fractions, multiply every term on both sides by the lowest common denominator. That clears all the fractions at once and leaves an equation you already know how to solve.

  • Numerical denominators. For x+12−x−35=2, multiply every term by 10: 5(x+1)−2(x−3)=20. Watch the bracket after the minus sign: −2(x−3)=−2x+6. Then 5x+5−2x+6=20, so 3x=9 and x=3.
  • An algebraic denominator. For x3x−2=2, multiply both sides by (3x−2): x=6x−4, so 5x=4 and x=45.
  • Two algebraic fractions. Multiply by the product of the denominators, as in Worked example 6. The result is often a quadratic equation.

Finally, check that no solution makes a denominator zero, because dividing by zero is impossible. Such a value must be rejected.

Worked example 6 Extended

Solve 2x+1+3x+3=1.

  1. Multiply every term by (x+1)(x+3): 2(x+3)+3(x+1)=(x+1)(x+3).

  2. Expand: 2x+6+3x+3=x2+4x+3.

  3. Simplify the left-hand side: 5x+9=x2+4x+3.

  4. Rearrange so that one side is zero: 0=x2−x−6.

  5. Factorise: (x−3)(x+2)=0, so x=3 or x=−2.

  6. Neither value makes a denominator zero, so both are solutions. Check x=3: 24+36=1.

Answer: x=3 or x=−2

Quadratic equations by factorising Extended

A quadratic equation has an x2 term and no higher power of x. Rearrange it so one side is 0, then factorise. The method rests on one fact: if two numbers multiply to give 0, at least one of them is 0. So if (x−5)(x+3)=0, either x−5=0 or x+3=0, giving x=5 or x=−3.

The zero is essential. (x−5)(x+3)=9 tells you nothing about either bracket on its own, so always rearrange to =0 first.

When the x2 term has a coefficient, as in 2x2+5x−12=0, find two numbers that multiply to 2×(−12)=−24 and add to 5: they are 8 and −3. Split the middle term and factorise in pairs: 2x2+8x−3x−12=2x(x+4)−3(x+4)=(2x−3)(x+4). So x=32 or x=−4.

Never divide both sides by x. In x2=7x, dividing by x loses the solution x=0. Instead write x2−7x=0, so x(x−7)=0, and x=0 or x=7.

Completing the square Extended

Expanding (x+p)2 gives x2+2px+p2, so the number in the bracket is half the coefficient of x. To write x2+bx+c in completed square form:

  1. Halve the coefficient of x and write the bracket (x+b2)2.
  2. That bracket contains an extra (b2)2, so subtract it, then include c.

For x2−8x+5: half of −8 is −4, and (x−4)2=x2−8x+16, which is 11 more than we want. So x2−8x+5=(x−4)2−11.

If the x2 term has a coefficient, take it out of the x terms first: 2x2+12x+7=2(x2+6x)+7=2((x+3)2−9)+7=2(x+3)2−11.

Completed square form solves equations that do not factorise, and gives exact answers in surd form. If (x−4)2−11=0 then (x−4)2=11, so x−4=±11 and x=4±11. The ± is there because both 11 and −11 square to give 11.

Worked example 7 Extended

(a) Write x2+6x−3 in the form (x+p)2+q. (b) Hence solve x2+6x−3=0, giving your answers in surd form.

  1. (a) Half of 6 is 3, and (x+3)2=x2+6x+9.

  2. We need −3, not +9, so subtract 12: x2+6x−3=(x+3)2−12. So p=3 and q=−12.

  3. (b) (x+3)2−12=0, so (x+3)2=12.

  4. Square root both sides, remembering both signs: x+3=±12=±23.

  5. So x=−3+23 or x=−3−23.

Answer: (a) (x+3)2−12 (b) x=−3±23

The quadratic formula Extended

For any quadratic equation ax2+bx+c=0,
x=−b±b2−4ac2a
The formula is printed in the List of formulas, so you do not need to memorise it, but you do need to use it accurately. It comes from completing the square on ax2+bx+c in general, which is why it works for every quadratic.

When a question asks for answers to 2 decimal places or 3 significant figures, the examiner is telling you the quadratic does not factorise: use the formula.

  • Rearrange to =0 first, then read off a, b and c with their signs.
  • Put negative values in brackets: if b=−5 then b2=(−5)2=25, not −25.
  • Work out b2−4ac first, then the two answers separately, and round only at the end.
  • If b2−4ac is negative there are no solutions, because no real number squares to a negative number.

Worked example 8 Extended

Solve 3x2−5x−4=0. Give your answers correct to 2 decimal places.

  1. a=3, b=−5 and c=−4.

  2. b2−4ac=(−5)2−4(3)(−4)=25+48=73.

  3. x=5±736.

  4. 73=8.5440…, so x=13.5440…6=2.2573… or x=−3.5440…6=−0.5906…

  5. Correct to 2 decimal places, x=2.26 or x=−0.59.

Answer: x=2.26 or x=−0.59

Simultaneous equations: one linear, one non-linear Extended

When one equation is linear and the other has a squared term, such as y=x2−3x+1 and y=x−2, elimination does not work. Use substitution: make x or y the subject of the linear equation and substitute it into the other one. The result is a quadratic in one letter, which usually has two solutions, so there are usually two pairs of answers. On a graph, a straight line can cross a curve at two points.

Pair each value of x with its own value of y, and find y from the linear equation: it is quicker and less error-prone.

Worked example 9 Extended

Solve the simultaneous equations.
y=x2−3x+1
y=x−2

  1. Both expressions equal y, so x2−3x+1=x−2.

  2. Rearrange so that one side is zero: x2−4x+3=0.

  3. Factorise: (x−1)(x−3)=0, so x=1 or x=3.

  4. Use y=x−2: when x=1, y=−1; when x=3, y=1.

  5. Check in the curve: 1−3+1=−1 and 9−9+1=1. Both pairs work.

Answer: x=1,y=−1 and x=3,y=1

Changing the subject: harder formulas Extended

Two harder situations appear at Extended level.

The subject appears twice. Collect every term containing the subject on one side and everything else on the other, then factorise so the subject appears once, and divide. For p=3t+2t−1:

  1. multiply both sides by (t−1): pt−p=3t+2;
  2. collect the t terms on one side: pt−3t=p+2;
  3. factorise: t(p−3)=p+2;
  4. divide: t=p+2p−3.

The subject is squared or under a root. Isolate the power or root, then undo it: a square is undone by a square root, and a square root by squaring. For V=13πr2h: 3V=πr2h, so r2=3Vπh and r=3Vπh. Here r is a length, so only the positive root is wanted.

Check yourself Extended

Solve x2+3x−10=0.

Answer it in the portal, where your answer is checked as you type →

Check yourself Extended

Solve 2x2−7x+2=0. Give your answers correct to 2 decimal places.

Answer it in the portal, where your answer is checked as you type →

Key points

  • An expression has no equals sign; an equation does; a formula connects quantities that can vary.

  • Solve a linear equation by doing the same to both sides: expand brackets, clear fractions, collect the letter on one side, divide.

  • Simultaneous equations: match the coefficients of one letter, then add (opposite signs) or subtract (same signs). Check your pair in the other equation.

  • To change the subject, undo the operations on the new subject in reverse order.

  • Extended: rearrange a quadratic to =0, then factorise, complete the square or use x=−b±b2−4ac2a.

  • Extended: with one linear and one non-linear equation, substitute the linear one into the other and expect two pairs of answers.

  • Extended: when the subject appears twice, collect those terms and factorise.

Where marks are lost

  • Multiplying only part of a bracket or only one term by a denominator: 5(x−2) is 5x−10, not 5x−2.

  • Sign errors when a term moves across: undo −4 by adding 4 to both sides.

  • Writing "3 less than n" as 3−n instead of n−3.

  • Finding x in a simultaneous equation question and forgetting to find y, or not checking the pair.

  • Answering the wrong question: finding x when the question asks for the length, or Bilal's age when it asks for Amira's.

  • Extended: dividing a quadratic by x and losing the solution x=0; or factorising without first making one side zero.

  • Extended: using the formula with −52 instead of (−5)2, or rounding b2−4ac before the end.

  • Extended: forgetting the ± when square rooting, so one solution is lost.

  • Extended: pairing the wrong x with the wrong y in linear and non-linear simultaneous equations.

Related IGCSE Mathematics 0580 lessons

All IGCSE Mathematics 0580 lessons →

An original lesson written to the Cambridge IGCSE Mathematics 0580 syllabus (2025 to 2027). The worked examples and questions are our own, not Cambridge questions. Back to every IGCSE Mathematics 0580 lesson.