One way to represent quadratic functions is using vertex form. This form allows us to identify the coordinates of the vertex of the parabola, as well as the direction of opening and scale factor that compresses or stretches the graph of the function.
Completing the square is a method we use to rewrite a standard quadratic expression in vertex form.
Completing the square allows us to rewrite our equation so that it contains a perfect square trinomial. A perfect square trinomial takes on the form A^2+2AB+B^2=\left(A+B\right)^2, which is the same format we need to have an equation in vertex form.
For quadratic equations where a=1, we can write them in perfect square form by following these steps:
1 | \displaystyle x^2+bx+c | \displaystyle = | \displaystyle 0 | |
2 | \displaystyle x^2+bx | \displaystyle = | \displaystyle -c | Subtract c from both sides |
3 | \displaystyle x^2+2\left(\frac{b}{2}\right)x | \displaystyle = | \displaystyle -c | Rewrite the x term |
4 | \displaystyle x^2+2\left(\frac{b}{2}\right)x+\left(\frac{b}{2}\right)^2 | \displaystyle = | \displaystyle -c+\left(\frac{b}{2}\right)^2 | Add \left(\dfrac{b}{2}\right)^2 to both sides |
5 | \displaystyle \left(x+\frac{b}{2}\right)^2 | \displaystyle = | \displaystyle -c+\left(\frac{b}{2}\right)^2 | Factor the trinomial |
If a \neq 1, we can first divide through by a to factor it out.
Once our equation is in vertex form after completing the square, if we know the coordinates of the vertex, we actually only need to know one other point on the graph, such as the y-intercept, to be able to draw the graph of quadratic function. As the parabola is symmetric across the line of symmetry, which the vertex lies on, we can use the properties of symmetry to find a third point on the graph.
The table of values below represents a quadratic function.
x | -4 | -3 | -2 | -1 | 0 | 1 | 2 |
---|---|---|---|---|---|---|---|
p(x) | -5 | 0 | 3 | 4 | 3 | 0 | -5 |
Write the function p(x) in vertex form.
Using the equation found in part (a), predict the value of p(x) when x=6.
The quadratic function f\left(x\right) = 2x^2 has been transformed to produce a new quadratic function g\left(x\right), as shown in the graph:
Describe the transformation from f\left(x\right) to g\left(x\right).
Write the equation of the function g\left(x\right) in vertex form.
Consider the following equation:y = x^{2} - 4 x + 6
Find the x-value of the vertex using the vertex formula.
Rewrite the equation in vertex form by completing the square.
Sketch the graph of the parabola.