Skip to content
VIP Assignment Help

Free tool · shows working

Maths solvers

Every solver prints the full method, because method is what your paper actually marks. An answer with no working scores poorly even when it is correct.

Roots, discriminant and factored form of ax² + bx + c

ax² + bx + c = 0

Working

  1. Equation: x² - 5x + 6 = 0, so a = 1, b = -5, c = 6
  2. Discriminant: b² − 4ac = (-5)² − 4(1)(6) = 1
  3. √1 = 1
  4. x = (−b ± √(b²−4ac)) / 2a = (5 ± 1) / 2
  5. x₁ = 3, x₂ = 2
  6. Factored form: (x − 3)(x − 2)
  7. Both roots are integers, so this factorises cleanly — worth checking by expanding back out.

Answer

x = 3 or x = 2

Short answer

How do you factorise a quadratic equation?

Check the discriminant first: b² − 4ac. If it is a perfect square, the quadratic factorises over the integers — find two numbers that multiply to a×c and add to b, split the middle term, and factor in pairs. If it is positive but not a perfect square, use the quadratic formula. If it is negative, there are no real roots at all, and you have saved yourself ten minutes of trying to find factors that do not exist.

Step by step

How to solve a problem and keep the method

  1. Choose the solver

    Quadratic factorisation, cubic solution by rational root and synthetic division, or inverse functions. Each prints the full working rather than only a result.

  2. Enter the equation in the form shown

    Coefficients are entered separately so the tool can show the substitution rather than guess at parsing. The example above each field shows the expected shape.

  3. Read the working before the answer

    Most maths papers award the majority of their marks for method. An answer with no working scores poorly even when it is correct, so the steps are the part worth copying into your own notes.

  4. Check the discriminant or verify the inverse

    For a quadratic, b² − 4ac tells you the nature of the roots before you solve: positive gives two real roots, zero one repeated root, negative none. For an inverse, confirm that f(f⁻¹(x)) = x.

  5. Reproduce it by hand on the next question

    The solver is a worked example, not a substitute. If you cannot reproduce the method unaided, you have the answer and not the technique — and the exam tests the technique.

Worked examples

Five problems, solved in full

These are produced by the same solver above, run when this page was built. Most maths papers award the majority of their marks for method, so the working is the part worth reading — the answer on its own is the least valuable line.

Factorise and solve x² + 5x + 6 = 0

  1. Equation: x² + 5x + 6 = 0, so a = 1, b = 5, c = 6
  2. Discriminant: b² − 4ac = (5)² − 4(1)(6) = 1
  3. √1 = 1
  4. x = (−b ± √(b²−4ac)) / 2a = (-5 ± 1) / 2
  5. x₁ = -2, x₂ = -3
  6. Factored form: (x + 2)(x + 3)
  7. Both roots are integers, so this factorises cleanly — worth checking by expanding back out.

Answerx = -2 or x = -3

The discriminant is positive and a perfect square, which is exactly when a quadratic factorises over the integers.

Solve 2x² − 4x − 6 = 0

  1. Equation: 2x² - 4x - 6 = 0, so a = 2, b = -4, c = -6
  2. Discriminant: b² − 4ac = (-4)² − 4(2)(-6) = 64
  3. √64 = 8
  4. x = (−b ± √(b²−4ac)) / 2a = (4 ± 8) / 4
  5. x₁ = 3, x₂ = -1
  6. Factored form: 2(x − 3)(x + 1)
  7. Both roots are integers, so this factorises cleanly — worth checking by expanding back out.

Answerx = 3 or x = -1

A leading coefficient other than 1 does not change the method — it changes which pair of numbers you are looking for, because you split against a×c rather than c.

Solve x² + 2x + 5 = 0

  1. Equation: x² + 2x + 5 = 0, so a = 1, b = 2, c = 5
  2. Discriminant: b² − 4ac = (2)² − 4(1)(5) = -16
  3. Discriminant is negative, so there are no real roots — the parabola never crosses the x-axis.
  4. Complex roots: x = -1 ± 2i

Answerx = -1 ± 2i (no real roots)

A negative discriminant means the parabola never reaches the x-axis. Check it before you spend time trying to factorise.

Solve x³ − 6x² + 11x − 6 = 0

  1. Equation: 1x³ − 6x² + 11x − 6 = 0
  2. Try the Rational Root Theorem: test factors of the constant over factors of the leading coefficient.
  3. x = 1 gives 0, so (x − 1) is a factor.
  4. Divide out by synthetic division: x² - 5x + 6
  5. Discriminant: b² − 4ac = (-5)² − 4(1)(6) = 1
  6. √1 = 1
  7. x = (−b ± √(b²−4ac)) / 2a = (5 ± 1) / 2
  8. x₁ = 3, x₂ = 2
  9. Factored form: (x − 3)(x − 2)
  10. Both roots are integers, so this factorises cleanly — worth checking by expanding back out.

Answerx = 1; x = 3 or x = 2

The Rational Root Theorem finds the first root; synthetic division reduces what is left to a quadratic you already know how to solve.

Find the inverse of f(x) = 3x + 4

  1. Start with y = 3x + 4
  2. Swap x and y: x = 3y + 4
  3. Isolate y: 3y = x − 4
  4. Divide by 3: y = (x − 4) / 3

Answerf⁻¹(x) = (x − 4) / 3

Verify an inverse by composing it: f(f⁻¹(x)) should return x exactly.

Frequently asked questions

How do you factorise a quadratic?

Find two numbers that multiply to a×c and add to b, split the middle term with them, then factor in pairs. If no integer pair exists, the quadratic does not factorise over the integers and you use the quadratic formula instead — which is exactly what the discriminant tells you before you waste time trying.

What does the discriminant tell you?

b² − 4ac determines the nature of the roots. Positive means two distinct real roots and the parabola crosses the x-axis twice. Zero means one repeated root and the parabola touches the axis. Negative means no real roots — the parabola never reaches the axis, and the solutions are complex.

How do you solve a cubic equation?

Find one root first, usually by the Rational Root Theorem: test factors of the constant term divided by factors of the leading coefficient. Once you have a root r, divide by (x − r) using synthetic division, which leaves a quadratic you can solve normally.

How do you find an inverse function?

Swap x and y, then solve for y. For f(x) = 3x + 4: write y = 3x + 4, swap to get x = 3y + 4, then rearrange to y = (x − 4)/3. Check your answer by confirming that f(f⁻¹(x)) = x.

Will showing the answer help me in an exam?

Only if you learn the method, which is why every solver here prints the full working. Most maths papers award the majority of marks for method, so an answer with no working scores poorly even when it is right.