Skip to content
LoveToCalc

Theorem — what does that mean?

The quadratic formula

The same quadratic equation, with the number in front of x² kept. Minus b, plus or minus the square root of b² − 4ac, all over 2a.

In Swedish: abc-formeln

The quadratic formula

The relation

x=−b±b²−4ac2a

The roots of ax² + bx + c = 0: minus b, plus or minus the square root of b² − 4ac, all over 2a.

Solve for
Solved for x

x=−b+b²−4ac2a

x=3

x equals ((minus (−2)) plus the square root of ((−2) squared minus (4 times (1 times (−3))))) divided by (2 times 1), equals (2 plus the square root of (4 minus (4 times (−3)))) divided by 2, equals (2 plus the square root of (4 minus (−12))) divided by 2, equals (2 plus the square root of (16)) divided by 2, equals (2 plus 4) divided by 2, equals 6 divided by 2, equals 3. The equation has a second root as well: x = −1.

Working7 steps

Practice questions

You are given

  • x=2
  • b=-9
  • c=6

What the formula says

Holds when a ≠ 0.

a is the number in front of x², b the number in front of x, and c the term on its own. The equation has to be gathered on the left with a zero on the right, but unlike the pq formula you do not divide a away first.

The whole numerator is divided by 2a, not just the root. That is a common copying mistake with this formula, and a fraction bar drawn under both terms is the fix.

The same formula as the pq formula

Divide ax² + bx + c = 0 by a and you get x² + (b/a)x + c/a = 0, so p = b/a and q = c/a. Put that into the pq formula, multiply top and bottom by 2a, and this formula falls out. The two are one thing written for two starting points:

pq formula Quadratic formula
The equation x² + px + q = 0 ax² + bx + c = 0
Under the root (p/2)² − q b² − 4ac
Requires dividing by a first a ≠ 0

Swedish textbooks teach both and mostly use pq. English-language textbooks teach this one.

Worked examples

Example 1. Solve x² − 2x − 3 = 0.

a = 1, b = −2, c = −3.

x = (2 ± √((−2)² − 4 · 1 · (−3))) / 2 = (2 ± √(4 + 12)) / 2 = (2 ± 4) / 2

The roots are x = 3 and x = −1.

Example 2. Solve 2x² + 2x − 12 = 0.

a = 2, b = 2, c = −12.

x = (−2 ± √(4 + 96)) / 4 = (−2 ± 10) / 4

The roots are x = 2 and x = −3. Dividing by 2 first would have given the same answer — it is the same equation.

Watch the signs. With c negative and a positive, −4ac turns into a plus, which makes the number under the root larger rather than smaller.

Common mistakes

Common questions

Which of the two formulas should I use? Whichever means less arithmetic. If the number in front of x² is already 1, or divides everything cleanly, the pq formula is shorter. If it is 3 and nothing else divides by 3, this one saves you the fractions.

What does b² − 4ac mean? It is the discriminant, and it decides how many roots there are: positive gives two, zero gives one, negative gives no real root.

Can I get a, b or c back from a known root? One root gives you one of them if you know the other two — that is what the card does when you pick a, b or c as the unknown. A single root never fixes the whole equation, though: infinitely many parabolas pass through the same zero.

Looking for another letter? The formula solved for each one
Solved for each letter
Solve forRearrangedWith the numbersComes to
a−(bx+c)x²−(−2·3+(−3))3²1
b−(ax²+c)x−(1·3²+(−3))3−2
c−(ax²+bx)−(1·3²+(−2)·3)−3
x−b+b²−4ac2a−(−2)+(−2)²−4·1·(−3)2·13

Mathematical symbols

Table

Mathematical symbols
SymbolNameMeansExample
Equality and inequality
=equals signBoth sides have the same value.2 + 3 = 5
≠not equal toThe two sides have different values.2 + 2 ≠ 5
≈approximately equal toNearly equal, usually after rounding.π ≈ 22/7
<less thanThe left side is smaller than the right.3 < 5
>greater thanThe left side is larger than the right.5 > 3
≤less than or equal toThe left side is smaller than or equal to the right.x ≤ 10
≥greater than or equal toThe left side is larger than or equal to the right.x ≥ 0
Operations
±plus-minusBoth plus and minus: two values at once.x = ±3
·multiplication dotTimes. The usual sign in the formulas here.3 · 4 = 12
×multiplication signTimes, the same as ·.3 × 4 = 12
÷division signDivided by, the same as /.12 ÷ 4 = 3
√square rootThe number that multiplied by itself gives the number under the sign, never negative.√16 = 4
∛cube rootThe number that multiplied by itself three times gives the number under the sign.∛27 = 3
|x|absolute valueA number's distance from zero, always zero or positive.|−3| = 3
∑summation signThe sum of all the terms of one kind.∑ xᵢ = x₁ + x₂ + … + xₙ
ΔdeltaChange: the final value minus the initial value.Δx = x₂ − x₁
%percentHundredths.5% = 5/100
‰per milleThousandths.5‰ = 5/1000
Geometry
∠angleThe angle with its vertex at the middle letter.∠ABC = 90°
⊥perpendicular toThe lines meet at a right angle.AB ⊥ CD
∥parallel toThe lines run in the same direction and never meet.AB ∥ CD
°degreeThe unit of angle: a full turn is 360°. Also in temperatures, as in 20 °C.90°
Constants
πpiA circle's circumference divided by its diameter, about 3.14.A = πr²
∞infinityLarger than every number. Not a number itself, but a direction.x → ∞

Last reviewed October 6, 2026 ·How pages are reviewed

Calculate it in practice

Ready-made worksheets with this formula

Sheets that ask this formula, with their answer keys. Open one to see the questions or print it.

High school

  • Quadratic equations with the pq formula

    Eight equations of the form x² + px + q = 0, four discriminants and four with the abc formula. Writing space under each question, and the first one worked in the key.

PolynomialsAll formulas

Put this formula on your site

Copy the code into your page where the formula card should appear. It loads from lovetocalc.com, so it stays current on its own — all we ask is that the credit line comes with it.