We have seen that the trajectories of projectiles are described by quadratic equations. In fact, quadratic equations and formulas are used everywhere.
Quadratic Functions
Quadratic functions are functions which can be described with a formula of the form
where \(a\), \(b\), and \(c\) (called coefficients) are real numbers with \(a \ne 0\)
- \(a\) is called the leading coefficient
- \(a \, t^2\) is called the leading or quadratic term
- \(b \, t\) is called the linear term
- \(c\) is called the constant term
This is officially known as the standard form.
Quadratic functions describe relationships between many different common
measurements.
For us, heading to Calculus, quadratics are the simplest complex function. We want
to understand rates of change and linear functions just don’t change their behavior.
Quadratics change their behavior.
Being the simplest complex function makes quadratics our favorite for constructing
compositions and illustrating the chain rule (Calculus).
We will see shortly, that involving quadratics in our investigation of rates of change
will make their zeros of the utmost importance.
So, we would like to know everything about the zeros of quadratic functions.
To this end, we have three viewpoints into the inner workings of quadratic functions.
\(\blacktriangleright \) Standard Form Every quadratic function can be written as a sum, \(Q(t) = a \, t^2 + b \, t + c\), with \(a \ne 0\).
\(\blacktriangleright \) Vertex Form Every quadratic function can be written with one occurrence of the
variable via a square, \(Q(t) = a \, (t - h)^2 + k\), with \(a \ne 0\).
\(\blacktriangleright \) Factored Form Every quadratic function can be written as a product, \(Q(t) = a \, (t - r_1)(t - r_2)\), where \(r_1\) and
\(r_2\) are the real zeros and \(a \ne 0\) - provided the quadratic function has two real zeros.
When analyzing a quadratic function (or any function), we want to know two basic pieces of information: where is it and how is it changing?
- “Where is it?” includes the function’s zeros, maximum value, and minimum value.
- “How is it changing?” includes increasing and decreasing.
For a quadratic, all of this information is directly connected to its leading coefficient and zeros. So, we have many perspectives and viewpoints of a quadratic function’s zeros (also called roots).
Standard Form
The standard form of a quadratic function looks like \(Q(t) = a \, t^2 + b \, t + c\), with \(a \ne 0\).
From this form the zeros are given by the quadratic formula.
If \(a \, t^2 + b \, t + c = 0\) with \(a \ne 0\), then
or
Shorthand:
Solve \(3 \, x^2 + 4 \, x - 5 = 0\)
checking...
The quadratic formula tells us that this quadratic function has two roots. There are several possibilities.
\(\blacktriangleright \) Possible Root Types
The quadratic formula tells us that there are three possibilities for types of zeros or roots.
- two real roots
- one real root
- no real roots (two complex roots)
Solve \(4 t^2 - 4 t - 8 = 0\)
explanation
To use the Quadratic Formula, the quadratic must be in standard form. The equation has to have everything on one side and \(0\) on the other. Our equation is already in that form.
Apply the Quadratic Formula
To use the Quadratic Formula, we match our quadratic to the general quadratic template:
- Matching the leading terms tells us that \(a = 4\).
- Matching the linear terms tells us that \(b = -4\).
- Matching the constant terms tells us that \(c = -8\).
These are the substitutions we need to perform in the Quadratic Formula.
Either \(t = \frac {4 + 12}{8} \) or \(t = \frac {4 - 12}{8} \)
Either \(t = \frac {16}{8} \) or \(t = \frac {-8}{8} \)
Either \(t = \answer {2}\) or \(t = \answer {-1}\)
Solve \(2 x^2 - 12x + 21 = 3\)
explanation
First, get everything to one side and \(0\) on the other side.
Apply the Quadratic Formula
If you add or subtract \(0\), you get the same result.
Solve \(2 m^2 - 12m + 21 = 1\)
explanation
First, get everything to one side and \(0\) on the other side.
Apply the Quadratic Formula
The real numbers don’t hold a number equal to \(\sqrt {-16}\). Therefore, there are no real solutions.
In each of the examples above the number of solutions was determined by \(\sqrt {b^2 - 4 a c}\). The inside of the square root, \(b^2 - 4 a c\), is called the discriminant and its sign tells us how many real solutions the equation has.
- If \(b^2 - 4 a c\) \(>\)\(=\)\(<\) \(0\), then there are two distinct real solutions.
- If \(b^2 - 4 a c\) \(>\)\(=\)\(<\) \(0\), then there is one real solutions.
- If \(b^2 - 4 a c\) \(>\)\(=\)\(<\) \(0\), then there are no distinct real solutions.
\(\blacktriangleright \) Where does the Quadratic Formula come from?
To answer this, we need a different form for a quadratic function, the vertex form.
Vertex Form
The vertext form of a quadratic function, \(f(x) = A \, (t-B)^2 + C\) presents some function information quickly.
For instance, the maximum or minimum value is the constant term, \(C\). This extreme
valus of the function occurs in the domain at \(B\).
So, it can be advantageous, to convert from the standard form to the vertex form.
This process is called completing the square.
Completing the Square (Algebraic Viewpoint)
Completing the square is an algebraic procedure. Later in this section, we will take a
functional viewpoint of this (which will be more direct than the procedure below).
Zeros of linear functions were easy to identify. Simply apply a little algebra to the
equation to get the variable by itself on one side of the equation. But, this is not
always possible with equations of the form \(0 = a \, t^2 + b \, t + c \), because there are two occurrences of the
variable and they have different degrees.
It will take a bit of Algebra to combine them into just one occurrence. This
procedure is called completing the square.
The idea is to rearrange \(0 = a \, t^2 + b \, t + c\) to look like \(0 = A \, (t-B)^2 + C\). Then there will only be one occurrence of the \(t\) and we can solve for it.
To accomplish this, we need to investigate \(A \, (t-B)^2 + C\). For the moment, let’s multiply it back out.
\begin{align*} A \, (t-B)^2 + C & = A \, (t-B)(t-B) + C \\ & = A \, (t^2 - \answer {2 t B} + B^2) + C \\ & = A \, t^2 - \answer {2 t A B} + A \, B^2 + C \end{align*}
We want this last line, \(A \, t^2 - 2 t A B + A \, B^2 + C\) to be \(a \, t^2 + b \, t + c\), our original quadratic.
We want
The only way that is going to happen is if \(A = a\). And, as long as we know \(A = a\), we can factor it out and work with what is left.
Then, let’s pretend our first step is factoring out \(A\) or \(a\) and let’s start over.
Step 1
Factor out the leading coefficent. In this way we can pretend that we had a monic quadratic from the beginning. That means we can pretend the leading coefficient was \(1\).
Starting over...starting with a leading coefficient of \(1\)...
Step 2
We want to complete the square on \(t^2 + b \, t + c\). When the leading coefficent is \(1\), then we call this quadratic monic.
\begin{align*} (t-B)^2 + C & = (t - B)(t - B) + C \\ & = t^2 - 2 \, t \, B + B^2 + C \end{align*}
This last line \(t^2 - 2 \, t \, B + B^2 + C\) should turn out to be \(t^2 + b \, t + c\).
We want
The leading term is \(1\) in both (since we factored out \(A\)). Now, the linear terms need to be the same: \( - 2 \, t \, B = \answer {b t}\). That tells us that \(B = \answer {\frac {b}{-2}}\).
To complete the square with a monic quadratic, we need \(B = \frac {b}{-2} = -\frac {b}{2}\). Let’s put that in.
We want this to be \(t^2 + b \, t + c\).
leading terms match...check
linear terms match...check
Step 3
Now there is a mess for the constant term. We have \(\left ( -\frac {b}{2}\right )^2 + C\), when we just wanted \(c\).
Then let’s just pick \(C\) to be \(-\left ( -\frac {b}{2}\right )^2 + c = -\left (\frac {b}{2}\right )^2 + c\)
Whew!
Let’s see some examples
Completing the square for \(2 \, t^2 + 4 \, t + 6\).
explanation
\(\blacktriangleright \) Factor out the leading coefficent, \(2\).
Now we have a monic to work with inside the parentheses.
\(\blacktriangleright \) Let’s move inside the parentheses.
Take half of the linear coefficient, \(\frac {2}{2} = 1\), square that \(1^2 = 1\), and add and subtract it, so that we have just added \(0\) to the expression and not changed its value.
Now, group.
the grouped part is a square.
Remember, this was inside parentheses.
\(2 (t+1)^2 + 4\) is the completed square form of \(2 \, t^2 + 4 \, t + 6\)
\(2 (t+1)^2 + 4 = 2 \, t^2 + 4 \, t + 6\)
The whole point was to change from an expression with two occurences of the variable to an expression with only one occurence of the variable.
This makes solving for zeros much easier.
Instead of solving \(2 \, t^2 + 4 \, t + 6 = 0\), we can solve \(2 (t+1)^2 + 4 = 0\).
From this equation, we can see that this function has no zeros. Squares cannot equal negative numbers.
As we saw earlier, quadratic functions can have two real zeros, one real zero, or no real zeros.
Solve \(4 t^2 - 4 \, t - 8 = 0\)
explanation
First complete the square.
Half of the linear coefficient is \(\answer {-\frac {1}{2}}\).
The square of that is \(\answer {\frac {1}{4}}\).
We will be adding and subtracting \(\answer {\frac {1}{4}}\) inside the parentheses.
One occurrence of \(t\), good. Now to get \(t\) by itself.
We know something special here. The only way this can happen is if
either \(\answer {t - \frac {1}{2}} = \frac {3}{2}\) or \(\answer {t - \frac {1}{2}} = -\frac {3}{2}\)
The first choice gives us \(t = 2\) and the second choice gives us \(t = -1\)
Let’s check those solutions.
- \(4 (2)^2 - 4 (2) - 8 = 0\) ... check
- \(4 (-1)^2 - 4 (-1) - 8 = 0\) ... check
We have already seen that a quadratic equation can have at most two solutions. So, we must have all of the solutions.
Solve \(2 \, x^2 - 12 \, x + 21 = 3\)
explanation
First, get everything to one side and \(0\) on the other side.
Factor out \(a\), which is \(2\) here.
Square half of \(b\), \(\left (\frac {-6}{2}\right ) = (-3)^2 = 9\). But, \(9\) is already there. This must already be a square.
Now, get \(x\) by itself.
Unlike \(\frac {9}{4}\) in the previous example, the only number you can square and get \(0\) is \(0\).
This equation only has one solution.
The graph of \(y = 2 \, x^2 - 12\, x + 18\) would be a parabola touching the horizontal axis at only one point (its vertex).
If the vertex of the parabola is the only intercept, then the corresponding quadratic function has a double root.
There is another viewpoint on the example above. We arrived at this equation
which could be viewed as
If we proceed with the zero product property we would create two new equations. One for each factor.
Either \(x - 3 = 0\) or \(x - 3 = 0\).
Either \(x = 3\) or \(x = 3\).
\(3\) is the only solution to the equation, but the equation has this solution twice. A double root.
The previous two examples illustrated that quadratic equations can have two or one solutions. And, a quadratic equation can have no real solutions.
Solve \(2 \, x^2 - 12 \, x + 21 = 1\)
explanation
First, get everything to one side and \(0\) on the other side.
Factor out the leading coefficient.
Square half of \(b\), \(\left (\frac {-6}{2}\right )^2 = (-3)^2\) and \((-3)^2 = 9\). We could add and subtract \(9\) or we can change the \(10\) to be \(9+1\). All we are trying to do is to see a \(9\).
In the real numbers, \(2 (x-3)^2\) is never negative, since we have a square. This cannot be added
to \(2\), to get \(0\).
This equation has no real solutions.
The above example illustrates that there must be numbers missing from the real numbers. We normally expect equations to have solutions.
\(\blacktriangleright \) A Peek Ahead
It feels like that quadratic equation should have a solution.
All we needed was for \((x-3)^2 = -1\)
There are no real numebrs that will do this. The square of a real number cannot be negative.
We can see that the real numbers are not enough for all of our equations. Eventually, we will fill in the missing pieces with the Complex Numbers. They will include \(\sqrt {-1}\). Then our last example will have two complex solutions.
- Our first example had two real solutions.
- Our second example had two identical solutions.
- This third example has two distinct complex solutions.
\(\blacktriangleright \) All quadratics will have two solutions...eventually.
We’ll fill in the holes later in this course.
For now, we are staying inside the real numbers.
For now, we note that there are no real solutions in the third example.
Completing the Square (Conceptual Viewpoint)
The previous viewpoint was an algebraic viewpoint.
It presented a step-by-step procedure for applying algebra that would transform a
quadratic polynomial in standard form to one in verxtex form. The procedure gather
terms that could be rewritten as a square.
The procedure began with the standard form, \(A \, x^2 + B \ x + C\), and the result of the procedure was
an equivalent form, \(A (x - h)^2 + k\), called the vertex form.
The whole point was to change from an expression with two occurences of the variable to an expression with only one occurence of the variable.
This is helpful in graphing and helpful in solving quadratic equations.
However, the procedure isn’t the point of all of this. It is just a procedure to obtain the vertex form. If we take a functional viewpoint instead of an algebraic viewpoint, we can get there much faster.
Our goal is to convert \(a \, x^2 + b \, x + c\) into \(a \, (x - h)^2 + k\).
Let’s think of these as function.
- \(S(x) = a \, x^2 + b \, x + c\).
- \(V(x) = a \, (x - h)^2 + k\).
The \(a\) is the leading coefficient in both forms. Therefore, we only need \(h\) and \(k\) in terms
of \(a\), \(b\), and \(c\).
\(\blacktriangleright \) The extrema
- From the standard form, we know that the vertex’s first coordinate is \(\frac {-b}{2 a}\).
- From the vertex form, we know that the vertex’s first coordinate is \(h\).
These must be equal.
If we evaluate each function at \(\frac {-b}{2 a}\), we must get the same value.
For \(\frac {-b}{2 a} = h\), we have
Therefore, if we evaluate \(S(x) = a \, x^2 + b \, x + c\) at \(\frac {-b}{2 a}\), we must also get \(k\).
This makes the example above much quicker.
Convert \(2 \, t^2 + 4 \, t + 6\) into vertex form, i.e. complete the square.
explanation
\(S(t) = 2 \, t^2 + 4 \, t + 6\)
\(S(-1) = 2 \, (-1)^2 + 4 \, (-1) + 6 = 4\)
\(a (x - h)^2 + k = 2 \, (t+1)^2 + 4\)
which is what we got through the procedure of completing the square.
These examples give us a procedure for developing the quadratic formula.
\(\blacktriangleright \) Where does the Quadratic Formula come from?
The discussion for the vertex form of a quadrtaic function tells us that the extreme value of the function happens at \(-\frac {b}{2a}\).
This means that to get the extreme value of the function, we need to evaluate at \(-\frac {b}{2a}\). We saw that this value is \(c - \frac {b^2}{4a}\)
All together the general form of the vertex for looks like
TO get the quadratic formula, we solve this equation for \(t\).
Either
or
- If \(a > 0\), then \(| 2a | = 2a\).
- If \(a < 0\), then \(| 2a | = -2a\).
Either way, we still get one negative and one positive fraction. Therefore, we can drop the absolute value signs.
Either
or
And, finally
Either
or
People generally shorthand these two separate solutions as
This is known as The Quadratic Formula.
It gives the zeros or roots of a quadratic function where the standard form is
Now that we know what the zeros are of a quadratic function, we can factor it.
Factored Form
We have seen that there are at most two real solutions to \(a \, t^2 + b \, t + c = 0\), with \(a \ne 0\).
Let’s look at this from a function viewpoint. The quadratic function \(Q(t) = a \, t^2 + b \, t + c\) has at most two real zeros.
The quadratic formula gives explicit expressions for these roots.
\(\blacktriangleright \) Are there other quadratic equations, besides \(a \, t^2 + b \, t + c = 0\), that have these two solutions?
Perhaps, there are other quadratic functions, which have these two zeros. Let’s create a quadratic function from these two zeros.
If we multiply this out, we get
This quadratic function has the same two zeros as \(Q(t)\).
Note: If we multiply this by \(a\), we get
which is \(Q(t)\).
\(\blacktriangleright \) If two quadratics have the same two roots, then they must be multiples of each other.
We have discovered a new expression or formula or form for our quadratic functions.
The real zeros can be obtained via the quadratic formula - provided the discrimanant is positve. If the discriminant is \(0\), then \(r_1 = r_2\) and we get a square. If the discriminant is negative, then \(Q(t)\) doesn’t factor with real numbers.
The process of writing the function as a product is called factoring. \((t - r_1)\) and \((t - r_2)\) are the factors.
Factor \(Q(t) = 4 \, t^2 - 4 \, t - 8\)
explanation
The leading coefficient is \(a=4\) and the quadratic formula gives us \(2\) and \(-1\) as zeros.
That gives us a factorization of \(Q(t)\):
The quadratic formula always works. But, many times it is slow with lots of steps and reducing. Sometimes it is just easier to guess the factors. “Easier” usually means integers.
Guessing Factors
Let’s begin with a quadratic function written as a sum: \(g(x) = a \, x^2 + b \, x + c\), a.k.a standard form.
Step 1: If there are any common numeric factors among the three coefficients then factor them out.
Step 2: We are looking for a factorization \(g(x) = a \, x^2 + b \, x + c = (A \, x + B)(C \, x + D)\).
for this to happen, we need
- \(a = A \cdot C \)
- \(b = A\cdot D + B \cdot C\)
- \(c = B \cdot D\)
Therefore, look for pairs of factors of \(a\) and pairs of factors of \(c\).
Step 3: Step through your pairs of factors and look for \(b = A \cdot D + B \cdot C\).
Factor \(k(x) = 2 \, x^2 - 5 \, x - 12\).
explanation
First, the coefficients, \(2\), \(-5\), and \(-21\), have no common factors.
Second, \(2\) is a prime number, therefore, it’s factors are \(2 \cdot 1\) or \(-2 \cdot -1\).
From this, we know there are only two possibilities. The factorization looks like \((2 x \, + \, ?) (x \, + \, ?)\) or \((-2 x \, + \, ?) (-x \, + \, ?)\).
\(-12\) factors as
- \(-12 \cdot \answer {1}\)
- \(12 \cdot \answer {-1}\)
- \(-6 \cdot \answer {2}\)
- \(6 \cdot \answer {-2}\)
- \(-4 \cdot \answer {3}\)
- \(4 \cdot \answer {-3}\)
Let’s start stepping through our list.
The middle term is \(-5 \, x\). That’s our goal. It seems like it might be difficult to get \(5\) from \(12\), let’s skip \(12\) in our list and begin stepping through our list with \(-6\) and \(2\).
- \(-12 = -6 \cdot 2\) gives \((2 x + (-6)) (x + 2) = \answer {2 x^2 - 2 x - 12}\)
- \(-12 = 6 \cdot -2\) gives \((2 x + 6) (x - 2) = \answer {2 x^2 + 2 x -12}\)
- \(-12 = -3 \cdot 4\) gives \((2 x + (-3)) (x + 4) = \answer {2 x^2 + 5 x - 12}\)
- \(-12 = 3 \cdot -4\) gives \((2 x + 3) (x + (-4)) = \answer {2 x^2 - 5 x -12}\)
\(2 x^2 - 5 x - 12\) factors as \((2 x + 3) (x + (-4)) = (2 x + 3)(x - 4)\)
As you gain more experience, this process becomes a mental process, which means it
is fast.
Always give factoring a try, before moving onto the quadratic formula.
Factor \(p(y) = 6 \, y^2 - 16 \, y - 22\).
explanation
First, the coefficients have a common factor. Factor out \(2\) to get \(p(y) = 2 \left ( \answer {3 y^2 - 8 y - 11} \right )\).
Now factor \(3 \, y^2 - 8 \, y - 11\).
\(3\) is a prime number, therefore, it’s factors are \(3 \cdot 1\) or \(-3 \cdot -1\). However, \(-3 \cdot -1\) is actually redundant. If we picked \(-3 \cdot -1\), then we could just factor out \(-1\) from both and get back to \(3 \cdot 1\).
\(3 \, y^2 - 8 \, y - 11 = (3y \, \pm \, ?) (y \, \pm \, ?) \)
\(11\) is also a prime number. We only need to think about \(11\) and \(1\). And, since we need \(-11\), then we know to pick opposite signs for \(11\) and \(1\).
- \((3y + 11) (y - 1) = \answer {3 y^2 + 8 y - 11}\)
Everything is correct except the sign of \(-8\). That tells us we are almost correct. We just need to reverse the signs.
- \((3y - 11) (y + 1) = 3 \, y^2 - 8 \, y - 11\)
“Easier” usually means integers.
All of the factorizations above involved integers, because we are fast with those.
If the roots of the quadratic involve square roots, then we probably are not guessing them. In any case, the quadratic formula will find all of the roots.
ooooo-=-=-=-ooOoo-=-=-=-ooooo
more examples can be found by following this link
More Examples of Function Behavior