complete the square
Quadratic Functions
Quadratic functions are functions which can be described with a formula of the form
where , , and (called coefficients) are real numbers with
- is called the leading coefficient
- is called the leading or quadratic term
- is called the linear term
- is called the constant term
As we have seen the graph of a quadratic equation is a parabola. The sign of the leading coefficient determines if the parabola opens up or down.
Quadratic Function Analysis
What do we want to know when we analyze any function?
We want to know the
- Domain
- Zeros
- Continuity
- discontinuities
- singularities
- End-Behavior
- Behavior
- intervals where increasing
- intervals where decreasing
- Global Maximum and Minimum
- Local Maximums and Minimums
- Range
- ...and we would like a nice graph
Quadratic Domain and Range
The implied or natural domain of a quadratic function is all real numbers. Of course,
any quadratic function could come with a stated domain that restricts the domain.
Or, a quadratic might be a piece of a piecewise defined function and only applied to a
stated subset of the whole domain. Or, the quadratic function might be used
as a model and the situation restricts the domain to an applied domain.
From the graphs above we can see that the natural range of a quadratic comes in two types.
- The range could be all real numbers greater than or equal to some particular real number (the minimum).
- The range could be all real numbers less than or equal to some particular real number (the maximum).
If there is a stated domain, then the range will be restricted accordingly.
Quadratic Zeros
The number has a unique property appropriately named as the Zero Product Property.
Zero is the ONLY number with such an identifiable test, therefore, we use it...A LOT!
We have two methods for solving equations.
- If you know what to do, then go do it.
- If you do not know what to do, then get everythign to one side with on the other side and factor.
Unless we happen to know something special (which we often do), when solving equations our general approach is to set everything equal to zero and then convert the expression into a product. This process is called factoring. The whole idea is to make our situation look like the zero product property.
We have already seen that factors correspond to zeros of our function. Thus, it comes as no surprise that identifying zeros of functions is a top priority. Factoring is a top priority. Spotting horizontal intercepts in the graph is a top priority.
As we can see from their parabolic graphs below, quadratics can have , , or real zeros. How do we find them? Factoring is one way.
Let be quadratic function.
What are its zeros?
We currently have written in standard form, which is a sum. We would prefer
written as a product so that we can use the zero Product Property. This means
factoring.
Now, we want to know when this equals .
By the zero product property, either or .
This tells us that and are zeros of .
Factoring is nice, provided you can think up the factors. Sometimes, the factors are
not so easy to imagine.
So far, we have seen the standard and factored forms for quadratics. We have a third form called the vertex form and we can convert our formula for in this form by completing the square.
Completing the Square
Completing the square is an algebraic procedure. Later in this section, we will take a
funcitonal viewpoint of this.
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 , 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 to look like . Then there will only be one occurrence of the and we can solve for it.
To accomplish this, we need to investigate . For the moment, let’s multiply it back out.
This last line, should turn out to be , our original quadratic.
We want
The only way that is going to happen is if . And, as long as we know , we can factor it out and work with what is left.
Then, let’s pretend our first step is factoring out or 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 .
Starting over...starting with a leading coefficient of ...
Step 2
We want to complete the square on . When the leading coefficent is , then we call this quadratic monic.
This last line should turn out to be .
We want
The leading term is in both (since we factored out ). Now, the linear terms need to be the same: . That tells us that .
To complete the square with a monic quadratic, we need . Let’s put that in.
We want this to be .
leading terms match...check
linear terms match...check
Step 3
Now there is a mess for the constant term. We have , when we just wanted .
Then let’s just pick to be
Whew!
Let’s see some examples
Completing the square for .
Factor out the leading coefficent, .
Now we have a monic to work with inside the parentheses.
Let’s move inside the parentheses.
Take half of the linear coefficient, , square that , and add and subtract it, so that we have just added to the expression and not changed its value.
Now, group.
the grouped part is a square.
Remember, this was inside parentheses.
is the completed square form of
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 , we can solve .
From this equation, we can see that this function has no zeros. We wouldn’t have
been able to guess the factors.
As we saw earlier, quadratic functions can have two real zeros, one real zero, or no
real zeros.
Solve
First complete the square.
Half of the linear coefficient is .
The square of that is .
We will be adding and subtracting inside the parentheses.
One occurrence of , good. Now to get by itself.
We know something special here. The only way this can happen is if
either or
The first choice gives us and the second choice gives us
Let’s check those solutions.
- ... check
- ... check
We have already seen that a quadratic equation can have at most two solutions. So, we must have all of the solutions.
The graph of 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 or .
Either or .
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
First, get everything to one side and on the other side.
Factor out the leading coefficient.
Square half of , and . We could add and subtract or we can change the to be . All we are trying to do is to see a .
In the real numbers, is never negative, since we have a square. This cannot be added
to , to get .
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.
A Peek Ahead
It feels like that equation should have a solution.
All we needed was for
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 . 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.
All quadratics will have two solutions...eventually.
We’ll fill in the holes in the second course.
For now, we are staying inside the real numbers.
For now, we note that there are no real solutions in the third example.
ooooo-=-=-=-ooOoo-=-=-=-ooooo
more examples can be found by following this link
More Examples of Quadratics