📘 CodingMarble Learn

Quadratic Equations

A quadratic equation has x² as its highest power: ax² + bx + c = 0 with a ≠ 0. It has at most two roots. Find them by factorising (split the middle term, then set each bracket to zero) or by the formula x = (−b ± √(b² − 4ac)) / 2a. The discriminant D = b² − 4ac tells the nature of roots: D > 0 two different real roots, D = 0 two equal roots, D < 0 no real roots.

🎬 Step-by-step story

  1. Look at these tiles. One big blue square is x². Five green strips are 5x. Six small yellow squares are 6. Together they make x² + 5x + 6.
  2. Now the tiles slide into one neat rectangle. Its sides are (x + 2) and (x + 3). So x² + 5x + 6 = (x + 2)(x + 3). This is factorisation.
  3. If (x + 2)(x + 3) = 0, one bracket must be zero. So x = −2 or x = −3. On the graph, the curve touches the x-axis at exactly these two points. These are the roots.
  4. The quadratic formula finds roots for any equation. Watch it work line by line: find D, take its square root, then use plus and minus.
  5. The discriminant D = b² − 4ac decides everything. The curve lifts up: first it cuts the x-axis twice, then just touches it once, then misses it. Two roots, one root, no real roots.
  6. Your turn. Move the a, b and c sliders. Count where the curve meets the x-axis and check D.

Tip: drag the 3D scene to turn it. Use two fingers to zoom.

🤔 Common doubts, cleared

Why must a not be 0 in ax² + bx + c = 0?

If a = 0, the x² part disappears and only bx + c = 0 is left, which is a straight-line (linear) equation. Set the a slider to 0 in the last step: the curve becomes a straight line.

How do I know which two numbers to split the middle term into?

They must multiply to a × c and add to b. In the tiles, the 5 strips split into 2 on one side and 3 on the other because 2 × 3 = 6 and 2 + 3 = 5.

Why do we put each bracket equal to zero?

If two numbers multiply to 0, at least one of them must be 0. So (x + 2)(x + 3) = 0 means x + 2 = 0 or x + 3 = 0. The graph shows the curve meeting the x-axis at −2 and −3.

Why are roots the points where the graph meets the x-axis?

On the x-axis, y = 0. So the x-values where y = ax² + bx + c becomes 0 are exactly the roots.

Why is there a ± sign in the formula?

Both +4 and −4 give 16 when squared. So when we take a square root we must keep both signs. That is how we get two roots.

What does D = 0 look like?

The curve just touches the x-axis at one point, x = −b/2a. We say the two roots are equal. Watch the middle moment of the lift in step 4.

Can a quadratic have three roots?

No. A U-shaped curve can cross a straight line (the x-axis) at most twice. Try any a, b, c in free play: you will never see three crossings.

What is a quadratic equation? (standard form)

A quadratic equation is an equation where the biggest power of x is 2. "Quad" means square.

Its standard form is ax² + bx + c = 0. Here a, b and c are real numbers and a ≠ 0. If a were 0, the x² part would vanish and it would be a linear equation.

Always bring every term to one side first. Example: 2x² = 3x − 1 becomes 2x² − 3x + 1 = 0, so a = 2, b = −3, c = 1.

A number that makes the equation true is called a root (or solution). A quadratic has at most two roots.

How to check if an equation is quadratic

Open all brackets and simplify. If the highest power of x left is 2, it is quadratic. Careful: (x + 1)² = x² + 3 simplifies to 2x − 2 = 0, which is not quadratic, because the x² cancels.

Solving by factorisation (splitting the middle term)

For ax² + bx + c = 0, find two numbers that multiply to a × c and add to b. Break the middle term into these two, group, and take out common factors.

Example: x² + 5x + 6 = 0. We need two numbers with product 6 and sum 5: they are 2 and 3.

x² + 2x + 3x + 6 = 0 → x(x + 2) + 3(x + 2) = 0 → (x + 2)(x + 3) = 0.

If two numbers multiply to give 0, at least one of them is 0. So x + 2 = 0 or x + 3 = 0, which gives x = −2 or x = −3.

The 3D tiles show why this works: the pieces of x² + 5x + 6 fit exactly into a rectangle with sides (x + 2) and (x + 3).

Solving by the quadratic formula

Some equations do not factorise easily. The quadratic formula always works:

x = (−b ± √(b² − 4ac)) / 2a

Steps: (1) write a, b, c with their signs; (2) find D = b² − 4ac; (3) if D ≥ 0, find √D; (4) put the values in the formula once with + and once with −.

Where does the formula come from?

It comes from completing the square. Divide by a: x² + (b/a)x + c/a = 0. Add and subtract (b/2a)²: (x + b/2a)² = (b² − 4ac)/4a². Take the square root of both sides: x + b/2a = ±√(b² − 4ac)/2a. Move b/2a across and you get the formula. The ± appears because both a positive and a negative number give the same square.

Discriminant and nature of roots

The part under the root, D = b² − 4ac, is called the discriminant. "Discriminate" means "tell apart": D tells us what kind of roots we get without solving.

A common board question: "Find k so that kx² + 6x + 1 = 0 has equal roots." Set D = 0: 36 − 4k = 0, so k = 9.

Word problems on quadratic equations

Four steps turn any story into a quadratic:

  1. Name the unknown: let it be x (say what x means and its unit).
  2. Write the other quantities using x.
  3. Form the equation from the condition, and bring it to ax² + bx + c = 0.
  4. Solve and check: throw away answers that make no sense (a negative length, age or speed).

Typical types: area of a rectangle, consecutive numbers, ages, speed–time (trains, boats in a stream), and work done by two people.

Try it: the tile puzzle at home

Cut 1 big square (side 5 cm), 5 strips (5 cm × 1 cm) and 6 small squares (1 cm) from paper. They stand for x², 5x and 6. Try to arrange all 12 pieces into one rectangle. Measure its sides: one side is x + 2, the other is x + 3. Now try x² + 7x + 12 (7 strips, 12 small squares). Which rectangle do you get?

In the 3D above, go to the last step and predict first: with a = 1, b = 4, c = 4, how many times will the curve meet the x-axis? Then move the sliders and check.

What is asked in the board exam

This chapter is part of the Algebra unit (about 20 marks). Expect: checking if an equation is quadratic (1 mark), finding k for equal roots or nature of roots (2 marks), solving by factorisation or formula (2–3 marks), and one word problem (3–5 marks, often speed or area).

Key formulas and definitions

Worked examples

1. Is (x − 2)² + 1 = 2x − 3 a quadratic equation?

Open the bracket: x² − 4x + 4 + 1 = 2x − 3. Bring all terms left: x² − 6x + 8 = 0. The highest power is 2 and a = 1 ≠ 0, so yes, it is quadratic.

2. Solve x² − 7x + 12 = 0 by factorisation.

Need two numbers with product 12 and sum −7: −3 and −4. x² − 3x − 4x + 12 = 0 → x(x − 3) − 4(x − 3) = 0 → (x − 3)(x − 4) = 0. So x = 3 or x = 4.

3. Solve 2x² + x − 6 = 0 by factorisation.

a × c = 2 × (−6) = −12. Two numbers with product −12 and sum 1: 4 and −3. 2x² + 4x − 3x − 6 = 0 → 2x(x + 2) − 3(x + 2) = 0 → (x + 2)(2x − 3) = 0. So x = −2 or x = 3/2.

4. Solve x² − 2x − 3 = 0 using the quadratic formula.

a = 1, b = −2, c = −3. D = (−2)² − 4(1)(−3) = 4 + 12 = 16, √D = 4. x = (2 ± 4)/2. So x = 6/2 = 3 or x = −2/2 = −1.

5. Find the nature of roots of 3x² − 4x + 2 = 0.

D = (−4)² − 4(3)(2) = 16 − 24 = −8. D < 0, so the equation has no real roots.

6. Find k so that x² − kx + 9 = 0 has two equal roots.

For equal roots D = 0: (−k)² − 4(1)(9) = 0 → k² = 36 → k = 6 or k = −6.

7. The length of a rectangular garden is 4 m more than its width. Its area is 96 m². Find its sides.

Let width = x m, length = x + 4 m. x(x + 4) = 96 → x² + 4x − 96 = 0 → (x + 12)(x − 8) = 0 → x = 8 or x = −12. Width cannot be negative, so width = 8 m and length = 12 m.

8. A train covers 360 km at a steady speed. If its speed were 10 km/h more, it would take 3 hours less. Find its speed.

Let speed = x km/h. Time = 360/x. Then 360/x − 360/(x + 10) = 3. Multiply by x(x + 10): 360(x + 10) − 360x = 3x(x + 10) → 3600 = 3x² + 30x → x² + 10x − 1200 = 0 → (x + 40)(x − 30) = 0. Speed cannot be negative, so the speed is 30 km/h.

Common mistakes

Practice quiz

1. Which of these is a quadratic equation?
2. The discriminant of ax² + bx + c = 0 is:
3. The roots of (x − 5)(x + 1) = 0 are:
4. If D = 0, the equation has:
5. The largest number of roots a quadratic equation can have is:

Practice: answer these yourself

Type or choose your answer, then press Check. Use a hint if you are stuck; the full solution appears after you answer.

Frequently asked questions

What is a quadratic equation in simple words?

It is an equation where x is squared (x²) and no higher power appears. Its standard form is ax² + bx + c = 0 with a not equal to 0.

Which method is best: factorisation or formula?

Try factorisation first if the numbers are small and nice. If you cannot find two numbers quickly, use the formula. The formula always works.

Why can a quadratic have no real roots?

The formula needs √D. If D is negative, no real number squared gives a negative number, so there is no real root. On the graph, the curve never meets the x-axis.

Where this is taught

Canada (Ontario)Grade 10Quadratic Relations of the Form y = ax2 + bx + c
Canada (Ontario)Grade 11A. Quadratic Functions
ItalySecondaria di secondo grado – classe 1ªRelations and functions
ItalySecondaria di secondo grado – classe 2ªRelations and functions
ItalySecondaria di secondo grado – classe 3ªRelations and functions
ItalySecondaria di secondo grado – classe 3ªRelations and functions
ItalySecondaria di secondo grado – classe 4ªRelations and functions
ItalySecondaria di secondo grado – classe 4ªRelations and functions
NetherlandsVWO 3 (onderbouw)Equations
NetherlandsHAVO 4 (bovenbouw, 2e fase)Functions, graphs and equations (part 1)
NetherlandsVWO 5Functions, graphs and equations (part 2)
PolandLiceum ogólnokształcące, klasa IEquations and inequalities
PolandLiceum ogólnokształcące, klasa IEquations and inequalities
RomaniaClasa a VIII-aAlgebraic calculation in ℝ
Spain4º ESOAlgebraic sense
Spain4º ESOAlgebraic sense
Spain1º BachilleratoAlgebraic Sense
Spain1º BachilleratoAlgebraic Sense
Ukraine8 класAlgebraic expressions
Ukraine8 класEquations
CBSE (India)Class 10Algebra
CBSE (India)Class 10Algebra
England (GCSE, A level)Year 103.2 Algebra
England (GCSE, A level)Year 12B Algebra and functions
USA (Common Core, NGSS, AP)Grade 9Relationships between quantities and reasoning with equations
USA (Common Core, NGSS, AP)Grade 9Expressions and equations (quadratic)
USA (Common Core, NGSS, AP)Grade 10Expressions and equations
Japan中学3年Numbers and expressions
Japan高校1年Quadratic functions
Japan高校2年Various expressions
South Korea중학교 3학년Factorisation and quadratic equations
South Korea고등학교 1학년Equations and inequalities
South Korea고등학교 1학년Equations and inequalities
Germany (Bavaria)Jahrgangsstufe 9Quadratic functions
FranceTroisièmeNumbers and calculations
FranceSecondeNumbers, calculations and algebra
FrancePremièreModelling change with functions
FrancePremièreAlgebra
Russia8 классEquations and inequalities
Russia8 классEquations and inequalities
Russia9 классEquations and inequalities
China九年级(初三)Ch.25 Quadratic equations in one variable

Learn next

Related lessons

All Maths lessons