Question
Mathematics
How can completing the square reveal graph transformations?
Answer
Mathematics
Expert Answer
Completing the square rewrites a quadratic as . In this form you can read off the vertex , the axis of symmetry and the vertical stretch factor , none of which are easy to see in the expanded form.
Rewrite without changing the function
Take . Factor the 2 out of the and terms only, leaving the constant outside. Then halve the coefficient of inside the bracket: half of is , so .
The sits inside the bracket, so it is multiplied by 2 and becomes . Subtracting only 9 gives , which is a different function. To check, expand the answer: .
Read the transformations
Starting from , one valid sequence is:
| Step | Result |
|---|---|
| Stretch vertically by scale factor 2 | |
| Translate 3 units right | |
| Translate 7 units down |
The order matters for the vertical steps. Translating down 7 before the stretch would double the translation as well, giving .
The vertex is and the axis of symmetry is . Since , the parabola opens upwards and its minimum value is . If were negative, as in , the stretch would also reflect the graph in the -axis, so the parabola would open downwards with a maximum of .
The sign inside the bracket is opposite to the direction of the shift: moves the graph 3 units right, not left. A quick check is to substitute into the original function: , which confirms the vertex. The formula gives the same axis.
Connect the form to an inverse
Over all real numbers, is not one-to-one because two inputs can give the same output: . To define an inverse, restrict the domain to one side of the vertex, for example . The range of on this domain is .
Rearrange :
Only the positive square root is used, because means . Swapping and gives
The domain of is the range of the restricted , and the range of is . To check, , so should be 4. It is: . On the graphs, the point on reflects in to on .
With the other restriction, , take the negative square root instead: . Writing would give two outputs for most inputs, which describes a relation, not a function.
Connect the algebra and graph shapes in the quadratic-and-inverse question in AA HL Mock Exam, Set 1, Paper 1. Use completed-square form to describe the transformations between the graphs, and keep the allowed inputs in mind when working with the inverse.
Answered by Revision Village IB Expert
Explore More IB Mathematics Resources
Over 80% of IB students globally are experiencing the power of Revision Village