1.02w, 1.02x - Transforming and combining graphs

1.02w, 1.02x - Transforming and combining graphs

Move a graph by changing its inputs and outputs, even when you have no formula for the curve. You will describe single transformations in 1.02w, then combine them, form equations and recover important sketch features in 1.02x.

Changing heights by translation and stretch

How can you turn a graph upside down, move it right and find its new roots without knowing its formula? Start with one point: if the graph contains (2,3)(2,3), multiplying its outputs by −2-2 sends that point to (2,−6)(2,-6). Its horizontal position stays put. We will move a whole unfamiliar graph this way in the last part.

You already know

A point (u,v)(u,v) on y=f(x)y=\mathrm f(x) means f(u)=v\mathrm f(u)=v. The domain contains the permitted inputs; the range contains the outputs actually reached.

An operation outside the function changes the output. Adding 33 changes a height of 55 to 88; multiplying by 33 changes it to 1515. Addition and multiplication therefore move a graph differently.

Translation and stretch

A translation moves every point by the same vector. A stretch parallel to an axis multiplies the corresponding coordinates by a positive scale factor, leaving the other coordinates unchanged. For example, a vertical stretch of scale factor 22 maps (u,v)(u,v) onto (u,2v)(u,2v); moving every point up 22 is a translation, not that stretch.

Follow a general point to describe the whole graph. Negative multipliers need a reflection as well as a positive stretch factor.

Changes to outputs

For (u,v)(u,v) on y=f(x)y=\mathrm f(x), with real kk and aa,

y=f(x)+k:(u,v)↦(u,v+k)y=af(x):(u,v)↦(u,av)\begin{aligned} y=\mathrm f(x)+k &: (u,v)\mapsto(u,v+k) \\ y=a\mathrm f(x) &: (u,v)\mapsto(u,av) \end{aligned}

The domain stays the same. If a<0a<0, reflect in the xx-axis and stretch parallel to the yy-axis by ∣a∣|a|. If a=−1a=-1, the reflection alone suffices.

Not in the formula sheet: learn it.

For a translation up kk, every range value increases by kk. For a stretch, transform the two range endpoints and put them back in increasing order.

Worked example 1: bringing heights closer to the axis

Question. Let f(x)=x2−4\mathrm f(x)=x^2-4, for x∈Rx\in\mathbb R. Describe y=12f(x)y=\tfrac12\mathrm f(x), form its equation and state its vertex, roots and range.

Plan. Halve the outputs, then read the features from the resulting quadratic.

y=12(x2−4)=12x2−2halve the whole output(0,−4)↦(0,−2)map the vertex12(x2−4)=0  ⟺  x=±2zero heights stay zero\begin{aligned} y&=\tfrac12(x^2-4)=\tfrac12x^2-2 && \text{halve the whole output} \\ (0,-4)&\mapsto(0,-2) && \text{map the vertex} \\ \tfrac12(x^2-4)&=0\iff x=\pm2 && \text{zero heights stay zero} \end{aligned}

Why this step? The multiplier acts on every term of the output, so the vertex height changes as well as the quadratic coefficient.

Answer. A stretch parallel to the yy-axis with scale factor 12\tfrac12. The equation is y=12x2−2y=\tfrac12x^2-2, vertex (0,−2)(0,-2), roots −2,2-2,2, domain R\mathbb R and range [−2,∞)[-2,\infty).

Check. At x=2x=2, 12(22)−2=0\tfrac12(2^2)-2=0, agreeing with the unchanged root.

Change just the sign of the multiplier. The graph now crosses the axis in the same places but opens downwards.

Worked example 2: reflecting the same stretched graph

Question. For the same f\mathrm f, describe y=−12f(x)y=-\tfrac12\mathrm f(x) and give the same features.

Plan. Reflect the heights from the preceding example in the xx-axis.

y=−12(x2−4)=−12x2+2distribute the multiplier(0,−4)↦(0,2)multiply the height[−4,∞)↦(−∞,2]reverse the height order\begin{aligned} y&=-\tfrac12(x^2-4)=-\tfrac12x^2+2 && \text{distribute the multiplier} \\ (0,-4)&\mapsto(0,2) && \text{multiply the height} \\ [-4,\infty)&\mapsto(-\infty,2] && \text{reverse the height order} \end{aligned}

Why this step? Multiplying an inequality by a negative number reverses its direction; the lowest old height becomes the highest new height.

Answer. Reflect in the xx-axis and stretch parallel to the yy-axis by 12\tfrac12, in either order. The equation is y=−12x2+2y=-\tfrac12x^2+2, vertex (0,2)(0,2), roots −2,2-2,2, domain R\mathbb R and range (−∞,2](-\infty,2].

Check. At x=0x=0, the new output is 22, and every other output is at most 22.

There is one exceptional multiplier. If a=0a=0, the graph collapses onto height 00 over its existing domain; this is not an invertible stretch. If f(x)=1/x\mathrm f(x)=1/x, writing 0f(x)0\mathrm f(x) still does not permit x=0x=0.

Watch out

Wrong: the range [−1,4][-1,4] becomes [3,−12][3,-12] under multiplication by −3-3. Right: it becomes [−12,3][-12,3]; intervals are written from the smaller endpoint to the larger one.

Now change the multiplier again and apply the same coordinate reasoning to a curve whose formula is unknown.

Changing inputs and horizontal scale

To find a horizontal movement, solve for the new input that produces an old output.

For y=f(x+3)y=\mathrm f(x+3), the old input uu is reached when x+3=ux+3=u, so x=u−3x=u-3. The graph moves left 33, even though the equation contains a plus sign. For example, (4,5)(4,5) maps onto (1,5)(1,5). This is a translation by (−30)\begin{pmatrix}-3\\0\end{pmatrix}.

Changes to inputs

For real hh, and real b≠0b\ne0,

y=f(x+h):(u,v)↦(u−h,v)y=f(bx):(u,v)↦(ub,v)\begin{aligned} y=\mathrm f(x+h) &: (u,v)\mapsto(u-h,v) \\ y=\mathrm f(bx) &: (u,v)\mapsto\left(\frac{u}{b},v\right) \end{aligned}

The horizontal stretch factor is 1/∣b∣1/|b|. If b<0b<0, also reflect in the yy-axis. The range is unchanged because every old input is still reached.

Not in the formula sheet: learn it.

The new domain is found by requiring the inside expression to belong to the old domain. This is more reliable than trying to remember a direction.

Worked example 3: a horizontal stretch with scale factor below one

Question. A function f\mathrm f has domain [−4,2][-4,2], and its graph contains (−2,7)(-2,7). Describe y=f(2x)y=\mathrm f(2x), give the image of the point and find the new domain.

Plan. Solve 2x=u2x=u for coordinates and impose the old input restriction.

2x=−2  ⟹  x=−1match the old input−4≤2x≤2  ⟺  −2≤x≤1restrict every input\begin{aligned} 2x&=-2\implies x=-1 && \text{match the old input} \\ -4\le2x&\le2\iff -2\le x\le1 && \text{restrict every input} \end{aligned}

Why this step? The same output is now reached at half the old horizontal coordinate, so the horizontal scale factor is the reciprocal of 22.

Answer. A stretch parallel to the xx-axis by scale factor 12\tfrac12; the point is (−1,7)(-1,7), and the domain is [−2,1][-2,1].

Check. The new endpoints feed 2(−2)=−42(-2)=-4 and 2(1)=22(1)=2 into f\mathrm f, exactly the old endpoints.

Change only the sign inside the function. The reflection reverses left and right, including the order of the domain endpoints.

Worked example 4: reflecting the input scale

Question. With the same function and point, describe y=f(−2x)y=\mathrm f(-2x), give the image and find the domain.

Plan. Match the old input again, remembering that division by a negative number reverses inequalities.

−2x=−2  ⟹  x=1match the point’s input−4≤−2x≤2  ⟺  −1≤x≤2divide and reorder\begin{aligned} -2x&=-2\implies x=1 && \text{match the point's input} \\ -4\le-2x&\le2\iff -1\le x\le2 && \text{divide and reorder} \end{aligned}

Why this step? A negative inside multiplier changes the sign of horizontal coordinates; the height is untouched.

Answer. Reflect in the yy-axis and stretch parallel to the xx-axis by 12\tfrac12, in either order. The point maps onto (1,7)(1,7), and the domain is [−1,2][-1,2].

Check. At the new left endpoint, −2(−1)=2-2(-1)=2; at the new right endpoint, −2(2)=−4-2(2)=-4.

The same rule moves a vertical asymptote x=cx=c to x=c/bx=c/b. If b=0b=0, the reciprocal rule breaks: f(0x)=f(0)\mathrm f(0x)=\mathrm f(0) is constant for every real input if 00 is in the old domain, and is nowhere defined otherwise.

Here is a useful surprise: for f(x)=x2\mathrm f(x)=x^2, f(2x)=4x2=4f(x)\mathrm f(2x)=4x^2=4\mathrm f(x). A horizontal stretch of factor 12\tfrac12 and a vertical stretch of factor 44 produce the same parabola. A final graph need not reveal a unique history of moves.

Watch out

Wrong: f(2x)\mathrm f(2x) has horizontal scale factor 22. Right: solve 2x=u2x=u, giving x=u/2x=u/2, so the scale factor is 12\tfrac12.

A new negative multiplier checks that you can separate the reflection from the positive scale factor.

Combining moves and forming equations

A combined transformation is safest when you track a general point before describing separate moves.

A translation by (hk)\begin{pmatrix}h\\k\end{pmatrix} maps (u,v)(u,v) onto (u+h,v+k)(u+h,v+k), so its equation is y=f(x−h)+ky=\mathrm f(x-h)+k. For instance, translating y=x2y=x^2 by (3−2)\begin{pmatrix}3\\-2\end{pmatrix} gives y=(x−3)2−2y=(x-3)^2-2, with vertex (3,−2)(3,-2).

A combined point mapping

For real A,B,C,DA,B,C,D, with A≠0A\ne0 and B≠0B\ne0,

y=Af(B(x−C))+D⟺(u,v)↦(C+uB,D+Av)y=A\mathrm f\bigl(B(x-C)\bigr)+D \quad\Longleftrightarrow\quad (u,v)\mapsto\left(C+\frac{u}{B},D+Av\right)

Horizontally, scale by 1/∣B∣1/|B|, reflect if B<0B<0, then translate by CC. Vertically, scale by ∣A∣|A|, reflect if A<0A<0, then translate by DD.

Not in the formula sheet: learn it.

This is not an extra rule to memorise blindly: solve B(x−C)=uB(x-C)=u for the horizontal coordinate and evaluate Av+DAv+D for the height.

Worked example 5: scales followed by translations

Question. A point (6,5)(6,5) lies on y=f(x)y=\mathrm f(x). Describe a sequence producing y=2f(3(x−1))−4y=2\mathrm f(3(x-1))-4, and find the point's image.

Plan. Read the factored input, then transform the two coordinates separately.

3(x−1)=6  ⟹  x=3match the old inputy=2(5)−4=6transform the output\begin{aligned} 3(x-1)&=6\implies x=3 && \text{match the old input} \\ y&=2(5)-4=6 && \text{transform the output} \end{aligned}

Why this step? Matching the old input protects the order of the horizontal operations: x=u/3+1x=u/3+1, rather than (u+1)/3(u+1)/3.

Answer. Stretch horizontally by 13\tfrac13, translate right 11, stretch vertically by 22, then translate down 44. The point maps onto (3,6)(3,6). Horizontal and vertical operations may be interleaved because they affect different coordinates.

Check. Substituting x=3x=3 into the new input gives 3(3−1)=63(3-1)=6, as required.

Change just the direction of the horizontal translation. Keep both stretches and the vertical translation fixed.

Worked example 6: reversing one translation

Question. For the same point, describe y=2f(3(x+1))−4y=2\mathrm f(3(x+1))-4 and find its image.

Plan. Solve the new inside equation and retain the unchanged output calculation.

3(x+1)=6  ⟹  x=1solve the new inputy=2(5)−4=6use the same height rule\begin{aligned} 3(x+1)&=6\implies x=1 && \text{solve the new input} \\ y&=2(5)-4=6 && \text{use the same height rule} \end{aligned}

Why this step? Factoring identifies the translation after scaling: x=u/3−1x=u/3-1 means left 11, not left 33.

Answer. Stretch horizontally by 13\tfrac13, translate left 11, stretch vertically by 22, then translate down 44. The image is (1,6)(1,6).

Check. The inside expression at x=1x=1 is 3(1+1)=63(1+1)=6.

Order matters for operations on the same coordinate. Scaling uu by 13\tfrac13 then adding 11 gives u/3+1u/3+1; adding 11 first then scaling gives (u+1)/3(u+1)/3. Similarly, 2(f(x)+3)=2f(x)+62(\mathrm f(x)+3)=2\mathrm f(x)+6 differs from 2f(x)+32\mathrm f(x)+3.

To form an equation from a sequence, reverse the horizontal point mapping. A horizontal stretch by 22 followed by right 33 gives x=2u+3x=2u+3, hence u=(x−3)/2u=(x-3)/2. If f(x)=x2+1\mathrm f(x)=x^2+1, a horizontal stretch by 22 followed by down 33 instead gives y=f(x/2)−3=x2/4−2y=\mathrm f(x/2)-3=x^2/4-2: substitute into the whole formula.

Watch out

Wrong: f(2x+6)\mathrm f(2x+6) means scale horizontally by 12\tfrac12, then left 66. Right: factor 2x+6=2(x+3)2x+6=2(x+3), giving scale 12\tfrac12, then left 33.

The next sequence gives the movements first, so construct its input expression rather than reading one.

Sketching from a supplied graph

A supplied graph gives you points and shape, even when it gives you no algebraic formula.

For a sketch, transform the endpoints, turning points, intercepts and asymptotes that are supplied. Preserve smoothness or straight segments and included or excluded endpoints. The image of an old intercept need not be a new intercept: an upward translation takes a zero height off the axis.

Worked example 7: moving an unfamiliar segmented graph

Question. A graph consists of straight segments through (−2,0),(−1,2),(1,1),(2,0)(-2,0),(-1,2),(1,1),(2,0), with included endpoints and no points outside those segments. Describe the sketch of y=−2f(x−3)+1y=-2\mathrm f(x-3)+1, including its domain, range and intercepts.

Plan. Map each vertex, join the images with straight segments, then locate the new zero heights.

x−3=u  ⟹  x=u+3move inputs righty=1−2vreflect, scale and translate\begin{aligned} x-3&=u\implies x=u+3 && \text{move inputs right} \\ y&=1-2v && \text{reflect, scale and translate} \end{aligned}

Thus the vertices map as follows:

(−2,0)↦(1,1)(−1,2)↦(2,−3)(1,1)↦(4,−1)(2,0)↦(5,1)\begin{aligned} (-2,0)&\mapsto(1,1) & (-1,2)&\mapsto(2,-3) \\ (1,1)&\mapsto(4,-1) & (2,0)&\mapsto(5,1) \end{aligned}

A supplied segmented graph and its translated reflected and stretched image

Why this step? The graph is completely specified by the vertices and straight connections, so mapping those vertices determines every intervening segment too.

The first image segment has equation y=1−4(x−1)y=1-4(x-1); the last has y=−1+2(x−4)y=-1+2(x-4). Hence

0=1−4(x−1)  ⟹  x=54first zero height0=−1+2(x−4)  ⟹  x=92last zero height\begin{aligned} 0=1-4(x-1)&\implies x=\tfrac54 && \text{first zero height} \\ 0=-1+2(x-4)&\implies x=\tfrac92 && \text{last zero height} \end{aligned}

Answer. Join the four image vertices in order, keeping the endpoints included. Domain [1,5][1,5], range [−3,1][-3,1], roots 54,92\tfrac54,\tfrac92. There is no yy-intercept because 00 is outside the domain. This answers the opening puzzle without finding a formula for f\mathrm f.

Check. Both roots lie on their claimed segments, and the two middle vertices have negative heights, so no further segment crosses the axis.

Change only the vertical multiplier, from −2-2 to −1-1. The horizontal positions stay fixed, but the new zero heights must be found again.

Worked example 8: changing the vertical scale

Question. For the same supplied graph, describe the sketch and features of y=−f(x−3)+1y=-\mathrm f(x-3)+1.

Plan. Keep the input mapping and replace the output rule by y=1−vy=1-v.

(−2,0)↦(1,1)(−1,2)↦(2,−1)(1,1)↦(4,0)(2,0)↦(5,1)\begin{aligned} (-2,0)&\mapsto(1,1) & (-1,2)&\mapsto(2,-1) \\ (1,1)&\mapsto(4,0) & (2,0)&\mapsto(5,1) \end{aligned}

The first image segment has equation y=1−2(x−1)y=1-2(x-1), so

0=1−2(x−1)  ⟹  x=32find its crossing0=1-2(x-1)\implies x=\tfrac32\qquad\text{find its crossing}

Why this step? Old points with height 11, rather than 00, become new roots after the reflection and upward translation.

Answer. Join (1,1),(2,−1),(4,0),(5,1)(1,1),(2,-1),(4,0),(5,1) in order. Domain [1,5][1,5], range [−1,1][-1,1], roots 32,4\tfrac32,4, and no yy-intercept.

Check. The vertex (4,0)(4,0) is a root; the last segment rises from it and introduces no additional root.

Technology can suggest patterns but a screen has boundaries. For the family y=x2+ky=x^2+k, a plot restricted to −1≤x≤1-1\le x\le1, −1≤y≤1-1\le y\le1 shows no part of y=x2−4y=x^2-4. It has not disproved the roots: x2=4x^2=4 gives x=±2x=\pm2, both outside that window. Widening it reveals them. Changing kk shifts every height by the same amount; the vertex (0,k)(0,k) explains the whole family, including values beyond a plotted grid.

Exam tip

A sketch should show the relevant features and their coordinates, not just a recognisable shape. Recalculate intercepts after a vertical translation; mapped old intercepts may no longer lie on an axis.

Use the same method on a new set of supplied straight segments. All the information needed is in the question.

Quick Recap

  • Outside changes alter heights; inside changes require you to solve for the new input.
  • A negative scale includes a reflection, and a horizontal stretch uses the reciprocal inside multiplier.
  • Track a general point to respect the order of combined transformations and form the equation.
  • Sketch from mapped features, preserving the supplied shape and domain boundaries; find new intercepts afterwards.

To turn an unfamiliar graph upside down and move it right, map its points first: for y=−2f(x−3)+1y=-2\mathrm f(x-3)+1, use (u,v)↦(u+3,1−2v)(u,v)\mapsto(u+3,1-2v), then locate the new roots on its transformed segments.