One can transform simple functions, such as our library functions, to obtain a wide variety of more complicated functions. The following list describes each transformation and explains the effect the transformation has on the shape (or position) of the graph of the original function.
A function \(f\) can be shifted (or translated) vertically by adding or subtracting a number from the entire function. Adding a number shifts the function upward (because you are adding to the \(y\)-values that come out of \(f\)). Subtracting a number shifts the function downward (because you are taking away from the \(y\)-values that come out of \(f\)).
Shifting Horizontally
A function \(f\) can be shifted horizontally by adding or subtracting a constant from the input \(x\).
Adding a number to the input \(x\) can be thought of as “making the graph start earlier.” Subtracting a number from the input \(x\) can be thought of as “making the graph start later.”
Reflecting Vertically (over the \(x\)-axis)
A function \(f\) can be reflected/flipped over the \(x\)-axis simply by multiplying \(f\) by a negative number (usually by -1).
Algebraically, this negative out in front has the effect of making every positive \(y\)-value output of \(f\) negative, and every negative output \(y\)-value positive.
Horizontal Reflection (over the \(y\)-axis)
A function \(f\) can be reflected/flipped over the \(y\)-axis simply by multiplying the input \(x\) inside the function by a negative number.
This takes all positive inputs and makes them negative and all negative inputs and makes them positive, effectively flipping the graph horizontally.
Scaling Vertically
A function can be scaled vertically by multiplying the function by a constant.
The graph of function \(f\) will be stretched vertically if \(f\) is being multiplied by a number \(>1\). (See blue function compared to green at left)
The graph of \(f\) will be compressed vertically if \(f\) is being multiplied by a positive number \(<1\). (See red function compared to green at left)
Multiplying a function by a scalar number has the algebraic effect of amplifying the \(y\)-values that come out of the function, multiplying them by a certain amount, either making the function “quieter” or “louder” depending on the number.
Scaling Horizontally
A function \(f\) can be scaled horizontally by multiplying the input \(x\)-values by a scalar prior to applying the rule for \(f\).
Multiplying \(x\) by a number greater than 1 has the effect of making inputs bigger, and thus compressing the graph horizontally. (see blue graph compared to green)
Multiplying \(x\) by a number less than 1 makes inputs smaller, effectively stretching out the graph horizontally. (See red graph compared to green)
A variety of transformations can be applied to any function to yield a new function. For instance, a given function such as \(f(x)=(x-3)^2+4\) is nothing more than \(x^2\) shifted to the right by 3 and then up by 4. To correctly identify what happens to the graph of a function after the transformations have been applied, it is best to use the following “Order of Operations”
Library function: \(f(x)=x^2\)
Transformations:
Solution:
Library function: \(f(x)=x^3\)
Transformations applied:
Solution:
Library Function: \(f(x)=|x|\)
Transformations:
Library Function: \(f(x)=\frac{1}{x}\)
Transformations applied:
Library Function: \(f(x)=x\)
Transformations applied:
Library Function: \(f(x)=\sqrt{x}\)
Transformations applied:
Library Function: \(f(x)=|x|\)
Transformations applied:
Library Function: \(f(x)=x^2\)
Transformations Applied:
Library Function:\(f(x)=\sqrt{x}\)
Transformations Applied:
Library Function: \(f(x)=x^2\)
Transformations Applied:
Library Function: \(f(x)=|x|\)
Transformations applied:
Library Function: \(f(x)=x^2\)
Transformations applied:
Library Function: \(f(x)=x^3\)
Transformations Applied:
Library Function: \(f(x)=\frac{1}{x}\)
Transformations applied: