Back to homeMathematics · AP Precalculus · Change subject
Start for free
Sinusoidal Functions · Periodic and Sinusoidal Functions

Sinusoidal Functions and Their Transformations

Practise this section (12)

Picture a Ferris wheel at a pier on Lake Michigan. The lowest point of the wheel is 10 ft above the ground, the highest point is 150 ft, and one full turn takes 12 minutes. You board at the bottom. How could you write a formula for your height $t$ minutes later? By the end of this page, you will be able to:

  • find the amplitude, period, phase shift, and midline from a formula;

  • write a formula for a sinusoidal function from its graph or from a maximum and the next minimum;

  • use the graph to describe rates of change and concavity;

  • solve equations such as $f(x) = k$ on a given interval.

The Sine and Cosine Graphs

Sine and cosine are the parent functions. Every other sinusoidal function on this page is one of these two graphs stretched, flipped, or slid around. In AP Precalculus, a sinusoidal function is exactly that: a transformation of $\sin\theta$ or $\cos\theta$.

Throughout this page the input $\theta$ is in radians. If you use a calculator, switch it to radian mode.

Both parent functions have the same basic facts:

  • The domain is all real numbers and the range is $[-1, 1]$.

  • The midline is $y = 0$ and the amplitude is $1$.

  • The pattern repeats every $2\pi$, so the period is $2\pi$.

Five key points per cycle are enough to sketch either graph:

$\theta$ $0$ $\pi/2$ $\pi$ $3\pi/2$ $2\pi$
$\sin\theta$ $0$ $1$ $0$ $-1$ $0$
$\cos\theta$ $1$ $0$ $-1$ $0$ $1$
One cycle of y = sin θ from 0 to 2π: the five key points sit on the midline y = 0 at 0, π and 2π, at the maximum 1 at π/2, and at the minimum −1 at 3π/2. midline y = 0 max 1 min −1 0 π/2 π 3π/2 2π One cycle of y = sin θ from 0 to 2π: the five key points sit on the midline y = 0 at 0, π and 2π, at the maximum 1 at π/2, and at the minimum −1 at 3π/2.

Cosine is the same wave, but it starts at its maximum instead of on the midline.

How fast does it change?

The rate of change of a function is how steep its graph is. Look at the sine curve above. Near the midline crossings the graph is steep. At the maximum and minimum it is momentarily flat.

Why? Going from the minimum to the maximum, the graph must climb the full height. The steepest part of that climb is the middle, and the graph is flat at the top and bottom where it turns around.

Unsure about the theory?Ask about anything you don't understand in this section and the AI will explain it using these notes.
Practice★☆☆Not started
Consider $h(\theta)=\sin\theta$ on the interval $[0,2\pi]$. At which values of $\theta$ is $h$ increasing at its greatest rate? At which value of $\theta$ is it…

Consider $h(\theta)=\sin\theta$ on the interval $[0,2\pi]$. At which values of $\theta$ is $h$ increasing at its greatest rate? At which value of $\theta$ is it decreasing at its greatest rate? Use the graph of the sine function to explain.

Solve

Amplitude and Midline

The Ferris wheel: your height swings between a low and a high value. The midline is the height halfway between them, and the amplitude is how far you swing above or below that halfway height.

In the formula $f(\theta) = a\sin\theta + d$ these two features are read off directly:

  • $d$ is the vertical shift. The midline is $y = d$.

  • $|a|$ is the amplitude. The maximum is $d + |a|$ and the minimum is $d - |a|$.

  • If $a < 0$, the graph is reflected over the midline. It is still a sine wave, but it dips first instead of rising.

Try the sliders. Watch how $a$ changes the height of the waves and $d$ moves the whole graph.

Unsure about the theory?Ask about anything you don't understand in this section and the AI will explain it using these notes.
Practice★☆☆Not started
A sinusoidal function has a maximum value of 10 and a minimum value of 2. Find the equation of its midline and its amplitude.

A sinusoidal function has a maximum value of 10 and a minimum value of 2. Find the equation of its midline and its amplitude.

Solve

Period and Phase Shift

Amplitude and midline change the graph vertically. The other two features change it horizontally: how long one cycle takes, and where the cycle starts.

Why the period is $2\pi / |b|$

The sine pattern completes one cycle when its input goes from $0$ to $2\pi$. For $\sin(b\theta)$ the input is $b\theta$, so one cycle is finished when $b\theta = 2\pi$, which means $\theta = \dfrac{2\pi}{b}$. A larger $b$ means a shorter period, a faster wave.

$b$ period complete cycles on $[0, 2\pi]$
$1$ $2\pi$ $1$
$2$ $\pi$ $2$
$3$ $\dfrac{2\pi}{3}$ $3$
$\dfrac{1}{2}$ $4\pi$ $\dfrac{1}{2}$

In general, the number of cycles on an interval of length $L$ is $\dfrac{L}{\text{period}}$. On $[0, 2\pi]$ that is exactly $|b|$.

Why the phase shift is $-c$ (and why you must factor)

Replacing $\theta$ by $\theta - h$ slides the graph $h$ units to the right, because every point now needs a larger input to do the same thing. So $b(\theta + c) = b(\theta - (-c))$ is a shift of $-c$.

The shift is only visible when the inside is factored as $b(\ldots)$. The expression $2\theta - \pi$ does not mean "shift by $\pi$." It means $2\left(\theta - \dfrac{\pi}{2}\right)$, a shift of $\dfrac{\pi}{2}$.

One cycle of y = a sin(b(θ − h)) + d: the curve starts on the midline y = d at θ = h (the phase shift), peaks at d + |a|, dips to d − |a|, and repeats after one period 2π/|b|. shift h one period = 2π/|b| max d + |a| min d − |a| |a| midline y = d One cycle of y = a sin(b(θ − h)) + d: the curve starts on the midline y = d at θ = h (the phase shift), peaks at d + |a|, dips to d − |a|, and repeats after one period 2π/|b|.

Explore all four numbers at once. Notice that $a$ and $d$ move the graph vertically, while $b$ and $h$ change it horizontally.

Unsure about the theory?Ask about anything you don't understand in this section and the AI will explain it using these notes.
Practice★☆☆Not started
Let $f(\theta)=3\sin(2\theta)+1$. State the amplitude, the period, the midline, and the maximum and minimum values of $f$.

Let $f(\theta)=3\sin(2\theta)+1$. State the amplitude, the period, the midline, and the maximum and minimum values of $f$.

Solve
Practice★☆☆Not started
Let $g(\theta)=-2\cos\left(\theta-\dfrac{\pi}{3}\right)+4$. State the amplitude, the period, the phase shift (including its direction), and the equation of the midline.

Let $g(\theta)=-2\cos\left(\theta-\dfrac{\pi}{3}\right)+4$. State the amplitude, the period, the phase shift (including its direction), and the equation of the midline.

Solve
Practice★★☆Not started
Let $f(\theta)=5\cos(3\theta+\pi)-2$. (a) Rewrite $f$ in the form $a\cos(b(\theta+c))+d$. (b) State the period, the phase shift, and the midline. (c) Give the range of…

Let $f(\theta)=5\cos(3\theta+\pi)-2$.

(a) Rewrite $f$ in the form $a\cos(b(\theta+c))+d$.

(b) State the period, the phase shift, and the midline.

(c) Give the range of $f$ and compute $f(0)$.

Solve

Writing a Formula from a Graph

Now work backward. The typical clue is a maximum and the next minimum. Those two points tell you almost everything.

The two cases are linked. A sine wave reaches its max a quarter of a period after the midline crossing, so $s = m - \dfrac{\text{period}}{4}$.

From a maximum (π/3, 6) to the next minimum (5π/6, 0) is half a period, π/2. The midline y = 3 lies exactly halfway in height between the two points, so d, a, and b can now be read. max (π/3, 6) half period = π/2 min (5π/6, 0) midline y = 3 From a maximum (π/3, 6) to the next minimum (5π/6, 0) is half a period, π/2. The midline y = 3 lies exactly halfway in height between the two points, so d, a, and b can now be read.

The Ferris wheel

Back to the wheel from the start: low point $10$ ft, high point $150$ ft, one turn every $12$ minutes, boarding at the bottom at $t = 0$.

Sine and cosine are the same wave

Because cosine is a shifted sine, the same graph has many correct formulas. Here are the facts you need:

Unsure about the theory?Ask about anything you don't understand in this section and the AI will explain it using these notes.
Practice★★☆Not started
The graph of a sinusoidal function $f$ has a maximum at the point $\left(\dfrac{\pi}{4},\,7\right)$, and the next minimum is at $\left(\dfrac{3\pi}{4},\,-1\right)$. (a)…

The graph of a sinusoidal function $f$ has a maximum at the point $\left(\dfrac{\pi}{4},\,7\right)$, and the next minimum is at $\left(\dfrac{3\pi}{4},\,-1\right)$.

(a) Find the midline, amplitude, and period of $f$.

(b) Write a formula for $f$ of the form $f(\theta)=a\sin(b(\theta+c))+d$.

(c) Verify that your formula gives the correct values at both given points.

Solve
Practice★★☆Not started
A sinusoidal function $f(x)$ has a midline $y=1$, amplitude 3, and period 8, and passes through $(0,1)$ while increasing. (a) Write a formula for $f$ in the form…

A sinusoidal function $f(x)$ has a midline $y=1$, amplitude 3, and period 8, and passes through $(0,1)$ while increasing.

(a) Write a formula for $f$ in the form $a\sin(bx)+d$.

(b) Find the exact values of $f(1)$ and $f(6)$.

(c) On which intervals within $[0,8]$ is $f$ increasing?

Solve
Practice★★★Not started
Let $f(\theta)=-3\sin\left(2\theta-\dfrac{\pi}{2}\right)+1$ and $g(\theta)=3\cos(2\theta)+1$. (a) Write $f$ in the form $a\sin(b(\theta+c))+d$ and state its amplitude,…

Let $f(\theta)=-3\sin\left(2\theta-\dfrac{\pi}{2}\right)+1$ and $g(\theta)=3\cos(2\theta)+1$.

(a) Write $f$ in the form $a\sin(b(\theta+c))+d$ and state its amplitude, period, phase shift, and midline.

(b) Compute $f$ and $g$ at $\theta=0,\ \dfrac{\pi}{4},\ \dfrac{\pi}{2}$.

(c) A classmate says the graphs of $f$ and $g$ are identical. Do your results prove it? Explain what each part tells you, and give an argument based on the graph of the sine function that explains why the claim is true.

Solve

Rates of Change and Concavity

On the Ferris wheel, you rise quickly as you pass the halfway height, but you barely move vertically near the top. That is the rate-of-change story of every sinusoidal function.

The average rate of change of $f$ on $[x_1, x_2]$ is the slope of the secant line:

$$\frac{f(x_2) - f(x_1)}{x_2 - x_1}$$

Concavity describes how the rate of change itself changes:

  • The graph is concave up (bends like a cup) when the rates of change are increasing as you move right.

  • The graph is concave down (bends like a cap) when the rates of change are decreasing as you move right.

Splitting an interval into equal pieces and comparing the average rates of change on consecutive pieces tells you the concavity.

For sinusoidal functions, there is a shortcut that avoids computing anything.

One cycle of y = sin θ: above the midline (0 to π) the graph is concave down, and below it (π to 2π) it is concave up. Concavity changes at the points where the graph crosses the midline (0, π, 2π). concave down concave up 0 π/2 π 3π/2 2π One cycle of y = sin θ: above the midline (0 to π) the graph is concave down, and below it (π to 2π) it is concave up. Concavity changes at the points where the graph crosses the midline (0, π, 2π).

Why? Above the midline, the graph must turn around to come back down toward the next max, so it bends like a cap. Below the midline it bends like a cup to turn back up.

Unsure about the theory?Ask about anything you don't understand in this section and the AI will explain it using these notes.
Practice★★☆Not started
The function $g(\theta)=4\sin\theta$ has these approximate values: | $\theta$ | 0 | $\pi/6$ | $\pi/3$ | $\pi/2$ | |---|---|---|---|---| | $g(\theta)$ | 0 | 2 | 3.46 | 4…

The function $g(\theta)=4\sin\theta$ has these approximate values:

$\theta$ 0 $\pi/6$ $\pi/3$ $\pi/2$
$g(\theta)$ 0 2 3.46 4

(a) Compute the average rate of change of $g$ over each of the three consecutive intervals. Use $\pi\approx3.14$.

(b) What do the results tell you about how fast $g$ is increasing as $\theta$ moves from 0 to $\pi/2$? What does this say about the concavity of the graph on this interval?

Solve
Practice★★★Not started
Let $f(\theta)=5\sin\left(2\left(\theta-\dfrac{\pi}{6}\right)\right)+3$ on the interval $[0,\pi]$. (a) At what value of $\theta$ is $f$ increasing at its greatest rate?…

Let $f(\theta)=5\sin\left(2\left(\theta-\dfrac{\pi}{6}\right)\right)+3$ on the interval $[0,\pi]$.

(a) At what value of $\theta$ is $f$ increasing at its greatest rate? At what value is it decreasing at its greatest rate?

(b) Give the intervals on which the graph of $f$ is concave up and on which it is concave down.

(c) Explain how the answers to (a) and (b) are connected to the midline of $f$.

Solve

Solving Sinusoidal Equations

Typical questions: "When is the wheel at height $100$ ft?" or "Where is the maximum?" These are equations $f(x) = k$.

The conversion in step 2 is where most errors happen. If $b = 4$, then $\theta \in [0, 2\pi]$ gives $u = 4\theta \in [0, 8\pi]$: four full cycles, so you expect four copies of each solution.

Why the solutions are not equally spaced

Look at the second example. The solutions $x = \dfrac{7}{3}$ and $x = \dfrac{23}{3}$ are mirror images across the minimum at $x = 5$. Each is $\dfrac{8}{3}$ away from it. A horizontal line cuts a cycle in two places that are symmetric about a max or a min, not evenly spaced. The gap across the minimum is $\dfrac{16}{3}$, and the gap across the maximum (wrapping around one period) is $8 - \dfrac{16}{3} = \dfrac{8}{3}$. Short gap, long gap, short gap, and so on. Only if $k$ equals the midline value are they equally spaced.

Unsure about the theory?Ask about anything you don't understand in this section and the AI will explain it using these notes.
Practice★★★Not started
Let $f(\theta)=2\sin(3\theta)+1$ and $g(\theta)=2\sin\left(\dfrac{\theta}{3}\right)+1$. (a) Compare the periods of $f$ and $g$. How many complete cycles does each…

Let $f(\theta)=2\sin(3\theta)+1$ and $g(\theta)=2\sin\left(\dfrac{\theta}{3}\right)+1$.

(a) Compare the periods of $f$ and $g$. How many complete cycles does each complete on $[0,2\pi]$?

(b) Find all $\theta$ in $[0,2\pi]$ at which $f$ reaches its maximum value.

(c) Find the first positive value of $\theta$ at which $g$ reaches its maximum. Is there a value of $\theta$ in $[0,2\pi]$ at which both $f$ and $g$ attain their maximum? Justify your answer.

Solve
Practice★★★Not started
A sinusoidal function $f$ has a maximum at $(1,12)$, and the next minimum is at $(4,4)$. (a) Write a formula for $f$ of the form $a\cos(b(x-c))+d$. (b) Find all…

A sinusoidal function $f$ has a maximum at $(1,12)$, and the next minimum is at $(4,4)$.

(a) Write a formula for $f$ of the form $a\cos(b(x-c))+d$.

(b) Find all solutions of $f(x)=10$ in $[0,6]$.

(c) Explain, using the graph, why the solutions you found are not equally spaced.

Solve

Summary

  • A sinusoidal function is a transformed sine or cosine: $f(\theta) = a\sin(b(\theta + c)) + d$ (or cosine).

  • Midline $y = d$. Amplitude $|a| = \dfrac{\text{max} - \text{min}}{2}$. Midline is also $\dfrac{\text{max} + \text{min}}{2}$.

  • Period $\dfrac{2\pi}{|b|}$. Phase shift $-c$ (right if positive). Always factor $b$ out of the inside first.

  • From a max and the next min: half period is the horizontal distance between them. Use cosine from the max, or sine from the midline crossing a quarter period earlier. Sine and cosine of the same wave differ by a shift of $\dfrac{\pi}{2}$.

  • Rate of change is greatest in magnitude at midline crossings, and $0$ at max and min. The graph is concave down above the midline and concave up below it.

  • To solve $f(x) = k$, isolate sine or cosine, convert the interval to the inside variable $u$, list all solutions, then convert back. Solutions come in mirror pairs.

Can't find your problem here?

The AI checks one of your exercises: paste the problem with your answer or take a photo of it.

See all the exercises in this section