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.
Analysis
What do we want to know when we analyze functions?
We want to know the
- domain
- range
- zeros
- intervals of increasing and decreasing
- global maximum and minimum
- local maximums and minimums
- discontinuities
- singularities
- symmetry
- endbehavior
- and we want 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 apply to a stated set.
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!
Unless we happen to know something special, 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. Completing the Square is another method.
Completing the Square
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 much easier.
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 in our original equation.
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. The next example illustrates that 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