Trigcomplex
Trigcomplex
§1 Algebraic Trigonometry
When discussing algebraic trigonometry, the most useful identity is invariably the relations
that are corollaries of the Pythagorean Theorem. For all angles θ, cos2 θ + sin2 θ = 1.
Another important concept is that cos(θ) = sin(90 − θ), which is clear form the right
triangle definitions of both functions.
Now, we will mention the trigonometric addition and subtraction formulas. We have
the following relations for angles α and β:
sin(α + β) = sin α cos β + sin β cos α, sin(α − β) = sin α cos β − sin β cos α
cos(α + β) = cos α cos β − sin α sin β, cos(α − β) = cos α cos β + sin α sin β
tan α + tan β tan α − tan β
tan(α + β) = , tan(α − β) = .
1 − tan α tan β 1 + tan α tan β
Often times, problems will require you to use these formulas in the special case when
α = β. In these cases, it is usually faster to use the double-angle and half-angle formulas:
Remark 1.4. Be careful with the plus or minus in Fact 1.3. If a problem requires you to
use one of these formulas, there will usually be a condition on the angle restricting it to one
of the values.
1
Adithya B., Brian L., William W., Daniel X. (6/24) Trigonometry and Complex Numbers
2014π 2
2 cos 2x cos 2x − cos = cos 4x − 1.
x
Solution. We see cos 2x multiple times on the left side, so this motivates us to write the
right side as a function of cos 2x with the double angle identity.
2014π 2
2 cos 2x cos 2x − cos = cos 4x − 1 = 2 cos2 2x − 2.
x
2014π 2
2
cos 2x − cos 2x cos = cos2 2x − 1.
x
2014π 2
cos 2x cos = 1.
x
2
Since | cos θ| ≤ 1, we must either have cos 2x = 1 and cos 2014π x = 1 or cos 2x = −1
2
and cos 2014πx = −1. Therefore, we can split into cases.
2
Case 1: cos 2x = 1 and cos 2014π x = 1:
2
This means that 2x = 2nπ or x = nπ and 2014π x = 2014π
n = 2kπ for integers n and k.
This reduces to nk = 1007, so n can be any integer divisor of 1007, which would include
1, 19, 53, and 1007. Therefore. there are 4 solutions in this case and they have a sum of
1080π.
2
Case 2: cos 2x = −1 and cos 2014π x = −1:
This means that 2x = (2n + 1)π, or x = n + 12 π. Also,
for integers n and k. However, this implies (2n + 1)(2k + 1) = 4028. which clearly has
no solutions because both factors on the left side are odd integers and the right side is even.
Example 1.6
Find the value of the sum
∞
X 1
arctan .
2k 2
k=1
Solution. To solve this problem, we really have to understand how adding arctangents
works. Therefore, let us start with the hypothetical question of adding arctan x + arctan y.
2
Adithya B., Brian L., William W., Daniel X. (6/24) Trigonometry and Complex Numbers
Let arctan x + arctan y = θ. Then, in an attempt to get rid of the inverse tangents on
the left side, we can take a tangent of both sides.
2 1 1
1 1 1 2 + 8 2
X
arctan 2
= arctan + arctan = arctan 1 1 = arctan .
2k 2 8 1− 2 · 8 3
k=1
3 2 1
1 2 1 3 + 18 3
X
arctan 2 = arctan + arctan = arctan 2 1 = arctan 4 .
2k 3 18 1 − 3 · 18
k=1
It looks like we are starting to see a pattern, so we can form the following claim.
m+1 m
X 1 X 1 1 m 1
arctan 2
= arctan 2 + arctan 2
= arctan + arctan
2k 2k 2(m + 1) m+1 2(m + 1)2
k=1 k=1
by the inductive hypothesis. Now, we can use our arctangent addition formula to obtain
m+1 m 1
X 1 m+1 + 2(m+1)2 2m(m + 1)2 + (m + 1)
arctan 2 = arctan m 1 = arctan
2k 1 − m+1 2(m+1)2
2(m + 1)3 − m
k=1
(m + 1)(2m2 + 2m + 1)
= arctan
(m + 2)(2m2 + 2m + 1)
m+1
= arctan .
m+2
This completes the induction.
3
Adithya B., Brian L., William W., Daniel X. (6/24) Trigonometry and Complex Numbers
While the formulas above with some clever manipulation are usually sufficient to solve
most algebraic trigonometry problems, another idea that can be useful is the method for
converting the sum of trigonometric functions to a product and vice-versa.
Consider the sum sin(α + β) + sin(α − β). By the addition and subtraction formulas,
this is equal to 2 sin α cos β. In other words, the sum of two sines can be written as
a constant times the product of a sine and a cosine function. Thus, given the sum
sin x + sin y, we can let a = x+y x−y
2 and b = 2 so that
x+y x−y
sin x + sin y = sin(a + b) + sin(a − b) = 2 sin a cos b = 2 sin cos .
2 2
It is usually not necessary to memorize any of these identities for problems because
they can all be easily derived with the addition and subtraction formulas. Likewise, there
are also product to sum identities:
That being said, we can now apply these concepts and identities in the following
examples.
4
Adithya B., Brian L., William W., Daniel X. (6/24) Trigonometry and Complex Numbers
Solution. Both of the sums seem hard to find directly, so motivated by the previous
problem, we will try to use the sum-to-product formulas. Note the identity
α+β α−β
cos α + cos β = 2 cos + cos .
2 2
Therefore, when we apply this identity on the numerator, we want to produce common
terms so that the resulting sum can be simplified. Therefore, we will pair the first term
with the last term, the second term with the second-to-last term, and so on. This will
◦
produce a common term of 2 cos 452 . We obtain
cos 1◦ + cos 2◦ + · · · + cos 44◦ = (cos 1◦ + cos 44◦ ) + (cos 2◦ + cos 43◦ ) + · · ·
◦ ◦ ◦ ◦
45 43 45 41
= 2 cos cos + 2 cos cos + ···
2 2 2 2
◦ ◦ ◦ ◦
45 43 41 1
= 2 cos cos + cos + · · · + cos .
2 2 2 2
sin 1◦ + sin 2◦ + · · · + sin 44◦ = (sin 1◦ + sin 44◦ ) + (sin 2◦ + sin 43◦ ) + · · ·
◦ ◦ ◦ ◦
45 43 45 41
= 2 sin cos + 2 sin cos + ···
2 2 2 2
◦ ◦ ◦ ◦
45 43 41 1
= 2 sin cos + cos + · · · + cos .
2 2 2 2
5
Adithya B., Brian L., William W., Daniel X. (6/24) Trigonometry and Complex Numbers
Now, this value might seem hard to find, but we can just use one of our half-angle
formulas: √
1 + 22 √
◦
45 1 1 + cos 45◦
cot = ◦ = = √ = 2 + 1.
tan 452 sin 45◦
2 2
2
§2 Complex Numbers
Recall that a complex
√ number is a number of the form a + bi, where a and b are real
numbers and i = −1. We call a the real part and b the imaginary part of a + bi. If
z = a + bi, then a − bi is called the conjugate of z and is denoted z.
Adding and subtracting complex numbers is simple: we just add the real parts and the
imaginary parts. To multiply, we use the distributive property. To divide, it is necessary
to multiply the numerator and the denominator of the complex number by the conjugate
of the denominator, which will turn the denominator into a real number. We demonstrate
one example of each operation here:
Many problems involving complex numbers are approachable in the same way as typical
problems involving real numbers. The reason is that the algebra of complex numbers is
no different from the algebra of real numbers: one can perform the four basic operations,
solve linear equations, use the quadratic formula, etc. in exactly the same way as real
numbers. For this reason, we’ll focus on problems that involve special properties unique
to complex numbers.
One useful fact is the following:
Theorem 2.1
If a polynomial f has real coefficients and f (z) = 0 for some complex number z,
then f (z) as well.
6
Adithya B., Brian L., William W., Daniel X. (6/24) Trigonometry and Complex Numbers
Solution. Suppose we have two roots p, q whose product is 13 + i. Since our given
polynomial has real coefficients, we know that p and q are also roots of the quartic. But
p and q can’t be conjugates of each other, or else pq would be real. This implies that
p, q, p, q are the four distinct roots of the quartic. The other equation we’re given is
p + q = 3 + 4i.
p + q = 3 − 4i, pq = 13 − i.
pq + pp + qq + pq + qp + pq = pq + pq + (p + q)(p + q).
13 + i + (3 + 4i)(3 − 4i) + 13 − i = 51 .
We’ll now focus on the relationship between trigonometry and complex numbers. So
far, we’ve defined a complex number with two real numbers: the real part and the
imaginary part. However, we can define complex numbers in another manner.
Definition 2.3. The magnitude or absolute value of a complex number,
√ denoted |z|, is
its distance from the origin on the complex plane. Thus |a + bi| = a2 + b2 .
Definition 2.4. The argument of a complex number, denoted arg(z), is the angle
between the line connecting the origin and z in the complex plane and the positive x-axis.
Thus (
arctan ab
a + bi in quadrants I or IV
arg(a + bi) = b
◦
.
arctan a + 180 in quadrants II or III
√ √
For example, arg(i) = 90◦ and arg − 22 − 22 i = 225◦ .
7
Adithya B., Brian L., William W., Daniel X. (6/24) Trigonometry and Complex Numbers
Thus a complex number z can be specified with two numbers, its magnitude r and its
argument θ. We may write
z = r(cos θ + i sin θ).
Complex numbers have a lot of structure when it comes to multiplication. We state
the following result without proof:
Theorem 2.5
For any complex numbers a, b,
Proof. Let’s induct on n. The base case n = 1 is direct; for the inductive step suppose
that we have the equality
Thus
(cos θ + i sin θ)n = cos nθ + i sin nθ
and our induction is complete.
Corollary 2.7
The n solutions to the equation z n = 1 are
2πk 2πk
cos + i sin
n n
If you misremember De Movire’s, you might not get the wrong answer:
8
Adithya B., Brian L., William W., Daniel X. (6/24) Trigonometry and Complex Numbers
Solution. This looks like De Moivre, but not quite. To make it De Moivre, let’s rewrite
the LHS:
(sin t + i cos t)n = (cos(90 − t) + i sin(90 − t))n .
Now we can use De Moivre: this is equal to
must always be true. Now it’s easy to see that this occurs whenever n ≡ 1 (mod 4) (say
by expanding cos(90n − x) to get cos 90n cos x + sin 90n sin x = sin x so we must always
have cos 90n = 0 and sin 90n = 1, and similarly for the second equation). Thus the
answer is 250 .
2 cos 3◦ ±
p
1 (2 cos 3◦ )2 − 4
z + = 2 cos 3◦ =⇒ z 2 − 2 cos 3◦ z + 1 = 0 =⇒ z =
z 2
which simplifies to
cos 3◦ ± (cos 3◦ )2 − 1 = cos 3◦ ± i sin 3◦
p
We can even use the arguments of complex numbers to model what seem to be
completely trigonometric problems:
9
Adithya B., Brian L., William W., Daniel X. (6/24) Trigonometry and Complex Numbers
Solution. This problem can be solved with the same method used in §1 for adding inverse
tangents, but we will illustrate the complex number method here. The tangent of the
argument of a complex number is particularly easy to represent: it’s the ratio of the
imaginary part to the real part. For example,
2
tan(arg(3 + 2i)) = .
3
How do we get a complex number whose argument is arctan 13 +arctan 14 ? Since arguments
add when we multiply two complex numbers, we just need to find two complex numbers
whose arguments are arctan 13 and arctan 14 . These are easy to find; choose 3 + i and
4 + i, respectively. Thus we have
1 1
arg((3 + i)(4 + i)) = arctan + arctan
3 4
By the same reasoning, we see that
1 1 1 1 π
arg((3 + i)(4 + i)(5 + i)(n + i)) = arctan + arctan + arctan + arctan = .
3 4 5 n 4
Let’s expand the inside: we compute that
48n − 46 = 46n + 48 =⇒ n = 47 .
Remark 2.11. It’s also possible to solve this problem without complex numbers, using the
tangent addition formula. Try it! (Take the tangents of both sides of the given equation.)
10
Adithya B., Brian L., William W., Daniel X. (6/24) Trigonometry and Complex Numbers
§3 Problems
Problem 3.1 (2013 AMC 12B #25). Let G be the set of polynomials of the form
where c1 , c2 , · · · , cn−1 are integers and P (z) has n distinct roots of the form a + ib with
a and b integers. How many polynomials are in G?
Problem 3.2 (2012 AIME I #6). The complex numbers z and w satisfy z 13 = w,
w11 = z, and the imaginary part of z is sin mπ
n for relatively prime positive integers m
and n with m < n. Find n.
Problem 3.3 (2018 AIME I #6). Let N be the number of complex numbers z with the
properties that |z| = 1 and z 6! − z 5! is a real number. Find the remainder when N is
divided by 1000.
Problem 3.4 (AoPS). Evalute the product
Problem 3.5 (1984 AIME #13). Find the value of 10 cot(cot−1 3 + cot−1 7 + cot−1 13 +
cot−1 21).
Problem 3.6 (NYSML). If sin θ + cos θ + tan θ + cot θ + sec θ + csc θ = 7, then find the
value of sin 2θ.
Problem 3.7 (2020 CMIMC Algebra #4). For all real numbers x, let P (x) = 16x3 − 21x.
What is the sum of all possible values of tan2 θ, given that θ is an angle satisfying
Problem 3.8 (2006 AIME I #12). Find the sum of the values of x such that cos3 3x +
cos3 5x = 8 cos3 4x cos3 x, where x is measured in degrees and 100 < x < 200.
Problem 3.9 (2014 AIME II #13). The polynomial
has 34 complex roots of the form zk = rk [cos(2πak ) + i sin(2πak )], k = 1, 2, 3, . . . , 34, with
0 < a1 ≤ a2 ≤ a3 ≤ · · · ≤ a34 < 1 and rk > 0. Given that a1 + a2 + a3 + a4 + a5 = m/n,
where m and n are relatively prime positive integers, find m + n.
Problem 3.10 (2018 PUMaC Live Round). Find x2 given that tan−1 x + tan−1 3x = π
6
and 0 < x < π6 .
Problem 3.11 (2000 AIME II #15). Find the least positive integer n such that
1 1 1 1
sin 45◦ sin 46◦ + sin 47◦ sin 48◦ + · · · + sin 133◦ sin 134◦ = sin n◦ .
Problem 3.12 (2018 Lehigh Contest #40). What is the largest value of sin x which
satisfies
sin x + sin 2x + cos x = 0?
Problem 3.13 (2003 AIME I #11). An angle x is chosen at random from the interval
0◦ < x < 90◦ . Let p be the probability that the numbers sin2 x, cos2 x, and sin x cos x are
not the lengths of the sides of a triangle. Given that p = d/n, where d is the number of
degrees in arctan m and m and n are positive integers with m + n < 1000, find m + n.
11
Adithya B., Brian L., William W., Daniel X. (6/24) Trigonometry and Complex Numbers
Problem 3.15 (2001 AIME II #14). There are 2n complex numbers that satisfy both
z 28 − z 8 − 1 = 0 and |z| = 1. These numbers have the form zm = cos θm + i sin θm , where
0 ≤ θ1 < θ2 < · · · < θ2n < 360 and angles are measured in degrees. Find the value of
θ2 + θ4 + · · · + θ2n .
Problem p 3.16 (2009 AIME II #14). The sequence (an ) satisfies a0 = 0 and an+1 =
8 6
5 an + 5 4n − a2n for n ≥ 0. Find the greatest integer less than or equal to a10 .
Problem 3.17 (2020 Lehigh Contest #36). Let x and y be positive real numbers and θ
be an angle which is not an integer multiple of π/2. Suppose
Problem 3.19 (Classical). Given any seven real numbers, prove there are two of them,
x and y, such that
x−y 1
0≤ ≤√ .
1 + xy 3
Problem 3.20 (TSTST 2017/3). Consider solutions to the equation
f (x)
x2 − cx + 1 = ,
g(x)
where f and g are polynomials with nonnegative real coefficients. For each c > 0,
determine the minimum possible degree of f , or show that no such f, g exist.
12