From the free course College Algebra on Lykke

2.5 Quadratic Equations

Key concepts: Solving quadratic equations by factoring · Using the square root property · Solving by completing the square · Using the quadratic formula · Factoring with the difference of squares · The Zero-Product Property · Finding and interpreting the discriminant · Solving quadratic equations with rational coefficients · Recognizing real versus nonreal solutions · Applying quadratic equations to volume problems

By the end of this section the student can: Solve quadratic equations by factoring; Solve quadratic equations by the square root property; Solve quadratic equations by completing the square; Solve quadratic equations by using the quadratic formula

2.5 Quadratic Equations

A quadratic equation describes a relationship in which the highest power of the variable is $2$. It can model the path of a thrown ball, the dimensions of a rectangular region, the area of a shape, or the length of a side in a right triangle. The central question is simple but powerful: for which values of $x$ does a quadratic expression equal zero?

For example, a box with width $W$, length twice its width, height $8$ inches, and volume $1{,}600\text{ in.}^3$ satisfies

$$ 1{,}600=(2W)(W)(8)=16W^2. $$

Dividing by $16$ gives

$$ W^2=100. $$

The equation has two algebraic solutions, $W=10$ and $W=-10$, but only $W=10$ describes a physical width. This illustrates an important habit: solve the equation completely, then interpret the solutions in context.

A quadratic equation is an equation that can be written in the standard form

$$ ax^2+bx+c=0, $$

where $a$, $b$, and $c$ are real numbers and $a\ne 0$. The values of $a$, $b$, and $c$ determine which solving method is most efficient. Factoring is often fastest when it works; the square root property is ideal when a squared expression is already isolated; completing the square systematically creates a perfect square; and the quadratic formula works for every quadratic equation.

Solving Quadratic Equations by Factoring

Factoring rewrites a polynomial as a product of simpler expressions. The key rule is the Zero-Product Property:

If $AB=0$, then $A=0$ or $B=0$.

Therefore, to solve a quadratic equation by factoring, first write it in standard form, factor the quadratic completely, set each factor equal to zero, and solve the resulting linear equations. The equation must equal zero before the Zero-Product Property can be applied.

A particularly useful factorization is the difference of squares:

$$ A^2-B^2=(A-B)(A+B). $$

This identity applies because the middle terms cancel when the two binomials are multiplied.

Example: Solve $x^2-5x+6=0$ by factoring.

First identify two numbers whose product is $6$ and whose sum is $-5$. Those numbers are $-2$ and $-3$:

$$ (-2)(-3)=6, $$

$$ -2+(-3)=-5. $$

Factor the quadratic:

$$ x^2-5x+6=(x-2)(x-3). $$

Thus,

$$ (x-2)(x-3)=0. $$

Apply the Zero-Product Property:

$$ x-2=0 \qquad\text{or}\qquad x-3=0. $$

Solve each equation:

$$ x=2 \qquad\text{or}\qquad x=3. $$

Therefore, the solutions are

$$ \boxed{x=2\text{ and }x=3}. $$

Check:

$$ 2^2-5(2)+6=4-10+6=0, $$

and

$$ 3^2-5(3)+6=9-15+6=0. $$

For a difference of squares, the same process is even more direct. For example,

$$ x^2-49=0 $$

becomes

$$ x^2-7^2=0, $$

so

$$ (x-7)(x+7)=0. $$

Thus,

$$ x-7=0\quad\text{or}\quad x+7=0, $$

giving

$$ x=7\quad\text{or}\quad x=-7. $$

A common misconception is that $x^2=49$ has only the solution $x=7$. Both $7$ and $-7$ have square $49$, so both solutions must be included.

Using the Square Root Property

The Square Root Property is used when a squared quantity has been isolated. It states:

If $u^2=d$, then $u=\pm\sqrt{d}$.

The symbol $\pm$ is essential because both the positive and negative numbers have the same square.

To use the property, isolate the squared expression, take the square root of both sides, include both signs, and solve for the variable. If the squared expression is a binomial, keep the entire binomial together while taking the square root.

Example: Solve $3(x-4)^2=15$ using the Square Root Property.

Divide both sides by $3$:

$$ \frac{3(x-4)^2}{3}=\frac{15}{3}. $$

Simplify:

$$ (x-4)^2=5. $$

Take the square root of both sides:

$$ \sqrt{(x-4)^2}=\pm\sqrt{5}. $$

Simplify the left side:

$$ x-4=\pm\sqrt{5}. $$

Separate the two possibilities:

$$ x-4=\sqrt{5} \qquad\text{or}\qquad x-4=-\sqrt{5}. $$

Add $4$ to both sides of each equation:

$$ \boxed{x=4+\sqrt{5}\text{ and }x=4-\sqrt{5}}. $$

If the isolated squared expression equals a negative number, there are no real solutions. For example, $u^2=-9$ has no real solution because the square of every real number is nonnegative. Complex solutions are introduced when such equations are considered beyond the real number system.

Completing the Square

Completing the square transforms a quadratic expression into a perfect-square trinomial. A perfect-square trinomial has the form

$$ x^2+2px+p^2=(x+p)^2. $$

For a quadratic in the form

$$ x^2+bx, $$

add

$$ \left(\frac{b}{2}\right)^2 $$

to complete the square. The same quantity must be added to both sides of the equation so that equality is preserved.

The method is useful when a quadratic does not factor easily. First move the constant term to the other side. If necessary, divide so that the coefficient of $x^2$ is $1$. Add $\left(\frac{b}{2}\right)^2$ to both sides, factor the perfect square, apply the Square Root Property, and solve.

Example: Solve $x^2-3x-5=0$ by completing the square.

Move the constant term to the right side:

$$ x^2-3x=5. $$

The coefficient of $x$ is $-3$. Take half of it:

$$ \frac{1}{2}(-3)=-\frac{3}{2}. $$

Square this result:

$$ \left(-\frac{3}{2}\right)^2=\frac{9}{4}. $$

Add $\frac{9}{4}$ to both sides:

$$ x^2-3x+\frac{9}{4}

5+\frac{9}{4}. $$

Factor the left side as a perfect square:

$$ \left(x-\frac{3}{2}\right)^2

\frac{20}{4}+\frac{9}{4}. $$

Simplify the right side:

$$ \left(x-\frac{3}{2}\right)^2

\frac{29}{4}. $$

Apply the Square Root Property:

$$ \sqrt{\left(x-\frac{3}{2}\right)^2}

\pm\sqrt{\frac{29}{4}}. $$

Simplify both sides:

$$ x-\frac{3}{2}

\pm\frac{\sqrt{29}}{2}. $$

Add $\frac{3}{2}$ to both sides:

Combine the fractions:

$$ x=\frac{3+\sqrt{29}}{2} \qquad\text{or}\qquad x=\frac{3-\sqrt{29}}{2}. $$

$$ \boxed{x=\frac{3+\sqrt{29}}{2}\text{ and }x=\frac{3-\sqrt{29}}{2}}. $$

The most common error in completing the square is adding a number to only one side. Any quantity added to the left side must also be added to the right side. Another common error is forgetting that the number to square is half the coefficient of $x$, not the entire coefficient itself.

Using the Quadratic Formula

The Quadratic Formula solves every quadratic equation written in standard form,

$$ ax^2+bx+c=0, $$

where $a\ne 0$:

$$ x=\frac{-b\pm\sqrt{b^2-4ac}}{2a}. $$

The values substituted into the formula are the coefficients $a$, $b$, and $c$, including their signs.

The formula is especially useful when factoring is difficult or impossible. To use it, identify $a$, $b$, and $c$, substitute them carefully, simplify the discriminant $b^2-4ac$, simplify the square root if possible, and then simplify the two values produced by $\pm$.

Example: Solve $9x^2+3x-2=0$ using the Quadratic Formula.

Identify the coefficients:

$$ a=9,\qquad b=3,\qquad c=-2. $$

Substitute into the formula:

$$ x=\frac{-3\pm\sqrt{3^2-4(9)(-2)}}{2(9)}. $$

Simplify the exponent and multiplication:

$$ x=\frac{-3\pm\sqrt{9+72}}{18}. $$

Simplify inside the radical:

$$ x=\frac{-3\pm\sqrt{81}}{18}. $$

Since $\sqrt{81}=9$,

$$ x=\frac{-3\pm9}{18}. $$

Use the positive sign first:

$$ x=\frac{-3+9}{18}

\frac{6}{18}

\frac{1}{3}. $$

Use the negative sign:

$$ x=\frac{-3-9}{18}

\frac{-12}{18}

-\frac{2}{3}. $$

$$ \boxed{x=\frac{1}{3}\text{ and }x=-\frac{2}{3}}. $$

A reliable substitution habit is to place negative coefficients inside parentheses. For example, if $c=-2$, write $4ac$ as $4(9)(-2)$ rather than mentally replacing it with an unexplained sign. This prevents the frequent error of calculating $-4ac$ incorrectly.

The Discriminant

The discriminant is the expression under the radical in the Quadratic Formula:

$$ D=b^2-4ac. $$

It predicts the number and type of solutions before the entire equation is solved.

The possibilities are as follows:

If $D=0$, the quadratic has one rational solution, counted twice, called a double solution.

If $D>0$ and $D$ is a perfect square, the quadratic has two rational solutions.

If $D>0$ and $D$ is not a perfect square, the quadratic has two irrational solutions.

If $D<0$, the quadratic has two complex solutions and no real solutions.

Example: Determine the type and number of solutions for $2x^2+4x+5=0$.

$$ a=2,\qquad b=4,\qquad c=5. $$

Calculate the discriminant:

$$ D=b^2-4ac. $$

Substitute:

$$ D=4^2-4(2)(5). $$

Simplify:

$$ D=16-40. $$

Therefore,

$$ D=-24. $$

Because

$$ D<0, $$

the equation has two complex solutions and no real solutions.

For completeness, the Quadratic Formula gives

$$ x=\frac{-4\pm\sqrt{-24}}{4}. $$

Using $\sqrt{-24}=i\sqrt{24}=2i\sqrt{6}$,

$$ x=\frac{-4\pm2i\sqrt{6}}{4}. $$

Divide each term in the numerator by $4$:

$$ x=-1\pm\frac{i\sqrt{6}}{2}. $$

Thus, the two complex solutions are

$$ \boxed{x=-1+\frac{i\sqrt{6}}{2} \quad\text{and}\quad x=-1-\frac{i\sqrt{6}}{2}}. $$

The discriminant also connects the algebraic equation to its graph. A positive discriminant corresponds to two real $x$-intercepts, a zero discriminant corresponds to one touching point on the $x$-axis, and a negative discriminant corresponds to no real $x$-intercepts.

Using the Pythagorean Theorem

The Pythagorean Theorem relates the side lengths of a right triangle. If $a$ and $b$ are the legs and $c$ is the hypotenuse, the side opposite the right angle, then

$$ a^2+b^2=c^2. $$

Quadratic equations arise whenever an unknown side length appears in one or more squared terms.

When solving a geometric application, assign variables to the unknown lengths, write an equation using the theorem, solve the resulting quadratic, and reject any solution that does not make sense for a length. Lengths must be positive, although negative algebraic solutions can appear before the context is applied.

Example: The legs of a right triangle measure $x$ centimeters and $x+7$ centimeters, and the hypotenuse measures $13$ centimeters. Find the leg lengths.

Apply the Pythagorean Theorem:

$$ x^2+(x+7)^2=13^2. $$

Expand the square:

$$ x^2+(x^2+14x+49)=169. $$

Combine like terms:

$$ 2x^2+14x+49=169. $$

Move all terms to one side:

$$ 2x^2+14x+49-169=0. $$

Simplify:

$$ 2x^2+14x-120=0. $$

Factor out the greatest common factor $2$:

$$ 2(x^2+7x-60)=0. $$

Because $2\ne0$, solve

$$ x^2+7x-60=0. $$

Factor the quadratic. The numbers $12$ and $-5$ have product $-60$ and sum $7$:

$$ (x+12)(x-5)=0. $$

$$ x+12=0 \qquad\text{or}\qquad x-5=0. $$

Solve:

$$ x=-12 \qquad\text{or}\qquad x=5. $$

A length cannot be negative, so reject $x=-12$. Use $x=5$:

$$ \text{First leg}=x=5\text{ cm}, $$

$$ \text{Second leg}=x+7=5+7=12\text{ cm}. $$

Check the triangle:

$$ 5^2+12^2=25+144=169=13^2. $$

Therefore, the leg lengths are

$$ \boxed{5\text{ cm}\text{ and }12\text{ cm}}. $$

Practice Problems

Solve each problem using an efficient method.

  1. Solve by factoring:

$$ x^2-9x+20=0. $$

  1. Solve using the Square Root Property:

$$ (2x-3)^2=25. $$

  1. Determine the number and type of solutions using the discriminant:

$$ 3x^2-6x+7=0. $$

Answers

  1. Factor:

$$ x^2-9x+20=(x-4)(x-5). $$

Therefore,

$$ \boxed{x=4\text{ and }x=5}. $$

  1. Apply the Square Root Property:

$$ 2x-3=\pm5. $$

Thus,

$$ 2x=3+5=8 \qquad\text{or}\qquad 2x=3-5=-2, $$

so

$$ \boxed{x=4\text{ and }x=-1}. $$

  1. Calculate the discriminant:

$$ D=(-6)^2-4(3)(7)

36-84

-48. $$

Because $D<0$, the equation has

$$ \boxed{\text{two complex solutions and no real solutions}}. $$

Content adapted from OpenStax College Algebra 2e by Jay Abramson et al., licensed CC BY 4.0.

Source Materials

Study College Algebra on Lykke

This course page is free to open: signed out, you can read its first two sections, and signing in, on any plan, opens the rest. The free Lykke Chrome extension syncs your own Canvas courses, so ChatGPT, Claude and Muse can answer from your classes and deadlines. It only reads Canvas.

Add the free extensionSign in to open every section

All sections of College Algebra · Browse more course pages

2.5 Quadratic Equations — College Algebra | Lykke