On this concept: Formula

Not sure which lesson to do first? Find your level and get a plan →

Math · Advanced Functions · Grade 9-12

Trigonometric Function Graphs

A trig graph is the repeating wave you get by plotting a circular coordinate against the angle.

y=asin⁡(bx−c)+dwhere amplitude=∣a∣,  period=2π∣b∣,  phase shift=cb

Quick Answer

A trig graph is the repeating wave you get by plotting a circular coordinate against the angle. In y=asin⁡(bx−c)+d, four numbers control the wave: ∣a∣ is the amplitude (half the peak-to-trough height), 2π∣b∣ is the period (the length of one cycle), cb is the phase shift (how far the start moves right), and d sets the midline. Use these graphs to model anything that repeats on a cycle, such as tides, daylight hours, sound and alternating current.

Why This Matters

Real cycles have sizes, speeds and starting times, and the four parameters capture each one. A tide 3 m above and below a 5 m average with a 12.4-hour cycle becomes one formula you can evaluate at any hour. Mixing up which number does what, especially reading b as the period or c as the shift, sends the predicted high tide to the wrong time.

Intuitive Explanation

Walk around the unit circle and record your height, sin⁡x, against the angle x in radians. You start at 0, rise to 1 at π2, return to 0 at π, fall to −1 at 3π2, and come back to 0 at 2π, where the lap repeats. That is the sine wave: amplitude 1, period 2π, midline y=0. Cosine is the same wave started at its peak, since cos⁡x=sin⁡(x+π2).

Each parameter changes one feature. In y=3sin⁡(2x−π)+1, a=3 stretches the heights, so the wave runs from 1−3=−2 to 1+3=4. b=2 makes the angle run twice as fast, so a cycle takes 2π2=π. Writing the inside as 2(x−π2) shows the shift: the cycle that began at x=0 now begins at x=π2. Finally d=1 lifts the midline to y=1.

Not every trig graph is a smooth bounded wave. y=tan⁡x=sin⁡xcos⁡x blows up wherever cos⁡x=0, such as x=±π2, giving vertical asymptotes. It has period π, not 2π, and no amplitude, because it has no highest point. The rules for b, c and d still move it around, but a can only make it steeper, since there is no peak to measure.

Think of it like this. A trig graph is the trace of a Ferris wheel seat's height on a strip of paper sliding past at a steady speed. A bigger wheel draws a taller wave (a), a faster wheel a shorter cycle (b), boarding later shifts the wave sideways (c), and raising the hub lifts the midline (d).

Core idea. Reading off amplitude, period, phase shift, and vertical shift from y=asin⁡(bx−c)+d.


When to Use

Reach for y=asin⁡(bx−c)+d when a quantity repeats on a regular cycle and you know or need its high and low values, its period or the time of a peak: tides, yearly temperatures, sound, a bouncing spring. Get the midline and amplitude from the high and low, the period from the cycle length, then the shift from when a peak or midline crossing happens. If the graph has vertical asymptotes, it is tangent; if it repeats without being wave-shaped, treat it as a general periodic function.

Tip. Ask: Is the curve a repeating wave whose height, repeat length, and center I can name from a, b, c, d?

How to Recognize It

Before fitting a sine or cosine wave, check that the quantity rises and falls smoothly between a fixed high and a fixed low, and note how the problem describes time.

  1. Does the quantity swing between the same highest and lowest values every cycle?

    If yes, a sine or cosine model fits: tides between 1 m and 5 m give a 3 m midline, halfway between, and a 2 m amplitude, half the gap. Peaks that keep shrinking, as in a fading echo, need more than a plain wave.

  2. Does the graph shoot off to infinity at regular places instead of turning back?

    If yes, it is a tangent graph, with period π∣b∣ rather than 2π∣b∣ and no amplitude at all. Sine and cosine graphs stay between their high and low values and never break.

  3. Is the period given as a time, such as 12 hours or 365 days, rather than as b?

    If yes, work backward with b=2πperiod: a 12-hour tide cycle gives b=π6 per hour. Putting 12 in for b gives a wave that repeats far too fast.

  4. Does the repeating shape have corners or flat steps, like a sawtooth or a square wave?

    If yes, it is periodic but not a sine wave, so a, b, c and d do not describe it; treat it as a general periodic function and read its period from the graph. Sine and cosine waves are smooth and rounded at every peak.

Trigonometric Function Graphs compared with Periodic functions (general), Function transformations, and Tangent graph

Every row involves a graph you shift, stretch or repeat, so the vocabulary overlaps. Ask whether the graph repeats, and if it does, whether it is a smooth wave with a fixed high and low, a wave broken by asymptotes, or some other repeating shape.

Trigonometric Function Graphs

Meaning
Use this when a graph repeats with a fixed height and repeat-length and you must extract or set amplitude, period, phase shift, or center.
Key test
Is the curve a repeating wave whose height, repeat length, and center I can name from a, b, c, d?
Formula
y=asin⁡(bx−c)+dwhere amplitude=∣a∣,  period=2π∣b∣,  phase shift=cb
Example
For y=3sin⁡(2x−π)+1, find amplitude, period, phase shift, and vertical shift.

Periodic functions (general)

Meaning
The broad class of any repeating function, not specifically the sine/cosine wave shape.
Key test
Use when a pattern repeats but is not a smooth sinusoid, like a sawtooth or step.
Formula
f(x+T)=f(x)
Example
A tile pattern repeating every 4 units

Function transformations

Meaning
The general rules for shifting and stretching ANY graph, of which trig graphs are one case.
Key test
Use when transforming a parabola, line, or absolute-value graph rather than a wave.
Formula
y=af(b(x−h))+k
Example
Shifting y=x2 up 3

Tangent graph

Meaning
A trig graph with vertical asymptotes and period π, not a bounded smooth wave.
Key test
Use when the function is tan⁡, which is unbounded and breaks at π2+nπ.
Formula
period =π∣b∣
Example
tan⁡x shoots to infinity near 90°

Formula & Notation

y=asin⁡(bx−c)+dwhere amplitude=∣a∣,  period=2π∣b∣,  phase shift=cb
y=asin⁡(bx−c)+d: amplitude =∣a∣, period =2π∣b∣, phase shift =cb, midline y=d

How to read it: Amplitude =∣a∣, period =2π∣b∣, phase shift =cb, vertical shift =d.

Worked Examples

Example 1 — Read the wave's properties

Easy

For y=3sin⁡(2x−π)+1, find amplitude, period, phase shift, and vertical shift.
Show the steps and the answer
  1. Match the form asin⁡(bx−c)+d: a=3, b=2, c=π, d=1.

    The sign inside matters: 2x−π means c=+π.

  2. Amplitude ∣a∣=3 and midline y=d=1, so the wave runs from 1−3=−2 to 1+3=4.

    The amplitude is measured from the midline, not from the x-axis.

  3. Period: 2π∣b∣=2π2=π.

    The inside runs twice as fast as x, so one cycle takes half as long.

  4. Phase shift: factor the inside, 2x−π=2(x−π2), so the shift is π2 to the right.

    The shift appears only after b is factored out; it equals cb, not c.

  5. Check: at x=π2, y=3sin⁡0+1=1, on the midline and rising.

    The shifted cycle starts where the inside equals 0.

Answer: Amplitude 3, period π, phase shift π2, vertical shift 1

Takeaway: Factor b out of the inside before reading the shift; then amplitude ∣a∣, period 2π∣b∣, shift cb and midline d all follow.

Example 2 — Just a vertical stretch

Standard

Compare y=3sin⁡x to y=sin⁡(3x) — do they have the same period?
Show the steps and the answer
  1. For y=3sin⁡x: a=3 and b=1, so the amplitude is 3 and the period 2π1=2π.

    An outside 3 multiplies the heights and leaves the cycle length alone.

  2. For y=sin⁡3x: a=1 and b=3, so the amplitude is 1 and the period 2π3.

    An inside 3 makes the angle run three times as fast, so three full cycles fit into 2π.

  3. Compare the first peaks: sin⁡3x peaks when 3x=π2, at x=π6 with height 1; 3sin⁡x peaks at x=π2 with height 3.

    The peaks differ in both position and height, so these are different waves.

Answer: No — y=3sin⁡x has period 2π, y=sin⁡3x has period 2π3

Takeaway: The same 3 controls height when it is outside and cycle length when it is inside.

Example 3 — Find the mistake: reading the phase shift

Application

Find the phase shift of y=sin⁡(2x−π2). Kim writes: "The inside is 2x−π2, so the graph shifts π2 to the right." Find the mistake and correct it.
Show the steps and the answer
  1. Factor the inside: 2x−π2=2(x−π4).

    The shift is the amount subtracted from x itself, which shows only after b is factored out.

  2. Read the shift: π4 to the right, which is cb=π/22.

    The inside factor 2 squeezes everything horizontally, including the shift.

  3. Check where the cycle starts: 2x−π2=0 at x=π4, where y=sin⁡0=0 and the wave is rising.

    A sine cycle begins where its inside equals 0.

  4. Test Kim's value: at x=π2 the inside is π2, so y=sin⁡π2=1, a peak.

    A shift of π2 would put a rising zero there, so Kim's shift describes a different graph.

Answer: Phase shift π4 to the right

Takeaway: Factor b out of the inside before reading a phase shift; the shift is cb, not c.

Where You'll See It

  • Tides in a harbour

    If high tide is 8 m, low tide is 2 m and the cycle lasts 12.4 hours, the depth is y=3sin⁡(2π12.4(t−t0))+5: midline 8+22=5, amplitude 8−22=3, and b=2π12.4≈0.507, with t0 the time of a rising midline crossing. A boat needing 6.5 m can enter only while y>6.5.

  • Hours of daylight

    In a city whose longest day has 15 hours of daylight and shortest has 9, daylight roughly follows D=3sin⁡(2π365(t−80))+12, with t the day of the year. The shift of 80 days puts the 12-hour midline crossing near the March equinox.

Common Mistakes

  1. The slip: Using b directly as the period

    Instead: the period is 2π∣b∣, so divide.

  2. The slip: Forgetting to factor b out before reading the phase shift

    Instead: the shift is cb, not c.

  3. The slip: Letting a negative a change the amplitude

    Instead: amplitude is ∣a∣; the negative only flips the wave.


Mini Practice

Try these on your own. Tap Reveal when you want to check.

  1. Find the amplitude and period of y=4cos⁡(3x).

    Hint: The number in front sets the height; the number multiplying x sets the repeat length.

  2. For y=−2sin⁡(x2)+5, give the amplitude, period, midline, and maximum value.

    Hint: Amplitude uses ∣a∣; divide 2π by the coefficient of x.

  3. Find the phase shift of y=sin⁡(4x−π).

    Hint: Factor the coefficient of x out of the bracket before reading the shift.

  4. A sine wave has maximum 9, minimum 1, and repeats every 6 units. Write it as y=asin⁡(bx)+d with a>0.

    Hint: Half of max minus min gives the height of the wave; the average gives its centre line.

  5. A graph repeats every 2 seconds: it rises in a straight line from 0 to 5, then drops instantly back to 0. Can y=asin⁡(bx−c)+d describe it?

    Hint: Is the shape a smooth wave, or straight pieces with jumps?

  6. A student writes: "The period of y=cos⁡(5x) is 5." Correct the mistake.

    Hint: Does a bigger number inside squeeze the wave or stretch it?

Want the full set?

50 practice questions for this concept — free to try, every one with a complete worked solution showing the why, not just the answer.

Frequently Asked Questions

What is the difference between a sine graph and a cosine graph?

Only a shift. The cosine wave is the sine wave moved π2\frac{\pi}{2} to the left, so cos⁡x=sin⁡(x+π2)\cos x = \sin\left(x + \frac{\pi}{2}\right). Cosine starts at its peak when x=0x = 0; sine starts on the midline, going up. In modelling, pick whichever matches the start of your data: if measurements begin at high tide, y=acos⁡(bx)+dy = a\cos(bx) + d needs no phase shift at all.

Can the same wave have more than one correct equation?

Yes, infinitely many. Adding a full period to the phase shift gives the same graph: sin⁡(x−π3)\sin(x - \frac{\pi}{3}) and sin⁡(x−π3−2π)\sin(x - \frac{\pi}{3} - 2\pi) are identical. You can also flip the sign of aa and shift by half a period, since −sin⁡x=sin⁡(x+π)-\sin x = \sin(x + \pi), or switch to cosine. Two answers that look different may both be right, so compare a few points on each rather than the formulas.

Why is the amplitude half the height of the wave, not the whole height?

Because it is measured from the midline, not from the bottom. The wave y=2sin⁡xy = 2\sin x rises 2 above its midline and falls 2 below it, so the peak-to-trough height is 4 while the amplitude is 2. Measuring from the middle makes aa the actual multiplier in the formula and keeps it unchanged when dd raises or lowers the midline. A tide between 0.5 m and 3.5 m has amplitude 1.5 m.

Does real sound actually look like a sine wave?

A pure tone, such as a tuning fork's, comes very close: the air pressure rises and falls as a sine of time, 440 times a second for the note A above middle C. Most sounds are messier, but Joseph Fourier showed that almost any repeating signal can be built by adding sine waves of different periods and amplitudes. That is how a music app's equaliser can turn up the bass without touching the treble.

Learning Path

Trigonometric Function Graphs

You are here

You need Trigonometric Functions, Periodic Functions and Function Transformation: the values of sine and cosine, what a period is, and how shifts and stretches act on graphs. Trig graphs combine them, turning the four transformations into amplitude, period, phase shift and midline. Next, Inverse Trigonometric Functions run these graphs backward, which requires restricting each wave to one piece that passes the horizontal line test.

See Also