iLabs

Shunya / Trigonometry & Height-Distance

Shunya · Maths lab

Trigonometry & heights and distances

Spin a point round the unit circle and read sin, cos and tan straight off it. Watch the circle draw the sine wave, see why the ratios of a right triangle never change with its size, then use them to find the height of a tower, the distance to a boat or the length of a kite string by dragging the scene yourself.

The maths behind it

What each mode covers

Unit circle — drag a point round the circle for live sin, cos, tan, cosec, sec and cot, the exact values at the special angles, radians as multiples of π, the quadrant and its sign, and the reference angle. Class 11 trigonometric functions.
Graphs — the circle draws the sin, cos or tan curve as the point moves, with period, amplitude, phase shift and midline for y=Af(B(x−C))+Dy = A f(B(x - C)) + D. Class 11 graphs of trigonometric functions.
Right triangle — drag a corner or set the angle and size. The ratios stay fixed as the triangle grows, the special triangles give exact values, and the identities and complementary angles are checked with your numbers. Class 10 trigonometric ratios.
Heights & distances — a tower, a cliff and boat, a kite and a two-point survey. Drag the observer, the object or the top, and try the "match the angle" challenge. Class 10 applications of trigonometry.
Word problems — generated problems (easy, medium, hard) with a diagram, a hint, answer checking and a full worked solution. Class 10 heights and distances.

Part of Shunya. See the syllabus map for the chapters these modes map to. Also try the Function & Graph Explorer to plot any trigonometric function you like.

Formulas used in this lab

Trigonometric ratios of an acute angle Class 10

The three ratios
sin⁡θ=oppositehypotenuse,cos⁡θ=adjacenthypotenuse,tan⁡θ=oppositeadjacent\sin\theta = \dfrac{\text{opposite}}{\text{hypotenuse}},\quad \cos\theta = \dfrac{\text{adjacent}}{\text{hypotenuse}},\quad \tan\theta = \dfrac{\text{opposite}}{\text{adjacent}}
Their reciprocals
cosec⁡θ=1sin⁡θ,sec⁡θ=1cos⁡θ,cot⁡θ=1tan⁡θ\operatorname{cosec}\theta = \dfrac{1}{\sin\theta},\quad \sec\theta = \dfrac{1}{\cos\theta},\quad \cot\theta = \dfrac{1}{\tan\theta}
Tan as a quotient
tan⁡θ=sin⁡θcos⁡θ,cot⁡θ=cos⁡θsin⁡θ\tan\theta = \dfrac{\sin\theta}{\cos\theta},\qquad \cot\theta = \dfrac{\cos\theta}{\sin\theta}
Pythagoras theorem
opposite2+adjacent2=hypotenuse2\text{opposite}^2 + \text{adjacent}^2 = \text{hypotenuse}^2
Sides from the hypotenuse h
opposite=hsin⁡θ,adjacent=hcos⁡θ\text{opposite} = h\sin\theta,\qquad \text{adjacent} = h\cos\theta
Complementary angles
sin⁡(90∘−θ)=cos⁡θ,cos⁡(90∘−θ)=sin⁡θ,tan⁡(90∘−θ)=cot⁡θ\sin(90^\circ - \theta) = \cos\theta,\quad \cos(90^\circ - \theta) = \sin\theta,\quad \tan(90^\circ - \theta) = \cot\theta
Values at 0°, 30°, 45°, 60°, 90°
sin⁡: 0, 12, 12, 32, 1cos⁡: 1, 32, 12, 12, 0tan⁡: 0, 13, 1, 3, not defined\sin:\ 0,\ \tfrac12,\ \tfrac{1}{\sqrt2},\ \tfrac{\sqrt3}{2},\ 1 \qquad \cos:\ 1,\ \tfrac{\sqrt3}{2},\ \tfrac{1}{\sqrt2},\ \tfrac12,\ 0 \qquad \tan:\ 0,\ \tfrac{1}{\sqrt3},\ 1,\ \sqrt3,\ \text{not defined}

Trigonometric identities Class 10

Pythagorean identity
sin⁡2θ+cos⁡2θ=1\sin^2\theta + \cos^2\theta = 1
Tan and sec
1+tan⁡2θ=sec⁡2θ1 + \tan^2\theta = \sec^2\theta
Cot and cosec
1+cot⁡2θ=cosec⁡2θ1 + \cot^2\theta = \operatorname{cosec}^2\theta
Tan as a quotient
tan⁡θ=sin⁡θcos⁡θ\tan\theta = \dfrac{\sin\theta}{\cos\theta}
Complementary angles
sin⁡(90∘−θ)=cos⁡θ,tan⁡(90∘−θ)=cot⁡θ\sin(90^\circ - \theta) = \cos\theta,\qquad \tan(90^\circ - \theta) = \cot\theta

Heights and distances Class 10

Angle from the sides
tan⁡θ=Hd ⇒ θ=tan⁡−1Hd\tan\theta = \dfrac{H}{d}\ \Rightarrow\ \theta = \tan^{-1}\dfrac{H}{d}
Height from angle and distance (e = eye height, 0 at ground level)
H=dtan⁡θ+eH = d\tan\theta + e
Distance from height and angle
d=Htan⁡θd = \dfrac{H}{\tan\theta}
When a string or a ladder is involved
sin⁡θ=heightlength,cos⁡θ=distancelength\sin\theta = \dfrac{\text{height}}{\text{length}},\quad \cos\theta = \dfrac{\text{distance}}{\text{length}}
Length from the height and angle
length=heightsin⁡θ\text{length} = \dfrac{\text{height}}{\sin\theta}
Check with Pythagoras
length=d2+H2\text{length} = \sqrt{d^2 + H^2}
Angle of depression = angle of elevation (alternate angles)
θdepression=θelevation\theta_{\text{depression}} = \theta_{\text{elevation}}
Two observation points, distance s apart
H=s tan⁡θ1tan⁡θ2tan⁡θ2−tan⁡θ1H = \dfrac{s\,\tan\theta_1\tan\theta_2}{\tan\theta_2 - \tan\theta_1}
Tower above a building
tower=Hbuilding+dtan⁡(elevation)\text{tower} = H_{\text{building}} + d\tan(\text{elevation})
Handy values for 30°, 45°, 60°
tan⁡30∘=13,tan⁡45∘=1,tan⁡60∘=3\tan 30^\circ = \tfrac{1}{\sqrt3},\quad \tan 45^\circ = 1,\quad \tan 60^\circ = \sqrt3

The unit circle, radians and signs Class 11

A point on the unit circle
P=(cos⁡θ, sin⁡θ),x2+y2=1P = (\cos\theta,\ \sin\theta),\qquad x^2 + y^2 = 1
Radians and degrees
π rad=180∘,θrad=θdeg×π180\pi\ \text{rad} = 180^\circ,\qquad \theta_{\text{rad}} = \theta_{\text{deg}} \times \dfrac{\pi}{180}
Tan from the coordinates
tan⁡θ=sin⁡θcos⁡θ=yx\tan\theta = \dfrac{\sin\theta}{\cos\theta} = \dfrac{y}{x}
Reference angle, by quadrant
I: θII: 180∘−θIII: θ−180∘IV: 360∘−θ\text{I: } \theta \qquad \text{II: } 180^\circ - \theta \qquad \text{III: } \theta - 180^\circ \qquad \text{IV: } 360^\circ - \theta
Positive ratios in quadrants I and II
I: all,II: sin⁡\text{I: all},\qquad \text{II: } \sin
Positive ratios in quadrants III and IV
III: tan⁡,IV: cos⁡\text{III: } \tan,\qquad \text{IV: } \cos
Size from the reference angle
∣sin⁡θ∣=sin⁡(ref. angle),∣cos⁡θ∣=cos⁡(ref. angle)|\sin\theta| = \sin(\text{ref. angle}),\quad |\cos\theta| = \cos(\text{ref. angle})
Repeating every turn
sin⁡(θ+360∘)=sin⁡θ,tan⁡(θ+180∘)=tan⁡θ\sin(\theta + 360^\circ) = \sin\theta,\qquad \tan(\theta + 180^\circ) = \tan\theta

Graphs of sin, cos and tan Class 11

The general transformed wave
y=A f(B(x−C))+Dy = A\,f\bigl(B(x - C)\bigr) + D
Amplitude
∣A∣|A|
Period of sin and cos
2π∣B∣(360∘∣B∣)\dfrac{2\pi}{|B|}\quad\left(\dfrac{360^\circ}{|B|}\right)
Period of tan
π∣B∣(180∘∣B∣)\dfrac{\pi}{|B|}\quad\left(\dfrac{180^\circ}{|B|}\right)
Phase shift and midline
shift right by C,midline y=D\text{shift right by } C,\qquad \text{midline } y = D
Range of sin and cos
−1≤sin⁡θ≤1,−1≤cos⁡θ≤1-1 \le \sin\theta \le 1,\qquad -1 \le \cos\theta \le 1
Where tan has asymptotes
cos⁡θ=0 ⇒ θ=90∘+180∘n\cos\theta = 0\ \Rightarrow\ \theta = 90^\circ + 180^\circ n
Cos is sin shifted
cos⁡θ=sin⁡(θ+90∘)\cos\theta = \sin(\theta + 90^\circ)

Compound angles and trigonometric equations Class 11

Compound angles
sin⁡(A±B)=sin⁡Acos⁡B±cos⁡Asin⁡B,cos⁡(A±B)=cos⁡Acos⁡B∓sin⁡Asin⁡B\sin(A\pm B) = \sin A\cos B \pm \cos A\sin B,\quad \cos(A\pm B) = \cos A\cos B \mp \sin A\sin B
Tangent of a sum
tan⁡(A±B)=tan⁡A±tan⁡B1∓tan⁡Atan⁡B\tan(A\pm B) = \dfrac{\tan A \pm \tan B}{1 \mp \tan A\tan B}
Double angle
sin⁡2A=2sin⁡Acos⁡A,cos⁡2A=cos⁡2A−sin⁡2A=2cos⁡2A−1=1−2sin⁡2A\sin 2A = 2\sin A\cos A,\quad \cos 2A = \cos^2 A - \sin^2 A = 2\cos^2 A - 1 = 1 - 2\sin^2 A
Triple angle
sin⁡3A=3sin⁡A−4sin⁡3A,cos⁡3A=4cos⁡3A−3cos⁡A\sin 3A = 3\sin A - 4\sin^3 A,\quad \cos 3A = 4\cos^3 A - 3\cos A
Sum to product
sin⁡A+sin⁡B=2sin⁡A+B2cos⁡A−B2,cos⁡A−cos⁡B=−2sin⁡A+B2sin⁡A−B2\sin A + \sin B = 2\sin\tfrac{A+B}{2}\cos\tfrac{A-B}{2},\quad \cos A - \cos B = -2\sin\tfrac{A+B}{2}\sin\tfrac{A-B}{2}
Harmonic form
asin⁡x+bcos⁡x=Rsin⁡(x+φ), R=a2+b2, tan⁡φ=baa\sin x + b\cos x = R\sin(x+\varphi),\ R=\sqrt{a^2+b^2},\ \tan\varphi = \tfrac ba
General solutions
sin⁡x=sin⁡α⇒x=nπ+(−1)nα; cos⁡x=cos⁡α⇒x=2nπ±α; tan⁡x=tan⁡α⇒x=nπ+α\sin x=\sin\alpha \Rightarrow x=n\pi+(-1)^n\alpha;\ \cos x=\cos\alpha \Rightarrow x=2n\pi\pm\alpha;\ \tan x=\tan\alpha \Rightarrow x=n\pi+\alpha