Solve ax²+bx+c=0 using x=(-b±√(b²-4ac))/(2a). Compute the
discriminant b²-4ac first to find the square root, then
evaluate the two roots separately on their own lines.
Example
Substitute into the quadratic formula, compute the discriminant, then use both signs.
highlighted = computed this step
Step 1 — Set up
Set up the expression.
2x2−7x+3=0
Step 2 — Substitute
Substitute a = 2, b = -7, c = 3.
x=47±49−24
Step 3 — Discriminant
Compute the discriminant: 49 - 24 = 25.
49−24=25
Step 4 — Simplify radical
Simplify the radical: numerator 7 plus or minus 5, over 4.
x=47±5
Step 5 — Plus root
Use plus: (7 + 5) / 4 = 3.
x=(7+5)/4=3
Step 6 — Minus root
Use minus: (7 - 5) / 4 = 1/2.
x=(7−5)/4=21
quadratic-formulaThe formula works for any quadratic. Compute disc=b²-4ac, then the two roots x=(-b+√disc)/(2a) and x=(-b-√disc)/(2a).