First, rewrite the problem as y=2sin(3x−π2)+12
This is of the form y=Asin(Bx−C)+D where
A= the amplitude
2πB= the period
CB= the phase shift
D= the vertical shift
In this example, the amplitude A=2. Amplitude is the vertical distance from the "midline" to the max or min. It is not the the distance from max to min.
Period =2πB=2π3. One complete cycle of the sin graph will be 2π3 horizontal units wide.
Phase shift =CB=π23=π6 The graph will be shifted π6 units to the right.
Vertical shift D=12 units up.
Let's look at each transformation of the graph. First y=sinx
Next, change the amplitude to 2
Now change the period from 2π to 2π3
Next, add a phase shift of π6 to the right. The red graph has the phase shift. The blue is without the phase shift.
Lastly, add a vertical shift of 12 units up.