Skip to main content

Trigonometry — Diagnostic Tests

Unit Tests

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

UT-1: Solving Trigonometric Equations — Missing Solutions from Periodicity

Question:

Solve sin2x=cosx\sin 2x = \cos x for x[0,2π]x \in [0, 2\pi].

A student writes: "sin2x=cosx    2sinxcosx=cosx    cosx(2sinx1)=0\sin 2x = \cos x \implies 2\sin x \cos x = \cos x \implies \cos x(2\sin x - 1) = 0. So cosx=0\cos x = 0 or sinx=12\sin x = \frac{1}{2}."

(a) Complete the student's working and verify that all solutions are found.

(b) Another student cancels cosx\cos x from both sides at the start, writing sin2x=cosx    2sinx=1\sin 2x = \cos x \implies 2\sin x = 1. Explain what is lost.

[Difficulty: hard. Tests the common error of dividing by a factor that could be zero, and ensuring all solutions are found.]

Solution:

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

Case 1: cosx=0\cos x = 0 in [0,2π][0, 2\pi]: x=π2,3π2x = \frac{\pi}{2}, \frac{3\pi}{2}.

Case 2: 2sinx1=0    sinx=122\sin x - 1 = 0 \implies \sin x = \frac{1}{2} in [0,2π][0, 2\pi]: x=π6,5π6x = \frac{\pi}{6}, \frac{5\pi}{6}.

All four solutions: x=π6,π2,5π6,3π2x = \frac{\pi}{6}, \frac{\pi}{2}, \frac{5\pi}{6}, \frac{3\pi}{2}.

(b) By cancelling cosx\cos x, the student loses all solutions where cosx=0\cos x = 0, namely x=π2x = \frac{\pi}{2} and x=3π2x = \frac{3\pi}{2}. The student would find only two solutions instead of four. Dividing by a quantity that can be zero is only valid if that quantity is confirmed to be non-zero.


UT-2: Double Angle Identity Trap

Question:

(a) Prove that sin2x=1cos2x2\sin^2 x = \dfrac{1 - \cos 2x}{2}.

(b) A student writes sin(2x)=2sin2x\sin(2x) = 2\sin^2 x. Find the correct expression and identify the error.

(c) Find the exact value of cos4 ⁣(π8)\cos^4\!\left(\dfrac{\pi}{8}\right).

[Difficulty: hard. Tests the common confusion between sin(2x)\sin(2x) and sin2x\sin^2 x, and applies double angle identities.]

Solution:

(a) Using cos2x=12sin2x\cos 2x = 1 - 2\sin^2 x:

2sin2x=1cos2x    sin2x=1cos2x22\sin^2 x = 1 - \cos 2x \implies \sin^2 x = \frac{1 - \cos 2x}{2}

(b) The correct expression is sin(2x)=2sinxcosx\sin(2x) = 2\sin x \cos x, not 2sin2x2\sin^2 x. The student confused the double angle formula for sine with sin2x\sin^2 x. These are fundamentally different: sin(2x)\sin(2x) is the sine of double the angle, while sin2x\sin^2 x is the square of the sine.

(c) Using the identity sin2x=1cos2x2\sin^2 x = \frac{1 - \cos 2x}{2}:

cos4 ⁣(π8)=(cos2 ⁣(π8))2\cos^4\!\left(\frac{\pi}{8}\right) = \left(\cos^2\!\left(\frac{\pi}{8}\right)\right)^2

Using cos2x=1+cos2x2\cos^2 x = \frac{1 + \cos 2x}{2}:

cos2 ⁣(π8)=1+cosπ42=1+222=2+24\cos^2\!\left(\frac{\pi}{8}\right) = \frac{1 + \cos\frac{\pi}{4}}{2} = \frac{1 + \frac{\sqrt{2}}{2}}{2} = \frac{2 + \sqrt{2}}{4}

cos4 ⁣(π8)=(2+24)2=4+42+216=6+4216=3+228\cos^4\!\left(\frac{\pi}{8}\right) = \left(\frac{2 + \sqrt{2}}{4}\right)^2 = \frac{4 + 4\sqrt{2} + 2}{16} = \frac{6 + 4\sqrt{2}}{16} = \frac{3 + 2\sqrt{2}}{8}


UT-3: Harmonic Form and Maximum/Minimum

Question:

Express 3sinx4cosx3\sin x - 4\cos x in the form Rsin(xα)R\sin(x - \alpha), and hence find the maximum value of 13sinx4cosx+5\dfrac{1}{3\sin x - 4\cos x + 5}.

[Difficulty: hard. Combines harmonic form with function analysis to find the minimum of a reciprocal.]

Solution:

R=32+(4)2=9+16=25=5R = \sqrt{3^2 + (-4)^2} = \sqrt{9 + 16} = \sqrt{25} = 5

For 3sinx4cosx=Rsin(xα)3\sin x - 4\cos x = R\sin(x - \alpha), we need tanα=43\tan\alpha = \frac{4}{3} (note: the coefficient of cosx\cos x is 4-4, and sin(xα)=sinxcosαcosxsinα\sin(x - \alpha) = \sin x\cos\alpha - \cos x\sin\alpha, so Rcosα=3R\cos\alpha = 3 and Rsinα=4R\sin\alpha = 4).

α=arctan ⁣(43)\alpha = \arctan\!\left(\frac{4}{3}\right)

So 3sinx4cosx=5sin ⁣(xarctan ⁣43)3\sin x - 4\cos x = 5\sin\!\left(x - \arctan\!\frac{4}{3}\right).

The range of 5sin(xα)5\sin(x - \alpha) is [5,5][-5, 5].

For 13sinx4cosx+5\dfrac{1}{3\sin x - 4\cos x + 5}: the denominator is 5sin(xα)+5=5(sin(xα)+1)5\sin(x - \alpha) + 5 = 5(\sin(x - \alpha) + 1).

Since sin(xα)+1[0,2]\sin(x - \alpha) + 1 \in [0, 2], the denominator [0,10]\in [0, 10].

The maximum value of the reciprocal occurs when the denominator is at its minimum:

Maximum=10\text{Maximum} = \frac{1}{0}

Wait — when sin(xα)=1\sin(x - \alpha) = -1, the denominator is 00, which is undefined. The range of the denominator is (0,10](0, 10], so:

13sinx4cosx+5[110,)\frac{1}{3\sin x - 4\cos x + 5} \in \left[\frac{1}{10}, \infty\right)

The maximum does not exist (unbounded). The minimum is 110\dfrac{1}{10}, occurring when sin(xα)=1\sin(x - \alpha) = 1, i.e., x=α+π2+2nπx = \alpha + \frac{\pi}{2} + 2n\pi.


Integration Tests

Tests synthesis of trigonometry with other topics.

IT-1: Trigonometric Integration with Exact Values (with Integration)

Question:

(a) Find the exact value of 0π/2sin2xcos2xdx\displaystyle\int_0^{\pi/2} \sin^2 x\cos^2 x\,dx.

(b) A student uses the substitution u=sinxu = \sin x and obtains 01u2(1u2)du\displaystyle\int_0^1 u^2(1 - u^2)\,du. Complete this calculation.

[Difficulty: hard. Combines trigonometric identities with integration techniques.]

Solution:

(a) Using sin2xcos2x=sin22x4\sin^2 x\cos^2 x = \dfrac{\sin^2 2x}{4}:

0π/2sin22x4dx=140π/2sin22xdx\int_0^{\pi/2} \frac{\sin^2 2x}{4}\,dx = \frac{1}{4}\int_0^{\pi/2} \sin^2 2x\,dx

Using sin22x=1cos4x2\sin^2 2x = \dfrac{1 - \cos 4x}{2}:

=180π/2(1cos4x)dx=18[xsin4x4]0π/2=18π2=π16= \frac{1}{8}\int_0^{\pi/2}(1 - \cos 4x)\,dx = \frac{1}{8}\left[x - \frac{\sin 4x}{4}\right]_0^{\pi/2} = \frac{1}{8} \cdot \frac{\pi}{2} = \frac{\pi}{16}

(b) With u=sinxu = \sin x, du=cosxdxdu = \cos x\,dx, when x=0x = 0: u=0u = 0, when x=π2x = \frac{\pi}{2}: u=1u = 1:

0π/2sin2xcos2xdx=01u2(1u2)du=01(u2u4)du\int_0^{\pi/2} \sin^2 x\cos^2 x\,dx = \int_0^1 u^2(1 - u^2)\,du = \int_0^1 (u^2 - u^4)\,du

=[u33u55]01=1315=215= \left[\frac{u^3}{3} - \frac{u^5}{5}\right]_0^1 = \frac{1}{3} - \frac{1}{5} = \frac{2}{15}

Note: this does NOT equal π16\frac{\pi}{16}. The student's substitution du=cosxdxdu = \cos x\,dx loses the sign information when cosx\cos x changes sign. The substitution u=sinxu = \sin x is only valid on intervals where cosx0\cos x \geq 0, which [0,π2][0, \frac{\pi}{2}] satisfies. However, the student substituted cos2x=1u2\cos^2 x = 1 - u^2 but the differential gives du=cosxdxdu = \cos x\,dx, not du=cosxdxdu = |\cos x|\,dx. Since cosx0\cos x \geq 0 on [0,π2][0, \frac{\pi}{2}], this substitution is actually valid, but the computation 215π16\frac{2}{15} \neq \frac{\pi}{16} reveals an error: the identity sin2xcos2x=u2(1u2)\sin^2 x \cos^2 x = u^2(1-u^2) is correct, but 0π/2sin2xcos2xdx\int_0^{\pi/2} \sin^2 x\cos^2 x\,dx via uu-substitution should use du=cosxdxdu = \cos x\,dx, giving 01u2cosxdx\int_0^1 u^2\cos x\,dx, not 01u2du\int_0^1 u^2\,du. The student incorrectly replaced cosxdx\cos x\,dx with dudu while also replacing cos2x\cos^2 x with 1u21-u^2. This is only correct if we use du=cosxdxdu = \cos x\,dx, but then we can't also replace the remaining cosx\cos x with 1u2\sqrt{1-u^2} unless we are careful about signs.

The correct uu-substitution: du=cosxdxdu = \cos x\,dx, so:

0π/2sin2xcos2xdx=01u2cosxdu\int_0^{\pi/2} \sin^2 x \cos^2 x\,dx = \int_0^1 u^2 \cos x\,du

But cosx=1u2\cos x = \sqrt{1 - u^2} on this interval, so:

=01u21u2du= \int_0^1 u^2\sqrt{1-u^2}\,du

This is an elliptic integral and does not have an elementary closed form. The correct answer π16\frac{\pi}{16} comes from the double-angle identity approach, not from this substitution. The student's error was applying two substitutions simultaneously without accounting for both cosx\cos x factors.