# Function Transformations: Translation

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. Such changes are a subset of the possible “transformations” of a function, and can be accomplished through vertical translation, horizontal translation, or both.

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 if you think of it as the graph of a simpler looking function that you should already be very familiar with

shifted right by 3, and up by 1.

This approach helps us understand the behavior ofmany functions, and makes complex-looking equations much easier to interpret.

### Vertical Translation

Consider the graph of

The line that this describes passes through the origin and has a slope of two.

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

Note that this new function can be described in terms of the first:

which shows that the y-coordinate of every point on the graph of g(x) is exactly 3 higher than the corresponding point on f(x). Adding the “+3″ to 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

Consider the same function described at the beginning of the V*ertical Translation* section:

This equation describes a line that passes through the origin, and has a slope of two.

What happens to the 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* (y-coordinate) that had at x=1:

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

But why has it been shifted right (by +4) when an “x-4″ was substituted for each “x”? Our eyes are easily drawn to the “- 4″, and it is very tempting to assume that it describes the direction of the translation just as it did with vertical translations above.

The statement

from above relates 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* of the “parent function”.

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 a horizontal translation of by -3.

Another example:

thus is a horizontal translation of by +10.

Another example:

thus is a horizontal translation of 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 describes this idea very compactly and elegantly, but don’t forget to substitute (x+5) in for **every** instance of “x” in .

One last example:

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 , you may treat “x” and as having both been translated relative to 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 ? Negative 5. So there is a translation in the “x” direction of negative 5.

Therefore, the function shown above describes two translations of a “parent function” :

One translation is by -5 horizontally (in the “x” direction) and the other by +7 vertically (in the direction).

### Equivalent Translations

In mathematics, it is often (but not always) 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: . If you imagine the graph of f(x), which will be a 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. This makes sense once you also know how to analyze function dilations.

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