We modify output of a function in a couple of ways through arithmetic operations like addition, subtraction, multiplication, division and negation. These operations are similar to the one that we use to modify independent variable. The general symbolic representation for modification to output of a function is represented as :
These changes are called external or post-composition modifications. These modifications compliment modifications by input, but in slightly different manner. In the case of modification to output, all effects take place in y-direction i.e. vertical direction as against horizontal transformation arising from modifications affected to input. Second, these transformations are in the direction of operation on output. For example, if we multiply output by a positive constant greater than 1, then graph of core function is stretched along y-axis. This means change in the output is reflected in the same direction in which operation takes place.
In order to understand this type of transformation, we need to explore how output of the function changes as we add constant value to the output. If we add 1 unit to the function, then each value of function is incremented by 1 unit. It is a straight forward situation. In notation, we would say that the graph of “f(x) + 1” is same as the graph of f(x), which has been moved up by 1 unit. Alternatively, we can also describe this transformation by saying that vertical reference of measurement i.e. x-axis has moved down by 1 unit.
| Shifting of graph parallel to y-axis |
|---|
![]() |
Similarly, if we subtract 1 unit from the function, then each value of function is decremented by 1 unit. In notation, we would say that the graph of “f(x) - 1” is same as the graph of f(x), which has been moved down by 1 unit. Alternatively, we can also describe this transformation by saying that vertical reference of measurement i.e. x-axis has moved up by 1 unit. We conclude :
The plot of y=f(x) + |a|; |a|>0 is the plot of y=f(x) shifted up by unit “a”.
The plot of y=f(x) - |a|; |a|>0 is the plot of y=f(x) shifted down by unit “a”.
We use these facts to draw plot of transformed function f(x±|a|) by shifting plot f(x) by unit “|a|” along y-axis. Each point forming the plot is shifted parallel to x-axis. In the figure below, the plot depicts modulus function y=|x|. It is shifted “1” unit up and the function representing shifted plot is y=|x|+1. Note that corner of plot at x=0 is also shifted by 1 unit along y-axis. Further, the plot is shifted “2” units down and the function representing shifted plot is |x|-2. In this case, corner of plot is shifted by 2 units down along y-axis.
| Shifting of graph parallel to y-axis |
|---|
![]() |
Multiplication and division scales core graph in accordance with the operation. Scaling, however, is limited to vertical i.e. y-direction. This means modification due to either of these two arithmetic operations has no scaling impact in x-direction. If we multiply output of the function by a positive constant greater than 1, then graph of core function is stretched vertically by the factor, which is equal to the constant being multiplied. The magnification of graph i.e. stretching in y-direction is more noticeable in non-linear graphs like sine and cosine graphs, whose values are bounded in the interval [-1,1]. Let us consider function,
| Scaling of graph |
|---|
![]() |
The amplitude of function "4sinx" is 4 times that of core graph "sinx". In the same fashion, a division by a positive constant greater than 1 results in shrinking of core graph by the factor, which is equal to constant being multiplies. Let us consider division of function :
The amplitude of the graph "sinx" changes from 1 to 1/2 in the graph of "1/2 sinx".
What would happen if we negate output of a function? Answer is easy. All positive values will turn negative and all negative values will turn positive. It means that graph of core function which is being negated will be swapped across x-axis in the transformation. The graph of “f(-x)”, therefore, is mirror image in x-axis. In other words, we would need to flip the graph f(x) across x-axis to draw graph “-f(x)”.
| Changing sign of the graph |
|---|
![]() |
Problem :
Draw graph of
Solution : We simplify given function as :
Here, core function is
| Changing sign of the graph |
|---|
![]() |
Certain functions are derived from core function as a result of multiple arithmetic operations on the output of core function. Consider an example :
We can consider this as a function composition which is based on sine function f(x) = sinx as core function. Here, sequence of operations on the function is important. Difference in interpreting input and output composition is that input composition is evaluated such that defining input transitions are valid. This results in a order of evaluation which gives precedence to addition/subtraction over multiplication/division. This evaluation order is clearly opposite to normal composition order of arithmetic operations in which multiplication/division is given precedence over addition/subtraction. We, therefore, say that decomposition of function for input operation is opposite to that of composition order. In the case of output operation, however, composition order of arithmetic operations is maintained during decomposition. It is logical also. After all, we are operating on a value – not something that goes into function to generate values in accordance with function rule as is the case with independent variable. It is, therefore, expected that we carry out arithmetic operations on the function just the way we evaluate algebraic expressions. In the nutshell, we shall give precedence to multiplication/division over addition/subtraction. In the example abvoe, we subtract "-1" to "-2sinx" - not to core function "sinx".
Keeping above in mind, the correct sequence of operation for graphing is :
(i) 2f(x) i.e. multiply function f(x) by 2 i.e. stretch the graph vertically by 2.
(ii) -2f(x) i.e. negate function f(x) i.e. flip the graph across x-axis.
(iii) -2f(x) – 1 i.e. subtract 1 from -2f(x) i.e. shift the graph down by 1 units.
| Changing sign of the graph |
|---|
![]() |
The combined input and output operation is symbolically represented as :
Problem :
Draw
Solution : We rewrite the function :
In order to plot this function, we plot the graph of core function
In this case, plot intersects x-axis at x=1. Now, the plot of
The plot of
| Shifting of logarithmic graph parallel to y-axis |
|---|
![]() |
There is yet another alternative to obtain graph of transformed function by shifting axes themselves instead of plot. In the case of shifting either in x or y direction, the operation of shifting graph is equivalent to shifting of axis. Therefore, transformation involving shifting can be affected by shifting axes in opposite directions to that required for the graph. In the example case, we need to move y-axis by 2 units towards left and move x-axis by 1 unit downwards.
| Shifting of graph |
|---|
![]() |
Problem :
Draw the plot
Solution : We know that :
Here, core graph is
| Graph of squared cosine |
|---|
![]() |
Author wishes to thank Ms. Aditi Singh, New Delhi for her editorial suggestions.