James Ashton MathsFREE MATHEMATICS. OPEN TO EVERYONE.
HomeIB DiplomaA levelAbout
IB Diploma › Maths AA HL › Topic 3: Geometry & trigonometry › Trig graphs & equations

Trig graphs & equations

The graphs of sine, cosine and tangent, transformed trig functions and models, and solving trigonometric equations in a given interval.

SL 3.73.8SL + HL extensionPaper 1Paper 2≈ 65 min to work through
Before you start: the unit circle and transformations. See Unit circle & identities and Transformations.

1What you need to know

Tick these off as you go. By the end of the page you should be able to do all of them without notes.

  • Sketch y=sinx, y=cosx and y=tanxSL 3.7
  • Find the amplitude, period and principal axis of y=asin(b(x+c))+dSL 3.7
  • Use trigonometric models in contextSL 3.7
  • Solve trigonometric equations in a finite interval, by algebra and graphicallySL 3.8
  • Solve equations that are quadratic in sin or cos, or need an identitySL 3.8

2Notes & worked examples

Each idea is followed by a worked example. Try the question yourself first, then reveal the solution one step at a time.

The big idea

Sine and cosine graphs repeat forever, so they model anything periodic: tides, daylight hours, a Ferris wheel. Because the graphs repeat, a trigonometric equation usually has many solutions, and you must find all of them in the given interval.

2.1 Graphs and transformations

As the point P goes round the unit circle, its height sinθ rises and falls in a wave. Plotting that height against the angle gives the sine graph. After one full turn (2π) the pattern repeats.

sinx and cosx have period 2π and range [−1,1]. tanx has period π and vertical asymptotes at x=π2+kπ.

For y = a sin(b(x + c)) + d
  • amplitude |a|
  • period 2πb
  • principal axis y=d; maximum d+|a|, minimum d−|a|
  • horizontal translation −c

These are the transformations you already know. a stretches vertically (the height of the wave), b stretches horizontally (how squashed the waves are), c shifts left or right, and d moves the centre line up or down. In context, d is the average value and d±a are the maximum and minimum.

Worked example 1Paper 1
For y=3sin2x+1, find the amplitude, the period, and the maximum and minimum values.
Amplitude 3, period 2π2=π.
Maximum 1+3=4, minimum 1−3=−2.

2.2 Solving trig equations

Find the reference angle, use the quadrants (or symmetry of the graph) to find every solution in one period, then add or subtract periods to find all the solutions in the interval. If the angle is 2x, first double the interval.

Why are there several solutions?

Draw the horizontal line y=12 across the graph of y=sinx. It crosses the wave twice in every cycle, so the equation sinx=12 has two solutions per period. The calculator only gives one of them (the principal value). The symmetry of the graph gives the other: for sine, π−x; for cosine, 2π−x.

For equations like cos2x=12, solve for 2x first. If 0≤x≤π, then 0≤2x≤2π, so you need all solutions for 2x in that larger interval before halving.

Worked example 2Paper 1
Solve 2sinx=1 for 0≤x≤2π.
sinx=12: reference angle π6.
Sine is positive in the 1st and 2nd quadrants.
x=π6, 5π6
Worked example 3Paper 1
Solve cos2x=12 for 0≤x≤π.
Let u=2x, so 0≤u≤2π.
Change the interval as well as the angle.
u=π3, 5π3
x=π6, 5π6

Some trigonometric equations are quadratics in disguise. In 2sin2x−sinx−1=0, let s=sinx to get 2s2−s−1=0. Solve for s, then solve each sinx=s separately. Reject any value of s outside [−1,1]: sine can never take it.

Worked example 4Paper 1
Solve 2sin2x−sinx−1=0 for 0≤x≤2π.
(2sinx+1)(sinx−1)=0
sinx=1: x=π2
sinx=−12: x=7π6, 11π6
Worked example 5Paper 2
The depth of water in a harbour is h(t)=2cos(πt6)+5 metres, t hours after midnight. Find when the depth is 6 m, for 0≤t≤12.
cos(πt6)=12
πt6=π3 or 5π3
t=2 or t=10: at 02:00 and 10:00.
Worked example 6 (faded)Paper 1
Solve tanx=3 for 0≤x≤2π.
Reference angle: π/3  ← you work this out
Tan has period π, so the solutions are π/3 and 4π/3  ← you work this out
On your TI-Nspire Calculator tricks →

Set Radian mode. Graph both sides, set the window to the interval in the question (menu → 4: Window/Zoom → 1: Window Settings), then use Intersection for each solution.

3Explore it

Build y=asin(b(x−c))+d (or cos). The red line y=k shows how many solutions f(x)=k has for 0≤x≤2π.

★HL extension

Extra depth for HL: harder worked examples and HL-standard exam questions.

HL trig equations combine transformed arguments such as 2x−π3, double angle and reciprocal identities, and questions about how many solutions an equation has. The key skill is transforming the interval correctly.

Transformed arguments

For sin(2x−π3)=12 on 0≤x≤2π, let u=2x−π3. Find the interval for u first, list every solution for u in that interval, then convert back.

Worked example H1Paper 1
Solve sin(2x−π3)=12, for 0≤x≤2π.
u=2x−π3 lies in [−π3,11π3].
Transform the interval before solving.
u=π6,5π6,13π6,17π6
2x=u+π3=π2,7π6,5π2,19π6
x=π4, 7π12, 5π4, 19π12

Mixed functions: use an identity

Worked example H2Paper 1
Solve cos2x=3sinx−1, for 0≤x≤2π.
1−2sin2x=3sinx−1⇒2sin2x+3sinx−2=0
(2sinx−1)(sinx+2)=0
sinx=−2 is impossible; sinx=12⇒x=π6,5π6
Choose the form of cos 2x that matches the other function.

How many solutions?

For asin(bx)=k on an interval, count the periods: each full period of a sine graph meets a line y=k twice when |k|<|a|, once at a maximum or minimum, and not at all when |k|>|a|.

HL exam-style questions

Question 1Paper 1[6 marks]

Solve sin(2x−π3)=12, for 0≤x≤π.

−π3≤2x−π3≤5π3M1
2x−π3=π6 or 5π6A1A1
2x=π2 or 7π6M1
x=π4, x=7π12A1A1
Question 2Paper 1[6 marks]

Solve cos2x=3sinx−1, for 0≤x≤2π.

1−2sin2xM1
2sin2x+3sinx−2=0A1
(2sinx−1)(sinx+2)=0M1
sinx=−2 has no solutionR1
x=π6, 5π6A1A1

4Common mistakes & exam tips

Common mistakes

  • Finding only the first solution from the calculator.
  • Not changing the interval when the angle is 2x or x2.
  • Dividing both sides by sinx or cosx, which loses solutions: factorise instead.
  • Period of sinbx given as 2πb instead of 2πb.
  • Degree mode when the interval is in radians.

Exam tips

  • Sketch the graph over the interval and count the solutions before you find them.
  • Give exact answers on Paper 1 (multiples of π); 3 s.f. on Paper 2.
  • Use cos2x=1−sin2x to turn a mixed equation into a quadratic in one function.

5Practice

Fluency questions build the basics. Problem-solving questions make you think about which method to use.

FluencyP1
Write down the period of y=sin3x.
2π3
FluencyP2
Write down the amplitude of y=−4cosx+1.
4
FluencyP3
Solve sinx=0 for 0≤x≤2π.
x=0, π, 2π
FluencyP4
Solve cosx=−12 for 0≤x≤2π.
x=2π3, 4π3
Problem solvingP5
Solve sin2x=cosx for 0≤x≤π.
2sinxcosx−cosx=0⇒cosx(2sinx−1)=0. So x=π2, π6, 5π6.
Problem solvingP6
The height of a seat on a Ferris wheel is h=22−20cos(πt15) metres, where t is in seconds. Find the maximum height, minimum height and the time for one revolution.
Maximum 42 m, minimum 2 m, period 2ππ/15=30 seconds.

6Exam-style questions

Original questions in the style of the IB exam, with full markschemes. Give yourself about 1 minute per mark.

Question 1Paper 1[6 marks]

f(x)=2cos3x+1.

  • (a)Write down the period of f.[1]
  • (b)Write down the range of f.[2]
  • (c)Solve f(x)=2 for 0≤x≤2π3.[3]
(a)
2π3A1
(b)
−1≤f(x)≤3A2
(c)
cos3x=12, with 0≤3x≤2πM1
3x=π3, 5π3A1
x=π9, 5π9A1
Question 2Paper 1[6 marks]

Solve 2cos2x+3sinx−3=0 for 0≤x≤2π.

2(1−sin2x)+3sinx−3=0M1
2sin2x−3sinx+1=0A1
(2sinx−1)(sinx−1)=0M1
x=π2A1
x=π6, 5π6A1 A1
Question 3Paper 2[6 marks]

The depth of water at a jetty is d(t)=4.2+1.8sin(πt6) metres, t hours after midnight.

  • (a)Find the maximum depth and the first time it occurs.[2]
  • (b)Find the depth at 08:00.[1]
  • (c)A boat needs a depth of at least 5 m. Find the length of time, between t=0 and t=12, when the boat can use the jetty.[3]
(a)
6.0 mA1
at t=3 (03:00)A1
(b)
2.64 mA1
(c)
d(t)=5: t=0.880 and t=5.12M1 A1
4.24 hoursA1

7Check yourself

Six quick questions, marked instantly. Aim for 6/6 before moving on. Fractions like 3/2 are accepted.

8Past-paper practice

Once you're scoring well above, try real IB questions. Your school or teacher will have these papers.

PaperQuestionFocusDifficulty
May 2025 · TZ1 · Paper 2Q2Find parameters of a tangent function from two given points★☆☆
May 2023 · TZ1 · Paper 1Q5Express a parameter and sketch a transformed sine graph★★☆
May 2022 · TZ1 · Paper 1Q5Describe transformations and find a minimum y-intercept value★★☆
May 2024 · TZ1 · Paper 2Q10Model tide heights with a sine function★★★
Spotted a mistake on this page?Tell me and I'll fix it. The button opens an email with this page already named, or write to jamesashtonmaths@gmail.com.
Report a mistake