Learning Outcomes
- Determine the amplitude and period of sinusoidal functions.
- Model equations and graph sinusoidal functions.
- Model periodic behavior.
- Model harmonic motion functions.
Determining the Amplitude and Period of a Sinusoidal Function
Any motion that repeats itself in a fixed time period is considered periodic motion and can be modeled by a sinusoidal function. The amplitude of a sinusoidal function is the distance from the midline to the maximum value, or from the midline to the minimum value. The midline is the average value. Sinusoidal functions oscillate above and below the midline, are periodic, and repeat values in set cycles. Recall from Graphs of the Sine and Cosine Functions that the period of the sine function and the cosine function is 2π. In other words, for any value of x,
sin(x±2πk)=sinx and cos(x±2πk)=cosx where k is an integer
A General Note: Standard Form of Sinusoidal Equations
The general forms of a sinusoidal equation are given as
y=Asin(Bt−C)+D or y=Acos(Bt−C)+D
where amplitude=|A|,B is related to period such that the period=2πB,C is the phase shift such that CB denotes the horizontal shift, and D represents the vertical shift from the graph’s parent graph.
Note that the models are sometimes written as y=asin(ωt±C)+D or y=acos(ωt±C)+D, and period is given as 2πω.
The difference between the sine and the cosine graphs is that the sine graph begins with the average value of the function and the cosine graph begins with the maximum or minimum value of the function.
Example 1: Showing How the Properties of a Trigonometric Function Can Transform a Graph
Show the transformation of the graph of y=sinx into the graph of y=2sin(4x−π2)+2.
Show Solution
Consider the series of graphs in Figure 2 and the way each change to the equation changes the image.
Figure 2. (a) The basic graph of y=sinx (b) Changing the amplitude from 1 to 2 generates the graph of y=2sinx. (c) The period of the sine function changes with the value of B, such that period=2πB. Here we have B=4, which translates to a period of π2. The graph completes one full cycle in π2 units. (d) The graph displays a horizontal shift equal to CB, or π24=π8. (e) Finally, the graph is shifted vertically by the value of D. In this case, the graph is shifted up by 2 units.
Example 2: Finding the Amplitude and Period of a Function
Find the amplitude and period of the following functions and graph one cycle.
- y=2sin(14x)
- y=−3sin(2x+π2)
- y=cosx+3
Show Solution
We will solve these problems according to the models.
- y=2sin(14x) involves sine, so we use the form
y=Asin(Bt+C)+D
We know that |A| is the amplitude, so the amplitude is 2. Period is 2πB, so the period is
2πB=2π14=8π
See the graph in Figure 3.
Figure 3
- y=−3sin(2x+π2) involves sine, so we use the form
y=Asin(Bt−C)+D
Amplitude is |A|, so the amplitude is |−3|=3. Since A is negative, the graph is reflected over the x-axis. Period is 2πB, so the period is
2πB=2π2=π
The graph is shifted to the left by CB=π22=π4 units.
Figure 4
- y=cosx+3 involves cosine, so we use the form
y=Acos(Bt±C)+D
Amplitude is |A|, so the amplitude is 1. The period is 2π. This is the standard cosine function shifted up three units.
Figure 5
Try It
What are the amplitude and period of the function y=3cos(3πx)?
Show Solution
The amplitude is 3, and the period is 23.
Finding Equations and Graphing Sinusoidal Functions
One method of graphing sinusoidal functions is to find five key points. These points will correspond to intervals of equal length representing 14 of the period. The key points will indicate the location of maximum and minimum values. If there is no vertical shift, they will also indicate x-intercepts. For example, suppose we want to graph the function y=cosθ. We know that the period is 2π, so we find the interval between key points as follows.
2π4=π2
Starting with θ=0, we calculate the first y-value, add the length of the interval π2 to 0, and calculate the second y-value. We then add π2 repeatedly until the five key points are determined. The last value should equal the first value, as the calculations cover one full period. Making a table similar to the one below, we can see these key points clearly on the graph shown in Figure 6.
θ |
0 |
π2 |
π |
3π2 |
2π |
y=cosθ |
1 |
0 |
−1 |
0 |
1 |
Figure 6
Example 3: Graphing Sinusoidal Functions Using Key Points
Graph the function y=−4cos(πx) using amplitude, period, and key points.
Show Solution
The amplitude is |−4|=4. The period is 2πω=2ππ=2. (Recall that we sometimes refer to B as ω.) One cycle of the graph can be drawn over the interval [0,2]. To find the key points, we divide the period by 4. Make a table similar to the one below, starting with x=0 and then adding 12 successively to x and calculate y. See the graph in Figure 7.
x |
0 |
12 |
1 |
32 |
2 |
y=−4cos(πx) |
−4 |
0 |
4 |
0 |
−4 |
Figure 7
Try It
Graph the function y=3sin(3x) using the amplitude, period, and five key points.
Show Solution
x |
3sin(3x) |
0 |
0 |
π6 |
3 |
π3 |
0 |
π2 |
−3 |
2π3 |
0 |

Modeling Periodic Behavior
We will now apply these ideas to problems involving periodic behavior.
Example 4: Modeling an Equation and Sketching a Sinusoidal Graph to Fit Criteria
The average monthly temperatures for a small town in Oregon are given in the table below. Find a sinusoidal function of the form y=Asin(Bt−C)+D that fits the data (round to the nearest tenth) and sketch the graph.
Month |
Temperature, oF |
January |
42.5 |
February |
44.5 |
March |
48.5 |
April |
52.5 |
May |
58 |
June |
63 |
July |
68.5 |
August |
69 |
September |
64.5 |
October |
55.5 |
November |
46.5 |
December |
43.5 |
Show Solution
Recall that amplitude is found using the formula
A=largest value −smallest value2
Thus, the amplitude is
|A|=69−42.52=13.25
The data covers a period of 12 months, so 2πB=12 which gives B=2π12=π6.
The vertical shift is found using the following equation.
D=highest value+lowest value2
Thus, the vertical shift is
D=69+42.52=55.8
So far, we have the equation y=13.3sin(π6x−C)+55.8.
To find the horizontal shift, we input the x and y values for the first month and solve for C.
42.5=13.3sin(π6(1)−C)+55.8−13.3=13.3sin(π6−C)−1=sin(π6−C)sinθ=−1→θ=−π2
π6−C=−π2π6+π2=C=2π3
We have the equation y=13.3sin(π6x−2π3)+55.8. See the graph in Figure 8.
Figure 8
Example 5: Describing Periodic Motion
The hour hand of the large clock on the wall in Union Station measures 24 inches in length. At noon, the tip of the hour hand is 30 inches from the ceiling. At 3 PM, the tip is 54 inches from the ceiling, and at 6 PM, 78 inches. At 9 PM, it is again 54 inches from the ceiling, and at midnight, the tip of the hour hand returns to its original position 30 inches from the ceiling. Let y equal the distance from the tip of the hour hand to the ceiling x hours after noon. Find the equation that models the motion of the clock and sketch the graph.
Show Solution
Begin by making a table of values as shown in the table below.
x |
y |
Points to plot |
Noon |
30 in |
(0,30) |
3 PM |
54 in |
(3,54) |
6 PM |
78 in |
(6,78) |
9 PM |
54 in |
(9,54) |
Midnight |
30 in |
(12,30) |
To model an equation, we first need to find the amplitude.
|A|=∣∣∣78−302∣∣∣=24
The clock’s cycle repeats every 12 hours. Thus,
B=2π12=π6
The vertical shift is
D=78+302=54
There is no horizontal shift, so C=0. Since the function begins with the minimum value of y when x=0 (as opposed to the maximum value), we will use the cosine function with the negative value for A. In the form y=Acos(Bx±C)+D, the equation is
y=−24cos(π6x)+54
Figure 9
Example 6: Determining a Model for Tides
The height of the tide in a small beach town is measured along a seawall. Water levels oscillate between 7 feet at low tide and 15 feet at high tide. On a particular day, low tide occurred at 6 AM and high tide occurred at noon. Approximately every 12 hours, the cycle repeats. Find an equation to model the water levels.
Show Solution
As the water level varies from 7 ft to 15 ft, we can calculate the amplitude as
|A|=∣∣∣(15−7)2∣∣∣=4
The cycle repeats every 12 hours; therefore, B is
2π12=π6
There is a vertical translation of (15+8)2=11.5. Since the value of the function is at a maximum at t=0, we will use the cosine function, with the positive value for A.
y=4cos(π6)t+11
Figure 10
Try It
The daily temperature in the month of March in a certain city varies from a low of 24∘F to a high of 40∘F. Find a sinusoidal function to model daily temperature and sketch the graph. Approximate the time when the temperature reaches the freezing point 32∘F. Let t=0 correspond to noon.
Show Solution
y=8sin(π12t)+32
The temperature reaches freezing at noon and at midnight.

Example 7: Interpreting the Periodic Behavior Equation
The average person’s blood pressure is modeled by the function f(t)=20sin(160πt)+100, where f(t) represents the blood pressure at time t, measured in minutes. Interpret the function in terms of period and frequency. Sketch the graph and find the blood pressure reading.
Show Solution
The period is given by
2πω=2π160π=180
In a blood pressure function, frequency represents the number of heart beats per minute. Frequency is the reciprocal of period and is given by
ω2π=160π2π=80
See the graph in Figure 11.
The blood pressure reading on the graph is 12080 (maximumminimum).
Figure 11
Analysis of the Solution
Blood pressure of 12080 is considered to be normal. The top number is the maximum or systolic reading, which measures the pressure in the arteries when the heart contracts. The bottom number is the minimum or diastolic reading, which measures the pressure in the arteries as the heart relaxes between beats, refilling with blood. Thus, normal blood pressure can be modeled by a periodic function with a maximum of 120 and a minimum of 80.
Modeling Harmonic Motion Functions
Harmonic motion is a form of periodic motion, but there are factors to consider that differentiate the two types. While general periodic motion applications cycle through their periods with no outside interference, harmonic motion requires a restoring force. Examples of harmonic motion include springs, gravitational force, and magnetic force.
Simple Harmonic Motion
A type of motion described as simple harmonic motion involves a restoring force but assumes that the motion will continue forever. Imagine a weighted object hanging on a spring, When that object is not disturbed, we say that the object is at rest, or in equilibrium. If the object is pulled down and then released, the force of the spring pulls the object back toward equilibrium and harmonic motion begins. The restoring force is directly proportional to the displacement of the object from its equilibrium point. When t=0,d=0.
A General Note: Simple Harmonic Motion
We see that simple harmonic motion equations are given in terms of displacement:
d=acos(ωt) or d=asin(ωt)
where |a| is the amplitude, 2πω is the period, and ω2π is the frequency, or the number of cycles per unit of time.
Example 8: Finding the Displacement, Period, and Frequency, and Graphing a Function
For the given functions,
- Find the maximum displacement of an object.
- Find the period or the time required for one vibration.
- Find the frequency.
- Sketch the graph.
- y=5sin(3t)
- y=6cos(πt)
- y=5cos(π2t)
Show Solution
- y=5sin(3t)
- The maximum displacement is equal to the amplitude, |a|, which is 5.
- The period is 2πω=2π3.
- The frequency is given as ω2π=32π.
- See Figure 12. The graph indicates the five key points.
Figure 12
- y=6cos(πt)
- The maximum displacement is 6.
- The period is 2πω=2ππ=2.
- The frequency is ω2π=π2π=12.
- See Figure 13.
Figure 13.
- y=5cos(π2)t
- The maximum displacement is 5.
- The period is 2πω=2ππ2=4.
- The frequency is 14.
- See Figure 14.
Figure 14
Damped Harmonic Motion
In reality, a pendulum does not swing back and forth forever, nor does an object on a spring bounce up and down forever. Eventually, the pendulum stops swinging and the object stops bouncing and both return to equilibrium. Periodic motion in which an energy-dissipating force, or damping factor, acts is known as damped harmonic motion. Friction is typically the damping factor.
In physics, various formulas are used to account for the damping factor on the moving object. Some of these are calculus-based formulas that involve derivatives. For our purposes, we will use formulas for basic damped harmonic motion models.
A General Note: Damped Harmonic Motion
In damped harmonic motion, the displacement of an oscillating object from its rest position at time t is given as
f(t)=ae−ctsin(ωt)orf(t)=ae−ctcos(ωt)
where c is a damping factor, |a| is the initial displacement and 2πω is the period.
Example 9: Modeling Damped Harmonic Motion
Model the equations that fit the two scenarios and use a graphing utility to graph the functions: Two mass-spring systems exhibit damped harmonic motion at a frequency of 0.5 cycles per second. Both have an initial displacement of 10 cm. The first has a damping factor of 0.5 and the second has a damping factor of 0.1.
Show Solution
At time t=0, the displacement is the maximum of 10 cm, which calls for the cosine function. The cosine function will apply to both models.
We are given the frequency f=ω2π of 0.5 cycles per second. Thus,
ω2π=0.5ω=(0.5)2π=π
The first spring system has a damping factor of c=0.5. Following the general model for damped harmonic motion, we have
f(t)=10e−0.5tcos(πt)
Figure 15 models the motion of the first spring system.
Figure 15
The second spring system has a damping factor of c=0.1 and can be modeled as
f(t)=10e−0.1tcos(πt)
Figure 16 models the motion of the second spring system.
Figure 16
Analysis of the Solution
Notice the differing effects of the damping constant. The local maximum and minimum values of the function with the damping factor c=0.5 decreases much more rapidly than that of the function with c=0.1.
Example 10: Finding a Cosine Function that Models Damped Harmonic Motion
Find and graph a function of the form y=ae−ctcos(ωt) that models the information given.
- a=20,c=0.05,p=4
- a=2,c=1.5,f=3
Show Solution
Substitute the given values into the model. Recall that period is 2πω and frequency is ω2π.
- y=20e−0.05tcos(π2t). See Figure 17.
Figure 17
- y=2e−1.5tcos(6πt). See Figure 18.
Figure 18
Try It
The following equation represents a damped harmonic motion model: f(t)=5e−6tcos(4t)
Find the initial displacement, the damping constant, and the frequency.
Show Solution
initial displacement =6, damping constant = -6, frequency = 2π
Example 11: Finding a Sine Function that Models Damped Harmonic Motion
Find and graph a function of the form y=ae−ctsin(ωt) that models the information given.
- a=7,c=10,p=π6
- a=0.3,c=0.2,f=20
Show Solution
Calculate the value of ω and substitute the known values into the model.
- As period is 2πω, we have
π6=2πωωπ=6(2π)ω=12
The damping factor is given as 10 and the amplitude is 7. Thus, the model is y=7e−10tsin(12t). See Figure 19.
Figure 19
- As frequency is ω2π, we have
20=ω2π40π=ω
The damping factor is given as 0.2 and the amplitude is 0.3. The model is y=0.3e−0.2tsin(40πt). See Figure 20.
Figure 20
Analysis of the Solution
A comparison of the last two examples illustrates how we choose between the sine or cosine functions to model sinusoidal criteria. We see that the cosine function is at the maximum displacement when t=0, and the sine function is at the equilibrium point when t=0. For example, consider the equation y=20e−0.05tcos(π2t) from Example 9. We can see from the graph that when t=0,y=20, which is the initial amplitude. Check this by setting t=0 in the cosine equation:
y=20e−0.05(0)cos(π2)(0)=20(1)(1)=20
Using the sine function yields
y=20e−0.05(0)sin(π2)(0)=20(1)(0)=0
Thus, cosine is the correct function.
Try It
Write the equation for damped harmonic motion given a=10,c=0.5, and p=2.
Show Solution
y=10e−0.5tcos(πt)
Example 12: Modeling the Oscillation of a Spring
A spring measuring 10 inches in natural length is compressed by 5 inches and released. It oscillates once every 3 seconds, and its amplitude decreases by 30% every second. Find an equation that models the position of the spring t seconds after being released.
Show Solution
The amplitude begins at 5 in. and deceases 30% each second. Because the spring is initially compressed, we will write A as a negative value. We can write the amplitude portion of the function as
A(t)=5(1−0.30)t=
A(t)=5(0.70)t=
We put (0.70)t in the form ect as follows:
0.7=ecc=ln(0.7)c=−0.357
Now let’s address the period. The spring cycles through its positions every 3 seconds, this is the period, and we can use the formula to find omega.
3=2πωω=2π3
The natural length of 10 inches is the midline. We will use the cosine function, since the spring starts out at its maximum displacement. This portion of the equation is represented as
y=cos(2π3t)+10
Finally, we put both functions together. Our the model for the position of the spring at t seconds is given as
y=−5e−0.357tcos(2π3t)+10
See the graph in Figure 21.
Figure 21
Try It
A mass suspended from a spring is raised a distance of 5 cm above its resting position. The mass is released at time t=0 and allowed to oscillate. After 13 second, it is observed that the mass returns to its highest position. Find a function to model this motion relative to its initial resting position.
Example 13: Finding the Value of the Damping Constant c According to the Given Criteria
A guitar string is plucked and vibrates in damped harmonic motion. The string is pulled and displaced 2 cm from its resting position. After 3 seconds, the displacement of the string measures 1 cm. Find the damping constant.
Show Solution
The displacement factor represents the amplitude and is determined by the coefficient ae−ct in the model for damped harmonic motion. The damping constant is included in the term e−ct. It is known that after 3 seconds, the local maximum measures one-half of its original value. Therefore, we have the equation
ae−c(t+3)=12ae−ct
Use algebra and the laws of exponents to solve for c.
ae−c(t+3)=12ae−cte−ct⋅e−3c=12e−ctDivide out a.e−3c=12Divide out e−ct.e3c=2Take reciprocals.
Then use the laws of logarithms.
e3c=23c=ln2c=ln23
The damping constant is ln23.
Bounding Curves in Harmonic Motion
Harmonic motion graphs may be enclosed by bounding curves. When a function has a varying amplitude, such that the amplitude rises and falls multiple times within a period, we can determine the bounding curves from part of the function.
Example 14: Graphing an Oscillating Cosine Curve
Graph the function f(x)=cos(2πx)cos(16πx).
Show Solution
The graph produced by this function will be shown in two parts. The first graph will be the exact function f(x), and the second graph is the exact function f(x) plus a bounding function. The graphs look quite different.
Figure 22
Figure 23
Analysis of the Solution
The curves y=cos(2πx) and y=−cos(2πx) are bounding curves: they bound the function from above and below, tracing out the high and low points. The harmonic motion graph sits inside the bounding curves. This is an example of a function whose amplitude not only decreases with time, but actually increases and decreases multiple times within a period.
Standard form of sinusoidal equation |
y=Asin(Bt−C)+Dory=Acos(Bt−C)+D |
Simple harmonic motion |
d=acos(ωt) or d=asin(ωt) |
Damped harmonic motion |
f(t)=ae−ctsin(ωt)orf(t)=ae−ctcos(ωt) |
Key Concepts
- Sinusoidal functions are represented by the sine and cosine graphs. In standard form, we can find the amplitude, period, and horizontal and vertical shifts.
- Use key points to graph a sinusoidal function. The five key points include the minimum and maximum values and the midline values.
- Periodic functions can model events that reoccur in set cycles, like the phases of the moon, the hands on a clock, and the seasons in a year.
- Harmonic motion functions are modeled from given data. Similar to periodic motion applications, harmonic motion requires a restoring force. Examples include gravitational force and spring motion activated by weight.
- Damped harmonic motion is a form of periodic behavior affected by a damping factor. Energy dissipating factors, like friction, cause the displacement of the object to shrink.
- Bounding curves delineate the graph of harmonic motion with variable maximum and minimum values.
Glossary
- damped harmonic motion
- oscillating motion that resembles periodic motion and simple harmonic motion, except that the graph is affected by a damping factor, an energy dissipating influence on the motion, such as friction
- simple harmonic motion
- a repetitive motion that can be modeled by periodic sinusoidal oscillation
Candela Citations
CC licensed content, Specific attribution