P3 1.4 - Combining graph transformations

P3 1.4 - Combining graph transformations

Combine familiar graph transformations by tracking inputs, outputs and key points. Use their order to distinguish similar equations, then build transformed trigonometric sketches with exact coordinates and periods.

Order of transformations

Does stretching a graph and then raising it give the same result as raising it and then stretching it? Imagine a point at height 22: doubling then adding 33 gives 77, while adding 33 then doubling gives 1010.

The same arithmetic acts on every height of a graph. In y=2f(x)+3y=2f(x)+3, multiply the original output by 22, then add 33. In y=2(f(x)+3)y=2(f(x)+3), the added 33 is doubled as well.

You already know

For a point (u,v)(u,v) on y=f(x)y=f(x), y=af(x)y=af(x) maps it to (u,av)(u,av), while y=f(x)+by=f(x)+b maps it to (u,v+b)(u,v+b). The first is a vertical stretch of scale factor aa for a>0a>0; the second is a vertical translation by bb.

To describe a sequence, name the original graph, the first transformation and then the second. Brackets show whether a later stretch also scales an earlier shift.

Worked example 1: stretching before translating

Question. Starting with f(x)=x2−1f(x)=x^2-1, stretch vertically by scale factor 22, then translate up 33. Find the final equation, vertex and image of (2,3)(2,3).

Plan. Multiply each original height by 22, then add 33.

y=2f(x)+3=2(x2−1)+3=2x2+1(0,−1)↦(0,−2)↦(0,1)(2,3)↦(2,6)↦(2,9)\begin{aligned} y&=2f(x)+3=2(x^2-1)+3=2x^2+1\\ (0,-1)&\mapsto(0,-2)\mapsto(0,1)\\ (2,3)&\mapsto(2,6)\mapsto(2,9) \end{aligned}

Answer. y=2x2+1y=2x^2+1, vertex (0,1)(0,1), and image point (2,9)(2,9).

Check. Substituting x=2x=2 in the final equation gives 99, agreeing with the point mapping. Its positive square term makes the vertex a minimum.

Change only the order of those same two transformations. The translation is now doubled.

Worked example 2: translating before stretching

Question. Starting with the same ff, translate up 33, then stretch vertically by scale factor 22. Find the final equation, vertex and image of (2,3)(2,3).

Plan. Add 33 inside the output bracket before multiplying by 22.

y=2(f(x)+3)=2(x2+2)=2x2+4(0,−1)↦(0,2)↦(0,4)(2,3)↦(2,6)↦(2,12)\begin{aligned} y&=2(f(x)+3)=2(x^2+2)=2x^2+4\\ (0,-1)&\mapsto(0,2)\mapsto(0,4)\\ (2,3)&\mapsto(2,6)\mapsto(2,12) \end{aligned}

Answer. y=2x2+4y=2x^2+4, vertex (0,4)(0,4), and image point (2,12)(2,12).

Check. The final graph is 33 units above the result in Example 1: 2x2+4−(2x2+1)=32x^2+4-(2x^2+1)=3 at every input.

The two final graphs have the same shape but different positions.

[DIAGRAM: asset_name: Why vertical transformation order matters; asset_slug: vertical-order; caption: Reversing a stretch and a translation changes the final vertex.; description: The original dashed parabola y equals x squared minus 1, and the parabolas y equals 2x squared plus 1 and y equals 2x squared plus 4. Vertices (0,negative 1), (0,1) and (0,4) are labelled, together with the equations.]
Reversing a stretch and a translation changes the final vertex.

Watch out

2f(x)+3≠2(f(x)+3)2f(x)+3\ne2(f(x)+3). Expand the bracket or track one original point to test the order. Some transformations commute, but these two generally do not.

Write the equation from the sequence before mapping the point.

Combined horizontal and vertical scales

A multiplier outside a function changes heights directly, while a multiplier inside changes the input needed to reach each original point.

Suppose f(6)=−2f(6)=-2. For f(3x)f(3x) to use that same original input, solve 3x=63x=6, giving x=2x=2. An outside factor 22 then makes the height −4-4. Thus (6,−2)(6,-2) maps to (2,−4)(2,-4) on y=2f(3x)y=2f(3x).

Combining scale factors

For a≠0a\ne0 and b≠0b\ne0, a point on y=f(x)y=f(x) maps under y=af(bx)y=af(bx) as

(u,v)↦(ub,av).(u,v)\mapsto\left(\frac{u}{b},av\right).

For positive a,ba,b, the vertical scale factor is aa and the horizontal scale factor is 1/b1/b. A negative factor also supplies a reflection in the appropriate axis.

Not in the formula booklet: learn it.

These horizontal and vertical scalings act on different coordinates, so either order gives this same mapping. A vertical asymptote x=cx=c moves to x=c/bx=c/b; a horizontal asymptote y=dy=d moves to y=ady=ad, where those asymptotes exist.

Worked example 3: scaling both coordinates

Question. A graph y=f(x)y=f(x) contains A(6,−2)A(6,-2) and B(−3,4)B(-3,4), and has asymptotes x=9x=9 and y=1y=1. Find their images on y=2f(3x)y=2f(3x).

Plan. Divide horizontal coordinates by 33 and multiply vertical coordinates by 22.

A(6,−2)↦A′(2,−4)B(−3,4)↦B′(−1,8)x=9↦x=3y=1↦y=2\begin{aligned} A(6,-2)&\mapsto A'(2,-4)\\ B(-3,4)&\mapsto B'(-1,8)\\ x=9&\mapsto x=3\\ y=1&\mapsto y=2 \end{aligned}

Answer. A′(2,−4)A'(2,-4), B′(−1,8)B'(-1,8), with asymptotes x=3x=3, y=2y=2.

Check. At new input 22, 3x=63x=6, so the new output is 2f(6)=−42f(6)=-4. The asymptote is reached in the input when 3x3x approaches 99, confirming x=3x=3.

Change only the outside factor from 22 to 1/21/2. Horizontal positions are unchanged, while every transformed height is now one quarter of its previous value.

Worked example 4: a vertical contraction

Question. For the same original graph, find the images of A,BA,B and both asymptotes on y=12f(3x)y=\frac12 f(3x).

Plan. Keep division of inputs by 33, but multiply outputs by 1/21/2.

A(6,−2)↦A′(2,−1)B(−3,4)↦B′(−1,2)x=9↦x=3y=1↦y=12\begin{aligned} A(6,-2)&\mapsto A'(2,-1)\\ B(-3,4)&\mapsto B'(-1,2)\\ x=9&\mapsto x=3\\ y=1&\mapsto y=\frac12 \end{aligned}

Answer. A′(2,−1)A'(2,-1), B′(−1,2)B'(-1,2), with asymptotes x=3x=3, y=1/2y=1/2.

Check. At new input −1-1, the original input is −3-3, so 12f(−3)=2\frac12f(-3)=2, agreeing with B′B'.

On an unfamiliar sketch, map its labelled vertices, intercepts and other key points, then preserve the shape between them. Use any asymptotes to guide the ends.

Watch out

The factor 33 in f(3x)f(3x) gives a horizontal scale factor of 1/31/3, not 33. Solve “new inside input equals old input” to avoid reversing that factor.

A negative outside factor changes the sign of the height as well as its size.

Translations and reflections

Reflections change the sign of a coordinate; translations then move the reflected or original coordinates by a stated amount.

The equation itself tells you which quantity has been negated. An outside minus sign reverses heights. A minus sign on the input reverses horizontal positions. For example, y=f(−x)+2y=f(-x)+2 maps (u,v)(u,v) to (−u,v+2)(-u,v+2): reflect in the yy-axis, then move up 22.

Continue this lesson.

You’re previewing NovaLearn without an account. Create a free account to read the rest.

Create free account