Quadratics

Quadratic Formula Practice Problems

For ax2+bx+c=0ax^2+bx+c=0, the solutions are x=−b±b2−4ac2ax=\frac{-b\pm\sqrt{b^2-4ac}}{2a}, found by substituting your three coefficients.

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

Try it with your numbers

Show every step

The solver above shows every step for any numbers you type. Below it, the sections cover the traps that cost points, then ten problems climb from clean whole-number answers to fractions, radicals and complex roots. Each one has a worked solution. The full lesson on the quadratic formula covers the theory in more depth.

How do you use the quadratic formula step by step?

Every problem uses the same four moves, and most lost points come from the first two. Put the equation in standard form so one side is zero, then read off aa, bb and cc with their signs. If b=−5b=-5, then −b=5-b=5, and b2=25b^2=25, not −25-25. Putting every substituted value in parentheses prevents both errors.

  1. Rearrange to ax2+bx+c=0ax^2+bx+c=0.
  2. Write down aa, bb and cc, including minus signs.
  3. Compute D=b2−4acD=b^2-4ac on its own line.
  4. Finish with x=−b±D2ax=\frac{-b\pm\sqrt D}{2a} and split into two answers.

Take 2x2−5x−3=02x^2-5x-3=0, where a=2a=2, b=−5b=-5, c=−3c=-3:

D=(−5)2−4(2)(−3)=25+24=49D=(-5)^2-4(2)(-3)=25+24=49

x=−(−5)±492(2)=5±74x=\frac{-(-5)\pm\sqrt{49}}{2(2)}=\frac{5\pm7}{4}

x=124=3orx=−24=−12x=\frac{12}{4}=3\quad\text{or}\quad x=\frac{-2}{4}=-\frac12

Substituting x=3x=3 gives 18−15−3=018-15-3=0, so it checks. Notice that −4ac-4ac became +24+24 because cc is negative. A negative aa or cc makes the discriminant bigger, never smaller, and that is the sign slip students make most often.

Quick check

Find b2−4acb^2-4ac for 3x2−4x−2=03x^2 - 4x - 2 = 0.

Where does the quadratic formula come from?

Number line showing roots 3 and minus one half equally distant from axis 5/4
For 2x² − 5x − 3 = 0 the axis is 5/4 and each root sits 7/4 away on opposite sides.

The formula is completing the square done once, for all quadratics at the same time. Divide ax2+bx+c=0ax^2+bx+c=0 by aa, add b24a2\frac{b^2}{4a^2} to both sides, and the left side becomes a perfect square:

(x+b2a)2=b2−4ac4a2\left(x+\frac{b}{2a}\right)^2=\frac{b^2-4ac}{4a^2}

Take the square root of both sides and solve for xx:

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

The full derivation shows each algebra step, and completing the square is the method it generalizes.

Read the formula in two pieces

The first term, −b2a-\frac{b}{2a}, is the axis of symmetry. The second term is how far both solutions sit from that line, one on each side.

That split is useful. If you can find the axis from −b2a-\frac{b}{2a}, you only need one distance to get both solutions. It also explains why the ±\pm exists: a parabola is symmetric, so solutions arrive in mirror pairs.

What does the discriminant tell you before you solve?

The expression under the root, b2−4acb^2-4ac, is the discriminant. Its sign tells you what kind of answer is coming before you finish.

b2−4acb^2-4ac Real solutions Graph
Positive Two Crosses the x-axis twice
Zero One repeated Touches the x-axis at the vertex
Negative None (two complex) Never reaches the x-axis

For 4x2−12x+9=04x^2-12x+9=0, the discriminant is 144−144=0144-144=0, so x=128=32x=\frac{12}{8}=\frac32 is the only solution. The left side is (2x−3)2(2x-3)^2, which is why the two roots merge.

The discriminant also predicts whether factoring can work. With integer coefficients, a perfect square (like 4949 in the example above) means the roots are rational and the equation factors. If it is not a perfect square, such as 2020 or 4141, no integer factor pair exists, and searching for one wastes time.

Quick check

For which values of kk does x2+kx+9=0x^2 + kx + 9 = 0 have exactly one solution?

Quadratic formula with negative, fractional or decimal coefficients

The formula needs whole-number coefficients to stay tidy, so clean the equation first. Clear fractions by multiplying every term by the common denominator, clear decimals by multiplying by 1010 or 100100, and flip every sign if aa is negative. The solutions do not change, because you are multiplying both sides of an equation by the same number. Also move everything to one side: x2=3x+7x^2=3x+7 must become x2−3x−7=0x^2-3x-7=0 before you read bb and cc.

Solve −x2+4x+1=0-x^2+4x+1=0. Multiply by −1-1 to get x2−4x−1=0x^2-4x-1=0, so a=1a=1, b=−4b=-4, c=−1c=-1:

D=(−4)2−4(1)(−1)=16+4=20D=(-4)^2-4(1)(-1)=16+4=20

x=4±202=4±252=2±5x=\frac{4\pm\sqrt{20}}{2}=\frac{4\pm2\sqrt5}{2}=2\pm\sqrt5

As a decimal check, 2+5≈4.2362+\sqrt5\approx4.236. Then −(4.236)2+4(4.236)+1≈−17.944+16.944+1=0-(4.236)^2+4(4.236)+1\approx-17.944+16.944+1=0.

Divide the whole numerator

In 4±252\frac{4\pm2\sqrt5}{2}, the 22 must divide both 44 and 252\sqrt5. Writing 4±54\pm\sqrt5 is the classic error.

When you simplify a radical, pull out the largest perfect square: 48=16⋅3=43\sqrt{48}=\sqrt{16\cdot3}=4\sqrt3. A quick test that you are done: no number outside the root and inside the root share a factor with the denominator.

What happens when the discriminant is negative?

A negative discriminant does not mean you made a mistake. It means the solutions are complex, built from ii where i2=−1i^2=-1. Pull the minus sign out of the root: −16=16⋅−1=4i\sqrt{-16}=\sqrt{16}\cdot\sqrt{-1}=4i. The complex numbers lesson covers how these behave.

Solve x2+2x+5=0x^2+2x+5=0, where a=1a=1, b=2b=2, c=5c=5:

D=22−4(1)(5)=4−20=−16D=2^2-4(1)(5)=4-20=-16

x=−2±−162=−2±4i2=−1±2ix=\frac{-2\pm\sqrt{-16}}{2}=\frac{-2\pm4i}{2}=-1\pm2i

To verify x=−1+2ix=-1+2i, square it: (−1+2i)2=1−4i+4i2=−3−4i(-1+2i)^2=1-4i+4i^2=-3-4i. Then −3−4i+2(−1+2i)+5=−3−4i−2+4i+5=0-3-4i+2(-1+2i)+5=-3-4i-2+4i+5=0, so it works.

Complex roots always arrive as a conjugate pair, p+qip+qi and p−qip-qi, because the only part that changes between them is the sign in front of the root. Graphically, the real part p=−b2ap=-\frac{b}{2a} is still the axis of symmetry. The parabola simply floats above or below the x-axis.

Quadratic formula or factoring: which method should you use?

The formula always works, but it is not always fastest. A quick scan of the equation usually tells you which tool fits:

  • No xx term, like 3x2−48=03x^2-48=0: isolate x2x^2 and use the square root method.
  • Small integers with a perfect-square discriminant: factoring is quicker.
  • Awkward, fractional or irrational cases: use the formula.

The formula has limits. It only applies when the equation equals zero and a≠0a\neq0, because if a=0a=0 the denominator 2a2a is zero and the equation is linear anyway. Equations with xx in a denominator must be cleared first, and you should test your answers afterward for extraneous solutions.

The formula also solves quadratic inequalities indirectly. Solve the matching equation to find the boundary points, then test which regions satisfy the inequality.

Quick check

A rectangle's length is 3 more than its width, and its area is 40. Find the width.

How do you check quadratic formula answers quickly?

Cards checking roots 2 plus and minus root 5 by sum equals 4 and product equals minus 1
For x² − 4x − 1 = 0 the roots 2 ± √5 add to 4 and multiply to −1, matching −b/a and c/a.

Substituting a messy answer like 2+52+\sqrt5 back in is slow. A faster test uses the relationship between the roots and the coefficients. For ax2+bx+c=0ax^2+bx+c=0, the two roots add to −ba-\frac{b}{a} and multiply to ca\frac{c}{a}.

Test it on the first example, 2x2−5x−3=02x^2-5x-3=0. The roots 33 and −12-\frac12 add to 52\frac52, and −ba=52-\frac{b}{a}=\frac52. They multiply to −32-\frac32, and ca=−32\frac{c}{a}=-\frac32. Both match. For x2−4x−1=0x^2-4x-1=0, the roots 2±52\pm\sqrt5 multiply to 4−5=−14-5=-1, which equals cc.

Graphing gives another check. The solutions are the x-intercepts, so a sketch from graphing quadratic functions tells you whether x≈4.2x\approx4.2 and x≈−0.2x\approx-0.2 are plausible before you commit.

Try this: Solve 2x2−8x+3=02x^2-8x+3=0 with the formula. Without substituting, confirm that your two roots add to 44 and multiply to

Practice problems

0 of 10 solved

  1. Solve x2+5x+6=0x^2 + 5x + 6 = 0.

  2. Solve x2−6x+5=0x^2 - 6x + 5 = 0.

  3. Solve 2x2+7x+3=02x^2 + 7x + 3 = 0.

  4. Solve x2+4x−1=0x^2 + 4x - 1 = 0. Give exact answers.

  5. Solve 3x2−2x−8=03x^2 - 2x - 8 = 0.

  6. Solve x2+6x+13=0x^2 + 6x + 13 = 0.

  7. Solve 9x2−12x+4=09x^2 - 12x + 4 = 0.

  8. Solve −2x2+3x+4=0-2x^2 + 3x + 4 = 0. Give exact answers.

  9. Solve (x+1)(x−2)=3x+1(x+1)(x-2)=3x+1. Give exact answers.

  10. Solve x24−x−2=0\frac{x^2}{4} - x - 2 = 0. Give exact answers.

Common questions

What is the quadratic formula?

For any equation ax2+bx+c=0ax^2+bx+c=0 with a≠0a\neq0, the solutions are x=−b±b2−4ac2ax=\frac{-b\pm\sqrt{b^2-4ac}}{2a}. The ±\pm produces the two solutions, one using plus and one using minus.

How do you know when to use the quadratic formula?

Use it when the equation does not factor quickly or when the coefficients are awkward. It works on every quadratic, so it is the safe choice when factoring or the square root method does not fit.

What does it mean if b2−4acb^2-4ac is negative?

The equation has no real solutions, and the parabola never touches the x-axis. The solutions are a pair of complex numbers of the form p±qip\pm qi.

Can the quadratic formula give only one answer?

Yes. When b2−4ac=0b^2-4ac=0, the plus and minus versions are equal, so there is one repeated solution x=−b2ax=-\frac{b}{2a}. The parabola just touches the x-axis at its vertex.

Why do I get a decimal or a square root instead of a whole number?

When b2−4acb^2-4ac is not a perfect square, the solutions are irrational. Leave the answer in exact form such as 2±52\pm\sqrt5, or round it only if the problem asks for a decimal.

Does the quadratic formula work when aa is negative?

Yes, with no changes. Many students prefer to multiply the whole equation by −1-1 first, so aa becomes positive and sign slips are less likely.

Up next