Translating graphs of functions

 The following examples all use this graph as the given y=f(x)

fx

Reflection in the  x- axis  gives y=-f(x)

This has the effect of making the y co-ordinate the negative of whatever it was.

103

Example

ifx

 

coo

gen

 

Note that the x co-ordinate is untouched.

 

Reflection  in the  y- axis gives y=f(-x)

This has the effect of making the x co-ordinate the negative of whatever it was.

104

Example

f(-x)

f(-x)

 

f-x

Note that the y co-ordinate is untouched.

 

Translate in the x direction to get y=f(x±c)

This has the effect of shifting the entire graph horizontally left or right.

105

Remember to go the opposite way to the sign,
so for (x - c) go right c spaces
f9x+c)

 

and for (x + c) go left c spaces.
x-c

Note that the y co-ordinate is untouched.

Example

x+c

 

x+2

Example

x-2

 

f(x-2)coo

 

 

 

Translate in the y direction to get y=f(x) ± d

This has the effect of shifting the entire graph vertically up or down.

106

If y=f(x) + d go up d spaces
cup

y=f(x) - d go down d spaces.
cdown

Note that the x co-ordinate is untouched.

Example

xup

 

xupcod

 

Scale in the x direction to get y=f(bx) or y=f(x/b)

This has the effect of squashing the graph horizontally when b > 1 and stretching it horizontally when b< 1.

107

If y = f(bx) divide the x cordinate by b.
coo

 

If y=(x/b) multiply the x co-ordinate by b.
bx

 

Note that the y co-ordinate is untouched.

Example

scale up

 

cordy

Example

fat

fatco

 

Scale in the y direction to get y=af(x) or y=f(x)/a

This has the effect of stretching the graph vertically when a > 1 and squashing it vertically when a < 1.

108

If y = af(x) multiply the y cordinate by a.

afx

 

If y = (x/a) divide the y co-ordinate by a.

diva

Note that the x co-ordinate is untouched.

 

Example

3fx

3fxc

 

Example

fxdiv2

fxdiv2c

 

Putting it all together

121

b5

Apply in order c , b , a and finally d

so

  1. Shift horizontally C units
  2. Squeeze horizontally b units
  3. Stretch vertically a units
  4. translate vertically d units

 

Example

Given y = f(x) as above , draw the graph y = 3f(2x-2) +4

 

Comparing the graph with the general form

110

Order of translations

  1. c = -2 , so shift graph right 2 units
  2. b = 2 , so divide x co-ords by 2
  3. a = 3 , so multiply the y co-ordinates by 3
  4. d= 4 , so shift the whole graph up 4 spaces

Taking point ( 0 , - 4)

rt1

 

Point ( 1,0)

rt2

 

Point (3 , - 4)

rt3

 

 

 

complete

 

 

 

Working backwards

Given a translated function,

b5

work backwards to get the original y = f(x)

Instead of applying in order c , b , a ,d
apply in order d, a, b, c but backwards

  1. translate vertically d units
  2. Stretch vertically a units
  3. Squeeze horizontally b units
  4. Shift horizontally C units

Example

The points (0 , -3 ) and ( 1, 6 ) lie on the graph with equation
y = 1/2f(3x + 2 ) -2 .

Find their corresponding original co-ordinates on the graph y = f(x)

 

back

bc1

 

Point (0 , - 3)

back22

 

Point (1 ,6)

back33

 

The original point (5 , 16 ) has been translated to ( 1, 6)

and original point ( 2 ,-2) has been translated to ( 0 , -3 )

 

Reflect in the line y=x to get the inverse,

        if it exists

Note that the values of the x and y co-ordinates are swapped, since y = x

Example

inverse

Keep it all positive

y=│f(x)│

The entire graph is above the y-axis

Example

modulus

 

© Alexander Forrest