Chapter 44. Solutions to Part Charlie

§44.1 Solution to Exercise 10.1 (101⋅401⋅901)

Exercise 10.1 (*). Without a calculator, give an example of an ordered pair (𝑎,𝑏) of integers satisfying

𝑎2+𝑏2=101⋅401⋅901.

The idea is to consider the complex number

(10+𝑖)(20+𝑖)(30+𝑖)=(199+30𝑖)(30+𝑖)=5940+1099𝑖.

Hence one possible choice is

(𝑎,𝑏)=(5940,1099).

§44.2 Solution to Exercise 10.2 (arctan11+arctan12+arctan13)

Exercise 10.2. Calculate

arctan11+arctan12+arctan13.

The answer is 𝜋2=90°. The point is that each of the arctangents is an acute angle in (0,90°), and the sum of the angles will match the argument of the complex number

𝑧=(1+𝑖)(2+𝑖)(3+𝑖).

That is, the complex arguments of 1+𝑖, 2+𝑖, 3+𝑖 are arctan11, arctan12, and arctan13 respectively, and the argument 𝑧 will hence be the sum of those three acute angles.

However, we can compute 𝑧 by direct multiplication:

𝑧=(1+𝑖)(2+𝑖)(3+𝑖)=(1+3𝑖)(3+𝑖)=10𝑖.

Because this number is pure imaginary its argument is 90° as needed.

§44.3 Solution to Exercise 11.1 (projection onto plane)

Exercise 11.1. In ℝ3, compute the projection of the vector (456) onto the plane 𝑥+𝑦+2𝑧=0.

Answer: (1232−1).

First approach using vector projection

Previously you had to calculate the distance from a vector to a plane. This problem only requires one step on top of that: you need to then translate by that multiple of the normal vector. See Figure 98, where 𝐚 denotes the answer. To execute the calculation, let 𝐯=(456) and 𝐧=(112). The scalar component is

comp𝐧(𝐯)=𝐯⋅𝐧|𝐧|=216.

The vector projection is then

(comp𝐧(𝐯))𝐧|𝐧|=216(112)6=(72727).

Then the desired projection is

𝐯−proj𝐧(𝐯)=(1232−1).

Figure 98: Projection onto a plane.

Second approach using normal vectors only (no projection stuff)

A lot of you don’t find vector projection natural (I certainly don’t). So it might be easier to imagine shifting 𝐯 by some multiple of 𝐧=(112) and then work out which multiple it is.

Specifically, we’re looking for26 a real number 𝑡∈ℝ such that the vector

𝐚=𝐯−𝑡𝐧=(4−𝑡5−𝑡6−2𝑡)

lies on the plane 𝑥+𝑦+2𝑧=0. But we can actually solve for 𝑡 just by plugging this 𝐚 into the equation of the plane:

(4−𝑡)+(5−𝑡)+2(6−2𝑡)=0⟹21−6𝑡=0⟹𝑡=72.

Hence the answer

𝐚=(4−725−726−2(72))=(1232−1).

§44.4 Solution to Exercise 11.2 (geometric interpretation)

Exercise 11.2 (*). Suppose 𝐴, 𝐵, 𝐶, 𝐷 are points in ℝ3. Give a geometric interpretation for this expression:

16|𝐷𝐴⃗⋅(𝐷𝐵⃗×𝐷𝐶⃗)|.

Answer: The quantity

16|𝐷𝐴⃗⋅(𝐷𝐵⃗×𝐷𝐶⃗)|.

equals the volume of the tetrahedron 𝐴𝐵𝐶𝐷.

In general, the volume of the tetrahedron is 16 the volume of the parallelepiped formed by 𝐷𝐴⃗, 𝐷𝐵⃗, 𝐷𝐶⃗. So we will prove that

|𝐷𝐴⃗⋅(𝐷𝐵⃗×𝐷𝐶⃗)|

gives the volume of that parallelepiped. Here are two approaches for proving it.

First approach using coordinates

Let 𝐷=(0,0,0), 𝐴=(𝑥𝐴,𝑦𝐴,𝑧𝐴), 𝐵=(𝑥𝐵,𝑦𝐵,𝑧𝐵), 𝐶=(𝑥𝐶,𝑦𝐶,𝑧𝐶). Then expanding the cross product gives

(𝑥𝐴𝐞1+𝑦𝐴𝐞2+𝑧𝐴𝐞3)⋅|𝐞1𝐞2𝐞3𝑥𝐵𝑦𝐵𝑧𝐵𝑥𝐶𝑦𝐶𝑧𝐶|.

If you think about what evaluating the determinant using the formula together with the dot product would give, you should find it’s actually just

|𝑥𝐴𝑦𝐴𝑧𝐴𝑥𝐵𝑦𝐵𝑧𝐵𝑥𝐶𝑦𝐶𝑧𝐶|

which is the volume of the parallelepiped.

Second approach using geometric picture

The cross product 𝐷𝐵⃗×𝐷𝐶⃗ is a vector whose area is equal to the parallelogram formed by 𝐷𝐵⃗ and 𝐷𝐶⃗. The dot product of that cross product against 𝐷𝐴⃗ is equal to the height of 𝐴 to plane 𝐵𝐶𝐷 times this area, and the volume is the height times the area. See the following picture from https://en.wikipedia.org/wiki/Triple_product (in the Wikipedia figure, 𝐚 denotes our 𝐷𝐴⃗, etc.).

Figure 99: Triple product image taken from Wikipedia.

§44.5 Solution to Exercise 11.3 (determinant of projection)

Exercise 11.3 (*). Fix a plane 𝒫︀ in ℝ3 which passes through the origin. Consider the linear transformation 𝑓:ℝ3→ℝ3 where 𝑓(𝐯) is the projection of 𝐯 onto 𝒫︀. Let 𝑀 denote the 3×3 matrix associated to 𝑓. Compute the determinant of 𝑀.

Answer: 0, no matter which plane 𝒫︀ is picked.

First approach using basis vectors

Let 𝐞1, 𝐞2, 𝐞3 be the three basis vectors. Then:

Second approach using eigenvectors

Let 𝐧 be any nonzero normal vector to 𝒫︀. Then 𝑓(𝐧)=𝟎, so 𝐧 is an eigenvector with eigenvalue 0. Since the determinant is the product of the eigenvalues, the determinant must be 0 too.

Third approach using coordinate change

This approach requires you to know the fact that the determinant doesn’t change if you rewrite the matrices in a new basis.

Let 𝐧 be any nonzero normal vector to 𝒫︀. Pick two more unit vectors 𝐛1 and 𝐛2 perpendicular to 𝐧 that span 𝒫︀. Then 𝐛1, 𝐛2 and 𝐧 are linearly independent and spanning, i.e. a basis of ℝ3. So we can change coordinates to use these instead.

We know that

𝑀(𝐛1)=𝐛1𝑀(𝐛2)=𝐛2𝑀(𝐧)=𝟎.

If we wrote 𝑀 as a matrix in this new basis ⟨𝐛1,𝐛2,𝐧⟩ (rather than the usual basis), we would get the matrix

𝑀=(100010000)

which has determinant 0.

Remark
In fact, if you also know that the trace doesn’t change when you rewrite 𝑀 in a different basis, this approach shows the trace of 𝑀 is always exactly 1+1+0=2 as well, no matter which plane 𝒫︀ is picked.

§44.6 Solution to Exercise 11.4 (perpendicular unit vectors)

Exercise 11.4 (*). Let 𝐚 and 𝐛 be two perpendicular unit vectors in ℝ3. A third vector 𝐯 in ℝ3 lies in the span of 𝐚 and 𝐛. Given that 𝐯⋅𝐚=2 and 𝐯⋅𝐛=3, compute the magnitudes of the cross products 𝐯×𝐚 and 𝐯×𝐛.

Answer: |𝐚×𝐯|=3 and |𝐛×𝐯|=2.

Since 𝐯 is contained in the span of 𝐚 and 𝐛, we can just pay attention to the plane spanned by these two perpendicular unit vectors. So the geometric picture is that 𝐯 can be drawn in a rectangle with 𝐚 and 𝐛 as a basis, as shown. Because 𝐯⋅𝐚=2 and 𝐯⋅𝐛=3, this rectangle is 2 by 3.

Figure 100: Plotting 𝐯 in the span of 𝐚 and 𝐛.

Now the magnitude of the cross product 𝐚×𝐯 is supposed to be equal to the area of the parallelogram formed by 𝐚 and 𝐯, which is 3 (because this parallelogram has base |𝐚|=1 and height |𝐯⋅𝐛|=3). Similarly, 𝐛×𝐯 has magnitude 2.

§44.7 Solution to Exercise 11.5 (trace of matrix)

Exercise 11.5. Compute the trace of the 2×2 matrix 𝑀 given the two equations

𝑀(47)=(59) and 𝑀(59)=(47).

Answer: 0.

There are several approaches possible. The first two show how to find the four entries of the matrix 𝑀. The latter sidestep this entirely and show that the matrix is actually always trace 0.

First approach: brute force

Like in the pop quiz in my R04 notes, we will try to work out 𝑀(10) and 𝑀(01). We’re looking for constants 𝑐1 and 𝑐2 such that 𝑐1(47)+𝑐2(59)=(10).

Gluing these together

𝑀=(17−932−17).

The trace is thus 17+(−17)=0.

Second approach: inverse matrices

We can collate the two given equations into saying that

𝑀(4579)=(5497).

Hence one could also recover 𝑀 by multiplying by the inverse matrix:

𝑀=(5497)(4579)−1=(5497)14⋅9−7⋅5(9−5−74)=(17−932−17).

(Of course, we get the same entries for 𝑀 as the last approach.) Again the trace is 17+(−17)=0.

Third approach: Guessing eigenvectors and eigenvalues

Let 𝐛1=(47) and 𝐛2=(59). Adding and subtracting the given equations gives

𝑀(𝐛1+𝐛2)=𝐛1+𝐛2𝑀(𝐛1−𝐛2)=−(𝐛1−𝐛2).

So 𝐛1±𝐛2 are eigenvectors with eigenvalues ±1. Since 𝑀 is a 2×2 matrix there are at most two eigenvalues: we found them all!

The trace of 𝑀 is the sum of the eigenvalues. Call in the answer 1+(−1)=0.

Fourth approach: Change coordinates

This approach requires you to know the fact that the trace doesn’t change if you rewrite the matrices in a new basis.

Since 𝐛1=(47) and 𝐛2=(59) are a basis of ℝ2, we can change coordinates to use the 𝐛𝑖. In that case,

𝑀(𝐛1)=𝐛2 and 𝑀(𝐛2)=𝐛1.

If we wrote 𝑀 as a matrix in this new basis ⟨𝐛1,𝐛2⟩ (rather than the usual basis), we would get the matrix

𝑀=(0110)

which has trace 0+0=0.

§44.8 Solution to Exercise 11.6 (complex triangle)

Exercise 11.6. There are three complex numbers 𝑧 satisfying 𝑧3=5+6𝑖. Suppose we plot these three numbers in the complex plane. Compute the area of the triangle they enclose.

Answer: 334613.

We start by converting the complex number 5+6𝑖 into polar form. The modulus 𝑟 of 5+6𝑖 is:

𝑟=|5+6𝑖|=52+62=25+36=61.

The argument 𝜃 is some random angle we won’t use the exact value of: 𝜃=arg(5+6𝑖)=tan−1(65).

Now to find the cube roots of 𝑧3=5+6𝑖, we use the polar form:

𝑧=616(cos(𝜃+2𝑘𝜋3)+𝑖sin(𝜃+2𝑘𝜋3))

for 𝑘=0,1,2. This gives us three roots corresponding to the different values of 𝑘.

This looks like an equilateral triangle centered around the origin, where each spoke coming from the origin has magnitude 𝑠, where

𝑠=616.

See Figure 101.

Figure 101: Three solutions to 𝑧3=5+6𝑖

If we cut up the equilateral triangle by the three arrows above, we get three small isosceles triangles with a 120° angle at the apex. The area of each triangle is going to be 𝑠22sin(120°).

So this gives a final answer of

3⋅6132⋅sin(120°)=334613.
  1. 26In comparison to the first solution, the value of 𝑡 is exactly

    𝑡=comp𝐧(𝐯)|𝐧|.

    But the idea behind the second solution is that you don’t need to know what the geometric formula of 𝑡 is. You can just solve for 𝑡 indirectly by asserting that 𝐚 lies on 𝑥+𝑦+2𝑧=0.