Educerie

Educerie · IB Diploma · Mathematics: analysis and approaches

IB Mathematics AA 2.11 · SL and HL

Transformations of graphs

If you know the graph of y=f(x)y = f(x), what does the graph of y=p f(x−a)+by = p\,f(x - a) + b look like, and how do you get from one to the other without plotting a single new point?

What you will learn

  • Know how translations, reflections and stretches change the equation y = f(x) and its graph
  • Understand why changes inside the bracket move the graph sideways in the opposite sense to their sign
  • Understand when the order of two transformations matters and when it does not
  • Know how points, asymptotes, intercepts, domain and range are carried through a transformation

You must be able to

  1. Describe fully a sequence of transformations, giving each vector, axis or scale factor
  2. Find the equation of a graph after a given sequence of transformations
  3. Write down the image of a point under a transformation, or find the point it came from
  4. Sketch a transformed graph, labelling the images of key points and every asymptote
  5. State the domain and range of a transformed function
  6. Show that two different transformations give the same graph, using laws of indices or logs

In the exam. Paper 1 and Paper 2 Section A, usually 3 to 6 marks: "write down the coordinates of the image of the point", "describe fully a sequence of transformations", "find an expression for g(x)g(x)", "sketch the graph of y=f(x−1)+2y = f(x - 1) + 2 on the same axes". It also sits inside longer questions on quadratics (vertex form, 2.6), rational functions (2.8), exponentials and logarithms (2.9) and trigonometric graphs (3.7), because each of those families is one basic graph, transformed. Most questions are Paper 1, so expect to do all of this by hand.

1The graph we will move

One function stays fixed through the page so that you can compare like with like:

f(x)=12(x−1)2(x+2)f(x) = \tfrac{1}{2}(x - 1)^{2}(x + 2)

Watch four points:

  • A(−2,0)A(-2, 0).
  • B(−1,2)B(-1, 2), its local maximum.
  • C(0,1)C(0, 1), the yy-intercept.
  • D(1,0)D(1, 0), where it touches the xx-axis.

It is lopsided on purpose, so that the different flips look different. In every figure the original is teal and the image is amber.

2Translations

Vertical: y=f(x)+by = f(x) + b

  • Each output of ff has bb added. The inputs are untouched. So every point rises by bb (falls, if bb is negative).
  • Figure 1(a) draws y=f(x)+2y = f(x) + 2: B(−1,2)B(-1, 2) lands on (−1,4)(-1, 4), and every other point rises 2 with it.

Horizontal: y=f(x−a)y = f(x - a)

  • The graph slides aa units to the right, although the bracket holds a minus.
  • To see why, take g(x)=f(x−3)g(x) = f(x - 3). It needs x=3x = 3 to make the bracket zero, and at x=3x = 3 it returns the value f(0)f(0). Whatever ff does at x=0x = 0, gg does 3 units later. Every feature turns up 3 units further right.
  • Figure 1(b) draws y=f(x−3)y = f(x - 3): C(0,1)C(0, 1) lands on (3,1)(3, 1). Likewise y=f(x+3)y = f(x + 3) is f(x−(−3))f(x - (-3)), a slide 3 units to the left.
Figure 1 · Translations (a) y = f(x) + 2 x y −4 2 4 2 4 (b) y = f(x − 3) x y −4 2 4 2 4 y = f(x) y = f(x) + 2 +2 y = f(x) y = f(x − 3) Adding outside moves the graph up; subtracting inside moves it right. Every point moves the same way. B(−1, 2) moves up to (−1, 4) in (a). C(0, 1) moves right to (3, 1) in (b).
Figure 1 · Translations
  • A translation is described by a vector: the horizontal slide on top and the vertical slide underneath, in a column. In these notes the column is typed on one line, so "the vector (3,0)(3, 0)" means 3 right and 0 up.
  • Horizontal and vertical slides combine. y=f(x−3)+2y = f(x - 3) + 2 is the translation by the vector (3,2)(3, 2). Every point (x,y)(x, y) goes to (x+3,y+2)(x + 3, y + 2).

3Reflections

y=−f(x)y = -f(x): reflection in the xx-axis

  • The sign of every output flips, so (x,y)(x, y) goes to (x,−y)(x, -y). What was above the axis is now below it, and the reverse.
  • Points on the axis stay put. In Figure 2(a), A(−2,0)A(-2, 0) and D(1,0)D(1, 0) do not move, while the maximum B(−1,2)B(-1, 2) turns into a minimum at (−1,−2)(-1, -2).

y=f(−x)y = f(-x): reflection in the yy-axis

  • Now the input has its sign flipped. At x=2x = 2 the new graph returns f(−2)f(-2). So what ff did at −2-2, the new graph does at 22. Every point (x,y)(x, y) goes to (−x,y)(-x, y).
  • A point on the yy-axis is fixed: C(0,1)C(0, 1) stays in Figure 2(b), while B(−1,2)B(-1, 2) goes to (1,2)(1, 2).
Figure 2 · Reflections (a) y = −f(x) x y −4 2 4 2 4 (b) y = f(−x) x y −4 4 −2 4 y = f(x) y = −f(x) (−1, −2) y = f(x) y = f(−x) A minus outside flips the graph over the x-axis; a minus inside flips it over the y-axis. Points on the mirror line stay put: A(−2, 0) and D(1, 0) in (a), C(0, 1) in (b).
Figure 2 · Reflections
  • A quick test for any sketch: a reflection leaves every point on its mirror line exactly where it was.

Both at once: y=−f(−x)y = -f(-x)

  • The two flips act on different coordinates, so the order is irrelevant. (x,y)(x, y) goes to (−x,−y)(-x, -y). B(−1,2)B(-1, 2) goes to (1,−2)(1, -2).
  • Only the origin is left fixed. This is a half-turn about the origin.
  • A question may ask you to show, with an algebraic approach, that gg is the reflection of ff in the yy-axis followed by the xx-axis. Work with the general equation. Substitute −x-x to get f(−x)f(-x), then negate the whole result.
    • One point carried through two flips shows nothing about the rest of the graph.
  • Example: for f(x)=3x−2x+4f(x) = \dfrac{3x - 2}{x + 4}:
f(−x)=−3x−2−x+4=3x+2x−4replace every x with -x, then multiply top and bottom by -1f(-x) = \frac{-3x - 2}{-x + 4} = \frac{3x + 2}{x - 4} \qquad \textcolor{#838c91}{\text{replace every x with -x, then multiply top and bottom by -1}}−f(−x)=−3x+2x−4=3x+24−xnegate once, as a whole-f(-x) = -\frac{3x + 2}{x - 4} = \frac{3x + 2}{4 - x} \qquad \textcolor{#838c91}{\text{negate once, as a whole}}

Check with x=1x = 1: f(−1)=−53f(-1) = -\tfrac{5}{3}, so −f(−1)=53-f(-1) = \tfrac{5}{3}, and 3+24−1=53\dfrac{3 + 2}{4 - 1} = \tfrac{5}{3}.

4Stretches

y=p f(x)y = p\,f(x): vertical stretch, scale factor pp

  • Every output is multiplied by pp, so (x,y)(x, y) goes to (x,py)(x, py). Each point ends up pp times as far from the xx-axis as before.
  • With p=2p = 2 in Figure 3(a), B(−1,2)B(-1, 2) goes to (−1,4)(-1, 4) and C(0,1)C(0, 1) to (0,2)(0, 2). AA and DD sit on the axis at distance zero, and twice zero is zero, so they stay.
  • When 0<p<10 < p < 1 the graph is pressed towards the axis. It is still a stretch, with a scale factor below 1.

y=f(qx)y = f(qx): horizontal stretch, scale factor 1q\tfrac{1}{q}

  • Every point (x,y)(x, y) goes to (xq,y)\left(\tfrac{x}{q}, y\right).
  • With q=2q = 2, the new graph reaches at x=0.5x = 0.5 the value ff reached at x=1x = 1. It gets everywhere twice as fast, so the picture is squeezed to half its width. The scale factor is 12\tfrac{1}{2}, not 2.
  • In Figure 3(b), B(−1,2)B(-1, 2) goes to (−0.5,2)(-0.5, 2) and D(1,0)D(1, 0) to (0.5,0)(0.5, 0), while C(0,1)C(0, 1) on the yy-axis is unmoved.
  • Reversed: y=f(x3)y = f\left(\tfrac{x}{3}\right) is f(13x)f\left(\tfrac{1}{3}x\right), so q=13q = \tfrac{1}{3} and the scale factor is 3: three times as wide.
Figure 3 · Stretches (a) y = 2f(x): vertical, factor 2 x y −4 2 4 4 (b) y = f(2x): horizontal, factor ½ x y −4 2 4 4 y = f(x) y = 2f(x) y = f(x) y = f(2x) A number multiplying outside stretches vertically by that number; inside, it squeezes horizontally. In (a) the x-axis points A and D do not move; in (b) the y-axis point C does not move.
Figure 3 · Stretches
  • Invariant line = the axis a stretch pulls away from. Points on it do not move.
    • A vertical stretch pulls away from the xx-axis. A horizontal one pulls away from the yy-axis. So "a vertical stretch, scale factor 3" and "a stretch parallel to the yy-axis with scale factor 3" are both full descriptions.

Words for a "describe" question.

  • Stretch. Use stretch (dilation is also used). Give the scale factor as a positive number, even a fraction: "a horizontal stretch with scale factor 12\tfrac{1}{2}".
    • Some course books say "compression" or "shrink" for a factor below 1. Write "stretch" and let the number carry the size.
  • Slide. Write translation, with its vector, or in words "2 left, 7 up". Avoid the vague "move".
  • Flip. Give the axis.

5The whole set on one table

Every standard level transformation, what it does to a point, and P(−3,6)P(-3, 6) taken through each one:

EquationDescribed fully(x,y)(x, y) goes toP(−3,6)P(-3, 6) goes to
y=f(x)+by = f(x) + btranslation by the vector (0,b)(0, b)(x,y+b)(x, y + b)b=−4b = -4: (−3,2)(-3, 2)
y=f(x−a)y = f(x - a)translation by the vector (a,0)(a, 0)(x+a,y)(x + a, y)y=f(x−5)y = f(x - 5): (2,6)(2, 6)
y=−f(x)y = -f(x)reflection in the xx-axis(x,−y)(x, -y)(−3,−6)(-3, -6)
y=f(−x)y = f(-x)reflection in the yy-axis(−x,y)(-x, y)(3,6)(3, 6)
y=p f(x)y = p\,f(x)vertical stretch, scale factor pp(x,py)(x, py)p=12p = \tfrac{1}{2}: (−3,3)(-3, 3)
y=f(qx)y = f(qx)horizontal stretch, scale factor 1q\tfrac{1}{q}(xq,y)\left(\tfrac{x}{q}, y\right)y=f(3x)y = f(3x): (−1,6)(-1, 6)
y=f(x2)y = f\left(\tfrac{x}{2}\right)horizontal stretch, scale factor 2(2x,y)(2x, y)(−6,6)(-6, 6)

Figure 4 explains the table. Read y=p f(x−a)+by = p\,f(x - a) + b as a production line.

  • The input xx is treated first, before ff sees it. That is the inside. It governs sideways movement, and it works against its sign.
  • Then ff runs.
  • Then the output is multiplied and added to. That is the outside. It governs vertical movement, and it works as written, in the order written.
Figure 4 · Inside changes x, outside changes y input x x − a inside f( ) the function × p outside + b outside horizontal: moves right a does the opposite of what it says vertical: stretch by p, then up b does what it says, in the order written y = p·f(x − a) + b y = p·f(x − a) + b read as a machine: the inside acts before f, the outside after it.
Figure 4 · Inside changes x, outside changes y

This is the composite functions of 2.5 under another name.

  • y=f(x)+by = f(x) + b is g∘fg \circ f with g(x)=x+bg(x) = x + b. The extra function runs after ff, on the output.
  • y=f(x−a)y = f(x - a) is f∘hf \circ h with h(x)=x−ah(x) = x - a. The extra function runs before ff, on the input.

Which side of ff the extra function sits on decides which coordinate it changes.

6Building a graph from one you know: y=x2y = x^{2} to y=3x2+2y = 3x^{2} + 2

The guide's own illustration is sketching y=3x2+2y = 3x^{2} + 2 from y=x2y = x^{2}. Follow what happens to xx: it is squared, then multiplied by 3, then 2 is added. The transformations come in that order:

  1. A vertical stretch with scale factor 3, giving y=3x2y = 3x^{2}.
  2. A translation by the vector (0,2)(0, 2), giving y=3x2+2y = 3x^{2} + 2.
  • Figure 5 draws both steps and tracks (1,1)(1, 1). The stretch sends it to (1,3)(1, 3), the translation to (1,5)(1, 5).
  • The vertex (0,0)(0, 0) lies on the xx-axis, so the stretch leaves it alone. The translation lifts it to (0,2)(0, 2).
  • A good sketch shows the vertex (0,2)(0, 2), the axis of symmetry x=0x = 0, and a parabola narrower than x2x^{2}, since all the heights have been tripled.
Figure 5 · From y = x² to y = 3x² + 2 (a) stretch: y = 3x² x y −2 −1 1 2 2 4 6 8 (b) then translate up 2: y = 3x² + 2 x y −2 −1 1 2 4 6 8 (1, 1) (1, 3) y = x² y = 3x² (1, 3) (1, 5) (0, 2) y = 3x² + 2 Stretch first, then translate. The point (1, 1) goes to (1, 3) and then to (1, 5).
Figure 5 · From y = x² to y = 3x² + 2

Vertex form is this idea

  • y=a(x−h)2+ky = a(x - h)^{2} + k is y=x2y = x^{2} slid hh right, stretched by ∣a∣|a| (and flipped if a<0a < 0), then slid kk up. That is why the vertex is (h,k)(h, k).
  • Example: take y=5(x+1)2−7y = 5(x + 1)^{2} - 7. The vertex (0,0)(0, 0) goes to (−1,0)(-1, 0), is unmoved by the stretch, and ends at (−1,−7)(-1, -7). Every parabola is one parabola, transformed.

From an expanded quadratic to a sequence. To describe how y=x2y = x^{2} becomes y=3x2−12x+5y = 3x^{2} - 12x + 5, complete the square first:

3x2−12x+5=3(x2−4x)+5take out the 3 from the x terms only=3[(x−2)2−4]+5completing the square inside the bracket=3(x−2)2−7\begin{aligned}3x^{2} - 12x + 5 &= 3\left(x^{2} - 4x\right) + 5 && \textcolor{#838c91}{\text{take out the 3 from the x terms only}} \\[6pt] &= 3\left[(x - 2)^{2} - 4\right] + 5 && \textcolor{#838c91}{\text{completing the square inside the bracket}} \\[6pt] &= 3(x - 2)^{2} - 7\end{aligned}

Now read the production line:

  1. A translation by the vector (2,0)(2, 0).
  2. A vertical stretch with scale factor 3.
  3. A translation by the vector (0,−7)(0, -7).

The vertex goes (0,0)→(2,0)→(2,0)→(2,−7)(0, 0) \to (2, 0) \to (2, 0) \to (2, -7).

One graph, two descriptions. Sometimes two different transformations produce the very same curve. Test a claim by rewriting the equation.

  • y=(5x)2=25x2y = (5x)^{2} = 25x^{2}: a horizontal stretch of y=x2y = x^{2} with scale factor 15\tfrac{1}{5}, or a vertical stretch with scale factor 25.
    • This works because f(5x)=25f(x)f(5x) = 25f(x) happens to hold for x2x^{2}. It fails for f(x)=x2+xf(x) = x^{2} + x, so the two are not interchangeable in general.
  • y=2x+4=16×2xy = 2^{x+4} = 16 \times 2^{x}: a translation by the vector (−4,0)(-4, 0) of y=2xy = 2^{x}, or a vertical stretch with scale factor 16.
  • y=log⁡3(9x)=2+log⁡3xy = \log_{3}(9x) = 2 + \log_{3}x, because log⁡39=2\log_{3}9 = 2: a translation by the vector (0,2)(0, 2) of y=log⁡3xy = \log_{3}x, or a horizontal stretch with scale factor 19\tfrac{1}{9}.
  • When a question names the kinds ("a stretch and a translation"), split the equation into those pieces. Use the laws of logarithms or exponents.
    • Example: y=log⁡2(8x3)=3+3log⁡2xy = \log_{2}(8x^{3}) = 3 + 3\log_{2}x is a vertical stretch with scale factor 3 of y=log⁡2xy = \log_{2}x, then a translation by the vector (0,3)(0, 3).
  • The 3 in the exponent belongs to xx alone, so log⁡2(8x3)\log_{2}(8x^{3}) is not 3log⁡2(8x)3\log_{2}(8x). Translating first would need the vector (0,1)(0, 1), since the stretch triples it.

7Two or more transformations, and when the order matters

A question may give a sequence and ask for the equation, or give the equation and ask for the sequence. One rule covers both:

Vertical changes act in the order they are applied to f(x)f(x). Horizontal changes act on xx. A horizontal change and a vertical change never interfere with one another.

(Two horizontal changes do depend on order. A stretch with scale factor 12\tfrac{1}{2} followed by a shift of 3 right gives f(2(x−3))=f(2x−6)f\big(2(x - 3)\big) = f(2x - 6), while the shift first gives f(2x−3)f(2x - 3). That is the form f(ax+b)f(ax + b), which SL does not ask for and HL meets in 2.16.)

Two vertical changes: order matters

  • Take a vertical stretch by 2 and a translation up 1, starting from y=f(x)y = f(x).
    • Stretch, then translate: f(x)f(x) becomes 2f(x)2f(x), then 2f(x)+12f(x) + 1.
    • Translate, then stretch: f(x)f(x) becomes f(x)+1f(x) + 1, then 2(f(x)+1)=2f(x)+22\big(f(x) + 1\big) = 2f(x) + 2.
  • These are different graphs, because the stretch has also stretched the translation. Figure 6 follows B(−1,2)B(-1, 2): it ends at (−1,5)(-1, 5) one way and (−1,6)(-1, 6) the other.
Figure 6 · The order of two vertical changes matters (a) stretch ×2, then up 1: y = 2f(x) + 1 x y −4 2 4 2 6 (b) up 1, then stretch ×2: y = 2(f(x) + 1) x y −4 2 4 2 6 y = f(x) y = 2f(x) + 1 (−1, 5) y = f(x) y = 2f(x) + 2 (−1, 6) Both start from y = f(x) and B(−1, 2). Stretch-then-add and add-then-stretch end in different places. Written out, (b) is y = 2f(x) + 2: the translation has been stretched too.
Figure 6 · The order of two vertical changes matters
  • A reflection and a translation do not commute either. Start with y=x2y = x^{2}.
    • Reflect, then add 4: 4−x24 - x^{2}. The vertex is at (0,4)(0, 4).
    • Add 4, then reflect: −(x2+4)=−x2−4-(x^{2} + 4) = -x^{2} - 4. The vertex is at (0,−4)(0, -4).

Some pairs can be swapped freely.

  • A stretch and a reflection in the same direction. −2f(x)-2f(x) is both 2(−f(x))2\big(-f(x)\big) and −(2f(x))-\big(2f(x)\big).
  • A horizontal change and a vertical change. In y=3f(x−2)+1y = 3f(x - 2) + 1 the slide of 2 to the right may come first, last or in the middle. Only the stretch by 3 must come before the +1+1.

Worked example 1 · from words to an equation (Paper 1). Let f(x)=x2−6xf(x) = x^{2} - 6x. The graph of ff is translated by the vector (−2,5)(-2, 5) and then stretched vertically with scale factor 3 to give the graph of gg. Find g(x)g(x).

translate by (−2,5): f(x+2)+5left 2 is inside, up 5 is outside=(x+2)2−6(x+2)+5=x2+4x+4−6x−12+5=x2−2x−3\begin{aligned} &\text{translate by } (-2, 5):\ f(x + 2) + 5 && \textcolor{#838c91}{\text{left 2 is inside, up 5 is outside}} \\[6pt] &= (x + 2)^{2} - 6(x + 2) + 5 \\[6pt] &= x^{2} + 4x + 4 - 6x - 12 + 5 \\[6pt] &= x^{2} - 2x - 3\end{aligned}stretch vertically×3: g(x)=3(x2−2x−3)the whole expression is tripled\text{stretch vertically} \times 3:\ g(x) = 3\left(x^{2} - 2x - 3\right) \qquad \textcolor{#838c91}{\text{the whole expression is tripled}}g(x)=3x2−6x−9g(x) = 3x^{2} - 6x - 9

Had the stretch come first, the result would be 3f(x+2)+5=3x2−6x−193f(x + 2) + 5 = 3x^{2} - 6x - 19.

Worked example 2 · from an equation to words. Describe a sequence of transformations that maps y=f(x)y = f(x) onto y=1−12f(x)y = 1 - \tfrac{1}{2}f(x).

Put it in production-line order: y=−12f(x)+1y = -\tfrac{1}{2}f(x) + 1. The outputs are multiplied by −12-\tfrac{1}{2}, then 1 is added. So:

  1. A vertical stretch with scale factor 12\tfrac{1}{2}.
  2. A reflection in the xx-axis (these two in either order).
  3. A translation by the vector (0,1)(0, 1).

Check with the point (6,10)(6, 10) on ff: it goes to (6,5)(6, 5), then (6,−5)(6, -5), then (6,−4)(6, -4). The equation agrees: 1−12×10=−41 - \tfrac{1}{2}\times 10 = -4.

Worked example 3 · image of a point. The point (−6,3)(-6, 3) lies on y=f(x)y = f(x). Find its image on y=3f(x−4)−2y = 3f(x - 4) - 2.

The inside, x−4x - 4, pushes the point 4 to the right, so x=−6x = -6 becomes −2-2. The outside triples the height and then takes off 2: 3×3−2=73 \times 3 - 2 = 7. The image is (−2,7)(-2, 7).

Worked example 4 · back from the image. The point (1,−7)(1, -7) lies on the graph of y=−2f(x+3)+3y = -2f(x + 3) + 3. Find the point on y=f(x)y = f(x) that produced it.

Undo in reverse, outside first. For yy: −2y+3=−7-2y + 3 = -7, so y=5y = 5. For xx: the inside shifted points 3 to the left, so x=1+3=4x = 1 + 3 = 4.

The original is (4,5)(4, 5). Forward check: (4,5)→(4−3, −2×5+3)=(1,−7)(4, 5) \to (4 - 3,\ -2 \times 5 + 3) = (1, -7).

8Asymptotes, intercepts, turning points, domain and range

  • An asymptote is a line the graph approaches, and a transformation carries it exactly as it carries the curve. When you sketch, transform the asymptote first, then draw the curve to hug it.
  • Take y=2xy = 2^{x}, with horizontal asymptote y=0y = 0 and yy-intercept (0,1)(0, 1). Reflect in the xx-axis to get y=−2xy = -2^{x}. The asymptote y=0y = 0 lies on the mirror and stays, and (0,1)(0, 1) becomes (0,−1)(0, -1).
  • Now translate by the vector (1,3)(1, 3) to get y=−2x−1+3y = -2^{x-1} + 3. Figure 7 draws both stages.
Figure 7 · The asymptote is transformed with the curve (a) y = 2ˣ and y = −2ˣ x y 2 −4 −2 2 4 (b) y = −2ˣ⁻¹ + 3 x y 2 −4 −2 4 (0, 1) (0, −1) y = 2ˣ y = −2ˣ both approach y = 0 y = −2ˣ, from (a) asymptote y = 3 (0, 2.5) (2.58, 0) (a) y = 2ˣ reflected in the x-axis. (b) Then translated 1 right and 3 up: y = 3 − 2ˣ⁻¹.
Figure 7 · The asymptote is transformed with the curve
  • The horizontal asymptote rises 3, to y=3y = 3. Sliding a horizontal line sideways changes nothing.
  • The yy-intercept does not come from moving (0,−1)(0, -1), because that point goes to (1,2)(1, 2), which is off the yy-axis. Get the new intercept from the new equation: at x=0x = 0, y=−2−1+3=y = -2^{-1} + 3 = 2.52.5.
  • The xx-intercept: −2x−1+3=0-2^{x-1} + 3 = 0 gives 2x−1=32^{x-1} = 3, so x=1+log⁡23=log⁡26≈x = 1 + \log_{2} 3 = \log_{2} 6 \approx 2.582.58.

That second bullet is the trap. Transformations carry points to points, but an intercept is defined by an axis, and the axes do not move.

  • Turning points are carried faithfully. A local maximum of ff at (−1,2)(-1, 2) becomes a local maximum of f(x−3)+2f(x - 3) + 2 at (2,4)(2, 4), and a local minimum of −f(x)-f(x) at (−1,−2)(-1, -2). A reflection in the xx-axis swaps maxima and minima.
  • The same thinking handles rational functions (2.8). y=4x−3−2y = \dfrac{4}{x - 3} - 2 is y=1xy = \tfrac{1}{x} stretched vertically by 4 and translated by (3,−2)(3, -2). So its asymptotes are x=3x = 3 and y=−2y = -2: the two axes, carried along.

Domain, range and end points

  • If a graph stops, its end points are carried like any other point. Inside changes act on the domain. Outside changes act on the range.
  • Let ff have domain −3≤x≤5-3 \le x \le 5 and range 2≤y≤82 \le y \le 8.
    • g(x)=12f(x+1)−4g(x) = \tfrac{1}{2}f(x + 1) - 4: the bracket needs −3≤x+1≤5-3 \le x + 1 \le 5, so the domain is −4≤x≤4-4 \le x \le 4. The range is 12(2)−4≤y≤12(8)−4\tfrac{1}{2}(2) - 4 \le y \le \tfrac{1}{2}(8) - 4, which is −3≤y≤0-3 \le y \le 0.
    • f(x2)f\left(\tfrac{x}{2}\right): −3≤x2≤5-3 \le \tfrac{x}{2} \le 5, so the domain is −6≤x≤10-6 \le x \le 10; the range is unchanged.
    • f(−x)f(-x): −3≤−x≤5-3 \le -x \le 5, so the domain is −5≤x≤3-5 \le x \le 3. And −f(x)-f(x) has range −8≤y≤−2-8 \le y \le -2. A reflection or a negative factor reverses the order of the ends.

To sketch a transformed graph from a given one:

  • Carry the end points, turning points and intercepts across first.
  • Keep straight pieces straight and curves the same shape.
  • Mark the end points.

The domain of the image is a separate thing to get right.

9With technology

  • A dynamic graphing package with a slider for each of aa, bb, pp and qq shows every rule on this page in seconds. Use it to learn them.
  • On Paper 2, you can plot ff and the new function together to check where the key points went. Or use the GDC once to find a feature of ff, such as a turning point, and transform it.
    • That second route is what a "hence" question wants (Q5).

Practice questions

34 questions on this note, from easy to hard. Each one you get right lights a star of this topic's constellation.