Skip to main content

Trigonometry — Diagnostic Tests

Unit Tests

Tests edge cases, boundary conditions, and common misconceptions for trigonometry.

UT-1: Ambiguous Sine Rule Case

Question:

In triangle ABCABC, AB=8AB = 8 cm, BC=6BC = 6 cm, and BAC=30°\angle BAC = 30°. Find the possible values of ABC\angle ABC.

Solution:

By the sine rule:

sinABCAC=sin30°BC\frac{\sin \angle ABC}{AC} = \frac{\sin 30°}{BC}

We need ACAC first. We only have ABAB, BCBC, and A\angle A -- this is the SSA (ambiguous) case.

Using the sine rule: sinC8=sin30°6\dfrac{\sin C}{8} = \dfrac{\sin 30°}{6}

sinC=8sin30°6=8×0.56=23\sin C = \dfrac{8 \sin 30°}{6} = \dfrac{8 \times 0.5}{6} = \dfrac{2}{3}

Since sinC=23<1\sin C = \dfrac{2}{3} \lt 1 and CC is acute or obtuse:

C=arcsin(23)41.8°C = \arcsin\left(\dfrac{2}{3}\right) \approx 41.8° or C=180°41.8°=138.2°C = 180° - 41.8° = 138.2°.

Check: C+A=138.2°+30°=168.2°<180°C + A = 138.2° + 30° = 168.2° \lt 180°. Both are valid.

This is the ambiguous case of the sine rule. A common mistake is giving only the acute angle.


UT-2: Choosing Sine vs Cosine Rule

Question:

In triangle PQRPQR, PQ=5PQ = 5, QR=7QR = 7, PR=8PR = 8. Find PQR\angle PQR.

Solution:

We have all three sides (SSS), so use the cosine rule:

cosPQR=PQ2+QR2PR22PQQR=25+49642×5×7=1070=17\cos \angle PQR = \frac{PQ^2 + QR^2 - PR^2}{2 \cdot PQ \cdot QR} = \frac{25 + 49 - 64}{2 \times 5 \times 7} = \frac{10}{70} = \frac{1}{7}

PQR=arccos(17)81.8°\angle PQR = \arccos\left(\frac{1}{7}\right) \approx 81.8°

Using the sine rule here would require first finding another angle, which is less efficient and risks the ambiguous case.


UT-3: Trigonometric Equation with Multiple Solutions

Question:

Solve sin2x=cosx\sin 2x = \cos x for 0°x<360°0° \leq x \lt 360°.

Solution:

sin2x=cosx\sin 2x = \cos x

2sinxcosx=cosx2\sin x \cos x = \cos x

2sinxcosxcosx=02\sin x \cos x - \cos x = 0

cosx(2sinx1)=0\cos x(2\sin x - 1) = 0

Case 1: cosx=0    x=90°\cos x = 0 \implies x = 90° or x=270°x = 270°.

Case 2: sinx=12    x=30°\sin x = \dfrac{1}{2} \implies x = 30° or x=150°x = 150°.

A common mistake is dividing by cosx\cos x without considering the case cosx=0\cos x = 0, which loses solutions.

Solution: x=30°,  90°,  150°,  270°x = 30°,\; 90°,\; 150°,\; 270°.


UT-4: 3D Angle Between Line and Plane

Question:

In the cuboid ABCDEFGHABCDEFGH where AB=4AB = 4, BC=3BC = 3, CG=5CG = 5. Find the angle between the diagonal AGAG and the base ABCDABCD.

Solution:

The base ABCDABCD is the plane containing points A,B,C,DA, B, C, D.

GG is directly above CC (assuming standard cuboid notation), so GG has height CG=5CG = 5 above the base.

The projection of AGAG onto the base is ACAC.

AC=AB2+BC2=16+9=5AC = \sqrt{AB^2 + BC^2} = \sqrt{16 + 9} = 5

AG=AC2+CG2=25+25=50=52AG = \sqrt{AC^2 + CG^2} = \sqrt{25 + 25} = \sqrt{50} = 5\sqrt{2}

The angle θ\theta between AGAG and the base is:

sinθ=CGAG=552=12\sin \theta = \frac{CG}{AG} = \frac{5}{5\sqrt{2}} = \frac{1}{\sqrt{2}}

θ=45°\theta = 45°


UT-5: Proving a Trigonometric Identity

Question:

Prove that 1cos2xsin2x=tanx\dfrac{1 - \cos 2x}{\sin 2x} = \tan x.

Solution:

1cos2xsin2x=1(12sin2x)2sinxcosx=2sin2x2sinxcosx=sinxcosx=tanx\qed\frac{1 - \cos 2x}{\sin 2x} = \frac{1 - (1 - 2\sin^2 x)}{2\sin x \cos x} = \frac{2\sin^2 x}{2\sin x \cos x} = \frac{\sin x}{\cos x} = \tan x \qed


Integration Tests

Tests synthesis of trigonometry with other topics.

IT-1: Trigonometry and Coordinate Geometry (with Coordinate Geometry)

Question:

Three points A(cosθ,  sinθ)A(\cos\theta,\; \sin\theta), B(cos3θ,  sin3θ)B(\cos 3\theta,\; \sin 3\theta), C(cos5θ,  sin5θ)C(\cos 5\theta,\; \sin 5\theta) lie on the unit circle. Show that AA, BB, CC are collinear when θ=36°\theta = 36°.

Solution:

For collinearity, the area of triangle ABCABC must be zero.

Area=12xA(yByC)+xB(yCyA)+xC(yAyB)\text{Area} = \frac{1}{2}\left|x_A(y_B - y_C) + x_B(y_C - y_A) + x_C(y_A - y_B)\right|

=12cosθ(sin3θsin5θ)+cos3θ(sin5θsinθ)+cos5θ(sinθsin3θ)= \frac{1}{2}\left|\cos\theta(\sin 3\theta - \sin 5\theta) + \cos 3\theta(\sin 5\theta - \sin\theta) + \cos 5\theta(\sin\theta - \sin 3\theta)\right|

Using the identity sinAsinB=2cosA+B2sinAB2\sin A - \sin B = 2\cos\dfrac{A+B}{2}\sin\dfrac{A-B}{2}:

sin3θsin5θ=2cos4θsin(θ)=2cos4θsinθ\sin 3\theta - \sin 5\theta = 2\cos 4\theta \sin(-\theta) = -2\cos 4\theta \sin\theta

sin5θsinθ=2cos3θsin2θ\sin 5\theta - \sin\theta = 2\cos 3\theta \sin 2\theta

sinθsin3θ=2cos2θsin(θ)=2cos2θsinθ\sin\theta - \sin 3\theta = 2\cos 2\theta \sin(-\theta) = -2\cos 2\theta \sin\theta

Substituting:

122cosθcos4θsinθ+2cos3θcos3θsin2θ2cos5θcos2θsinθ\frac{1}{2}\left|-2\cos\theta \cos 4\theta \sin\theta + 2\cos 3\theta \cos 3\theta \sin 2\theta - 2\cos 5\theta \cos 2\theta \sin\theta\right|

At θ=36°\theta = 36°: θ=36°\theta = 36°, 3θ=108°3\theta = 108°, 5θ=180°5\theta = 180°.

A=(cos36°,  sin36°)A = (\cos 36°,\; \sin 36°), B=(cos108°,  sin108°)B = (\cos 108°,\; \sin 108°), C=(1,  0)C = (-1,\; 0).

Slope AB=sin108°sin36°cos108°cos36°AB = \dfrac{\sin 108° - \sin 36°}{\cos 108° - \cos 36°}

sin108°=cos18°\sin 108° = \cos 18°, cos108°=sin18°\cos 108° = -\sin 18°.

Slope AC=0sin36°1cos36°=sin36°1cos36°=sin36°1+cos36°AC = \dfrac{0 - \sin 36°}{-1 - \cos 36°} = \dfrac{-\sin 36°}{-1 - \cos 36°} = \dfrac{\sin 36°}{1 + \cos 36°}

Using sin36°1+cos36°=tan18°\dfrac{\sin 36°}{1 + \cos 36°} = \tan 18°.

Slope AB=cos18°sin36°sin18°cos36°AB = \dfrac{\cos 18° - \sin 36°}{-\sin 18° - \cos 36°}.

Since sin36°=2sin18°cos18°\sin 36° = 2\sin 18°\cos 18° and cos36°=12sin218°\cos 36° = 1 - 2\sin^2 18°:

Numerator: cos18°2sin18°cos18°=cos18°(12sin18°)\cos 18° - 2\sin 18°\cos 18° = \cos 18°(1 - 2\sin 18°).

Denominator: sin18°1+2sin218°=(1+sin18°2sin218°)-\sin 18° - 1 + 2\sin^2 18° = -(1 + \sin 18° - 2\sin^2 18°).

This equals tan18°\tan 18° (verifiable numerically: tan18°0.325\tan 18° \approx 0.325).

Since slope ABAB = slope ACAC, the points are collinear.


IT-2: Trigonometry and Algebra (with Quadratics)

Question:

Solve tan2x3tanx+1=0\tan^2 x - 3\tan x + 1 = 0 for 0°x<180°0° \leq x \lt 180°.

Solution:

Let u=tanxu = \tan x:

u23u+1=0u^2 - 3u + 1 = 0

u=3±942=3±52u = \frac{3 \pm \sqrt{9 - 4}}{2} = \frac{3 \pm \sqrt{5}}{2}

tanx=3+522.618    x69.1°\tan x = \dfrac{3 + \sqrt{5}}{2} \approx 2.618 \implies x \approx 69.1°

tanx=3520.382    x20.9°\tan x = \dfrac{3 - \sqrt{5}}{2} \approx 0.382 \implies x \approx 20.9°

In the range 0°x<180°0° \leq x \lt 180°, each tangent value gives one solution (since tan\tan is positive in both Q1 and Q3):

x69.1°x \approx 69.1° or x20.9°x \approx 20.9°.

Exact: x=arctan(3+52)x = \arctan\left(\dfrac{3 + \sqrt{5}}{2}\right) or x=arctan(352)x = \arctan\left(\dfrac{3 - \sqrt{5}}{2}\right).


IT-3: Trigonometry and 3D Geometry (with Geometries)

Question:

A pyramid has a square base ABCDABCD of side 6 cm and vertex VV directly above the centre OO of the base. The height VO=4VO = 4 cm. Find the angle between the plane VABVAB and the base ABCDABCD.

Solution:

The angle between two planes equals the angle between their normals, or equivalently the angle between a line in one plane perpendicular to the line of intersection and its projection.

Let MM be the midpoint of ABAB. Then OMABOM \perp AB and VMABVM \perp AB.

The angle between plane VABVAB and the base is VMO\angle VMO.

OM=62=3OM = \dfrac{6}{2} = 3 cm (half the side of the square).

VO=4VO = 4 cm.

In right triangle VOMVOM: tanVMO=VOOM=43\tan \angle VMO = \dfrac{VO}{OM} = \dfrac{4}{3}.

VMO=arctan(43)53.1°\angle VMO = \arctan\left(\frac{4}{3}\right) \approx 53.1°


Worked Examples

WE-1: Sine Rule Application

Question:

In triangle ABCABC, A=45°\angle A = 45°, B=60°\angle B = 60°, and a=8a = 8 cm. Find the length of side cc.

Solution:

C=180°45°60°=75°\angle C = 180° - 45° - 60° = 75°

By the sine rule:

csinC=asinA\frac{c}{\sin C} = \frac{a}{\sin A}

c=asinCsinA=8sin75°sin45°=8×0.96590.707110.93 cmc = \frac{a \sin C}{\sin A} = \frac{8 \sin 75°}{\sin 45°} = \frac{8 \times 0.9659}{0.7071} \approx 10.93 \text{ cm}


WE-2: Cosine Rule to Find an Angle

Question:

In triangle PQRPQR, PQ=5PQ = 5 cm, QR=7QR = 7 cm, PR=10PR = 10 cm. Find the largest angle.

Solution:

The largest angle is opposite the longest side, so it is Q\angle Q (opposite PR=10PR = 10).

cosQ=PQ2+QR2PR22PQQR=25+491002×5×7=2670=1335\cos \angle Q = \frac{PQ^2 + QR^2 - PR^2}{2 \cdot PQ \cdot QR} = \frac{25 + 49 - 100}{2 \times 5 \times 7} = \frac{-26}{70} = -\frac{13}{35}

Q=arccos(1335)111.8°\angle Q = \arccos\left(-\frac{13}{35}\right) \approx 111.8°


WE-3: Trigonometric Identity Proof

Question:

Prove that sinx1+cosx+1+cosxsinx=2cscx\dfrac{\sin x}{1 + \cos x} + \dfrac{1 + \cos x}{\sin x} = 2\csc x.

Solution:

LHS=sin2x+(1+cosx)2sinx(1+cosx)=sin2x+1+2cosx+cos2xsinx(1+cosx)\text{LHS} = \frac{\sin^2 x + (1 + \cos x)^2}{\sin x(1 + \cos x)} = \frac{\sin^2 x + 1 + 2\cos x + \cos^2 x}{\sin x(1 + \cos x)}

=(sin2x+cos2x)+1+2cosxsinx(1+cosx)=2+2cosxsinx(1+cosx)=2(1+cosx)sinx(1+cosx)=2sinx=2cscx=RHS\qed= \frac{(\sin^2 x + \cos^2 x) + 1 + 2\cos x}{\sin x(1 + \cos x)} = \frac{2 + 2\cos x}{\sin x(1 + \cos x)} = \frac{2(1 + \cos x)}{\sin x(1 + \cos x)} = \frac{2}{\sin x} = 2\csc x = \text{RHS} \qed


WE-4: Solving Trigonometric Equations in a Given Range

Question:

Solve cos2x=cosx\cos 2x = \cos x for 0°x<360°0° \leq x < 360°.

Solution:

cos2x=cosx\cos 2x = \cos x

2cos2x1=cosx2\cos^2 x - 1 = \cos x

2cos2xcosx1=02\cos^2 x - \cos x - 1 = 0

Let u=cosxu = \cos x: 2u2u1=0    (2u+1)(u1)=02u^2 - u - 1 = 0 \implies (2u + 1)(u - 1) = 0.

u=12u = -\dfrac{1}{2} or u=1u = 1.

cosx=12    x=120°\cos x = -\dfrac{1}{2} \implies x = 120° or x=240°x = 240°.

cosx=1    x=0°\cos x = 1 \implies x = 0°.

Solution: x=0°,  120°,  240°x = 0°,\; 120°,\; 240°.


WE-5: Area of Triangle Using Trigonometry

Question:

In triangle ABCABC, AB=12AB = 12 cm, AC=10AC = 10 cm, and BAC=65°\angle BAC = 65°. Find the area.

Solution:

Area=12×AB×AC×sinBAC=12×12×10×sin65°=60sin65°60×0.906354.4 cm2\text{Area} = \frac{1}{2} \times AB \times AC \times \sin \angle BAC = \frac{1}{2} \times 12 \times 10 \times \sin 65° = 60\sin 65° \approx 60 \times 0.9063 \approx 54.4 \text{ cm}^2


WE-6: 3D Distance Problem

Question:

In a rectangular room of dimensions 66 m ×\times 44 m ×\times 33 m, an ant walks from one corner of the floor to the diagonally opposite corner of the ceiling. Find the shortest distance the ant must crawl.

Solution:

The ant needs to go from (0,0,0)(0, 0, 0) to (6,4,3)(6, 4, 3).

The shortest path is the space diagonal:

d=62+42+32=36+16+9=617.81 md = \sqrt{6^2 + 4^2 + 3^2} = \sqrt{36 + 16 + 9} = \sqrt{61} \approx 7.81 \text{ m}

If the ant must stay on surfaces, the shortest path "unfolds" two walls:

Unfolding the 6×36 \times 3 wall and the 4×34 \times 3 wall: the path goes across a 6×76 \times 7 rectangle (wait, this needs careful analysis).

The shortest surface path would be min((6+4)2+32,(6+3)2+42,(4+3)2+62)=min(109,97,85)=859.22\min\left(\sqrt{(6+4)^2 + 3^2}, \sqrt{(6+3)^2 + 4^2}, \sqrt{(4+3)^2 + 6^2}\right) = \min(\sqrt{109}, \sqrt{97}, \sqrt{85}) = \sqrt{85} \approx 9.22 m.

The absolute shortest is the space diagonal 61\sqrt{61} m.


WE-7: Bearing Problem

Question:

A ship sails from port AA on a bearing of 060°060° for 1515 km to point BB, then on a bearing of 150°150° for 2020 km to point CC. Find the distance and bearing of CC from AA.

Solution:

ABC=150°(180°60°)=150°120°=30°\angle ABC = 150° - (180° - 60°) = 150° - 120° = 30°.

Wait: the angle between ABAB and BCBC at BB. The bearing from AA to BB is 060°060°. The reverse bearing from BB to AA is 240°240°. The bearing from BB to CC is 150°150°. The angle ABC=240°150°=90°ABC = 240° - 150° = 90°.

So triangle ABCABC has a right angle at BB.

AB=15AB = 15 km, BC=20BC = 20 km.

AC=152+202=225+400=625=25 kmAC = \sqrt{15^2 + 20^2} = \sqrt{225 + 400} = \sqrt{625} = 25 \text{ km}

Bearing of CC from AA: NAC=060°+arctan(2015)=60°+53.1°=113.1°\angle NAC = 060° + \arctan\left(\dfrac{20}{15}\right) = 60° + 53.1° = 113.1°.

The distance is 2525 km and the bearing is approximately 113°113°.


WE-8: Angle of Elevation and Depression

Question:

From the top of a cliff 8080 m high, the angle of depression of a boat is 30°30°. Find the distance of the boat from the base of the cliff.

Solution:

The angle of elevation from the boat to the top of the cliff equals the angle of depression from the top to the boat: 30°30°.

tan30°=80d\tan 30° = \frac{80}{d}

d=80tan30°=801/3=803138.6 md = \frac{80}{\tan 30°} = \frac{80}{1/\sqrt{3}} = 80\sqrt{3} \approx 138.6 \text{ m}


Common Pitfalls

  1. Missing solutions in trigonometric equations. When solving cosxf(x)=0\cos x \cdot f(x) = 0, you must consider both cosx=0\cos x = 0 AND f(x)=0f(x) = 0. Dividing by cosx\cos x or sinx\sin x loses solutions. Always factorise first.

  2. Using degrees when radians are required (or vice versa). In DSE Maths, most trigonometry problems use degrees unless specified otherwise. Always check the required units and be consistent throughout your working.

  3. Ambiguous case of the sine rule. When given two sides and a non-included angle (SSA), there may be two possible solutions. Always check if the supplementary angle is also valid (sums with given angle to less than 180°180°).

  4. Incorrect angle identification in 3D problems. In 3D trigonometry, the angle between a line and a plane is NOT the angle the line makes with a line in the plane. It is the angle between the line and its projection onto the plane. Draw clear diagrams.

  5. Bearings measured from North clockwise. A bearing of 060°060° means 60°60° clockwise from North (i.e. N60°E). Always draw a clear North arrow and measure bearings correctly.


DSE Exam-Style Questions

DSE-1

In triangle ABCABC, a=8a = 8 cm, b=6b = 6 cm, and A=70°\angle A = 70°.

(a) Find B\angle B. Give your answer correct to 1 decimal place. (3 marks) (b) Find the area of triangle ABCABC. (2 marks) (c) Find the length of the altitude from CC to ABAB. (2 marks)

Solution:

(a) By the sine rule:

sinBb=sinAa    sinB=6sin70°8=6×0.93978=0.7048\frac{\sin B}{b} = \frac{\sin A}{a} \implies \sin B = \frac{6\sin 70°}{8} = \frac{6 \times 0.9397}{8} = 0.7048

B=arcsin(0.7048)44.8°B = \arcsin(0.7048) \approx 44.8°.

Check for ambiguous case: 70°+44.8°=114.8°<180°70° + 44.8° = 114.8° < 180°.

B=180°44.8°=135.2°B' = 180° - 44.8° = 135.2°. 70°+135.2°=205.2°>180°70° + 135.2° = 205.2° > 180°. Invalid.

So B44.8°\angle B \approx 44.8°.

(b) C=180°70°44.8°=65.2°\angle C = 180° - 70° - 44.8° = 65.2°.

Area=12×8×6×sin65.2°24×0.907521.8\text{Area} = \dfrac{1}{2} \times 8 \times 6 \times \sin 65.2° \approx 24 \times 0.9075 \approx 21.8 cm2^2.

(c) Area=12×AB×h\text{Area} = \dfrac{1}{2} \times AB \times h, where AB=cAB = c.

By the sine rule: c=8sin65.2°sin44.8°8×0.90750.704810.3c = \dfrac{8\sin 65.2°}{\sin 44.8°} \approx \dfrac{8 \times 0.9075}{0.7048} \approx 10.3 cm.

h=2×21.810.34.23h = \dfrac{2 \times 21.8}{10.3} \approx 4.23 cm.


DSE-2

(a) Prove the identity 1cos2x1+cos2x=tan2x\dfrac{1 - \cos 2x}{1 + \cos 2x} = \tan^2 x. (3 marks) (b) Hence solve 1cos2x1+cos2x=3\dfrac{1 - \cos 2x}{1 + \cos 2x} = 3 for 0°x<360°0° \leq x < 360°. (3 marks)

Solution:

(a) 1cos2x1+cos2x=1(12sin2x)1+(2cos2x1)=2sin2x2cos2x=sin2xcos2x=tan2x\qed\dfrac{1 - \cos 2x}{1 + \cos 2x} = \dfrac{1 - (1 - 2\sin^2 x)}{1 + (2\cos^2 x - 1)} = \dfrac{2\sin^2 x}{2\cos^2 x} = \dfrac{\sin^2 x}{\cos^2 x} = \tan^2 x \qed

(b) tan2x=3    tanx=±3\tan^2 x = 3 \implies \tan x = \pm\sqrt{3}.

tanx=3    x=60°\tan x = \sqrt{3} \implies x = 60° or x=240°x = 240°.

tanx=3    x=120°\tan x = -\sqrt{3} \implies x = 120° or x=300°x = 300°.

Solution: x=60°,  120°,  240°,  300°x = 60°,\; 120°,\; 240°,\; 300°.


DSE-3

A vertical tower PQPQ stands on horizontal ground. From a point AA on the ground, the angle of elevation of PP is 32°32°. From another point BB, 5050 m from AA on the opposite side of the tower, the angle of elevation of PP is 24°24°. Find the height of the tower. (5 marks)

Solution:

Let the height be hh and let the horizontal distance from the foot QQ to AA be dd.

tan32°=hd    d=htan32°\tan 32° = \dfrac{h}{d} \implies d = \dfrac{h}{\tan 32°}.

tan24°=hd+50    d+50=htan24°\tan 24° = \dfrac{h}{d + 50} \implies d + 50 = \dfrac{h}{\tan 24°}.

htan32°+50=htan24°\dfrac{h}{\tan 32°} + 50 = \dfrac{h}{\tan 24°}.

h(1tan24°1tan32°)=50h\left(\dfrac{1}{\tan 24°} - \dfrac{1}{\tan 32°}\right) = 50.

h(cot24°cot32°)=50h\left(\cot 24° - \cot 32°\right) = 50.

h(2.24601.6003)=50h(2.2460 - 1.6003) = 50.

0.6457h=50    h=500.645777.40.6457h = 50 \implies h = \dfrac{50}{0.6457} \approx 77.4 m.


DSE-4

Solve sin2x+2cosx=2\sin^2 x + 2\cos x = 2 for 0°x180°0° \leq x \leq 180°. (4 marks)

Solution:

sin2x+2cosx=2\sin^2 x + 2\cos x = 2.

1cos2x+2cosx=21 - \cos^2 x + 2\cos x = 2.

cos2x+2cosx1=0-\cos^2 x + 2\cos x - 1 = 0.

cos2x2cosx+1=0\cos^2 x - 2\cos x + 1 = 0.

(cosx1)2=0(\cos x - 1)^2 = 0.

cosx=1\cos x = 1.

In [0°,  180°][0°,\; 180°]: x=0°x = 0°.


DSE-5

In the figure, ABCDABCD is a square of side 66 cm. EE is a point on BCBC such that BE=2BE = 2 cm. FF is the midpoint of CDCD. Find AEF\angle AEF. (5 marks)

Solution:

Place AA at the origin: A=(0,0)A = (0, 0), B=(6,0)B = (6, 0), C=(6,6)C = (6, 6), D=(0,6)D = (0, 6).

E=(6,2)E = (6, 2), F=(3,6)F = (3, 6).

AE=62+22=40=210AE = \sqrt{6^2 + 2^2} = \sqrt{40} = 2\sqrt{10}

EF=(63)2+(26)2=9+16=5EF = \sqrt{(6-3)^2 + (2-6)^2} = \sqrt{9 + 16} = 5

AF=32+62=45=35AF = \sqrt{3^2 + 6^2} = \sqrt{45} = 3\sqrt{5}

By the cosine rule in triangle AEFAEF:

cosAEF=AE2+EF2AF22AEEF=40+25452×210×5=202010=110=1010\cos \angle AEF = \frac{AE^2 + EF^2 - AF^2}{2 \cdot AE \cdot EF} = \frac{40 + 25 - 45}{2 \times 2\sqrt{10} \times 5} = \frac{20}{20\sqrt{10}} = \frac{1}{\sqrt{10}} = \frac{\sqrt{10}}{10}

AEF=arccos(1010)71.6°\angle AEF = \arccos\left(\frac{\sqrt{10}}{10}\right) \approx 71.6°