Chapter 42. Solutions to Part Alfa

§42.1 Solution to Exercise 2.1 (type safety)

Exercise 2.1. Let 𝐮, 𝐯, 𝐰 be vectors in ℝ3. By using Table 1 (or skimming Section 4.1 briefly), determine whether each of the following expressions is a real number, a vector, or nonsense (type-error); there should be one of each.

(The symbol ⋅ confusingly can refer to three different things: grade-school multiplication, scalar multiplication, or the dot product.)

§42.2 Solution to Exercise 3.1 (direction)

Exercise 3.1. Compute the unit vector along the direction of the vector

(−0.0008𝜋−0.0009𝜋−0.0012𝜋).

The point of this example is to emphasize that you can scale out weird positive constants like 0.0001𝜋; the vector

𝐰=(−8−9−12)

points in the same direction. So it’s enough to find the unit vector in the direction of 𝐰 which is

1|𝐰|𝐰=1(−8)2+(−9)2+(−12)2(−8−9−12)=164+81+144(−8−9−12)=1289(−8−9−12)=117(−8−9−12)=(−8/17−9/17−12/17).

(Note that ⟨8/17,9/17,12/17⟩ is not a correct answer: that vector points in the opposite direction.)

§42.3 Solution to Exercise 3.2 (det(10𝐴))

Exercise 3.2. If 𝐴 is a 3×3 matrix with determinant 2, what values could det(10𝐴) take?

I claim the answer is

det(10𝐴)=103⋅det𝐴=2000.

Here are two ways to see this:

§42.4 Solution to Exercise 3.3 (coplanar)

Exercise 3.3. Compute the real number 𝑎 for which the points (0,0,0), (1,0,1), (0,1,2) and (1,2,𝑎) all lie on one plane.

Call the points 𝑃1=(0,0,0), 𝑃2=(1,0,1), 𝑃3=(0,1,2), 𝑃4=(1,2,𝑎).

There are several approaches to this (including ones that use later material); the one using the material in this chapter is the following:

Idea
Four points are coplanar if the volume of the parallelepiped formed by the vectors connecting one point to the other three is zero. This condition is equivalent to the determinant of the matrix formed by these three vectors being zero.

Choose 𝑃1=(0,0,0) as the reference point. Then, the vectors from 𝑃1 to the other points are:

𝐯1=𝑃2−𝑃1=(101)𝐯2=𝑃3−𝑃1=(012)𝐯3=𝑃4−𝑃1=(12𝑎)

Then construct a 3×3 matrix using these vectors as columns:

𝑀=(10101212𝑎).

The determinant of 𝑀 is:

det(𝑀)=1⋅|122𝑎|−0⋅|021𝑎|+1|0112|.

Compute each minor determinant:

|122𝑎|=(1)(𝑎)−(2)(2)=𝑎−4|021𝑎|=(0)(𝑎)−(2)(1)=−2|0112|=(0)(2)−(1)(1)=−1.

Substituting back:

det𝑀=1⋅(𝑎−4)−0⋅(−2)+1⋅(−1)=𝑎−4−1=𝑎−5.

Hence det𝑀=0⟺𝑎=5.

§42.5 Solution to Exercise 4.1 (4d vectors)

Exercise 4.1. In four-dimensional space ℝ4, the vectors ⟨1,2,3,4⟩ and ⟨5,6,7,𝑡⟩ are perpendicular. Compute 𝑡.

We need the dot product to be zero:

0=⟨1,2,3,4⟩⋅⟨5,6,7,𝑡⟩=1⋅5+2⋅6+3⋅7+4⋅𝑡=38+4𝑡⟹𝑡=−192.

§42.6 Solution to Exercise 4.2 (projection)

Exercise 4.2.

The first part asks to compute the vector projection of ⟨123,456,789⟩ in the direction of 𝐞1. The answer is just

⟨123,0,0⟩.

You could get this using the recipe if you wanted, but if you draw a picture the point is you’re just projecting the vector ⟨123,456,789⟩ to the 𝑥-axis, which gives you its 𝑥-component.

For the second part, let

𝐯=(123)𝐰=(−3000−40000).

Note that the factor of −1000 in 𝐰 doesn’t matter, since scaling 𝐰 doesn’t matter. We’ll keep the −1000 around just for illustration reasons, but in practice an experienced student would just use 𝐰=⟨3,4,0⟩ instead.

We just follow the recipe in Section 4.4 directly. We first compute the dot product:

𝐯⋅𝐰=(1)(−3000)+(2)(−4000)+(3)(0)=−3000−8000+0=−11000

The magnitude is

|𝐰|=(−3000)2+(−4000)2+02=5000.

The scalar component of 𝐯 along 𝐰 is given by:

comp𝐰(𝐯)=𝐯⋅𝐰|𝐰|=−110005000=−115.

The vector projection of 𝐯 along 𝐰 is given by:

proj𝐰(𝐯)=𝐯⋅𝐰|𝐰|(𝐰|𝐰|)=−115⋅(−3000−40000)5000=−115⋅(−3/5−4/50)=(33/2544/250).

§42.7 Solution to Exercise 4.3 (dot product 3)

Exercise 4.3. Let 𝐰=⟨3,4⟩. Compute all unit vectors 𝐯 in ℝ2 for which 𝐯⋅𝐰=3.

Geometrically, we expect there to be two solutions: if 𝜃 is the angle between the two vectors, we need cos𝜃=35, and so there should be two vectors that work. See Figure 96 for a picture. (You might already guess one of the solutions — 𝐯=⟨1,0⟩ obviously works — but we’ll pretend we didn’t notice that.)

Figure 96: The two answers to Exercise 4.3, which are two unit vectors spaced at an equal angle away from ⟨3,4⟩.

Translating the givens algebraically, we have the following system of equations:

𝐯⋅𝐰=3⟹3𝑥+4𝑦=3|𝐯|=1⟹𝑥2+𝑦2=1

From the dot product condition, solve for 𝑥:

3𝑥+4𝑦=3⟹𝑥=3−4𝑦3.

Substitute 𝑥=3−4𝑦3 into 𝑥2+𝑦2=1 and solve:

(3−4𝑦3)2+𝑦2=1⟺25𝑦2−24𝑦+99=1⟺𝑦(25𝑦−24)=0.

Hence either 𝑦=0 or 𝑦=2425.

In conclusion the answer is

⟨1,0⟩ and ⟨−725,2425⟩.

See Figure 96 for a picture of the two answers.

§42.8 Solution to Exercise 4.4 (2 and 5)

Exercise 4.4 (*). Determine all possible values of 𝑎𝑥+𝑏𝑦+𝑐𝑧 over real numbers 𝑎, 𝑏, 𝑐, 𝑥, 𝑦, 𝑧 satisfying 𝑎2+𝑏2+𝑐2=2 and 𝑥2+𝑦2+𝑧2=5.

Construct vectors 𝐯=⟨𝑎,𝑏,𝑐⟩ and 𝐰=⟨𝑥,𝑦,𝑧⟩ in ℝ3. Then the problem statement is saying that |𝐯|=2, |𝐰|=5, and asks for all possible values of 𝐯⋅𝐰. But the geometric definition of the dot product says that

𝐯⋅𝐰=|𝐯||𝐰|cos𝜃=10cos𝜃

where 𝜃 is the angle between 𝐯 and 𝐰.

Since 𝜃 could be any angle at all (as 𝐯 and 𝐰 are arbitrary ℝ3 vectors), the possible values of 10cos𝜃 will range over the interval [−10,10] as cos𝜃 ranges from −1 to 1.

§42.9 Solution to Exercise 5.1 (faces of a cube)

Exercise 5.1. A cube is drawn somewhere in ℝ3 (its faces are not parallel to the coordinate axes). Two of the faces of the cube are contained in the planes 𝑥+2𝑦+3𝑧=4 and 5𝑥+6𝑦+𝑘𝑧=7, respectively, for some real number 𝑘. Given this information, compute 𝑘.

The main observation is this:

Idea
The faces of the cube have orthogonal normal vectors.

And the normal vectors to the two planes are:

𝐧1=⟨1,2,3⟩𝐧2=⟨5,6,𝑘⟩.

For the planes to be perpendicular, their normal vectors must satisfy:

0=𝐧1⋅𝐧2=(1)(5)+(2)(6)+(3)(𝑘)=5+12+3𝑘=17+3𝑘.

Solving for 𝑘 gives 𝑘=−173.

§42.10 Solution to Exercise 5.2 (distance to two planes)

Exercise 5.2. The distance from a certain point 𝑃 to the plane 3𝑥+4𝑦+12𝑧=−1 is 42. What are the possible distances from 𝑃 to the plane 3𝑥+4𝑦+12𝑧=1000?

Figure 97: A cartoon showing the planes Π1 and Π2 and a couple of possible locations for the point 𝑃.

Denote the planes

PlaneΠ1:3𝑥+4𝑦+12𝑧=−1PlaneΠ2:3𝑥+4𝑦+12𝑧=1000.

See Figure 97. Let 𝑑 be the desired distance.

The idea is that the planes are parallel, so there really should just be two possible answers. To do the algebra, first observe that (parallel) planes Π1 and Π2 have the same normal vector:

𝐧=⟨3,4,12⟩

which has |𝐧|=32+42+122=13.

Now to compute the distance between Π1 and Π2, we consider an arbitrary point (𝑥0,𝑦0,𝑧0) on Π2 (meaning 3𝑥0+4𝑦0+12𝑧0=1000) and find the distance from it to Π1. According to the recipe in Section 5.6, it equals

distance from(𝑥0,𝑦0,𝑧0)toΠ1=|3𝑥0+4𝑦0+12𝑧0+1||𝐧|=|1000+1|13=77.

Hence the answers are 𝑑=77±42, that is 𝑑=35 or 𝑑=119.

Remark

If you don’t have the idea of looking at the distance between Π1 and Π2, you can still solve the problem by applying the recipe in Section 5.6 directly to 𝑃. Indeed, suppose 𝑃=(𝑥1,𝑦1,𝑧1). Then

42=dist(𝑃,Π1)=|3𝑥1+4𝑦1+12𝑧1+1||𝐧|𝑑=dist(𝑃,Π2)=|3𝑥1+4𝑦1+12𝑧1−1000||𝐧|

The first equation tells us that

3𝑥1+4𝑦1+12𝑧1=±42⋅13−1.

The second equation tells us that

𝑑=|(±42⋅13−1)−1000|13=|±42⋅13−1001|13=|±42−77|

and this gives the same answers.

§42.11 Solution to Exercise 6.1 (cross product 0)

Exercise 6.1. Suppose real numbers 𝑎 and 𝑏 satisfy

(123)×(100𝑎𝑏)=𝟎.

Compute 𝑎 and 𝑏.

Two nonzero vectors have cross product 0 if and only if they’re multiples of each other. Hence we get 𝑎=200 and 𝑏=300.

§42.12 Solution to Exercise 6.2 (5𝐰×4𝐯)

Exercise 6.2. Let 𝐯 and 𝐰 be vectors in ℝ3 for which 𝐯×𝐰=(123). Compute 5𝐰×4𝐯.

Using properties of the cross product:

5𝐰×4𝐯=20(𝐰×𝐯)=−20(𝐯×𝐰)=−20(123)=(−20−40−60).

The fact that 5𝐰×4𝐯=20(𝐰×𝐯) follows either directly from the geometric definition (the parallelogram has 20 times the area) or from looking at the algebraic definition (where the 4 and 5 factor out). Whereas the fact that 𝐰×𝐯=−𝐯×𝐰 also follows directly from the right-hand rule.

§42.13 Solution to Exercise 6.3 (|𝐯×𝐰|2+(𝐯⋅𝐰)2)

Exercise 6.3. Let 𝐯 and 𝐰 be unit vectors in ℝ3. Compute all possible values of

|𝐯×𝐰|2+(𝐯⋅𝐰)2.

Let 𝜃 be the angle between the vectors. Then the geometric definitions of the cross and dot products give

|𝐯×𝐰|=|𝐯||𝐰||sin𝜃|=1⋅1⋅|sin𝜃|=|sin𝜃|𝐯⋅𝐰=|𝐯||𝐰|cos𝜃=1⋅1⋅cos𝜃=cos𝜃.

Hence the answer is

|sin𝜃|2+(cos𝜃)2=1

by the Pythagorean theorem: there is only one possible value.

§42.14 Solution to Exercise 6.4 (solving for 𝑘)

Exercise 6.4. Suppose 𝐯 is a vector in ℝ3 and 𝑘 is a real number such that

(123)×𝐯=(45𝑘).

Compute 𝑘.

The point is that (123) and (45𝑘) are supposed to be perpendicular; the vector 𝐯 is otherwise completely irrelevant. For them to be perpendicular we need

0=(123)⋅(45𝑘)=1⋅4+2⋅5+3𝑘=3𝑘+14⟹𝑘=−143

.