Below is the basic definition of a quadratic equation.
Definition of a Quadratic Equation
A quadratic equation is an equation of the form
where is a variable and and are arbitrary constants.
Quadratic equations appear in a variety of contexts and are a special type of polynomial equation. Most equations that involve the four basic operations ( ) and rational exponents can be reduced to polynomial equations, so being able to solve polynomial equations in general opens up the doors towards solving a very wide variety of equations. The relative ease and accessibility of solving quadratic equations in particular makes them a very heavily-emphasized focus of study in algebra classes.
Solving Quadratic Equations
There are a few main ways to solve quadratic equations, which each carry their own advantages and disadvantages. I’ve summarized them in the table below.
| Method | Advantages | Disadvantages |
|---|---|---|
| 1. Factoring | potentially a very fast way of determining solutions | only doable without a calculator in very special cases |
| 2. Completing the Square | can be used to derive the quadratic formula, can be used to solve any quadratic equation, strong relationship to the vertex form of a parabola | can be moderately to extremely challenging even in simple situations |
| 3. Quadratic Formula | can be used to solve any quadratic equation | can be moderately to extremely challenging even in simple situations |
Factoring
Factoring can be used to solve quadratic equations (as well as a variety of other sorts of equations). In theory, this method of solving is always possible, but in practice it can be impractical. For cases where it is practical, though, it can be the fastest way to solve a quadratic equation, even when you have a calculator.
Any time you are presented with a quadratic equation and aim to solve by factoring, first factor out a greatest common factor (GCF) if present. Here’s an example so that you have a sense of what I mean. After this has been done, proceed with either of the two methods described below dependent on whether or
Example of Factoring Out a Greatest Common Factor (GCF)
Given the quadratic equation
the terms and all have a greatest common factor (GCF) of which can be factored out.
This GCF can then be divided out.
In this situation, interpreting our equation as we can see that and
Factoring if
If , then follow these steps to solve your quadratic equation of the form
- Determine two numbers and that add to and multiply to These numbers may be positive or negative. They also may or may not be whole numbers.
- Factor the equation as where the two numbers found in the previous step go into the blanks.
- Apply the zero product property to split up the equation into two simpler equations and solve for from there.
Example of factoring when
To solve the equation
which is a quadratic equation with let’s follow the steps outlined above.
- Determine two numbers that add up to and multiply to These two numbers are and
- Use these two numbers to factor the equation.
- Apply the zero product property. We conclude the following.
Hence
Factoring if
information coming soon
Special Factoring Patterns
Please see Factoring Patterns.
Completing the Square
information coming soon
Quadratic Formula
A closed-form solution exists to quadratic equations of the form and is called the quadratic formula.
The Quadratic Formula
If and , then
This formula always works for any quadratic equation and is simple enough, important enough, and useful enough to be memorized.
The plus-or-minus symbol allows for a shorthand that allows the quadratic formula to indicate two distinct possible values for , as detailed below.
In certain situations, both of these values may be the same (ultimately amouting to just one solution) or potentially neither may be real values. More details about this can be found in the Nature of Solutions section.
Miscellaneous notes:
- It is easy to see that division by zero occurs when , so the Quadratic Formula doesn’t work in this case. However when the original equation would have reduced to which isn’t a quadratic equation anyway. It’s easy enough to directly solve this equation and find the solution to be So, despite this shortcoming of the quadratic formula, we can confidently say that the formula works for any quadratic equation.
- Intermediate calculus students might be interested in exploring the value of the following limit and reflecting on how the result is related to the previous point.
- The quadratic formula can also be rewritten in the following alternative format which provides the same final results as the standard quadratic formula. This version is almost never taught in schools and isn’t necessary to learn aside from personal interest. Nonetheless, intermediate students may be interested in seeing if they can justify the validity of this formula. There are at least two ways to do this that I can think of.
The Quadratic Discriminant
The portion of the quadratic formula underneath the square root is given a name: the discriminant.
The Discriminant
The discriminant of a quadradic expression is defined to be the value
The discriminant is used to determine the number and nature of the number of solutions to the quadradic equation, as described in the next section.
Nature and Number of Solutions
The discriminant of the quadratic expression that makes up a quadratic equation is a useful tool in determining the number of solutions that the equation has.
Determining the Number of Solutions to a Quadratic Equation Using the Discriminant
If and are real numbers (), then the number of solutions to the quadratic equation is related to the value of the corresponding discriminant according to the table below. No situation outside of those described this table is possible.
Condition on Discriminant Number of Real Solutions Number of Imaginary Solutions real solutions imaginary solutions real solution* imaginary solutions real solutions imaginary solutions** *Sometimes this single solution is referred to as a double root.
**These two solutions form a complex conjugate pair.
Why?
These facts follow directly from the quadratic formula. Let’s consider each case separately.
Case 1: In this case, will some positive (real) number. Thus, the quadratic formula reads
Since and are both real, this then represents two distinct real values of .
Case 2: In this case, vanishes. Thus, the quadratic formula reads
Since and are both real, this then represents one single value of . The fact that we get the same value for regardless of whether the sign takes on the or sign is what gives rise to the term double root.
Case 3: In this case, then corresponds to some purely imaginary value. Since and are both real, the resulting expression for can be split up into a real part and an imaginary part.
Hence, this represents to distinct imaginary values for that form a complex conjugate pair.
Sum of Solutions
The Sum and Average of the Solutions to a Quadradic Equation
When a quadratic equation has two solutions (either real or imaginary), the sum of the two solutions is real and is given by
When the quadratic equation has only one solution, the above value is twice the value of the single solution . This sum value in this case can be thought of as the result of adding the solution to itself (it is a double root, after all).
Furthermore, the average of the two solutions is given by , which yields the following formula.
The value of matches (1) the equation of the axis of symmetry and (2) -coordinate of vertex of the corresponding parabola with equation In the case that there is only one solution to the quadratic equation, the value of is equal to that single solution.
Why?
The two solutions to the equation , according to the quadratic equation, are
and the sum of these solutions is
Furthermore, the average is
Memory Aid
In the quadratic equation above, note that the portion marked in is the average of the solutions and the portion marked in is the discriminant .
Practice Problem
Consider the equation
While is currently unknown, imagine it to be chosen such that this equation can be satisfied for only one possible value of . Determine the the possible values of and their corresponding solutions.
Solution
Distribute into the parentheses, rearrange terms, and subtract from both sides.
By comparison to the standard form we can see that Now, compute the discriminant.
For the original equation to have only one solution for , the discriminant must vanish (the discriminant must equal zero).
This now leaves us with two cases.
- Case 1: . With this value of , our quadratic equation can be solved through factoring to show that the single resulting solution in this case is
- Case 2: . With this value of , our quadratic equation can be solved through factoring to show that the single resulting solution in this case is
Therefore, the final solutions to our problem are as follows.
Product of Solutions
The Product of the Solutions to a Quadratic Equation
When a quadratic equation has two solutions (either real or imaginary), the product of the two solutions is real and is given by
When the quadratic equation has only one solution, the above value is the square of the single solution . This sum value in this case can be thought of as the result of multiplying the solution to itself (it is a double root, after all).
Why?
The two solutions to the equation , according to the quadratic equation, are
and the product of these solutions can be obtained by taking advantage of the difference of two squares pattern at the step marked .
In the case that there is only one solution to the quadratic equation, we know by the discriminant that , which can be rearranged to so
which is the square of the single solution