Graphing Sine and Cosine: Amplitude, Period and Phase Shift
On this page
Every sine or cosine graph can be written as . The four numbers control the shape: is the amplitude, is the period, is the phase shift, and moves the midline up or down.
The basic wave
starts at 0, rises to 1 at , returns to 0 at , drops to at and repeats every . The cosine graph is the same wave shifted left by .
What each parameter does
| Parameter | Effect | Formula |
|---|---|---|
| stretches vertically | amplitude | |
| squeezes horizontally | period | |
| shifts sideways | phase shift | |
| shifts up or down | midline |
Worked example 1:
- Amplitude .
- Period .
- Midline , so the wave runs from to .
Worked example 2:
Here , so the phase shift is : the graph moves right by . The amplitude is 2 and the period is .
Negative A
A negative flips the wave upside down. has amplitude 1, period , and midline .
Common mistakes
- Taking the period to be instead of .
- Reading the phase shift as instead of .
- Forgetting that amplitude is never negative.
Practice questions
- Period of ?
- Range of ?
- Phase shift of ?
Answers: 1) 2) 3) (left by )
The sine graph calculator draws two full periods with the midline marked. For individual values use the trigonometry calculator, and revise the basics in sine, cosine and tangent explained.
Frequently asked questions
What is the amplitude of y = −5 sin x?
- Amplitude is the absolute value of A.
What is the frequency?
The number of cycles per unit of x, which is 1 ÷ period.
Why use radians for graphs?
With radians, the period of sin x is exactly 2π and calculus results like (sin x)′ = cos x hold.
#trigonometry#graphs
