# Function Translations

A function has been “translated” when it has been moved in a way that does not change its shape or rotate it in any way. Imagine a graph that has been drawn on tracing paper that was loosely lain over a printed set of axes. If you move the tracing paper left, right, up, or down some distance, without rotating it in any way, you are “translating” the graph.

It is very useful to be able to interpret a function as a translation of a “parent function”. Understanding the behavior of

is much easier once you have learned to perceive this as the graph of

shifted right by 3, and up by 1.

This approach provides a whole new way to perceive most functions, and makes complex-looking equations much easier to interpret.

### Vertical Translation

Consider the graph of

This line passes through the origin and has a slope of two.

What happens to this graph if the equation is changed by adding a three to it?

Note that we could write the second function in terms of the first:

which shows that every point on a graph of g(x) is exactly 3 higher than the corresponding point on f(x). So, adding the “+3″ at the end of the original “rule for finding f(x)” caused the entire function to be translated vertically by a positive three.

This process works for any function:

thus is translated vertically by +3.

Another example:

thus is translated vertically by -10.

Another example:

thus is translated vertically by k

### Horizontal Translation

Once again,consider the graph of

This line passes through the origin and has a slope of two.

What happens to this graph if the equation is changed by replacing every “x” in the equation by (x-4):

Consider one point on the graph of . Since we are examining horizontal translations, let’s figure out what value of “x” will cause to have the same result that had at 1:

So, . The point (1,2) on the graph of , along with all other points from , has been shifted horizontally by +4.

But why has it been shifted right (by +4) when an “x-4″ was substituted for each “x”?

The statement

from above relates the locations of the two functions. It tells us that will have the same result as when the input to is 4 less than (to the *left* of) the input to . If is to the *left* of , then must have been moved to the *right*.

If you prefer a procedural approach to finding the direction of a horizontal translation, solve the transformation expression for zero:

and the result will always give your the magnitude and direction of the translation (see Keep Your Eye On The Variable).

This process works for any function:

thus is translated horizontally by -3.

Another example:

thus is translated horizontally by +10.

Another example:

thus is translated horizontally by -5. Note that every instance of “x” in must be changed to (x+5) for to represent a horizontal translation of by -5. The notation represents this idea very compactly and elegantly, but don’t forget to substitute (x+5) in for **every** instance of “x” in .

thus is translated horizontally by -k

### Reconciling Horizontal And Vertical Translations

If all of the above has made sense so far, you may have noticed translated the function in a positive vertical direction, yet translates the function in a negative horizontal direction. This difference in sign was a source of many errors in my work until I realized I could reconcile this difference by treating both independent and dependent variables in the same manner.

Consider

If I subtract the 7 from both sides, it becomes:

Since every instance of occurs as a , and every instance of “x” occurs as “(x+5)”, you may treat “x” and as having both been translated from a parent function, and you may analyze them both in exactly the same manner:

- what value of makes ? Positive 7. So the translation in the direction is positive 7.

- what value of “x” makes (x+5)=0? Negative 5. So there is a translation in the “x” direction of negative 5.

Therefore, the function shown above represents a translation of the “parent function”

by -5 horizontally and +7 vertically.

### Equivalent Translations

In mathematics, it is often possible to produce the same end result in different ways. When working with linear equations, the same translation can be achieved as follows:

Note that both the horizontal and vertical translations above produced the same final equation when simplified: x+3. If you imagine the graph of f(x), which will be line with a slope of one that passes through the origin, then move the line up 3, note that this translation will also shift the x-intercept left to -3.

Similarly, if you start with the graph of f(x) again, but shift the graph left by 3, note that the y-intercept moves up to +3. This shows that, in the case of lines, the same end result (a vertical translation by 3 in this case) can be achieved by either a horizontal translation, a vertical translation, or a combination of one translation in each direction: left 2 and up 1, left 4 and down 1, right 2 and up 5, etc.

If the slope of the line were not one, things would get a bit more interesting, as different translation magnitudes would be required – depending on the direction:

In this example, where the line has a slope of 2, a vertical translation must have the opposite sign and twice the magnitude of a horizontal translation to have the same effect.

Interesting timing. I was reading about transformation of axes and matrix multiplication in Lillian R. Lieber’s book on Lattice Theory last night.