A sinusoidal model describes a quantity that rises and falls in a smooth repeating pattern. The model parameters describe the measured quantity’s maximum and minimum, timing and repetition.

This lesson uses hypothetical examples with stated assumptions. It develops a model from a rotating wheel, reads parameters from a small data set, and solves for the times at which an output reaches a specified level.

On this page

Give every parameter a meaning

A useful form is

y(t)=D+Acos(ω(t−h))y(t)=D+A\cos\bigl(\omega(t-h)\bigr)

The midline is DD. The amplitude is |A||A|, the vertical distance from the midline to a maximum. For a non-constant model with ω≠0\omega\ne0, the period is T=2π/|ω|T=2\pi/|\omega|. The parameter hh shifts the timing. In the cosine form with A>0A>0, a maximum occurs at t=ht=h.

Name the units. If tt is measured in seconds and yy in metres, then AA and DD are in metres and ω\omega is in radians per second. The argument of the cosine is an angle, not a distance.

Choose a starting point that matches the situation

Sine starts at its midline while cosine starts at a maximum over the displayed period.

Sine and cosine describe the same basic shape with different horizontal starting positions.

Sine cosine one period.svg · Geek3 · Public domain (ineligible for copyright).

Diagram explained

On this reference graph, sine is the solid curve and cosine is dashed. Both have amplitude one, midline zero and period two pi. The graph is a reference waveform, not the wheel-height model developed below.

Chart values and boundaries
Chart values and boundaries
AngleSineCosine
000011
π/2\pi/21100
π\pi00−1-1
3π/23\pi/2−1-100
2π2\pi0011

Read amplitude and midline from the extremes

If the observed maximum and minimum are MM and mm, a candidate sinusoid has

Amagnitude=M−m2,D=M+m2A_{\mathrm{magnitude}}=\frac{M-m}{2},\qquad D=\frac{M+m}{2}

The amplitude is half the full vertical range, not the maximum output itself. The midline is the halfway level. It equals the time average over a complete cycle of an ideal sinusoid, but it need not equal the average of an unevenly sampled real data set.

The time between corresponding points in successive cycles gives the period. Use maximum to next maximum, minimum to next minimum, or a midline crossing to the next crossing in the same direction. Opposite-direction midline crossings are separated by half a period.

Worked model: height on a rotating wheel

Consider an idealized observation wheel of radius 10 m, with its centre 12 m above level ground. It completes one revolution in 40 seconds at a constant angular speed. A passenger starts at the lowest point at t=0t=0.

The lowest height is 2 m and the highest is 22 m. Therefore the amplitude is 10 m and the midline is 12 m. The angular speed is 2π/40=π/202\pi/40=\pi/20 radians per second. A negative cosine fits the starting minimum:

H(t)=12−10cos(πt20)H(t)=12-10\cos\left(\frac{\pi t}{20}\right)

The minus sign sets the starting position; it does not make the amplitude negative. The amplitude remains |−10|=10|-10|=10. Every 40 seconds the model returns to its initial height and direction of motion.

Wheel-height model: one complete revolution
Time t (s)Angle (rad)Height H(t) (m)Position
0002Lowest point
10π/2\pi/212Midline, rising
20π\pi22Highest point
303π/23\pi/212Midline, falling
402π2\pi2Lowest point again

These five quarter-cycle values provide checkpoints for a graph of the model. The formula predicts a smooth curve through them, not straight segments connecting the points.

When is the passenger at least 17 metres high?

For one revolution, solve H(t)≥17H(t)\ge17 on 0≤t≤400\le t\le40:

12−10cos(πt/20)≥1712-10\cos(\pi t/20)\ge17
cos(πt/20)≤−12\cos(\pi t/20)\le-\frac12

The inequality reverses when dividing by −10-10. Let u=πt/20u=\pi t/20, so 0≤u≤2π0\le u\le2\pi. Cosine is at most −1/2-1/2 from 2π/32\pi/3 to 4π/34\pi/3. Therefore

403≤t≤803\frac{40}{3}\le t\le\frac{80}{3}

The passenger is at least 17 m high from about 13.33 seconds to 26.67 seconds. The two boundary times solve H(t)=17H(t)=17; the entire interval between them satisfies the inequality.

An inverse cosine calculation alone would return only the first angle 2π/32\pi/3. The second time and the interval between them come from the graph’s symmetry and the meaning of the inequality.

Worked model from a small data set

Now consider a hypothetical quantity with these measurements:

Hypothetical repeating measurements
Time t (hours)Output y (units)
218
512
86
1112
1418

The extremes suggest amplitude (18−6)/2=6(18-6)/2=6 and midline (18+6)/2=12(18+6)/2=12. The repeated maximum from hour 2 to hour 14 suggests a 12-hour period. A cosine model starting at that first maximum is

y(t)=12+6cos(π6(t−2))y(t)=12+6\cos\left(\frac\pi6(t-2)\right)

Substitution reproduces all five listed outputs. In particular, at t=5t=5, the angle is π/2\pi/2 and the output is 12. At t=8t=8, the angle is π\pi and the output is 6.

The five points do not prove that the underlying phenomenon is sinusoidal or that 12 hours is its true fundamental period. Many other functions can pass through the same points. More observations, particularly between these times and across several cycles, are needed to test the assumption.

Phase shift and equivalent equations

In the form Asin(Bt−C)+DA\sin(Bt-C)+D, factor the argument before reading the shift: Bt−C=B(t−C/B)Bt-C=B(t-C/B). The shift is C/BC/B, not CC. The expression assumes B≠0B\ne0.

The same sinusoid can have different-looking equations. A sine model can be rewritten as a shifted cosine; a negative amplitude can be traded for a half-period shift; adding a full period to a phase position does not change the function.

Compare models through their amplitude, midline, period and matching starting behaviour. Do not reject an answer simply because its sine/cosine choice differs from the expected form. Conversely, matching only the maximum and minimum is not enough: a wrong phase can predict the correct heights at the wrong times.

Check the model against the context

Check units, the starting value, the direction immediately after the start, the maximum and minimum, and the time required to repeat. For the wheel, the output must stay between 2 m and 22 m. A prediction below ground would contradict the stated geometry.

For measured data, a residual is observed output minus model output. A pattern in the residuals can reveal an omitted trend, changing amplitude or a poor choice of period. Random-looking small differences do not establish a perfect model, but they are different from a persistent pattern of missed peaks.

The wheel model assumes uniform rotation and treats the passenger as a point fixed to the rim. Starting, stopping and changes in seating position would require additional information. A seasonal or tidal model may need several frequencies rather than one sine wave. Use this model only while its assumptions remain reasonable.

Frequency and angular frequency

Frequency f=1/Tf=1/T counts cycles per unit time, while angular frequency ω=2πf\omega=2\pi f measures radians per unit time. They describe the same repetition using different units. Do not insert a cycles-per-second value directly where the formula expects radians per second.

Use Trigonometric Functions for the underlying graphs and Trigonometric Equations for full solution sets. Radians, Arc Length and Circular Motion develops the geometry behind the rotating-wheel model.

Practice questions

  1. A periodic quantity has maximum 18 and minimum 6. Find its amplitude and midline.
  2. For H(t)=12−10cos(πt/20)H(t)=12-10\cos(\pi t/20), find the period and the height at t=10t=10.
  3. Why does finding one time with inverse cosine not settle when the passenger is at least 17 m high?
Check your answers
  1. Amplitude (18−6)/2=6(18-6)/2=6 and midline y=(18+6)/2=12y=(18+6)/2=12.
  2. The period is 2π/(π/20)=402\pi/(\pi/20)=40 seconds; H(10)=12H(10)=12 m.
  3. The boundary height occurs twice per revolution. The inequality also includes all times between those boundaries: 40/3≤t≤80/340/3\le t\le80/3 seconds for the stated cycle.

Sources and further reading

Further explanations of the definitions and conventions used here: