Triple-angle identities: remember, derive, and apply them

Original publication: Updated:

The three identities

cos⁡3θ=4cos⁡3θ−3cos⁡θ,\boxed{\cos3\theta=4\cos^3\theta-3\cos\theta,} sin⁡3θ=3sin⁡θ−4sin⁡3θ,\boxed{\sin3\theta=3\sin\theta-4\sin^3\theta,} tan⁡3θ=3tan⁡θ−tan⁡3θ1−3tan⁡2θ.\boxed{\tan3\theta=\frac{3\tan\theta-\tan^3\theta}{1-3\tan^2\theta}.}

The first two hold for every real θ\theta. The tangent formula requires that both tangents be defined; in particular cos⁡θ≠0\cos\theta\ne0 and 1−3tan⁡2θ≠01-3\tan^2\theta\ne0.

The original Japanese article uses a sound-based mnemonic for cosine. In English, a useful structural reminder is “cosine: four cubes minus three singles; sine: three singles minus four cubes.” Equivalently, swap cosine for sine in the cosine polynomial and reverse its sign.

Quick checks for a remembered formula

For cosine, test θ=π/6\theta=\pi/6. Since cos⁡3θ=0\cos3\theta=0, the right side should give

4(32)3−332=0.4\left(\frac{\sqrt3}{2}\right)^3-3\frac{\sqrt3}{2}=0.

Swapping the coefficients would instead give −73/8-7\sqrt3/8. However, negating the whole correct formula would still give zero at this test angle. Also test θ=0\theta=0: the answer must be 4−3=14-3=1, not −1-1.

For sine, test θ=π/3\theta=\pi/3 to obtain zero, then θ=π/2\theta=\pi/2 to obtain 3−4=−1=sin⁡(3π/2)3-4=-1=\sin(3\pi/2). These tests detect common memory slips. Agreement at finitely many angles is not a proof of an identity.

Derive the formulas from angle addition

For cosine,

cos⁡3θ=cos⁡2θcos⁡θ−sin⁡2θsin⁡θ=(2cos⁡2θ−1)cos⁡θ−2sin⁡2θcos⁡θ=4cos⁡3θ−3cos⁡θ.\begin{aligned} \cos3\theta &=\cos2\theta\cos\theta-\sin2\theta\sin\theta\\ &=(2\cos^2\theta-1)\cos\theta -2\sin^2\theta\cos\theta\\ &=4\cos^3\theta-3\cos\theta. \end{aligned}

For sine,

sin⁡3θ=sin⁡2θcos⁡θ+cos⁡2θsin⁡θ=2sin⁡θcos⁡2θ+(1−2sin⁡2θ)sin⁡θ=3sin⁡θ−4sin⁡3θ.\begin{aligned} \sin3\theta &=\sin2\theta\cos\theta+\cos2\theta\sin\theta\\ &=2\sin\theta\cos^2\theta+(1-2\sin^2\theta)\sin\theta\\ &=3\sin\theta-4\sin^3\theta. \end{aligned}

To obtain tangent, divide the two expressions. Setting t=tan⁡θt=\tan\theta and dividing the cubic expressions by cos⁡3θ\cos^3\theta gives

tan⁡3θ=3t(1+t2)−4t34−3(1+t2)=3t−t31−3t2.\tan3\theta=\frac{3t(1+t^2)-4t^3}{4-3(1+t^2)} =\frac{3t-t^3}{1-3t^2}.

You can also apply tangent addition to 2θ+θ2\theta+\theta and substitute tan⁡2θ=2t/(1−t2)\tan2\theta=2t/(1-t^2). That intermediate derivation excludes t=±1t=\pm1, where tan⁡2θ\tan2\theta is undefined; the sine/cosine derivation verifies the final formula there whenever both sides of the final identity are defined.

Example 1: turn a trigonometric expression into a polynomial

The source uses the first problem from the 2017 University of Tokyo science-track paper. The intended quotient, consistent with its polynomial solution, is

f(θ)=cos⁡3θ+acos⁡2θ+bcos⁡θ,g(θ)=f(θ)−f(0)cos⁡θ−1,0<θ<π.f(\theta)=\cos3\theta+a\cos2\theta+b\cos\theta, \qquad g(\theta)=\frac{f(\theta)-f(0)}{\cos\theta-1},\quad0<\theta<\pi.

The source screenshot misplaces the −1-1 outside the denominator. Here it belongs inside the denominator; the two expressions are not interchangeable.

Express f,gf,g as polynomials in x=cos⁡θx=\cos\theta, then determine when gg has attained minimum zero on the given interval.

The double- and triple-angle identities give

f=4x3+2ax2+(b−3)x−a.f=4x^3+2ax^2+(b-3)x-a.

Since f(0)f(0) in the trigonometric notation is the value at θ=0\theta=0, corresponding to x=1x=1, division by x−1x-1 yields

g=4x2+2(a+2)x+2a+b+1.g=4x^2+2(a+2)x+2a+b+1.

Completing the square,

g=4(x+a+24)2+b+1−(a−2)24.g=4\left(x+\frac{a+2}{4}\right)^2+b+1-\frac{(a-2)^2}{4}.

The range of xx is the open interval (−1,1)(-1,1). The quadratic attains its minimum there exactly when its vertex lies inside that interval. Requiring the minimum to be zero gives

−6<a<2,b=(a−2)24−1.\boxed{-6<a<2,\qquad b=\frac{(a-2)^2}{4}-1.}

The parameter locus is that open arc of the upward parabola in the (a,b)(a,b)-plane, excluding both endpoint values of aa. A vertex at an excluded endpoint gives an infimum, not an attained minimum.

Example 2: a cubic equation and powers of a complex number

Let F(x)=8x3−6x+1F(x)=8x^3-6x+1.

  1. Show that F(cos⁡(2π/9))=0F(\cos(2\pi/9))=0.
  2. Find its three distinct real roots and identify the largest.
  3. Prove cos⁡(π/4)<3/4<cos⁡(2π/9)\cos(\pi/4)<3/4<\cos(2\pi/9).
  4. For z=3/4+i7/4z=3/4+i\sqrt7/4, find the smallest positive integer nn such that znz^n has positive real part and negative imaginary part, while zn+1z^{n+1} has both parts positive.

The three roots

The triple-angle identity gives

F(cos⁡ϕ)=2cos⁡3ϕ+1.F(\cos\phi)=2\cos3\phi+1.

Thus cos⁡(2π/9)\cos(2\pi/9), cos⁡(4π/9)\cos(4\pi/9), and cos⁡(8π/9)\cos(8\pi/9) are roots. They are distinct because cosine strictly decreases on (0,π)(0,\pi), and a cubic has at most three distinct roots. Their decreasing order is the order just listed, so cos⁡(2π/9)\cos(2\pi/9) is the largest.

Locate the largest root

First cos⁡(π/4)=2/2<3/4\cos(\pi/4)=\sqrt2/2<3/4, as follows by squaring positive quantities. Also

F′(x)=24x2−6>0(x>1/2),F(3/4)=−18<0.F'(x)=24x^2-6>0\quad(x>1/2),\qquad F(3/4)=-\frac18<0.

Since 2π/9<π/42\pi/9<\pi/4, the largest root is greater than 2/2>1/2\sqrt2/2>1/2. Strict increase on this interval and F(cos⁡(2π/9))=0F(\cos(2\pi/9))=0 imply 3/4<cos⁡(2π/9)3/4<\cos(2\pi/9).

Track the argument of the complex powers

We have ∣z∣=1|z|=1 and both parts positive. Write z=cos⁡θ+isin⁡θz=\cos\theta+i\sin\theta. The cosine bounds give

2π9<θ<π4.\frac{2\pi}{9}<\theta<\frac\pi4.

By de Moivre's formula, zk=cos⁡(kθ)+isin⁡(kθ)z^k=\cos(k\theta)+i\sin(k\theta). These strict angle ranges locate the powers:

| kk | Interval for kθk\theta | Quadrant of zkz^k | | --- | --- | --- | | 1 | (2π/9,π/4)(2\pi/9,\pi/4) | I | | 2 | (4π/9,π/2)(4\pi/9,\pi/2) | I | | 3 | (2π/3,3π/4)(2\pi/3,3\pi/4) | II | | 4 | (8π/9,π)(8\pi/9,\pi) | II | | 5 | (10π/9,5π/4)(10\pi/9,5\pi/4) | III | | 6 | (4π/3,3π/2)(4\pi/3,3\pi/2) | III | | 7 | (14π/9,7π/4)(14\pi/9,7\pi/4) | IV | | 8 | (16π/9,2π)(16\pi/9,2\pi) | IV | | 9 | (2π,9π/4)(2\pi,9\pi/4) | I |

Only k=7,8k=7,8 among the first eight powers have the required signs for zkz^k. The next power after k=7k=7 is still in quadrant IV; the next after k=8k=8 is in quadrant I. Hence

n=8.\boxed{n=8.}

The condition concerns two consecutive powers. Showing merely that one power lies in quadrant IV would give an incomplete answer.

Example 3: a swept solid and a sine-cubed integral

A segment ABAB of length two moves in space with AA in the plane z=0z=0 and C=(0,0,1)C=(0,0,1) lying on the segment. Let KK be the region it can sweep. Find the volume of the part of KK with z≥1z\ge1.

Write the distance of AA from the vertical axis as r=cot⁡θr=\cot\theta, where π/6≤θ≤π/2\pi/6\le\theta\le\pi/2. Then AC=csc⁡θ≤2AC=\csc\theta\le2. Above CC, the other endpoint BB has radial coordinate and height

R=(2−csc⁡θ)cos⁡θ=(2sin⁡θ−1)cot⁡θ,z=2sin⁡θ.R=(2-\csc\theta)\cos\theta=(2\sin\theta-1)\cot\theta, \qquad z=2\sin\theta.

At a fixed height z∈[1,2]z\in[1,2], the largest attainable radius is therefore

R(z)=(z−1)4−z2z.R(z)=(z-1)\frac{\sqrt{4-z^2}}{z}.

To justify the filled section, any point at radius ρ\rho and height z>1z>1 lies on a ray from CC that reaches z=0z=0 at radius ρ/(z−1)\rho/(z-1). The length from that point to this plane is z1+(ρ/(z−1))2z\sqrt{1+(\rho/(z-1))^2}. It fits on a segment of length two exactly when ρ≤R(z)\rho\le R(z). Thus the section is the full disk, not just its boundary.

Consequently,

V=π∫12(z−1)2(4−z2)z2 dz=π∫12(−z2+2z+3−8z+4z2) dz=π(173−8log⁡2).\begin{aligned} V&=\pi\int_1^2\frac{(z-1)^2(4-z^2)}{z^2}\,dz\\ &=\pi\int_1^2\left(-z^2+2z+3-\frac8z+\frac4{z^2}\right)\,dz\\ &=\boxed{\pi\left(\frac{17}{3}-8\log2\right)}. \end{aligned}

An angle substitution z=2sin⁡θz=2\sin\theta gives the same integral. In that approach the cubic sine term can be reduced using

4sin⁡3θ=3sin⁡θ−sin⁡3θ.4\sin^3\theta=3\sin\theta-\sin3\theta.

Alternatively, reserve one sine factor and use sin⁡2θ=1−cos⁡2θ\sin^2\theta=1-\cos^2\theta:

∫sin⁡3θ dθ=−cos⁡θ+13cos⁡3θ+C.\int\sin^3\theta\,d\theta =-\cos\theta+\frac13\cos^3\theta+C.

The triple-angle identity is a useful simplification, rather than the only way to integrate an odd trigonometric power.

Related articles

About the author

Koki Saito

Physician and graduate of the University of Tokyo Faculty of Medicine. Drawing on his entrance-exam experience, he explains how to choose mathematical methods and construct complete solutions.

Full profile →

Have a question or spotted an error? Contact us.