AP Precalculus · Topic 3.6 · Reading guide, about 5 min

Transforming sinusoidal graphs

Read amplitude, period, phase shift and midline from a sinusoid equation, handle reflections, then sketch and write equations.

In one minute

Every sinusoid is a sine or cosine graph that has been stretched, shifted or flipped. The general form f(θ)=asin⁡(b(θ+c))+df(\theta)=a\sin(b(\theta+c))+d packs four separate changes into four letters, and each letter controls one visible feature of the graph.

If you can match each letter to its feature, you can sketch a graph from an equation and write an equation from a graph. Both directions are routine tasks in this unit, and the same reasoning carries into modeling in 3.7.

Key terms

Sinusoidal function
A function whose graph is a sine or cosine curve after stretching, shifting or reflecting. All such functions fit asin⁡(b(θ+c))+da\sin(b(\theta+c))+d.
Amplitude
Half the distance from the maximum to the minimum. In the general form it equals ∣a∣|a|, always nonnegative.
Period
The length of one full cycle along the input axis. For this form it is 2π∣b∣\frac{2\pi}{|b|}.
Midline
The horizontal line y=dy=d halfway between the maximum and minimum values.
Phase shift
The horizontal shift of the graph. In b(θ+c)b(\theta+c) the shift is cc units to the left, so a negative cc moves the graph right.
Reflection
A flip of the graph. A negative aa flips it across the midline, which changes whether the curve starts by rising or falling but not the amplitude. A negative bb flips it horizontally (across the vertical axis when c=0c=0).
Vertical shift
Moving the whole graph up or down by dd, which moves the midline, the maximum and the minimum together.
Key points
The five points that divide one cycle into quarters: start, first quarter, midpoint, third quarter and end. Plot these to sketch a cycle.

What each letter does

Start with the parent curve y=sin⁡θy=\sin\theta. Its midline is y=0y=0, its amplitude is 1, its period is 2π2\pi, and it rises through the origin. Every parameter changes one of these facts.

The vertical stretch aa multiplies every output. The maximum becomes d+∣a∣d+|a| and the minimum becomes d−∣a∣d-|a|, so the amplitude is ∣a∣|a|. If aa is negative, the graph is reflected across the midline, so a sine curve starts by falling instead of rising.

The horizontal stretch bb squeezes or widens the cycle. A larger ∣b∣|b| fits more cycles into the same interval, so the period shrinks to 2π∣b∣\frac{2\pi}{|b|}. Notice that bb multiplies the input, so its effect on the period is inverted: doubling bb halves the period.

If bb is negative, the input is reversed, so the graph is reflected horizontally. For sine this has the same effect as a negative aa, because sin⁡(−x)=−sin⁡x\sin(-x)=-\sin x. For cosine it changes nothing, because cos⁡(−x)=cos⁡x\cos(-x)=\cos x. This is why the period uses ∣b∣|b|, and why it is usual to rewrite the equation with a positive bb first.

The phase shift cc and the vertical shift dd slide the curve. The shift applies to the input before the sine acts, so θ+c\theta+c moves the graph left by cc. The dd lifts the graph by dd with no surprise.

Matching each parameter to a graph feature
ParameterFeature it controlsHow to read it
aaAmplitude and reflectionAmplitude is ∣a∣|a|; negative aa flips the graph
bbPeriodPeriod is 2π∣b∣\frac{2\pi}{|b|}; a negative bb reflects the graph horizontally
ccPhase shiftLeft by cc (right if cc is negative)
ddMidlineMidline y=dy=d; max d+∣a∣d+|a|, min d−∣a∣d-|a|

Worked example: sketching from an equation

Take f(θ)=3sin⁡ ⁣(2(θ−π4))+1f(\theta)=3\sin\!\big(2(\theta-\tfrac{\pi}{4})\big)+1. Read the letters: a=3a=3, b=2b=2, c=−π4c=-\tfrac{\pi}{4}, d=1d=1.

Step 1: the amplitude is 3 and the midline is y=1y=1, so the maximum is 1+3=41+3=4 and the minimum is 1−3=−21-3=-2.

Step 2: the period is 2π2=π\frac{2\pi}{2}=\pi. One quarter of the period is π4\frac{\pi}{4}.

Step 3: the shift is π4\frac{\pi}{4} to the right, so the cycle begins at θ=π4\theta=\frac{\pi}{4} on the midline and rises. The key points are then θ=π4\theta=\frac{\pi}{4} (value 1), π2\frac{\pi}{2} (value 4), 3π4\frac{3\pi}{4} (value 1), π\pi (value −2-2) and 5π4\frac{5\pi}{4} (value 1).

Check one point: at θ=π\theta=\pi, the inside is 2(π−π4)=3π22(\pi-\frac{\pi}{4})=\frac{3\pi}{2}, and sin⁡3π2=−1\sin\frac{3\pi}{2}=-1, so f=3(−1)+1=−2f=3(-1)+1=-2. This matches the key point listed in Step 3.

Writing an equation from a graph

Work in this order: midline, amplitude, period, then the starting point. The midline is the average of the maximum and minimum, and the amplitude is half their difference.

Suppose a graph has a maximum of 5 at θ=π3\theta=\frac{\pi}{3}, a minimum of −1-1, and the next maximum at θ=4π3\theta=\frac{4\pi}{3}. Then d=5+(−1)2=2d=\frac{5+(-1)}{2}=2 and a=5−(−1)2=3a=\frac{5-(-1)}{2}=3. The distance between maxima is π\pi, so the period is π\pi and b=2ππ=2b=\frac{2\pi}{\pi}=2.

A cosine curve starts at its maximum, so a cosine model needs a shift of π3\frac{\pi}{3} to the right: f(θ)=3cos⁡ ⁣(2(θ−π3))+2f(\theta)=3\cos\!\big(2(\theta-\tfrac{\pi}{3})\big)+2. Check: at θ=π3\theta=\frac{\pi}{3} the cosine factor is cos⁡0=1\cos 0=1, giving 3+2=53+2=5. A sine form is also correct, with a different shift. Any shift that lands on a matching point of the cycle works, so several equations can describe the same graph.

If the graph falls where you expected a rise, use a negative aa or a shift of half a period. Both describe the same curve.

How it connects

  • Back to 3.4: the parent shape and its key points are the starting skeleton you transform here.
  • Back to 3.5: period, amplitude, midline and phase shift were introduced and read from graphs and equations; this topic gathers all four into one general form, adds reflections, and uses them to sketch graphs and write equations.
  • Forward to 3.7: modeling data means finding aa, bb, cc and dd from context instead of from a picture.
  • Forward to 3.8: tangent graphs transform with the same letters, but the period rule changes to π∣b∣\frac{\pi}{|b|}.

Common mistakes

  • Reading the phase shift from an unfactored form. In sin⁡(2θ−π)\sin(2\theta-\pi) the shift is not π\pi. Factor out bb first: sin⁡(2(θ−π2))\sin(2(\theta-\frac{\pi}{2})), so the shift is π2\frac{\pi}{2} to the right.
  • Getting the direction wrong. θ+c\theta+c shifts left; θ−c\theta-c shifts right. The sign inside is the opposite of the direction you might guess.
  • **Using bb as the period.** The period is 2π∣b∣\frac{2\pi}{|b|}, not bb. A larger bb gives a shorter period.
  • Calling the amplitude negative. Amplitude is a distance, so it is ∣a∣|a|. The sign of aa tells you about reflection only.

How it shows up on the exam

  • Given an equation, identify the amplitude, period, midline or phase shift, or find the maximum and minimum values.
  • Given a graph or a table of key points, write an equation in sine or cosine form, often with a calculator-free setup.
  • Describe in words how one sinusoid compares to another, for example which transformation turns one graph into the other.
  • Short written justification of why two different-looking equations produce the same graph.

Check yourself

  1. For g(θ)=−2cos⁡(3θ)+4g(\theta)=-2\cos(3\theta)+4, what are the maximum, minimum, period and starting value at θ=0\theta=0?
  2. How do you turn sin⁡(4θ−π)\sin(4\theta-\pi) into the form sin⁡(b(θ+c))\sin(b(\theta+c)), and what shift results?
  3. Why can two different equations draw exactly the same graph?
  4. If you double bb and keep everything else, what happens to the graph?

Practice this topic. AP Practice questions on exactly what this lesson covers, with an explanation for every answer.