The idea, then worked examples solved step by step, then practice questions whose numbers change every time you try them.
The idea
What a quadratic equation is
A quadratic equation has the variable squared and no higher power. Its standard form is ax2+bx+c=0 with a=0. It usually has two solutions, also called roots. This lesson gives four ways to find them: factoring, square roots, completing the square and the quadratic formula. It also shows how to tell how many roots there are without finding them.
The zero-product rule
Rule.
If a product of two factors is 0, then at least one of the factors is 0. So (x−3)(x+5)=0 means x−3=0 or x+5=0: x=3 or x=−5.
This works only when the other side is 0, so the first step is always to move every term to one side. Notice the signs: the factor x+5 gives the root −5.
Solving by factoring
To factor x2−2x−15, look for two numbers whose product is −15 and whose sum is −2. They are −5 and 3. The engine factors the expression and solves the equation:
yx2−2x−15x=x2−2x−15=(x+3)(x−5)=0=[5,−3]
The roots are where the graph of y=x2−2x−15, a parabola, crosses the x-axis: there y is 0. Watch the curve draw itself from left to right. It comes down, crosses the axis at the first root, turns, and crosses again at the second.
When a is not 1, the factors have numbers in front of x. For 2x2+x−6=0 the engine finds the factors; multiplying them out gives back the left side, and each factor gives one root:
Three special products are worth knowing on sight:
Pattern
Factored
Example
a2−b2
(a−b)(a+b)
x2−49=(x−7)(x+7)
a2+2ab+b2
(a+b)2
x2+10x+25=(x+5)2
a2−2ab+b2
(a−b)2
4x2−12x+9=(2x−3)2
Solving by square roots
When the equation is a square equal to a number, get the square alone and take the square root of both sides. Write both signs: two numbers have each positive square. For 2(x−3)2−7=43:
s(x−3)2(x−3)2x=243+7=25=s=25=[8,−2]
(x−3)2=25, so x−3 is 5 or −5, and x is 8 or −2.
Warning.
Never divide both sides by x. In x2=5x, dividing by x leaves only x=5 and loses the root 0. Write x2−5x=0, so x(x−5)=0, and the roots are 0 and 5.
Completing the square
Any quadratic can be turned into a square equal to a number. For x2+6x−7=0, move the 7 across and add the square of half of 6 to both sides:
R(x+3)2(x+3)2x=7+(26)2=16=R=16=[1,−7]
The picture shows where the name comes from. x2+6x is a square of side x and two strips, each 3 wide. Together they make a larger square with one corner missing; the 3 by 3 corner, 9, completes the square of side x+3. Watch it build piece by piece.
The equation becomes (x+3)2=16, so x+3=±4. Doing the same to ax2+bx+c=0 with letters gives a formula that works for every quadratic.
The quadratic formula
Rule.
The solutions of ax2+bx+c=0 are
x=2a−b±b2−4ac
For x2−6x+2=0, which does not factor with whole numbers, a=1, b=−6 and c=2. Work out the number under the root first:
So x=26±27, which is 3±7: about 5.646 and 0.354. Divide both terms of the top by 2a; dividing only one is a slip the ACT puts among the options.
The discriminant: two, one or no real roots
The number under the root, b2−4ac, is the discriminant. A positive number has two square roots, zero has one, and a negative number has no real square root. Drag the slider to change c in x2−4x+c=0. As c grows, the parabola rises: it crosses the axis twice, then touches it at c=4, then lifts off it.
Rule.
For ax2+bx+c=0: if b2−4ac>0 there are two distinct real roots; if b2−4ac=0 there is exactly one (a double root); if b2−4ac<0 there is no real root.
With no real root the formula still gives two answers: the square root of a negative number is imaginary (topic 05). For x2−4x+5=0 the discriminant and the two complex roots are
Dx2−4x+5z=(−4)2−4×1×5=−4=0=[2+i,2−i]
The roots come as a pair of conjugates, a+bi and a−bi. The ACT may ask for them in this form.
Sum and product of the roots
If the roots are r and s, then a(x−r)(x−s) multiplied out is ax2−a(r+s)x+ars. Matching it with ax2+bx+c:
Rule.
The sum of the roots is −ab and their product is ac.
For 2x2−7x+3=0 the roots r and s, their sum S and their product P are:
The rule gives the same two numbers straight from a=2, b=−7 and c=3, without solving:
SP=2−(−7)=27=23
The rule also runs backwards: an equation with the roots 4 and −1 is (x−4)(x+1)=0, and multiplied out it is
y=(x−4)(x+1)=x2−3x−4
Its x coefficient is minus the sum of the roots, and its constant is their product.
Note.
On the ACT a quadratic question asks you to factor a trinomial, to give the solutions (or the sum of the solutions), to solve for a letter that is squared, to say how many real solutions there are, or to set up a quadratic from an area or a height and solve it. Get 0 on one side first, then choose the method: factor when two whole numbers work, square roots when there is no x term, the formula otherwise.
Worked examples
Worked examples
Each example is one of the kinds of question the ACT asks about quadratic equations. The numbers in the working are found by the engine.
Example.
1. Factor and solve, with a number in front. Solve 3x2−10x−8=0.
Look for factors (3x+p)(x+q) whose product is the left side. The constant pq must be −8 and the middle term 3q+p must be −10. The engine finds the pair; multiply out to check, then let each factor give a root:
So 4x2−25=(2x+5)(2x−5), as multiplying out checks, with the roots 25 and −25. The perfect square has one root, 7: both factors give the same number, and the parabola only touches the x-axis there.
Example.
3. Solve for a squared letter. The kinetic energy of a moving object is E=21mv2. Solve for v, with v>0, and find v when m=4 and E=50.
Undo the operations on v in reverse order: multiply both sides by 2, divide by m, then take the square root. Only the positive root is kept, since v>0.
v2=m2E,v=m2E
With numbers, the engine solves the equation as given, and the formula agrees:
E50vw=21mv2=21×4v2=[−5,5]=m2E=42×50=5
So v=5. Forgetting the 2, which gives mE, and forgetting the square root, which gives m2E, are the usual wrong options.
Example.
4. The quadratic formula. Solve 2x2+4x−3=0.
It does not factor with whole numbers. Here a=2, b=4, c=−3. The discriminant first, then its root:
So x=4−4±210. Both terms of the top share a factor 2, and dividing them both by 4 gives the engine's roots, 2−2±10. Since c is negative, −4ac is added: writing 16−24 under the root is the slip to avoid.
Example.
5. A constant from the number of roots. For what value of k>0 does x2+kx+16=0 have exactly one real solution? And for which values of c does 3x2−6x+c=0 have no real solution?
Exactly one solution means the discriminant is 0:
k2−4×1×16k=0=[8,−8]
Of the two values, the positive one, 8, is asked for. Then x2+8x+16=(x+4)2.
No real solution means the discriminant is negative. Find where it is 0, then test a value past it:
At c=3 the discriminant is 0 (one root), and above it the discriminant is negative, so the answer is c>3. The picture shows the parabola touching the axis at c=3 and lifting off for c=4.
Example.
6. Complex roots, and their sum and product. Find the roots of x2+6x+13=0, and check their sum and product.
The discriminant decides the kind of root:
Dx2+6x+13z=62−4×1×13=−16=0=[−3+2i,−3−2i]
The discriminant is negative, so there is no real root. The formula gives the same pair: the middle −2ab is the real part, and 2a−D is the imaginary part.
7. A ball in the air. A ball is thrown upward from a roof. Its height in feet after t seconds is h=−16t2+48t+64. When does it hit the ground?
On the ground h=0. Divide the equation by −16 to get t2−3t−4=0, then solve:
−16t2+48t+64tT=0=[−1,4]=max(t)=4
The two roots are 4 and −1, but time after the throw cannot be negative, so the ball lands after 4 seconds. The graph draws the flight; the negative root lies off to the left, before the throw.
Practice
Answer ACT-style questions on quadratic equations. Each answer is checked, with the full solution, and every try brings new numbers. Practice needs a free account: it keeps your progress.