Transformations of a Quadratic Function
Transformations of a Quadratic Function
Expands g(x) = P f(Qx + R) + S for a quadratic f into Ax² + Bx + C and gives its vertex.
- 155 bytes
- COMP mode
Worked examples
Example 1
Given f(x) = x² − 4x + 1 and g(x) = −2f(3x − 1) + 5, which option gives the correct expression of g(x) and the vertex of its graph? Each option is a pair “g(x); vertex”.
Answer
Standard solution (without a calculator)
- Substitute the whole expression in the bracket: f(3x − 1) = (3x − 1)² − 4(3x − 1) + 1 = 9x² − 6x + 1 − 12x + 4 + 1 = 9x² − 18x + 6. Keep the cross term −6x of the square and the distribution of −4.
- Handle the outer transformation: g(x) = −2(9x² − 18x + 6) + 5 = −18x² + 36x − 7. The outer −2 multiplies every term; the final +5 changes only the constant.
- Complete the square and choose the answer: g(x) = −18(x² − 2x) − 7 = −18(x − 1)² + 11, so the vertex is (1, 11), answer A. Since −18 < 0 the graph opens downwards and the maximum value is 11.
Example 2
The cross-section of an arch is described by y = 12 − 3(x − 2)², where x and y are in metres and 0 ≤ x ≤ 4.
(a) Write the equation in the form y = Ax² + Bx + C.
(b) Find the coordinates of the highest point of the arch and explain why the point lies in the given range.
Answer
Standard solution (without a calculator)
- Expand the square and simplify: y = 12 − 3(x² − 4x + 4) = 12 − 3x² + 12x − 12 = −3x² + 12x. So A = −3, B = 12, C = 0.
- Read the highest point from the vertex form: since (x − 2)² ≥ 0, −3(x − 2)² ≤ 0, so y ≤ 12, with equality at x = 2. As 2 lies between 0 and 4, the highest point is (2, 12).
- The base function for the program: take f(x) = x², so a = 1, b = 0, c = 0; g(x) = −3f(x − 2) + 12, so P = −3, Q = 1, R = −2, S = 12. b, c and Q already have the right defaults, so press EXE at their prompts.
Example 3
A graphing tool takes f(x) = 2x² − 3x + 4 as the original graph and draws a new graph according to g(x) = 5 − f(3 − 2x).
(a) Write g(x) as Ax² + Bx + C.
(b) Find the vertex, the axis of symmetry and the maximum value of the new graph.
Answer
Standard solution (without a calculator)
- Identify the two minus signs: read it as g(x) = −f(−2x + 3) + 5, so P = −1, Q = −2, R = 3, S = 5. The outer minus sign and the negative coefficient of x are handled separately.
- Check by direct expansion: f(3 − 2x) = 2(3 − 2x)² − 3(3 − 2x) + 4 = 18 − 24x + 8x² − 9 + 6x + 4 = 8x² − 18x + 13. So g(x) = 5 − (8x² − 18x + 13) = −8x² + 18x − 8.
- Complete the square and find the maximum: g(x) = −8(x − 9/8)² + 17/8. The vertex is (9/8, 17/8) and the axis of symmetry is x = 9/8; the coefficient of x² is −8 < 0, so the maximum value is 17/8. The calculator shows 1.125 and 2.125, equal to 9/8 and 17/8.
When to use it
DSE questions on function substitution and graph transformations give f(x) = ax² + bx + c and a new function g(x) = P f(Qx + R) + S, then ask for g(x) in the form Ax² + Bx + C, its vertex, axis or maximum value. 069 expands P[a(Qx + R)² + b(Qx + R) + c] + S directly: A = PaQ², B = PQ(2aR + b), C = P[(aR + b)R + c] + S, and the vertex is X = −B/(2A), Y = P[c − b²/(4a)] + S. Memory aid: first the three coefficients, then outer multiplier, inner multiplier, inner addition, outer addition; the results are A, B, C, then the vertex X, Y.
What it is for
- A quadratic f(x) = ax² + bx + c transformed into g(x) = P f(Qx + R) + S, with outer multiplier P, inner multiplier Q, inner addition R and outer addition S
- Expanding g(x) into Ax² + Bx + C and reading the vertex, the axis x = X and the maximum or minimum value Y
- Shifts, stretches and reflections such as g(x) = f(x + 2) − 4 or g(x) = 5 − f(3 − 2x)
What you enter
- a, b, c of the original f(x) with their signs (prompts A?, B?, C?)
- P, Q, R, S in this order (prompts D?, X?, Y?, M?)
- A blank EXE keeps the default: a = b = c = 0, P = Q = 1, R = S = 0; this differs from entering 0 for P or Q
What it shows
- A, B, C of g(x) = Ax² + Bx + C, with EXE after each
- Then, unless g is degenerate, the vertex x-coordinate X and y-coordinate Y
- If A is 0 the run ends after C; X and Y are then not a vertex
Check before use
- Write the base function as f(x) = ax² + bx + c. Enter a, b, c first, then P, Q, R, S. The actual prompts are A?, B?, C?, D?, X?, Y?, M? in turn; do not treat P, Q, R, S as calculator variables you can store.
- The defaults are 0, 0, 0, 1, 1, 0, 0 in that order. For a missing x term or constant term, or a part that is not transformed, just press EXE. For example g(x) = f(x + 2) − 4 has P = 1, Q = 1, R = 2, S = −4.
- Enter only known real numbers, fractions or expressions made of known numbers. Symbolic unknown parameters are not supported: if b = 18m and m is unknown, 18m cannot be entered. Use (−) for negative numbers and the a b/c key for fractions.
- A normal quadratic gives five results A, B, C, X, Y, meaning g(x) = Ax² + Bx + C and the vertex (X, Y). If only the coefficients are needed, press AC after the third result C; all the results have already been calculated and stored.
- With a = 0, P = 0 or Q = 0, a linear or constant function results within the normal numerical range, and only A, B, C are shown before the program ends. A = 0 means there is no x² term; then do not read X and Y as a vertex.
- If the question also restricts x, check that the vertex lies in that range. The program does not compare function values at the ends of an interval and does not restore domain restrictions added by squaring.
- Build the program in COMP mode. There are no angle operations, so Deg, Rad and Gra do not affect the answer. The program clears the earlier A, B, C, D, X, Y, M and Ans and sets Norm 1; note any old values you need first.
- When all seven inputs are integers of absolute value at most 100, every step of the coefficient calculation is exactly representable; the vertex involves a division and is shown to the calculator’s precision. Ordinary decimals and fractions have also been tested, but arbitrary extreme real numbers are not guaranteed to be equally accurate.
- It is not suited to intermediate overflow or underflow, or to cases where more than ten significant digits must cancel exactly. A very small intermediate value may become 0 without an error, so a 0 under extreme multipliers must not be taken as proof of a mathematical degeneracy.
- After the program has really finished, another EXE runs it again from the start; AC leaves. Each rerun resets the defaults and does not reuse the previous coefficients or transformation.
Checking access…