Quadratic Equations
The general form of quadratic equations (or a second-degree equation) is
ax^{2}+bx+c=0,\quad(a\neq0)\tag{i}For example,
is a quadratic equation. In this example, , and .
Solving Quadratic Equations by Factoring
Factoring is a powerful technique for solving quadratic equations. A quadratic equation in the form can sometimes be solved by factoring the quadratic expression into two linear factors. If we can write the equation as
where , , , and are constants, then we can apply the ==zero-product property==. The zero-product property states that if the product of two expressions is zero, then at least one of those expressions must be zero. That is to say:
Thus, the equation is satisfied when either or . This leads to two solutions for :
Factoring a Simple Quadratic
Solve the quadratic equation by factoring.
Solution
To solve the equation by factoring, we look for two numbers that multiply to $6$ and add up to . Those numbers are and . Thus, the quadratic expression can be factored as follows: Applying the zero product property we have that the equation is satisfied if either or . Therefore, the solutions areFactoring a Quadratic with a Leading Coefficient
Solve the quadratic equation by factoring.
Solution
To solve this equation by factoring, we write: We look for and such that and . It is clear that and . Therefore, Hence, the two factors are By the zero product property, the equation is satisfied if either or . Therefore, the solutions areCompleting the Square
If we can rewrite the quadratic equation as
then we can easily solve it by taking the square root of each side (see Section: Power Equations). The left hand side is a perfect square---the square of ---and if we expand it, we get
So in a perfect square, the constant term is the square of half of the coefficient of .
A binomial becomes a perfect square if we add to it:
This method which is called completing the square has many applications in different parts of mathematics. One of these applications is in solving the quadratic equations and deriving the quadratic formula we have seen in this section.
To solve
we add to both sides of the equation, so
Therefore, the sum of the first three terms makes a perfect square
\begin{align*} \left(x+\frac{b}{2}\right)^{2}+c & =\left(\frac{b}{2}\right)^{2}\\ \left(x+\frac{b}{2}\right)^{2} & =\left(\frac{b}{2}\right)^{2}-c\\ x+\frac{b}{2} & =\pm\sqrt{\left(\frac{b}{2}\right)^{2}-c}\tag{taking the square roots}\\ x & =-\frac{b}{2}\pm\sqrt{\left(\frac{b}{2}\right)^{2}-c} \end{align*}For example, let us solve
First, transpose 5; that is, add 5 to both sides
If now we add to both sides, the left hand side will be a perfect square
\begin{align*} (x-3)^{2} & =14\tag{express as a square}\\ x-3 & =\pm\sqrt{14}\tag{taking the square root of each sides}\\ x & =3\pm\sqrt{14} \end{align*}The solutions therefore are and .
- If there is a constant multiplying the term, then we first factor out that constant and then complete the square, as illustrated in the following example.
Solve by completing the square.
Solution
\begin{align*} 3x^{2}-8x+2 & =0\\ 3x^{2}-8x & =-2\\ 3\left(x^{2}-\frac{8}{3}x\right) & =-2\\ x^{2}-\frac{8}{3}x & =-\frac{2}{3}\tag{divide both sides by $3$}\\ x^{2}-\frac{8}{3}x+\left(\frac{8}{2\cdot3}\right)^{2} & =-\frac{2}{3}+\left(\frac{8}{2\cdot3}\right)^{2}\tag{complete the square by adding $\left(\frac{8}{6}\right)^{2}$ to both sides}\\ \left(x-\frac{8}{6}\right)^{2} & =-\frac{2}{3}+\frac{16}{9}=\frac{10}{9}\\ x-\frac{4}{3} & =\pm\sqrt{\frac{10}{9}}\tag{$\frac{8}{6}=\frac{4}{3}$; take the square roots}\\ x & =\frac{4}{3}\pm\frac{\sqrt{10}}{3}=\frac{4\pm\sqrt{10}}{3}. \end{align*}Quadratic Formula
The solutions (or roots) of the quadratic equation (i) can always be found using the following general formula, called the quadratic formula:
Proof
The quadratic formula can be derived using completing the square. Here's a step-by-step proof: 1. **Start with the General Form**: 2. **Divide by** **(assuming** **)**: 3. **Transpose the Constant Term to the Right Side** (i.e. subtract the constant terms from both sides): 4. **Complete the Square**: To complete the square on the left-hand side, we take half of the coefficient of the term (which is ), square it , and add it to both sides of the equation: 5. **Rewrite the Left Side as a Perfect Square**: The left-hand side can now be written as a perfect square: 6. **Find a Common Denominator on the Right Side**: To combine the fractions on the right-hand side, we use as the common denominator: 7. **Take the Square Root of Both Sides**: Taking the square root of both sides gives us: 8. **Isolate** : Subtract from both sides of the above equation: 9. **Combine Terms**: Finally, combining the terms on the right side, we obtain the quadratic formula:When we apply the general formula to the equation with , and , we get:
\begin{align*} x & =\frac{5\pm\sqrt{5^{2}-4\cdot3\cdot2}}{2\cdot3}\\ & =\frac{5\pm1}{6}\\ & =1\quad\text{or}\quad\frac{2}{3} \end{align*}The part of the quadratic formula that is under the square root, , is called the discriminant of the equation . There are three cases
\begin{cases} D>0 & \text{There are two distinct real solutions}\\ D=0 & \text{There is one real solution (a double root or a double solution)}\\ D<0 & \text{There is no real solutions} \end{cases}- Factorization: When Equation has two real solutions and , it factors asFor example, because the solutions of are 1 and , we have\begin{align*} 3x^{2}-5x+2 & =3\left(x-1\right)\left(x-\frac{2}{3}\right)\\ & =(x-1)(3x-2) \end{align*}
Factor .
Solution
It may not be easy to factor it by trial and error. So we find the solutions of using the quadratic formula \begin{align*} x_{1,2} & =\frac{43\pm\sqrt{43^{2}-4\cdot12\cdot35}}{2\cdot12}\\ & =\frac{43\pm\sqrt{169}}{2\cdot12}\\ & =\frac{43\pm13}{2\cdot12} \end{align*} which gives and . Therefore, \begin{align*} 12x^{2}-43x+35 & =a(x-x_{1})(x-x_{2})\\ & =12\left(x-\frac{5}{4}\right)\left(x-\frac{7}{3}\right)\\ & =(4x-5)(3x-7). \end{align*}- Sum and product of roots: If and are the solutions of thenBecause if we expand , we haveSo by comparing with , we realize that and .
For example, the solutions of are $1$ and and
- If , then one of the roots is 1, because if we substitute 1 for , we get
- If , then one of the roots is , because if we substitute for we get