Resources For Teachers For Tutors For Students & Parents Pricing
Year 12 Maths - Methods (Unit 3 & Unit 4) Circular (trigonometric) functions

Determining rules for graphs of trig functions

20 practice questions 0 video lessons Theory + worked examples
Create a free accountTrack your progress and save your work as you go.
Create free account

Theory

Determining the rule of a sinusoidal graph means reading four features and writing \(y=a\sin\!\big(n(t-e)\big)+b\) (or a cosine): the amplitude \(a\) from the distance between the midline and a peak, the mean \(b\) as the midline, the period to get \(n=\dfrac{2\pi}{\text{period}}\), and the phase shift \(e\) from a reference point. Choosing sine or cosine depends on which reference point is easiest to read. Radians throughout.

A sinusoid is any curve of the form \(y=a\sin\!\big(n(t-e)\big)+b\) or \(y=a\cos\!\big(n(t-e)\big)+b\). Determining its rule means reading the four constants \(a\), \(b\), \(n\) and \(e\) directly from the graph. Each constant controls one feature: \(a\) the height of the swing, \(b\) the vertical position, \(n\) how fast it repeats, and \(e\) how far it is shifted sideways.

The mean \(b\) is the value halfway between the maximum and minimum — the height of the horizontal midline the curve oscillates about: \(b=\dfrac{\text{max}+\text{min}}{2}\). The amplitude \(a\) is the distance from that midline up to a peak, which is half the full peak-to-trough distance: \(a=\dfrac{\text{max}-\text{min}}{2}\). Amplitude is always positive.

The period is the horizontal length of one complete cycle; from it \(n=\dfrac{2\pi}{\text{period}}\). The phase shift \(e\) is read from a reference point: for a sine rule, \(e\) is where the curve crosses the midline going upward; for a cosine rule, \(e\) is where a maximum occurs. Either function can fit any sinusoid, so pick the one whose reference point is easiest to locate.

Key idea. From a graph: \(b=\dfrac{\text{max}+\text{min}}{2}\), \(a=\dfrac{\text{max}-\text{min}}{2}\), \(n=\dfrac{2\pi}{\text{period}}\), and \(e\) from a reference point (an upward midline crossing for sine, a maximum for cosine).
Anatomy of a sinusoid y = 2 sin t + 3A sine curve oscillating between a maximum of 5 and a minimum of 1 about the midline y=3; amplitude 2, mean 3, period 2 pi. t y a=2 y=b=3 max 5 min 1 period 2π
Read \(a\), \(b\) and the period straight off the graph: \(b=\dfrac{5+1}{2}=3\), \(a=\dfrac{5-1}{2}=2\), period \(=2\pi\)
Phase shift of a sinusoidA sine curve shifted right so that it crosses its midline y=3 going upward at t = pi/2; this reference point gives the phase shift e = pi/2. t y e=π/2 y=3 rises here
For a sine rule, \(e\) is where the curve crosses the midline going upward: here \(y=2\sin\!\big(t-\dfrac{\pi}{2}\big)+3\)

The general sinusoid, in factored form so the shift is read directly:

\[y=a\sin\!\big(n(t-e)\big)+b \qquad y=a\cos\!\big(n(t-e)\big)+b\]
y=asin(n(te))+b

Amplitude and mean from the maximum and minimum values:

\[a=\frac{\text{max}-\text{min}}{2} \qquad b=\frac{\text{max}+\text{min}}{2}\]
a=maxmin2,b=max+min2

The dilation factor \(n\) from the period, and the period from \(n\):

\[n=\frac{2\pi}{\text{period}} \qquad \text{period}=\frac{2\pi}{n}\]
n=2πperiod
Phase shift. In \(y=a\sin\!\big(n(t-e)\big)+b\) the curve is shifted right by \(e\). Read \(e\) as an upward midline crossing for sine, or a maximum for cosine. If the bracket is not factored, e.g. \(\sin(nt-c)\), then \(e=\dfrac{c}{n}\), not \(c\).

How to determine the rule of a sinusoidal graph

  1. Mean \(b\). Read the maximum and minimum, then \(b=\dfrac{\text{max}+\text{min}}{2}\). This is the midline the curve swings about.
  2. Amplitude \(a\). Take \(a=\dfrac{\text{max}-\text{min}}{2}\), the distance from the midline to a peak (always positive).
  3. Dilation \(n\). Measure the period (one full cycle) and use \(n=\dfrac{2\pi}{\text{period}}\).
  4. Choose sine or cosine, find \(e\). Pick cosine if a maximum sits at a convenient \(t\) (then \(e\) is that \(t\)); pick sine if an upward midline crossing is clear (then \(e\) is that \(t\)).
  5. Write and check. Assemble \(y=a\sin\!\big(n(t-e)\big)+b\) and substitute a known point to confirm it fits.
Tip. When both a maximum and an upward crossing are easy to see, cosine usually gives the tidier phase shift, because \(\cos\) peaks exactly at \(t=e\). Always sanity-check with one extra point from the graph.
Example 1 — amplitude and mean
A sine curve has a maximum of \(7\) and a minimum of \(1\), period \(2\pi\), and crosses its midline going upward at \(t=0\). Find its rule.
Solution
Mean and amplitude from the max and min:
\(b\)\(=\)\(\dfrac{7+1}{2}=4\)
\(a\)\(=\)\(\dfrac{7-1}{2}=3\)
Period \(2\pi\) gives \(n\), and the upward crossing at \(t=0\) means \(e=0\) (a plain sine):
\(n\)\(=\)\(\dfrac{2\pi}{2\pi}=1\)
\(\therefore\) \(y=3\sin t+4\)
y=3sint+4
Example 2 — finding \(n\) from the period
A sine curve has amplitude \(2\), mean \(0\), and period \(\dfrac{\pi}{2}\), with an upward midline crossing at \(t=0\). Find its rule.
Solution
Amplitude and mean are given, so \(a=2\), \(b=0\). Find \(n\) from the period:
\(n\)\(=\)\(\dfrac{2\pi}{\text{period}}\)
\(=\)\(\dfrac{2\pi}{\pi/2}=4\)
The upward crossing at \(t=0\) gives \(e=0\), so assemble the rule:
\(y\)\(=\)\(2\sin(4t)+0\)
\(\therefore\) \(y=2\sin 4t\)
y=2sin4t
Example 3 — sine with a phase shift
A curve of amplitude \(2\) oscillates about \(y=0\) with period \(2\pi\), and crosses the midline going upward at \(t=\dfrac{\pi}{6}\). Find a sine rule.
Solution
Fix \(a\), \(b\) and \(n\):
\(a=2,\ b\)\(=\)\(0\)
\(n\)\(=\)\(\dfrac{2\pi}{2\pi}=1\)
For a sine rule, \(e\) is the upward midline crossing, so \(e=\dfrac{\pi}{6}\):
\(y\)\(=\)\(2\sin\!\big(1\cdot(t-\dfrac{\pi}{6})\big)+0\)
\(\therefore\) \(y=2\sin\!\big(t-\dfrac{\pi}{6}\big)\)
y=2sin(tπ6)
Example 4 — full rule from a graph
The graph has a maximum of \(4\) at \(t=\dfrac{\pi}{3}\) and a minimum of \(-2\), with period \(\pi\). Find a rule for the curve.
Read the rule of a cosine graphA cosine curve with a maximum of 4 at t = pi/3 and a minimum of -2 at t = 5 pi/6, oscillating about the midline y=1 with period pi. t y max 4 min -2 y=1 a=3
Solution
Mean, amplitude and \(n\):
\(b\)\(=\)\(\dfrac{4+(-2)}{2}=1\)
\(a\)\(=\)\(\dfrac{4-(-2)}{2}=3\)
\(n\)\(=\)\(\dfrac{2\pi}{\pi}=2\)
A maximum sits at \(t=\dfrac{\pi}{3}\), so use cosine with \(e=\dfrac{\pi}{3}\):
\(y\)\(=\)\(3\cos\!\big(2(t-\dfrac{\pi}{3})\big)+1\)
Check at \(t=\dfrac{\pi}{3}\): \(\cos 0=1\), so \(y=3(1)+1=4\). Correct.
\(\therefore\) \(y=3\cos\!\big(2(t-\dfrac{\pi}{3})\big)+1\)
y=3cos(2(tπ3))+1

Common pitfalls

\(n\) is not the period. The number multiplying \(t\) is \(n=\dfrac{2\pi}{\text{period}}\), not the period itself. A period of \(\pi\) gives \(n=2\), so the rule contains \(\sin 2t\), never \(\sin \pi t\).
Factor before reading the phase shift. In \(\sin(2t-\dfrac{\pi}{3})\) the shift is not \(\dfrac{\pi}{3}\). Factor to \(\sin\!\big(2(t-\dfrac{\pi}{6})\big)\): the shift is \(e=\dfrac{\pi}{6}\).
Amplitude is half the swing, and positive. With a maximum of \(4\) and minimum of \(-2\), the amplitude is \(\dfrac{4-(-2)}{2}=3\), not \(4\) or \(6\). The mean \(b=1\) then lifts the whole curve.

Frequently asked questions

How do you find the amplitude of a sinusoid from its graph?

The amplitude is half the distance between the maximum and minimum: \(a=\dfrac{\text{max}-\text{min}}{2}\). For a maximum of \(5\) and minimum of \(1\), \(a=\dfrac{5-1}{2}=2\). It is always taken positive.

How do you find the mean or midline of a sinusoid?

The mean is halfway between the maximum and minimum: \(b=\dfrac{\text{max}+\text{min}}{2}\). This is the midline \(y=b\) the curve oscillates about; for a max of \(5\) and min of \(1\), \(b=3\).

How do you find n from the period of the graph?

Measure the period (one full cycle) and use \(n=\dfrac{2\pi}{\text{period}}\). A period of \(\pi\) gives \(n=2\); a period of \(\dfrac{\pi}{2}\) gives \(n=4\).

How do you find the phase shift of a sinusoid?

Write it as \(y=a\sin\!\big(n(t-e)\big)+b\). For sine, \(e\) is an upward midline crossing; for cosine, \(e\) is a maximum. It is the shift to the right.

Should I use sine or cosine when determining the rule?

Either fits any sinusoid, so choose the easier reference point. Use cosine when a maximum sits at a convenient \(t\); use sine when a clear upward midline crossing is visible.

How do you check a sinusoidal rule is correct?

Substitute a known point into your rule and confirm the value, and check the amplitude, mean and period match the graph. Testing a maximum or a midline crossing verifies all four constants.