Maths · Ch 4 · Topic 4 of 6Quadratic formula
Topic 4 of 6

Solving with the quadratic formula

About 60 minutes · 3 things to learn
By the end you can…
  • Identify a, b and c correctly, with their signs, from any quadratic equation.
  • Use the quadratic formula step by step and simplify the roots, including surds.
  • Choose between factorisation and the quadratic formula.

Try to factorise x2−6x+4x^2 - 6x + 4. You need two numbers with product 4 and sum −6-6. Whole numbers? −1-1 and −4-4 add to −5-5; −2-2 and −2-2 add to −4-4. Nothing works — because the roots are 3+53 + \sqrt{5} and 3−53 - \sqrt{5}, which no one could guess. The quadratic formula finds roots like these every time, with no guessing at all.

The formula

For any quadratic equation ax2+bx+c=0ax^2 + bx + c = 0 (with a≠0a \neq 0), the roots are

x=−b±b2−4ac2ax = \dfrac{-b \pm \sqrt{b^2 - 4ac}}{2a}

provided b2−4ac≥0b^2 - 4ac \geq 0.

  • The ±\pm means "do it twice": once with ++, once with −-. That gives the two roots.
  • The expression under the square root, b2−4acb^2 - 4ac, is called the discriminant, written DD. Topic 5 is all about it.
  • The whole top, −b±D-b \pm \sqrt{D}, is divided by 2a2a — not just the square root.
  • If D<0D < 0 there is no real square root, so the equation has no real roots. Stop there.

You do not need to prove the formula for the board exam. If you are curious where it comes from, see the optional section at the end of this topic.

The method — six steps

  1. Standard form. Bring every term to the left so the right side is 0.
  2. Write aa, bb, cc with their signs in a small table.
  3. Find D=b2−4acD = b^2 - 4ac first, on its own line. Put negative numbers in brackets: (−7)2=49(-7)^2 = 49.
  4. If D<0D < 0: write "no real roots" and stop. Otherwise find D\sqrt{D} (simplify it if it is not a perfect square).
  5. Substitute into x=−b±D2ax = \dfrac{-b \pm \sqrt{D}}{2a}. Remember: −b-b is the opposite of bb. If b=−7b = -7, then −b=+7-b = +7.
  6. Split into the ++ root and the −- root, simplify each, and check by substituting.

Finding DD first keeps the formula line short and tells you straight away what kind of answer to expect: when aa, bb and cc are whole numbers, a perfect-square DD gives rational roots and any other positive DD gives surds.

Factorisation or formula?

Use factorisation when… Use the formula when…
the numbers are small and a split is easy to spot no split comes to mind within about 30 seconds
c=0c = 0 (take xx out) or b=0b = 0 (x2=x^2 = a number) DD is not a perfect square (surd roots)
the question says "by factorisation" the question says "by the quadratic formula", or the coefficients are large

Both methods always give the same roots. If aa, bb, cc are whole numbers and DD is a perfect square, the equation can be factorised — but the formula may still be quicker.

Visual

The quadratic formula Quadratic formula card. Banner: standard form first! Blanks a = __, b = __, c = __ with the note signs!. The formula x = (−b ± root of (b² − 4ac)) over 2a, written large, with the root sign over the whole of b² − 4ac and the fraction bar under the whole top. Callouts: −b: the opposite of b — if b = −7, then −b = +7. ±: two roots, one with +, one with −. D = b² − 4ac: work it out first. 2a: divides the WHOLE top. Example 3x² − 7x + 2 = 0: a = 3, b = −7, c = 2; D = (−7)² − 4(3)(2) = 49 − 24 = 25; x = (7 ± root 25) over 6 = (7 ± 5) over 6; x = 12/6 = 2 or x = 2/6 = 1/3. standard form first! a = b = c = signs! x = −b ± b2 − 4ac 2a −b: the opposite of b — if b = −7, then −b = +7 ±: two roots, one with +, one with − D = b2 − 4ac: work it out first 2a: divides the WHOLE top Example: 3x2 − 7x + 2 = 0 1 a = 3,  b = −7,  c = 2 2 D = (−7)2 − 4(3)(2) = 49 − 24 = 25 3 x = 7 ± 25 6 = 7 ± 5 6 4 x = 12 6 = 2   or   x = 2 6 = 1 3
Quadratic formula cardThe single most-used card in the chapter; each label targets one of the common formula mistakes.Draw in exam

Worked examples

Every example follows the same routine: standard form → a, b, c table → D → substitute → split ± → simplify → check.

Worked example 1

Two integer roots

Question. Solve x2+2x−35=0x^2 + 2x - 35 = 0 using the quadratic formula.

Given: the equation in standard form. Asked: its roots.

Concept used: the quadratic formula x=−b±b2−4ac2ax = \dfrac{-b \pm \sqrt{b^2 - 4ac}}{2a}. Why it applies: it solves every quadratic with D≥0D \geq 0.

  1. 1

    Read the coefficients with their signs.

    aa bb cc
    11 22 −35-35
  2. 2

    Write the discriminant formula.

    D=b2−4acD = b^2 - 4ac
  3. 3

    Substitute (negative values in brackets).

    D=22−4(1)(−35)D = 2^2 - 4(1)(-35)
  4. 4

    Work out each part: 4×1×(−35)=−1404 \times 1 \times (-35) = -140, and subtracting −140-140 adds 140.

    D=4+140D = 4 + 140
  5. 5

    Add.

    D=144D = 144
  6. 6

    D>0D > 0, so there are two roots. Take the square root.

    D=12\sqrt{D} = 12
  7. 7

    Substitute into the formula; −b=−2-b = -2.

    x=−2±122(1)x = \dfrac{-2 \pm 12}{2(1)}
  8. 8

    Take the ++ sign.

    x=−2+122=102=5x = \dfrac{-2 + 12}{2} = \dfrac{10}{2} = 5
  9. 9

    Take the −- sign.

    x=−2−122=−142=−7x = \dfrac{-2 - 12}{2} = \dfrac{-14}{2} = -7
  10. Check: x=5x = 5: 25+10−35=025 + 10 - 35 = 0 ✔. x=−7x = -7: 49−14−35=049 - 14 - 35 = 0 ✔.

  11. Answer x=5 or x=−7x = 5 \text{ or } x = -7

    Common trap: Writing D=4−140=−136D = 4 - 140 = -136 and concluding "no real roots". With c=−35c = -35, the term −4ac-4ac is plus 140.

Worked example 2

Fraction roots

Question. Solve 4x2−4x−15=04x^2 - 4x - 15 = 0 using the quadratic formula.

Given: a=4a = 4, b=−4b = -4, c=−15c = -15. Asked: the roots.

Concept used: the quadratic formula. Why it applies: standard form, and the numbers are awkward to split.

  1. 1

    Coefficients with signs.

    aa bb cc
    44 −4-4 −15-15
  2. 2

    Substitute into D=b2−4acD = b^2 - 4ac.

    D=(−4)2−4(4)(−15)D = (-4)^2 - 4(4)(-15)
  3. 3

    (−4)2=16(-4)^2 = 16; 4×4×(−15)=−2404 \times 4 \times (-15) = -240, and subtracting −240-240 adds 240.

    D=16+240D = 16 + 240
  4. 4

    Add.

    D=256D = 256
  5. 5

    Square root.

    D=16\sqrt{D} = 16
  6. 6

    Substitute; b=−4b = -4, so −b=+4-b = +4.

    x=4±162(4)=4±168x = \dfrac{4 \pm 16}{2(4)} = \dfrac{4 \pm 16}{8}
  7. 7

    Take the ++ sign and simplify.

    x=208=52x = \dfrac{20}{8} = \dfrac{5}{2}
  8. 8

    Take the −- sign and simplify.

    x=−128=−32x = \dfrac{-12}{8} = -\dfrac{3}{2}
  9. Check: x=52x = \dfrac{5}{2}: 4×254−10−15=25−25=04 \times \dfrac{25}{4} - 10 - 15 = 25 - 25 = 0 ✔.

  10. Answer x=52 or x=−32x = \dfrac{5}{2} \text{ or } x = -\dfrac{3}{2}

    Common trap: Dividing by a=4a = 4 instead of 2a=82a = 8 gives 55 and −3-3, which do not satisfy the equation (4(25)−20−15=65≠04(25) - 20 - 15 = 65 \neq 0).

Worked example 3

Standard form first

Question. Solve 3x2+2=7x3x^2 + 2 = 7x.

Given: an equation that is not in standard form. Asked: its roots.

Concept used: standard form, then the formula. Why it applies: bb and cc can only be read once the right side is 0.

  1. 1

    Subtract 7x7x from both sides.

    3x2−7x+2=03x^2 - 7x + 2 = 0
  2. 2

    Coefficients with signs.

    aa bb cc
    33 −7-7 22
  3. 3

    Substitute into D=b2−4acD = b^2 - 4ac.

    D=(−7)2−4(3)(2)D = (-7)^2 - 4(3)(2)
  4. 4

    Work out each part.

    D=49−24=25D = 49 - 24 = 25
  5. 5

    Square root.

    D=5\sqrt{D} = 5
  6. 6

    Substitute; b=−7b = -7, so −b=+7-b = +7.

    x=7±56x = \dfrac{7 \pm 5}{6}
  7. 7

    Take the ++ sign.

    x=126=2x = \dfrac{12}{6} = 2
  8. 8

    Take the −- sign.

    x=26=13x = \dfrac{2}{6} = \dfrac{1}{3}
  9. Check: in the original equation, x=2x = 2: LHS =12+2=14= 12 + 2 = 14, RHS =14= 14 ✔. x=13x = \dfrac{1}{3}: LHS =13+2=73= \dfrac{1}{3} + 2 = \dfrac{7}{3}, RHS =73= \dfrac{7}{3} ✔.

  10. Answer x=2 or x=13x = 2 \text{ or } x = \dfrac{1}{3}

    Common trap: Reading b=7b = 7 straight from the question. Then −b=−7-b = -7 and you get x=−7±56x = \dfrac{-7 \pm 5}{6}, i.e. −13-\dfrac{1}{3} and −2-2 — both wrong signs. Bring 7x7x across first: it becomes −7x-7x.

Worked example 4

Surd roots

Question. Solve x2−6x+4=0x^2 - 6x + 4 = 0. Give the roots in simplest surd form.

Given: a=1a = 1, b=−6b = -6, c=4c = 4. Asked: the roots, simplified.

Concept used: the quadratic formula and simplifying surds (Topic 2). Why it applies: the equation cannot be factorised with whole numbers.

  1. 1

    Substitute into D=b2−4acD = b^2 - 4ac.

    D=(−6)2−4(1)(4)D = (-6)^2 - 4(1)(4)
  2. 2

    Work out each part.

    D=36−16=20D = 36 - 16 = 20
  3. 3

    20 is not a perfect square. Simplify: 20=4×520 = 4 \times 5.

    D=20=25\sqrt{D} = \sqrt{20} = 2\sqrt{5}
  4. 4

    Substitute; −b=+6-b = +6.

    x=6±252x = \dfrac{6 \pm 2\sqrt{5}}{2}
  5. 5

    Divide each term on top by 2.

    x=3±5x = 3 \pm \sqrt{5}
  6. Check: sum of the roots =(3+5)+(3−5)=6= (3 + \sqrt{5}) + (3 - \sqrt{5}) = 6, and product =9−5=4= 9 - 5 = 4. For x2−6x+4x^2 - 6x + 4, the sum should be −ba=6-\dfrac{b}{a} = 6 and the product ca=4\dfrac{c}{a} = 4 (Chapter 2) ✔.

  7. Answer x=3+5 or x=3−5x = 3 + \sqrt{5} \text{ or } x = 3 - \sqrt{5}

    Common trap: Simplifying 6±252\dfrac{6 \pm 2\sqrt{5}}{2} to 3±253 \pm 2\sqrt{5} (dividing only the 6). The 2 underneath divides every term on top.

Worked example 5

When aa is negative

Question. Solve 1+6x−3x2=01 + 6x - 3x^2 = 0.

Given: the terms are in the wrong order and the x2x^2 term is negative. Asked: the roots.

Concept used: rearrange into the order x2x^2, xx, number; the formula works with a negative aa. Why it applies: aa, bb, cc must be read from standard form.

  1. 1

    Rearrange in the order x2x^2, xx, number.

    −3x2+6x+1=0-3x^2 + 6x + 1 = 0
  2. 2

    Coefficients with signs.

    aa bb cc
    −3-3 66 11
  3. 3

    Substitute into D=b2−4acD = b^2 - 4ac.

    D=62−4(−3)(1)D = 6^2 - 4(-3)(1)
  4. 4

    4×(−3)×1=−124 \times (-3) \times 1 = -12, and subtracting −12-12 adds 12.

    D=36+12=48D = 36 + 12 = 48
  5. 5

    Simplify the root: 48=16×348 = 16 \times 3.

    D=43\sqrt{D} = 4\sqrt{3}
  6. 6

    Substitute; −b=−6-b = -6 and 2a=−62a = -6.

    x=−6±43−6x = \dfrac{-6 \pm 4\sqrt{3}}{-6}
  7. 7

    Divide each term on top by −6-6 (a minus divided by a minus is a plus).

    x=1∓436x = 1 \mp \dfrac{4\sqrt{3}}{6}
  8. 8

    Simplify the fraction 46=23\dfrac{4}{6} = \dfrac{2}{3}.

    x=1∓233x = 1 \mp \dfrac{2\sqrt{3}}{3}
  9. 9

    The two roots together are the same set whichever sign comes first, so write them over a common denominator.

    x=3+233orx=3−233x = \dfrac{3 + 2\sqrt{3}}{3} \quad\text{or}\quad x = \dfrac{3 - 2\sqrt{3}}{3}
  10. Check: alternative route — multiply the equation by −1-1 first: 3x2−6x−1=03x^2 - 6x - 1 = 0. Then D=36+12=48D = 36 + 12 = 48 again and x=6±436=1±233x = \dfrac{6 \pm 4\sqrt{3}}{6} = 1 \pm \dfrac{2\sqrt{3}}{3} — the same pair ✔.

  11. Answer x=3±233x = \dfrac{3 \pm 2\sqrt{3}}{3}, i.e. 1+2331 + \dfrac{2\sqrt{3}}{3} and 1−2331 - \dfrac{2\sqrt{3}}{3}

    Common trap: Taking a=1a = 1 because "1" is written first. aa is the coefficient of x2x^2, wherever it sits. (Tip: multiplying by −1-1 to make aa positive is allowed and often safer.)

Worked example 6

Factorising would be slow

Question. Solve 12x2−7x−12=012x^2 - 7x - 12 = 0.

Given: a=12a = 12, b=−7b = -7, c=−12c = -12. Asked: the roots.

Concept used: the quadratic formula. Why it applies: ac=−144ac = -144 has many factor pairs, so hunting for a split is slow; the formula needs no search.

  1. 1

    Substitute into D=b2−4acD = b^2 - 4ac.

    D=(−7)2−4(12)(−12)D = (-7)^2 - 4(12)(-12)
  2. 2

    (−7)2=49(-7)^2 = 49; 4×12×(−12)=−5764 \times 12 \times (-12) = -576, and subtracting it adds 576.

    D=49+576=625D = 49 + 576 = 625
  3. 3

    Square root.

    D=25\sqrt{D} = 25
  4. 4

    Substitute; −b=+7-b = +7 and 2a=242a = 24.

    x=7±2524x = \dfrac{7 \pm 25}{24}
  5. 5

    Take the ++ sign and simplify (divide top and bottom by 8).

    x=3224=43x = \dfrac{32}{24} = \dfrac{4}{3}
  6. 6

    Take the −- sign and simplify (divide top and bottom by 6).

    x=−1824=−34x = \dfrac{-18}{24} = -\dfrac{3}{4}
  7. Check: D=625D = 625 is a perfect square, so the equation does factorise: (3x−4)(4x+3)=12x2+9x−16x−12=12x2−7x−12(3x - 4)(4x + 3) = 12x^2 + 9x - 16x - 12 = 12x^2 - 7x - 12 ✔. The split was −16-16 and 99 — hard to spot among the many pairs of 144.

  8. Answer x=43 or x=−34x = \dfrac{4}{3} \text{ or } x = -\dfrac{3}{4}

    Common trap: Spending three minutes hunting for a split. If nothing appears quickly, switch to the formula — it always works.

6 examples · they get harder as you go

Quick check

Answer without scrolling up
Quick check · 1 of 3MCQ1 mark

To solve 2x2=5x+32x^2 = 5x + 3 with the quadratic formula, which values do you substitute?

Quick check · 2 of 3Short answer2 marks

Solve x2−4x−1=0x^2 - 4x - 1 = 0 using the quadratic formula.

Quick check · 3 of 3Short answer2 marks

Solve 5x2+3x−2=05x^2 + 3x - 2 = 0 using the quadratic formula.

Key points

  • Quadratic formula: x=−b±b2−4ac2ax = \dfrac{-b \pm \sqrt{b^2 - 4ac}}{2a}, valid when b2−4ac≥0b^2 - 4ac \geq 0.
  • Routine: standard form → aa, bb, cc with signs → DD first → D\sqrt{D} → substitute → split ±\pm → simplify → check.
  • −b-b is the opposite of bb; (−b)2(-b)^2 is positive; 2a2a divides the whole top.
  • DD not a perfect square → surd roots; simplify D\sqrt{D} and divide every term by 2a2a.
  • Factorise when a split is easy; otherwise use the formula. Both give the same roots.

Where the formula comes from (optional — not for the board exam)

Beyond the syllabus — not assessed. Completing the square and the derivation of the formula are not in the 2026-27 CBSE syllabus, and there are no questions on them. Read this only if you want to know why the formula works.

Completing the square

The idea: turn the left side into a perfect square like (x+3)2(x + 3)^2, then take square roots. Solve x2+6x−7=0x^2 + 6x - 7 = 0:

  1. Move the number to the right.
x2+6x=7x^2 + 6x = 7
  1. Take half the coefficient of xx (half of 6 is 3) and add its square, 32=93^2 = 9, to both sides.
x2+6x+9=7+9x^2 + 6x + 9 = 7 + 9
  1. The left side is now a perfect square.
(x+3)2=16(x + 3)^2 = 16
  1. Take the square root of both sides — remember ±\pm.
x+3=±4x + 3 = \pm 4
  1. Subtract 3.
x=1orx=−7x = 1 \quad\text{or}\quad x = -7

The picture explains the name: x2+6xx^2 + 6x is an xx-by-xx square plus two xx-by-3 strips; adding a 3-by-3 corner completes the square.

Deriving the formula

Do exactly the same with letters, starting from ax2+bx+c=0ax^2 + bx + c = 0, a≠0a \neq 0.

  1. Divide every term by aa.
x2+bax+ca=0x^2 + \dfrac{b}{a}x + \dfrac{c}{a} = 0
  1. Move the number to the right.
x2+bax=−cax^2 + \dfrac{b}{a}x = -\dfrac{c}{a}
  1. Half the coefficient of xx is b2a\dfrac{b}{2a}. Add its square to both sides.
x2+bax+b24a2=b24a2−cax^2 + \dfrac{b}{a}x + \dfrac{b^2}{4a^2} = \dfrac{b^2}{4a^2} - \dfrac{c}{a}
  1. Write the left side as a square, and the right side over the common denominator 4a24a^2.
(x+b2a)2=b2−4ac4a2\left(x + \dfrac{b}{2a}\right)^2 = \dfrac{b^2 - 4ac}{4a^2}
  1. If b2−4ac≥0b^2 - 4ac \geq 0, take square roots (the square root of 4a24a^2 is 2a2a, up to sign — the ±\pm covers it).
x+b2a=±b2−4ac2ax + \dfrac{b}{2a} = \pm\dfrac{\sqrt{b^2 - 4ac}}{2a}
  1. Subtract b2a\dfrac{b}{2a} from both sides.
x=−b±b2−4ac2ax = \dfrac{-b \pm \sqrt{b^2 - 4ac}}{2a}

That is the quadratic formula — the same rule Sridharacharya described in words about a thousand years ago. Step 5 also shows why b2−4acb^2 - 4ac decides everything: if it is negative, there is no real square root to take.

Completing the square as tiles Optional — not for the board exam. Completing the square as tiles. Left: a square x by x (x²) with a strip 3 by x on the right and a strip x by 3 below (3x each), the 3 by 3 corner empty and dashed: x² + 6x. Right: the same with the corner filled in (9), making one big square of side x + 3: x² + 6x + 9 = (x + 3)². Add the corner: (half of 6)² = 9. So x² + 6x − 7 = 0 becomes (x + 3)² = 16, x + 3 = ±4, x = 1 or x = −7. Optional — not for the board exam x2 3x 3x x 3 x 3 x2 + 6x x2 3x 3x 9 x 3 x 3 x + 3 x2 + 6x + 9 = (x + 3)2 add the corner: (half of 6)2 = 9 x2 + 6x − 7 = 0 (x + 3)2 = 16 x + 3 = ±4,  so  x = 1 or x = −7
Completing the square as tiles (optional, not for exam)Shows where the name "completing the square" comes from (optional, not for the exam).
My notesComing soon