Scribe logoScribeNotes & practice
Sign inStart free
  1. Notes
  2. ›IB Mathematics: Analysis and Approaches
  3. ›2 Functions
  4. ›2.10 Solving equations

IB Mathematics: Analysis and Approaches · Topic 2 · Functions

2.10 Solving equations

Solve linear, quadratic and simple rational equations, use substitution for two unknowns, and check solutions in the original equation.

  • 4 min read
  • 5 parts
  • 10 questions
  • Draft
Start a Quick 5 on this topic→Jump to the 10 questions
1/5Linear equations are solved by undoing each operation
  1. 1Linear equations are solved by undoing each operation
  2. 2Quadratic equations can be factorised or solved with a formula
  3. 3Rational equations are solved by clearing the denominators
  4. 4Substitution solves two equations with two unknowns
  5. 5Checking in the original equation catches invalid solutions
  6. Check your recall
  7. Practice: 10 questions
1

Part 1 of 5: Linear equations are solved by undoing each operation

A balance scale stays level when you do the same thing to both pans. Solving an equation follows the same idea.

A linear equation has the unknown to the first power only. Work backwards through the operations: remove additions, then multiplications. Each step must be applied to both sides.

Consider 3(x−2)+5=2x+93(x-2)+5=2x+93(x−2)+5=2x+9. Expanding gives 3x−1=2x+93x-1=2x+93x−1=2x+9. Subtract 2x2x2x and add 1 to get x=10x=10x=10. Check: the left side is 3×8+5=293\times8+5=293×8+5=29 and the right side is 2×10+9=292\times10+9=292×10+9=29.

Common mistake

When a bracket has a multiplier, multiply every term inside. Writing 3(x−2)=3x−23(x-2)=3x-23(x−2)=3x−2 is a common slip.

Key term

linear equation

A linear equation is an equation that can be written ax+b=0ax+b=0ax+b=0 with a≠0a\neq0a=0, so the unknown appears only to the first power.

Part 1 done

2

Part 2 of 5: Quadratic equations can be factorised or solved with a formula

Next, add a squared term. A quadratic equation can be written ax2+bx+c=0ax^2+bx+c=0ax2+bx+c=0 with a≠0a\neq0a=0. It can have two, one or no real solutions.

  • Factorise, then set each factor equal to zero.
  • Use the formula x=−b±b2−4ac2ax=\frac{-b\pm\sqrt{b^2-4ac}}{2a}x=2a−b±b2−4ac​​.
  • Complete the square.

The quantity under the square root controls the number of solutions. It is the discriminant, Δ=b2−4ac\Delta=b^2-4acΔ=b2−4ac. If Δ>0\Delta>0Δ>0 there are two real solutions, if Δ=0\Delta=0Δ=0 there is one, and if Δ<0\Delta<0Δ<0 there are none.

Worked example

Solving by factorising

Solve 2x2−5x−3=02x^2-5x-3=02x2−5x−3=0.
  1. 1
    Find two numbers with product -6 and sum -5. They are -6 and 1.
  2. 2
    Split the middle term: 2x2−6x+x−3=02x^2-6x+x-3=02x2−6x+x−3=0.
  3. 3
    Factorise in pairs: 2x(x−3)+1(x−3)=02x(x-3)+1(x-3)=02x(x−3)+1(x−3)=0, so (2x+1)(x−3)=0(2x+1)(x-3)=0(2x+1)(x−3)=0.
  4. 4
    Set each factor to zero: 2x+1=02x+1=02x+1=0 or x−3=0x-3=0x−3=0.

Answer: x=−12x=-\frac{1}{2}x=−21​ or x=3x=3x=3

Exam tip

Rearrange so that one side is zero before you factorise. Do not divide by xxx in an equation such as x2=3xx^2=3xx2=3x, because that loses the solution x=0x=0x=0.

Key terms · tap one for its definition

quadratic equation

A quadratic equation is an equation that can be written ax2+bx+c=0ax^2+bx+c=0ax2+bx+c=0 with a≠0a\neq0a=0.

discriminant

The discriminant of ax2+bx+c=0ax^2+bx+c=0ax2+bx+c=0 is Δ=b2−4ac\Delta=b^2-4acΔ=b2−4ac, which is positive, zero or negative for two, one or no real solutions.

Part 2 done

Quick check

One question on the part you just read

Easy

Determine the value of xxx in 4x+3=194x+3=194x+3=19.
Show answer and explanation

Answer: B · Worked explanation

Subtract 3 to get 4x=164x=164x=16, then divide by 4 to get x=4x=4x=4. The value 4.75 comes from forgetting to subtract 3 before dividing. The value 5.5 comes from adding 3 instead of subtracting it. Check: 4(4)+3=194(4)+3=194(4)+3=19, so the value satisfies the original equation.
3

Part 3 of 5: Rational equations are solved by clearing the denominators

Fractions add a new difficulty when the unknown sits in a denominator. A rational equation has the unknown in the denominator of at least one term. Multiply every term by the common denominator to clear the fractions. Then solve the linear or quadratic equation that remains.

Before multiplying, note which values make a denominator zero. These values cannot be solutions, because division by zero is undefined.

Worked example

Solving a rational equation

Solve 2x+3x+1=2\frac{2}{x}+\frac{3}{x+1}=2x2​+x+13​=2.
  1. 1
    Excluded values: x≠0x\neq0x=0 and x≠−1x\neq-1x=−1.
  2. 2
    Multiply by x(x+1)x(x+1)x(x+1): 2(x+1)+3x=2x(x+1)2(x+1)+3x=2x(x+1)2(x+1)+3x=2x(x+1).
  3. 3
    Expand: 5x+2=2x2+2x5x+2=2x^2+2x5x+2=2x2+2x.
  4. 4
    Rearrange: 2x2−3x−2=02x^2-3x-2=02x2−3x−2=0, so (2x+1)(x−2)=0(2x+1)(x-2)=0(2x+1)(x−2)=0.
  5. 5
    Both values are allowed, since neither is 0 or -1.

Answer: x=−12x=-\frac{1}{2}x=−21​ or x=2x=2x=2

A rational equation may be a single fraction equal to a number, such as 6x+1=2\frac{6}{x+1}=2x+16​=2. Multiply by x+1x+1x+1 to get 6=2(x+1)6=2(x+1)6=2(x+1), so x=2x=2x=2.

Key term

rational equation

A rational equation is an equation in which the unknown appears in the denominator of at least one term.

Part 3 done

4

Part 4 of 5: Substitution solves two equations with two unknowns

Some problems give two unknowns and two equations. Such simultaneous equations must all hold for the same values of the unknowns. The aim is to find every pair (x,y)(x,y)(x,y) that works.

  • Make one unknown the subject of the simpler equation.
  • Substitute that expression into the other equation.
  • Solve for the first unknown.
  • Substitute back to find the second unknown.

For 2x+y=72x+y=72x+y=7 and x−y=2x-y=2x−y=2, write x=y+2x=y+2x=y+2. Then 2(y+2)+y=72(y+2)+y=72(y+2)+y=7 gives y=1y=1y=1, so x=3x=3x=3. A line and a curve can meet at two points, one point or none.

Worked example

Substituting a line into a curve

Solve y=2x−1y=2x-1y=2x−1 and y=x2−4y=x^2-4y=x2−4 together.
  1. 1
    Both expressions equal yyy, so x2−4=2x−1x^2-4=2x-1x2−4=2x−1.
  2. 2
    Rearrange: x2−2x−3=0x^2-2x-3=0x2−2x−3=0, so (x−3)(x+1)=0(x-3)(x+1)=0(x−3)(x+1)=0.
  3. 3
    Then x=3x=3x=3 or x=−1x=-1x=−1.
  4. 4
    Use y=2x−1y=2x-1y=2x−1: for x=3x=3x=3, y=5y=5y=5. For x=−1x=-1x=−1, y=−3y=-3y=−3.

Answer: (3,5)(3,5)(3,5) and (−1,−3)(-1,-3)(−1,−3)

Key term

simultaneous equations

Simultaneous equations are two or more equations that must all be satisfied by the same values of the unknowns.

Part 4 done

Quick check

One question on the part you just read

Easy

State the formula for the solutions of ax2+bx+c=0ax^2+bx+c=0ax2+bx+c=0.
Show answer and explanation

Answer: A · Worked explanation

The standard formula has −b-b−b, the discriminant b2−4acb^2-4acb2−4ac under the root, and 2a2a2a in the denominator. Using +4ac+4ac+4ac changes the discriminant, and dropping the 2 from 2a2a2a gives answers that are twice too large. The quantity b2−4acb^2-4acb2−4ac is the discriminant, so the sign inside the root must be negative.
5

Part 5 of 5: Checking in the original equation catches invalid solutions

Every method above can produce an answer that fails. Substituting back into the original equation tests it. Use the original equation, not a rearranged one, because errors can enter during rearrangement.

A value that appears in the working but fails the original equation is an extraneous solution. Rational equations are the usual source. Multiplying by an expression that equals zero for some xxx can introduce such a value.

Consider x2x−2=4x−2\frac{x^2}{x-2}=\frac{4}{x-2}x−2x2​=x−24​. Multiplying by x−2x-2x−2 gives x2=4x^2=4x2=4, so x=2x=2x=2 or x=−2x=-2x=−2. But x=2x=2x=2 makes both denominators zero, so it is rejected. For x=−2x=-2x=−2 each side equals -1, so it is valid.

Common mistake

A value that works in your last line of working is not yet confirmed. Test it in the original equation.

Key term

extraneous solution

An extraneous solution is a value that arises during working but does not satisfy the original equation.

Note read

Check your recall[14 marks]

6 written questions. Answer each one in your head or on paper, then open the mark scheme.

  1. 1.Determine[2 marks]

    Determine the value of xxx in 5x−7=3(x+1)5x-7=3(x+1)5x−7=3(x+1).

    Show mark schemeHide mark scheme

    Model answer

    Expanding gives 5x−7=3x+35x-7=3x+35x−7=3x+3. Then 2x=102x=102x=10, so x=5x=5x=5.

    • 1 mark for expanding the bracket to obtain 5x−7=3x+35x-7=3x+35x−7=3x+3
    • 1 mark for obtaining x=5x=5x=5
  2. 2.Determine[2 marks]

    Determine the solutions of x2−x−6=0x^2-x-6=0x2−x−6=0.

    Show mark schemeHide mark scheme

    Model answer

    (x−3)(x+2)=0(x-3)(x+2)=0(x−3)(x+2)=0, so x=3x=3x=3 or x=−2x=-2x=−2.

    • 1 mark for factorising as (x−3)(x+2)(x-3)(x+2)(x−3)(x+2)
    • 1 mark for stating x=3x=3x=3 and x=−2x=-2x=−2
  3. 3.Explain[2 marks]

    Solving x2x−3=9x−3\frac{x^2}{x-3}=\frac{9}{x-3}x−3x2​=x−39​ gives x2=9x^2=9x2=9. Explain why x=3x=3x=3 is not a solution of the original equation.

    Show mark schemeHide mark scheme

    Model answer

    Substituting x=3x=3x=3 makes both denominators zero. Division by zero is undefined, so x=3x=3x=3 is an extraneous solution.

    • 1 mark for stating that x=3x=3x=3 makes the denominators zero
    • 1 mark for stating that division by zero is undefined, so the value is rejected
  4. 4.Determine[2 marks]

    Determine the number of real solutions of 2x2−4x+5=02x^2-4x+5=02x2−4x+5=0.

    Show mark schemeHide mark scheme

    Model answer

    Δ=(−4)2−4(2)(5)=16−40=−24\Delta=(-4)^2-4(2)(5)=16-40=-24Δ=(−4)2−4(2)(5)=16−40=−24. The discriminant is negative, so there are no real solutions.

    • 1 mark for calculating Δ=−24\Delta=-24Δ=−24
    • 1 mark for concluding that there are no real solutions
  5. 5.Determine[4 marks]

    Determine the solutions of the simultaneous equations y=x+2y=x+2y=x+2 and y=x2y=x^2y=x2.

    Show mark schemeHide mark scheme

    Model answer

    Substituting gives x2=x+2x^2=x+2x2=x+2, so x2−x−2=0x^2-x-2=0x2−x−2=0 and (x−2)(x+1)=0(x-2)(x+1)=0(x−2)(x+1)=0. Then x=2x=2x=2 with y=4y=4y=4, or x=−1x=-1x=−1 with y=1y=1y=1.

    • 1 mark for substituting to obtain x2=x+2x^2=x+2x2=x+2
    • 1 mark for factorising as (x−2)(x+1)=0(x-2)(x+1)=0(x−2)(x+1)=0
    • 1 mark for obtaining x=2x=2x=2 and x=−1x=-1x=−1
    • 1 mark for finding y=4y=4y=4 and y=1y=1y=1 to give (2,4)(2,4)(2,4) and (−1,1)(-1,1)(−1,1)
  6. 6.Describe[2 marks]

    Describe how to check a solution of an equation.

    Show mark schemeHide mark scheme

    Model answer

    Substitute the value into the original equation. Confirm that both sides are equal and that no denominator is zero.

    • 1 mark for stating that the value is substituted into the original equation
    • 1 mark for confirming that both sides are equal and no denominator is zero

Practice this topic

10 quick-fire multiple-choice questions, easy to hard. Tap an answer to see if you're right and the worked explanation. (The written questions with mark schemes are under “Check your recall” above.)

0 right0 of 10 answered

Includes the 2 quick checks in the note above.

3.

Easy·Identify[1 mark]

Identify the value of xxx that must be excluded before solving 5x+3=2\frac{5}{x+3}=2x+35​=2.
Show answer and explanation

Answer: D · Worked explanation

The denominator x+3x+3x+3 equals zero when x=−3x=-3x=−3, and division by zero is undefined. The value x=3x=3x=3 gives a denominator of 6, which is allowed. Only the value that makes a denominator zero is excluded. Find the excluded value before you start solving, not after.
4.

Medium·Determine[1 mark]

Determine the solutions of x2−5x+6=0x^2-5x+6=0x2−5x+6=0.
Show answer and explanation

Answer: C · Worked explanation

Factorising gives (x−2)(x−3)=0(x-2)(x-3)=0(x−2)(x−3)=0, so x=2x=2x=2 or x=3x=3x=3. The negative pair comes from a sign slip, because (x+2)(x+3)(x+2)(x+3)(x+2)(x+3) expands to x2+5x+6x^2+5x+6x2+5x+6, which has the wrong middle term. Check: 22−5(2)+6=02^2-5(2)+6=022−5(2)+6=0 and 32−5(3)+6=03^2-5(3)+6=032−5(3)+6=0. Always expand your factors to confirm that they return the original quadratic.
5.

Medium·Calculate[1 mark]

Calculate the discriminant of 3x2−2x+5=03x^2-2x+5=03x2−2x+5=0.
Show answer and explanation

Answer: B · Worked explanation

Δ=b2−4ac=(−2)2−4(3)(5)=4−60=−56\Delta=b^2-4ac=(-2)^2-4(3)(5)=4-60=-56Δ=b2−4ac=(−2)2−4(3)(5)=4−60=−56, so there are no real solutions. The value 64 comes from adding 4ac4ac4ac instead of subtracting it. The value -26 comes from using 2ac2ac2ac instead of 4ac4ac4ac. A negative discriminant means that the equation has no real solutions. Using 2ac2ac2ac is a common slip when the formula is half remembered.
6.

Medium·Determine[1 mark]

Determine the value of xxx in 6x+1=2\frac{6}{x+1}=2x+16​=2.
Show answer and explanation

Answer: A · Worked explanation

Multiply by x+1x+1x+1 to get 6=2x+26=2x+26=2x+2, so x=2x=2x=2. The value 3 comes from dividing 6 by 2 and forgetting the +1+1+1. The value 4 comes from subtracting 2 from 6. Check: 62+1=2\frac{6}{2+1}=22+16​=2, which matches the right side. Check the denominator at the end: x+1=3x+1=3x+1=3 is not zero, so the value is allowed.
7.

Medium·Determine[2 marks]

The equations y=2x+1y=2x+1y=2x+1 and 3x+y=163x+y=163x+y=16 hold together. Determine the value of yyy.
Show answer and explanation

Answer: D · Worked explanation

Substitute y=2x+1y=2x+1y=2x+1 into the second equation: 3x+2x+1=163x+2x+1=163x+2x+1=16, so x=3x=3x=3. Then y=2(3)+1=7y=2(3)+1=7y=2(3)+1=7. The value 3 is xxx, not yyy, and 13 comes from computing 16−316-316−3. Check both equations: 2(3)+1=72(3)+1=72(3)+1=7 and 3(3)+7=163(3)+7=163(3)+7=16. Solving for yyy is the final step, so make sure the answer is the unknown that was asked for.
8.

Hard·Determine[2 marks]

Determine all solutions of x2=5xx^2=5xx2=5x.
Show answer and explanation

Answer: C · Worked explanation

Rearranging gives x2−5x=0x^2-5x=0x2−5x=0, so x(x−5)=0x(x-5)=0x(x−5)=0 and x=0x=0x=0 or x=5x=5x=5. Dividing both sides by xxx leaves only x=5x=5x=5 and loses the solution x=0x=0x=0. Taking square roots is also wrong, since the right side contains xxx. Check: 02=5(0)0^2=5(0)02=5(0) and 52=5(5)5^2=5(5)52=5(5) both hold.
9.

Hard·Determine[2 marks]

Determine all valid solutions of x2x−3=9x−3\frac{x^2}{x-3}=\frac{9}{x-3}x−3x2​=x−39​.
Show answer and explanation

Answer: B · Worked explanation

Multiplying by x−3x-3x−3 gives x2=9x^2=9x2=9, so x=3x=3x=3 or x=−3x=-3x=−3. The value x=3x=3x=3 makes the denominators zero, so it is extraneous. For x=−3x=-3x=−3 each side equals -1.5, so it is valid. Always test candidates in the original equation when denominators are involved.
10.

Hard·Determine[2 marks]

A line y=2x−5y=2x-5y=2x−5 and a curve y=x2−4x+4y=x^2-4x+4y=x2−4x+4 are drawn together. Determine how many points they share.
Show answer and explanation

Answer: A · Worked explanation

Equating the expressions gives x2−6x+9=0x^2-6x+9=0x2−6x+9=0, so (x−3)2=0(x-3)^2=0(x−3)2=0 and x=3x=3x=3 only. Then y=2(3)−5=1y=2(3)-5=1y=2(3)−5=1, giving the single point (3,1)(3,1)(3,1). Expecting two points because a quadratic often has two solutions overlooks the zero discriminant. The line therefore touches the curve at one point without crossing it.

Keep going

Next topic2.11 Transformations of graphsPrevious topic2.9 Exponential and logarithmic functions

More in Topic 2 · Functions

  1. 2.6Quadratic functionsNotes · 10 questions
  2. 2.7Quadratic equations and inequalitiesNotes · 10 questions
  3. 2.8Reciprocal and rational functionsNotes · 10 questions
  4. 2.9Exponential and logarithmic functionsNotes · 10 questions
  5. 2.10Solving equationsNotes · 10 questions
  6. 2.11Transformations of graphsNotes · 10 questions
  7. 2.12Polynomial functionsNotes · 10 questions· HL only
  8. 2.13Rational functionsNotes · 10 questions· HL only
  9. 2.14Odd, even and self-inverse functionsNotes · 10 questions· HL only

All IB Mathematics: Analysis and Approaches topics →

Draft: written by Scribe and checked automatically, not yet by a subject reviewer.

Practice questions are original, written by Scribe and checked automatically for correctness.

Topic codes follow the official numbering. Not endorsed by IB Diploma Programme or any exam board.

On this page

0/5 read

  1. 1Linear equations are solved by undoing each operation
  2. 2Quadratic equations can be factorised or solved with a formula
  3. 3Rational equations are solved by clearing the denominators
  4. 4Substitution solves two equations with two unknowns
  5. 5Checking in the original equation catches invalid solutions
  6. Check your recall
  7. Practice: 10 questions
All coursesScribeHow it worksPricingPrivacyTerms

Notes and questions are written by Scribe in our own words. Topic codes follow the official course numbering so you can find your place. Not produced or endorsed by the IB, College Board, AQA, OCR, Pearson Edexcel or any exam board.

© 2026 Scribe