Skip to content
Worked Examples

Algebra and Graphs

Working through solved examples is one of the most effective ways to master algebra in IGCSE Mathematics. These worked examples, curated by Teacher Rig, cover the most common question types you will e

Working through solved examples is one of the most effective ways to master algebra in IGCSE Mathematics. These worked examples, curated by Teacher Rig, cover the most common question types you will encounter in the Cambridge IGCSE 0580 exam. Each solution shows every step of working with clear explanations of the reasoning behind each step.

Example 1: Solving a quadratic by factorising

Foundation Similar to 0580/22/M/J/22 Q18

Question

Solve x squared + 5x - 14 = 0.

Solution

  1. 1

    Find two numbers that multiply to -14 and add to +5

    Factors of -14: (7, -2) since 7 x (-2) = -14 and 7 + (-2) = 5

    For x squared + bx + c = 0, we need two numbers that multiply to c and add to b.

  2. 2

    Write the factorised form

    (x + 7)(x - 2) = 0

    Place each number into a bracket with x.

  3. 3

    Solve each bracket

    x + 7 = 0, so x = -7. Or x - 2 = 0, so x = 2.

    If two things multiply to give zero, at least one must be zero.

Final Answer: x = -7 or x = 2

Exam Tip

Always check by expanding your brackets: (x+7)(x-2) = x squared -2x + 7x -14 = x squared + 5x - 14. Correct!

Example 2: Solving simultaneous equations

Foundation Similar to 0580/22/O/N/21 Q20

Question

Solve: 3x + 2y = 16 and 5x - 2y = 24.

Solution

  1. 1

    Add the equations to eliminate y

    3x + 2y + 5x - 2y = 16 + 24, so 8x = 40

    Since one equation has +2y and the other -2y, adding eliminates y.

  2. 2

    Solve for x

    x = 40 / 8 = 5

    Divide both sides by 8.

  3. 3

    Substitute to find y

    3(5) + 2y = 16, so 15 + 2y = 16, 2y = 1, y = 0.5

    Substitute x = 5 back into either original equation.

  4. 4

    Check in the other equation

    5(5) - 2(0.5) = 25 - 1 = 24. Correct.

    Always verify your answer in the equation you did not use.

Final Answer: x = 5, y = 0.5

Exam Tip

If adding does not eliminate a variable, try subtracting. If coefficients do not match, multiply one or both equations first.

Example 3: Simplifying algebraic fractions

Extended Similar to 0580/42/M/J/23 Q3

Question

Simplify (x squared - 9) / (x squared + 5x + 6).

Solution

  1. 1

    Factorise the numerator

    x squared - 9 = (x + 3)(x - 3)

    This is a difference of two squares: a squared - b squared = (a+b)(a-b).

  2. 2

    Factorise the denominator

    x squared + 5x + 6 = (x + 2)(x + 3)

    Find two numbers that multiply to 6 and add to 5: that is 2 and 3.

  3. 3

    Cancel common factors

    (x + 3)(x - 3) / (x + 2)(x + 3) = (x - 3) / (x + 2)

    (x + 3) appears in both numerator and denominator so it cancels.

Final Answer: (x - 3) / (x + 2)

Exam Tip

You can only cancel FACTORS, never individual terms. Always factorise completely before cancelling.

Example 4: Using the quadratic formula

Extended Similar to 0580/42/O/N/22 Q4

Question

Solve 2x squared - 3x - 7 = 0. Give answers to 2 decimal places.

Solution

  1. 1

    Identify a, b, c

    a = 2, b = -3, c = -7

    Compare with ax squared + bx + c = 0.

  2. 2

    Substitute into the quadratic formula

    x = (-b plus or minus sqrt(b squared - 4ac)) / 2a = (3 plus or minus sqrt(9 + 56)) / 4

    x = (-(-3) plus or minus sqrt((-3) squared - 4(2)(-7))) / (2 times 2)

  3. 3

    Calculate the discriminant

    b squared - 4ac = 9 + 56 = 65

    The discriminant tells us there are two real solutions since 65 > 0.

  4. 4

    Find both solutions

    x = (3 + sqrt(65)) / 4 = (3 + 8.062) / 4 = 11.062 / 4 = 2.77. Or x = (3 - 8.062) / 4 = -5.062 / 4 = -1.27.

    Calculate each solution separately using plus then minus.

Final Answer: x = 2.77 or x = -1.27

Exam Tip

Write down the formula before substituting. Show the discriminant calculation separately. This earns method marks even if arithmetic goes wrong.

Example 5: Finding a composite function

Foundation Similar to 0580/22/M/J/22 Q16

Question

f(x) = 3x + 1 and g(x) = x squared. Find fg(2).

Solution

  1. 1

    Apply g first (inner function)

    g(2) = 2 squared = 4

    fg(2) means f(g(2)). Apply g first.

  2. 2

    Apply f to the result

    f(4) = 3(4) + 1 = 13

    Now substitute g(2) = 4 into f.

Final Answer: fg(2) = 13

Exam Tip

For fg(x), always apply g first then f. Read from right to left: f of g of x.

Example 6: Finding the inverse function

Foundation Similar to 0580/22/O/N/21 Q17

Question

f(x) = (2x - 5) / 3. Find f inverse of x.

Solution

  1. 1

    Write y = f(x)

    y = (2x - 5) / 3

    Replace f(x) with y.

  2. 2

    Swap x and y

    x = (2y - 5) / 3

    This is the key step for finding inverses.

  3. 3

    Solve for y

    3x = 2y - 5, then 3x + 5 = 2y, then y = (3x + 5) / 2

    Multiply both sides by 3, add 5, divide by 2.

Final Answer: f inverse of x = (3x + 5) / 2

Exam Tip

Check your inverse by verifying f(f inverse of x) = x. Here: f((3x+5)/2) = (2(3x+5)/2 - 5)/3 = (3x+5-5)/3 = 3x/3 = x. Correct!

Example 7: Finding the composite function expression

Extended Similar to 0580/42/M/J/23 Q2

Question

f(x) = 2x + 3 and g(x) = x squared - 1. Find (a) fg(x), (b) gf(x).

Solution

  1. 1

    Find fg(x)

    fg(x) = f(g(x)) = f(x squared - 1) = 2(x squared - 1) + 3 = 2x squared - 2 + 3 = 2x squared + 1

    Replace every x in f with the expression g(x) = x squared - 1.

  2. 2

    Find gf(x)

    gf(x) = g(f(x)) = g(2x + 3) = (2x + 3) squared - 1 = 4x squared + 12x + 9 - 1 = 4x squared + 12x + 8

    Replace every x in g with the expression f(x) = 2x + 3.

Final Answer: fg(x) = 2x squared + 1, gf(x) = 4x squared + 12x + 8

Exam Tip

Notice fg(x) and gf(x) give different results. Order matters in composition!

Example 8: Domain and range from a graph

Extended Similar to 0580/42/O/N/22 Q5

Question

f(x) = x squared - 4x + 3 for 0 <= x <= 5. Find the range of f.

Solution

  1. 1

    Find the minimum point

    x = -b/2a = 4/2 = 2. f(2) = 4 - 8 + 3 = -1

    The minimum of a quadratic ax squared + bx + c occurs at x = -b/(2a).

  2. 2

    Find the values at the endpoints

    f(0) = 0 - 0 + 3 = 3. f(5) = 25 - 20 + 3 = 8.

    Check the function value at both ends of the domain.

  3. 3

    State the range

    The minimum value is -1 (at x = 2) and the maximum is 8 (at x = 5). Range: -1 <= f(x) <= 8.

    The range includes all output values from the minimum to the maximum.

Final Answer: Range: -1 <= f(x) <= 8

Exam Tip

For the range of a quadratic on a restricted domain, always check the vertex and both endpoints.

Example 9: Finding the nth term of a linear sequence

Foundation Similar to 0580/22/M/J/22 Q11

Question

Find the nth term of the sequence 7, 11, 15, 19, 23, ...

Solution

  1. 1

    Find the common difference

    11-7 = 4, 15-11 = 4. Common difference d = 4.

    Subtract consecutive terms to find the common difference.

  2. 2

    Write the nth term

    nth term = 4n + (7-4) = 4n + 3

    nth term = dn + (first term - d).

  3. 3

    Verify

    n=1: 4(1)+3 = 7. n=2: 4(2)+3 = 11. n=3: 4(3)+3 = 15. All correct.

    Always check your formula against the given terms.

Final Answer: nth term = 4n + 3

Exam Tip

Always verify your formula by substituting n = 1, 2, and 3. This takes seconds and catches errors.

Example 10: Finding the nth term of a quadratic sequence

Extended Similar to 0580/42/O/N/21 Q4

Question

Find the nth term of the sequence 3, 9, 19, 33, 51, ...

Solution

  1. 1

    Find first and second differences

    First differences: 6, 10, 14, 18. Second differences: 4, 4, 4.

    Constant second difference means it is a quadratic sequence.

  2. 2

    Find the coefficient of n squared

    Coefficient of n squared = second difference / 2 = 4/2 = 2. So the sequence starts with 2n squared.

    For a quadratic sequence an squared + bn + c, a = second difference / 2.

  3. 3

    Subtract 2n squared from each term

    n=1: 3-2=1, n=2: 9-8=1, n=3: 19-18=1, n=4: 33-32=1, n=5: 51-50=1

    The remainders form a constant sequence.

  4. 4

    Write the nth term

    nth term = 2n squared + 1

    Since the remainders are all 1, the linear part is 0n + 1.

Final Answer: nth term = 2n squared + 1

Exam Tip

After finding the n squared part, subtract it from every term. The remainders should form a linear sequence (or constant).

Example 11: Sum of an arithmetic sequence

Extended Similar to 0580/42/M/J/23 Q3

Question

Find the sum of the first 20 terms of the sequence 5, 8, 11, 14, ...

Solution

  1. 1

    Identify a and d

    First term a = 5, common difference d = 3

    These are needed for the sum formula.

  2. 2

    Use the sum formula

    S(n) = n/2 (2a + (n-1)d) = 20/2 (2(5) + 19(3)) = 10(10 + 57) = 10(67) = 670

    Substitute n = 20, a = 5, d = 3 into the formula.

Final Answer: Sum of first 20 terms = 670

Exam Tip

You can also use S = n/2(a + l) where l is the last term. Find the 20th term first: a + 19d = 5 + 57 = 62. Then S = 20/2(5 + 62) = 670.

Example 12: Solving a linear inequality

Foundation Similar to 0580/22/M/J/22 Q9

Question

Solve 3x - 7 > 2x + 5.

Solution

  1. 1

    Collect x terms on one side

    3x - 2x > 5 + 7

    Subtract 2x from both sides and add 7 to both sides.

  2. 2

    Simplify

    x > 12

    Combine like terms.

Final Answer: x > 12

Exam Tip

Solve inequalities just like equations, but remember to flip the sign if you multiply or divide by a negative number.

Example 13: Solving a double inequality

Foundation Similar to 0580/22/O/N/21 Q11

Question

Solve -3 < 2x + 1 <= 9 and list the integer values.

Solution

  1. 1

    Subtract 1 from all parts

    -3 - 1 < 2x <= 9 - 1, so -4 < 2x <= 8

    Apply the same operation to all three parts.

  2. 2

    Divide all parts by 2

    -2 < x <= 4

    Divide each part by 2.

  3. 3

    List integer values

    x can be -1, 0, 1, 2, 3, 4

    -2 is not included (strict inequality) but 4 is included (<=).

Final Answer: -2 < x <= 4, integers: -1, 0, 1, 2, 3, 4

Exam Tip

Be careful with the inequality symbols: < means not included, <= means included.

Example 14: Graphical inequalities

Extended Similar to 0580/42/M/J/23 Q6

Question

On a grid, show the region satisfying y >= 1, x + y <= 6, and y <= 2x.

Solution

  1. 1

    Draw y = 1

    Horizontal line through y = 1. Shade ABOVE (y >= 1). Solid line.

    y >= 1 means all points on or above the line y = 1.

  2. 2

    Draw x + y = 6

    Line through (0,6) and (6,0). Shade BELOW/LEFT (x+y <= 6). Solid line.

    Test (0,0): 0+0 = 0 <= 6, true, so shade the side containing (0,0).

  3. 3

    Draw y = 2x

    Line through (0,0) and (1,2). Shade BELOW/RIGHT (y <= 2x). Solid line.

    Test (3,1): 1 <= 6, true, so shade the side containing (3,1).

  4. 4

    Identify the region

    The required region is the triangle where all three conditions are satisfied simultaneously.

    The feasible region is the overlap of all three shaded regions.

Final Answer: The triangular region bounded by y = 1, x + y = 6, and y = 2x

Exam Tip

Test (0,0) to decide which side to shade for each inequality (unless the line passes through the origin).

Example 15: Quadratic inequalities

Extended Similar to 0580/42/O/N/22 Q3

Question

Solve x squared - 5x + 6 <= 0.

Solution

  1. 1

    Factorise

    x squared - 5x + 6 = (x-2)(x-3) = 0 when x = 2 or x = 3

    First find where the expression equals zero.

  2. 2

    Determine the solution region

    The parabola y = x squared - 5x + 6 opens upwards (positive coefficient of x squared). It is negative (below the x-axis) between the roots.

    For <= 0 with an upward parabola, the solution is between the roots.

  3. 3

    Write the solution

    2 <= x <= 3

    Include the endpoints because the inequality is <=.

Final Answer: 2 <= x <= 3

Exam Tip

Sketch the parabola. For <= 0 (below axis), the solution is BETWEEN the roots. For >= 0 (above axis), it is OUTSIDE the roots.

Example 16: Differentiating a polynomial

Extended Similar to 0580/42/M/J/22 Q3

Question

Find dy/dx for y = 3x cubed - 5x squared + 2x - 7.

Solution

  1. 1

    Differentiate each term using the power rule

    d/dx(3x cubed) = 9x squared. d/dx(-5x squared) = -10x. d/dx(2x) = 2. d/dx(-7) = 0.

    Multiply the coefficient by the power, then reduce the power by 1. Constants become 0.

  2. 2

    Combine

    dy/dx = 9x squared - 10x + 2

    Write all the differentiated terms together.

Final Answer: dy/dx = 9x squared - 10x + 2

Exam Tip

Write each term's derivative separately to avoid errors. Constants always differentiate to zero.

Example 17: Finding stationary points

Extended Similar to 0580/42/O/N/21 Q5

Question

Find the stationary points of y = x cubed - 6x squared + 9x + 1 and determine their nature.

Solution

  1. 1

    Differentiate

    dy/dx = 3x squared - 12x + 9

    Use the power rule on each term.

  2. 2

    Set dy/dx = 0

    3x squared - 12x + 9 = 0. Divide by 3: x squared - 4x + 3 = 0. Factorise: (x-1)(x-3) = 0. x = 1 or x = 3.

    Stationary points occur where the gradient is zero.

  3. 3

    Find y-coordinates

    When x = 1: y = 1 - 6 + 9 + 1 = 5. When x = 3: y = 27 - 54 + 27 + 1 = 1.

    Substitute x-values back into the original equation.

  4. 4

    Find second derivative and classify

    d2y/dx2 = 6x - 12. At x = 1: d2y/dx2 = 6 - 12 = -6 < 0, so (1, 5) is a maximum. At x = 3: d2y/dx2 = 18 - 12 = 6 > 0, so (3, 1) is a minimum.

    Positive second derivative = minimum, negative = maximum.

Final Answer: Maximum at (1, 5), Minimum at (3, 1)

Exam Tip

Set dy/dx = 0 is often worth a mark on its own. Always write this step explicitly.

Example 18: Finding the equation of a tangent

Extended Similar to 0580/42/M/J/23 Q4

Question

Find the equation of the tangent to y = x squared - 3x + 5 at the point where x = 2.

Solution

  1. 1

    Find the y-coordinate

    y = 4 - 6 + 5 = 3. So the point is (2, 3).

    Substitute x = 2 into the original equation.

  2. 2

    Find the gradient at x = 2

    dy/dx = 2x - 3. At x = 2: gradient = 2(2) - 3 = 1.

    Differentiate and substitute x = 2 to find the gradient of the tangent.

  3. 3

    Write the tangent equation

    y - 3 = 1(x - 2), so y = x + 1.

    Use y - y1 = m(x - x1) with the point and gradient.

Final Answer: y = x + 1

Exam Tip

The tangent has the same gradient as the curve at the point of contact. Use dy/dx evaluated at the given x-value.

Example 19: Differentiation with negative powers

Extended Similar to 0580/42/O/N/22 Q4

Question

Differentiate y = 4/x squared + 3 sqrt(x). Write in index form first.

Solution

  1. 1

    Rewrite using index notation

    y = 4x to the power -2 + 3x to the power 1/2

    1/x squared = x to the power -2, and sqrt(x) = x to the power 1/2.

  2. 2

    Differentiate each term

    dy/dx = 4(-2)x to the power -3 + 3(1/2)x to the power -1/2 = -8x to the power -3 + (3/2)x to the power -1/2

    Apply the power rule to each term.

  3. 3

    Rewrite if needed

    dy/dx = -8/x cubed + 3/(2 sqrt(x))

    Convert back to fraction form if the question requires it.

Final Answer: dy/dx = -8x to the power -3 + (3/2)x to the power -1/2

Exam Tip

Always rewrite fractions and roots as powers BEFORE differentiating. This avoids errors with the quotient rule.

Explore Algebra and Graphs Subtopics

Frequently Asked Questions

How many algebra questions appear in the IGCSE exam?

Algebra typically appears in both Paper 2 (non-calculator) and Paper 4 (calculator). You can expect 2-4 questions on algebra across both papers, worth a combined 15-25 marks depending on the session.

What is the best way to practise algebra for IGCSE?

Start by understanding the methods through worked examples like these, then practise past paper questions under timed conditions. Teacher Rig recommends working through at least 20 algebra past paper questions before your exam, checking your method against mark schemes.

Should I memorise algebra formulas for the exam?

Some formulas are given on the formula sheet in the exam, but you should still be very familiar with them. Key formulas that are NOT on the sheet should be memorised. Practice using the formulas so that applying them becomes automatic.

How many functions questions appear in the IGCSE exam?

Functions typically appears in both Paper 2 (non-calculator) and Paper 4 (calculator). You can expect 2-4 questions on functions across both papers, worth a combined 15-25 marks depending on the session.

What is the best way to practise functions for IGCSE?

Start by understanding the methods through worked examples like these, then practise past paper questions under timed conditions. Teacher Rig recommends working through at least 20 functions past paper questions before your exam, checking your method against mark schemes.

Should I memorise functions formulas for the exam?

Some formulas are given on the formula sheet in the exam, but you should still be very familiar with them. Key formulas that are NOT on the sheet should be memorised. Practice using the formulas so that applying them becomes automatic.

How many sequences questions appear in the IGCSE exam?

Sequences typically appears in both Paper 2 (non-calculator) and Paper 4 (calculator). You can expect 2-4 questions on sequences across both papers, worth a combined 15-25 marks depending on the session.

What is the best way to practise sequences for IGCSE?

Start by understanding the methods through worked examples like these, then practise past paper questions under timed conditions. Teacher Rig recommends working through at least 20 sequences past paper questions before your exam, checking your method against mark schemes.

Should I memorise sequences formulas for the exam?

Some formulas are given on the formula sheet in the exam, but you should still be very familiar with them. Key formulas that are NOT on the sheet should be memorised. Practice using the formulas so that applying them becomes automatic.

How many inequalities questions appear in the IGCSE exam?

Inequalities typically appears in both Paper 2 (non-calculator) and Paper 4 (calculator). You can expect 2-4 questions on inequalities across both papers, worth a combined 15-25 marks depending on the session.

What is the best way to practise inequalities for IGCSE?

Start by understanding the methods through worked examples like these, then practise past paper questions under timed conditions. Teacher Rig recommends working through at least 20 inequalities past paper questions before your exam, checking your method against mark schemes.

Should I memorise inequalities formulas for the exam?

Some formulas are given on the formula sheet in the exam, but you should still be very familiar with them. Key formulas that are NOT on the sheet should be memorised. Practice using the formulas so that applying them becomes automatic.

How many differentiation questions appear in the IGCSE exam?

Differentiation typically appears in both Paper 2 (non-calculator) and Paper 4 (calculator). You can expect 2-4 questions on differentiation across both papers, worth a combined 15-25 marks depending on the session.

What is the best way to practise differentiation for IGCSE?

Start by understanding the methods through worked examples like these, then practise past paper questions under timed conditions. Teacher Rig recommends working through at least 20 differentiation past paper questions before your exam, checking your method against mark schemes.

Should I memorise differentiation formulas for the exam?

Some formulas are given on the formula sheet in the exam, but you should still be very familiar with them. Key formulas that are NOT on the sheet should be memorised. Practice using the formulas so that applying them becomes automatic.

Need Help with Algebra and Graphs?

Book a free 60-minute trial class with Teacher Rig. Work through Algebra and Graphs problems together and build your confidence.