FreeMathCamp
Course Articles

Free Math Camp

A free course in the maths you need before calculus. Short lessons, interactive visuals, practice that adapts to you, and a record of progress on your account.

freemathcamp.app

Made by Adam Richard Turner

hello@adamrichardturner.dev

Course

  • Foundations
  • Articles
  • Start free
  • Sign in

Legal

  • Privacy
  • Terms
  • Do not sell or share

Copyright © Adam Richard Turner. All rights reserved.

  1. Articles
  2. /
  3. Trigonometry
Trigonometry

Graphs of Sine and Cosine: Amplitude, Period and Shifts

How unrolling the unit circle draws the sine wave, how cosine is the same wave shifted, and how amplitude, period and shifts change the graph, with an explorer to try each one.

3 min read Supports 3 lessons
In short

The graphs of y=sin⁡xy = \sin xy=sinx and y=cos⁡xy = \cos xy=cosx are waves that repeat every 2π2\pi2π. In y=Asin⁡(B(x−h))+ky = A\sin(B(x - h)) + ky=Asin(B(x−h))+k, ∣A∣|A|∣A∣ is the amplitude, 2π∣B∣\frac{2\pi}{|B|}∣B∣2π​ is the period, and hhh and kkk shift the wave.

Imagine the point on the unit circle travelling round and round. Plot its height against the angle it has turned through, and you draw a smooth wave: the graph of sine. Plot its horizontal position instead and you draw cosine.

Both waves repeat every 2π2\pi2π and stay between −1-1−1 and 111.

Key features

Sine starts at 000, rises to 111 at π2\frac{\pi}{2}2π​, returns to 000 at π\piπ, falls to −1-1−1 at 3π2\frac{3\pi}{2}23π​, and is back at 000 after one full turn, 2π2\pi2π. Then it repeats for ever. A graph that repeats like this is periodic.

Key idea

Cosine is the same wave as sine, shifted left by π2\frac{\pi}{2}2π​: cos⁡x=sin⁡ ⁣(x+π2)\cos x = \sin\!\left(x + \frac{\pi}{2}\right)cosx=sin(x+2π​).

Amplitude and period

Sinusoidal parameters
y=Asin⁡(B(x−h))+kamplitude ∣A∣, period 2π∣B∣y = A\sin\big(B(x - h)\big) + k \qquad \text{amplitude } |A|,\ \text{period } \frac{2\pi}{|B|}y=Asin(B(x−h))+kamplitude ∣A∣, period ∣B∣2π​

The amplitude is how far the wave rises above its centre line. The period is how long it takes to repeat. Bigger BBB squeezes more waves into the same space, so the period gets shorter.

Shifts

hhh slides the wave sideways (a phase shift) and kkk lifts it, moving the centre line to y=ky = ky=k. These are the same transformations as for any graph. Try them here:

  1. y=3sin⁡(2(x−π4))+1y = 3\sin\big(2(x - \tfrac{\pi}{4})\big) + 1y=3sin(2(x−4π​))+1

    Read off each feature.

1/4

Where waves appear

Tides, sound, alternating current, the seasons and the motion of a spring all follow sine waves. Adjusting AAA, BBB, hhh and kkk fits the model to the data: for daylight hours, the amplitude is the seasonal swing and the period is a year.

Watch out

The period depends on BBB, not AAA. Doubling AAA makes the wave taller; it does not make it longer.

Common questions

What is the period of sin x?

2π2\pi2π (or 360°360°360°). The graph repeats after one full turn round the unit circle.

How do I find the amplitude of a sine graph?

It is ∣A∣|A|∣A∣ in y=Asin⁡(Bx)y = A\sin(Bx)y=Asin(Bx), or half the distance from the lowest point to the highest point on the graph.

Practise sine and cosine graphs

The Graphs of Sine & Cosine lesson has worked examples and unlimited practice that adapts to you.

Open the lesson

On this page

  1. Key features
  2. Amplitude and period
  3. Shifts
  4. Where waves appear
  5. Common questions
Lessons on this
  • Graphs of Sine & CosineTrigonometry
  • The Unit CircleTrigonometry
  • Transforming GraphsFunctions
Related reading5
Ideas this article builds on or leads to.
  • Trigonometry
    The Unit Circle Explained: Sine and Cosine for Any Angle

    The unit circle has radius 111 and centre at the origin. The point at angle θ\thetaθ around it has coordinates (cos⁡θ,sin⁡θ)(\cos\theta, \sin\theta)(cosθ,sinθ), which defines sine and cosine for every angle, not just those under 90°90°90°.

  • Graphs & Functions
    Transformations of Graphs: Shifts, Stretches and Reflections

    A transformation moves or reshapes a graph. In y=a f(x−h)+ky = a\,f(x - h) + ky=af(x−h)+k, hhh shifts it right, kkk shifts it up, ∣a∣|a|∣a∣ stretches it vertically, and a negative aaa reflects it in the xxx-axis.

  • Trigonometry
    What Is a Radian? Converting Between Degrees and Radians

    A radian is the angle at the centre of a circle where the arc length equals the radius. A full turn is 2π2\pi2π radians, so 180°=π180° = \pi180°=π radians.

  • Geometry
    Angles Explained: Types of Angles and Angle Facts

    An angle measures an amount of turn. A full turn is 360°360°360°, a straight line 180°180°180° and a right angle 90°90°90°. Angles on a straight line add to 180°180°180° and angles around a point add to 360°360°360°.

  • Trigonometry
    SOH CAH TOA: Sine, Cosine and Tangent in Right-Angled Triangles

    In a right-angled triangle, sine, cosine and tangent are ratios of sides that depend only on an angle: sin⁡θ=opphyp\sin\theta = \frac{\text{opp}}{\text{hyp}}sinθ=hypopp​, cos⁡θ=adjhyp\cos\theta = \frac{\text{adj}}{\text{hyp}}cosθ=hypadj​, tan⁡θ=oppadj\tan\theta = \frac{\text{opp}}{\text{adj}}tanθ=adjopp​. SOH CAH TOA is the memory aid.