Let’s consider the function . Using what we study in MTH 111 about graph transformations, it should be apparent that the graph of can be obtained by transforming the graph of . (To confirm this, notice that can be expressed in terms of as .) Since the constants “” and “” are multiplied by and subtracted from the input variable, , what we study in MTH 111 tells us that these constants represent a horizontal stretch/compression and a horizontal shift, respectively.
It is often recommended in MTH 111 that we factor-out the horizontal stretching/compressing factor before transforming the graph, i.e., it’s often recommended that we first re-write as .
The advantage of this method is that the -intercept of ,, ends-up exactly where the horizontal shift suggests: when we compress the graph by a factor of , the the -interceot of the graph doesn’t move since ; then, when we shift the graph units to the right, the point ends up at ; so the -intercept ends up moving units to the right, exactly how far we shifted.
Compare this with the alternative method: we can leave as-is and skip factoring-out the horizontal stretching/compressing factor, but then we need the following sequence to transform into the graph of :
The disadvantage of this method is that the -intercept of doesn’t end-up where the horizontal shift suggests: when we shift the graph of to the right by units, the -intercept moves from to ; then, when we compress the graph by a factor of , it moves to , so the -intercept doesn’t end up shifted units to the right.
Figure 2.3.1 shows the graphs of and . Notice that the behavior of at is like the behavior of at , i.e., appears to have been shifted units to the right. For this reason, is called the horzontal shift of .
The constant is given a different name, phase shift, since it can be used to determine how far “out-of-phase” a sinusoidal function is in comparison with or . To determine how far out-of-phase a sinusoidal function is, we can determine the ratio of the phase shift and . (We use because it’s the period of and .) Since is the phase shift for , the graph of is out-of-phase of a period. (Since this number is positive, it represents a horizontal shift to the right of a period.)
Given a sinusoidal function of the form or , the phase shift is and represents the fraction of a period that the graph has been shifted (shift to the right if is positive or to the left if is negative).
Identify the phase shift and horizontal shift of .
Solution.
The phase shift of is . This tells us that the graph of is out of phase of a period, i.e., compared with , the graph of has been shifted one-eighth of a period to the right.
To find the horizontal shift, we need to factor-out from .
So the horizontal shift is . This tells us, that compared with , the graph of has been shifted to the right.
Notice that the period of is , and one-eighth of is , so a shift of one-eighth of a period is the same as a shift of units!