Problem 34
Question
A triangle has vertices at coordinates \(P=(2,1,5), Q=\) \((-1,3,7)\), and \(R=(2,-4,1)\) (a) Compute the lengths of all three sides. (b) Compute all three angles in both radians and degrees.
Step-by-Step Solution
Verified Answer
Side lengths: \(PQ = \sqrt{17}, QR = \sqrt{94}, RP = \sqrt{41}\). Angles can be found using the cosine law.
1Step 1: Understanding the distance formula
To calculate the length of a side of a triangle in 3D, we use the distance formula: \[\text{Distance} = \sqrt{(x_2-x_1)^2 + (y_2-y_1)^2 + (z_2-z_1)^2}\]This formula will be applied to each pair of vertices for triangle sides PQ, QR, and RP.
2Step 2: Calculating length of side PQ
Using the coordinates of points P and Q: \[PQ = \sqrt{((-1) - 2)^2 + (3 - 1)^2 + (7 - 5)^2}\]\[= \sqrt{(-3)^2 + 2^2 + 2^2}\]\[= \sqrt{9 + 4 + 4}\]\[= \sqrt{17}\]
3Step 3: Calculating length of side QR
Using the coordinates of points Q and R: \[QR = \sqrt{(2 - (-1))^2 + (-4 - 3)^2 + (1 - 7)^2}\]\[= \sqrt{3^2 + (-7)^2 + (-6)^2}\]\[= \sqrt{9 + 49 + 36}\]\[= \sqrt{94}\]
4Step 4: Calculating length of side RP
Using the coordinates of points R and P: \[RP = \sqrt{(2 - 2)^2 + (1 - (-4))^2 + (5 - 1)^2}\]\[= \sqrt{0 + 5^2 + 4^2}\]\[= \sqrt{0 + 25 + 16}\]\[= \sqrt{41}\]
5Step 5: Finding Angles Using the Cosine Law
The cosine law relates the sides of a triangle to one of its angles: \[c^2 = a^2 + b^2 - 2ab \cdot \cos(C)\]Rearranging, we find \(C\): \[\cos(C) = \frac{a^2 + b^2 - c^2}{2ab}\]This formula will help us calculate angles using the side lengths.
6Step 6: Calculating Angle PQR
Use the lengths: - \( PQ = \sqrt{17} \)- \( QR = \sqrt{94} \)- \( RP = \sqrt{41} \)Using the cosine law for angle \( \theta_{PQR} \):\[\cos(\theta_{PQR}) = \frac{PQ^2 + QR^2 - RP^2}{2 \times PQ \times QR}\]\[= \frac{17 + 94 - 41}{2 \times \sqrt{17} \times \sqrt{94}}\]\[= \frac{70}{2 \times \sqrt{17 \times 94}}\]Calculate the angle using inverse cosine to find \(\theta_{PQR}\) in radians and then convert to degrees.
7Step 7: Calculating Angle QRP
For angle \( \theta_{QRP} \),\[\cos(\theta_{QRP}) = \frac{QR^2 + RP^2 - PQ^2}{2 \times QR \times RP}\]\[= \frac{94 + 41 - 17}{2 \times \sqrt{94} \times \sqrt{41}}\]\[= \frac{118}{2 \times \sqrt{94 \times 41}}\]Calculate angle \(\theta_{QRP}\) using the inverse cosine in radians and convert it to degrees.
8Step 8: Calculating Angle RQP
For angle \( \theta_{RQP} \),\[\cos(\theta_{RQP}) = \frac{RP^2 + PQ^2 - QR^2}{2 \times RP \times PQ}\]\[= \frac{41 + 17 - 94}{2 \times \sqrt{41} \times \sqrt{17}}\]\[= \frac{-36}{2 \times \sqrt{41 \times 17}}\]Evaluate and determine the angle in radians first and then convert it to degrees.
Key Concepts
Distance FormulaCosine LawTriangle Angles
Distance Formula
3D Geometry often involves calculating distances between points in space. This can be visualized by imagining how far apart various points are if they were connected by a straight line. In our exercise, we dealt with vertices P, Q, and R in a 3D space. The distance formula helps us compute the length of these lines.
The formula used is:
The formula used is:
- \[ \text{Distance} = \sqrt{(x_2-x_1)^2 + (y_2-y_1)^2 + (z_2-z_1)^2} \]
- \((x_2, y_2, z_2)\) and \((x_1, y_1, z_1)\) are the coordinates of the two points.
- Subtracting the same coordinate values (e.g., \(x_2 - x_1\)) helps find the change in each dimension.
- The squares of these differences are summed and then square-rooted to find the total distance.
Cosine Law
The Cosine Law is an extension of the Pythagorean theorem but adapted for all triangles, not just right triangles. It's especially useful in 3D geometry where many triangles do not have right angles. In the exercise, we used it to find the angles of the triangle given the side lengths.
The Cosine Law formula is:
The Cosine Law formula is:
- \[ c^2 = a^2 + b^2 - 2ab \cdot \cos(C) \]
- \(c\) is the length of the side opposite the angle you're calculating (in this case, \(C\)).
- \(a\) and \(b\) are the lengths of the other two sides.
- Rearrange to find \(\cos(C)\): \[ \cos(C) = \frac{a^2 + b^2 - c^2}{2ab} \]
Triangle Angles
Understanding triangle angles is key in geometry. Regardless of the context, a triangle's internal angles always sum up to \(180^\circ\) or \(\pi\) radians. The exercise involved finding angles in both degrees and radians, which is a common practice since both units are often used interchangeably.
In the problem, we calculated the angles using the cosine law, and then converted our results:
In the problem, we calculated the angles using the cosine law, and then converted our results:
- To convert an angle from radians to degrees, you use: \[ \text{Degrees} = \, \text{Radians} \times \frac{180}{\pi} \]
- Conversely, to go from degrees to radians: \[ \text{Radians} = \, \text{Degrees} \times \frac{\pi}{180} \]
Other exercises in this chapter
Problem 33
Let $$ \mathbf{u}=\left[\begin{array}{l} 3 \\ 4 \end{array}\right], \quad \mathbf{v}=\left[\begin{array}{r} 1 \\ -2 \end{array}\right], \quad \text { and } \qua
View solution Problem 33
Let $$A=\left[\begin{array}{rr} 2 & 1 \\ 0 & -3 \end{array}\right]$$ Find \(A^{2}, A^{3}\), and \(A^{4}\).
View solution Problem 34
Let $$ \mathbf{u}=\left[\begin{array}{l} 3 \\ 4 \end{array}\right], \quad \mathbf{v}=\left[\begin{array}{r} 1 \\ -2 \end{array}\right], \quad \text { and } \qua
View solution Problem 34
Suppose that $$A=\left[\begin{array}{rr} 1 & -1 \\ 3 & 0 \\ 5 & 2 \end{array}\right] \text { and } B=\left[\begin{array}{lll} 2 & 3 & 1 \\ 1 & 0 & 0 \end{array}
View solution