Question
Question: If A = (5, 1, p), B = (1, q, p) and C = (1, -2, 3) are vertices of triangle and G = $(\frac{-4}{3}, ...
If A = (5, 1, p), B = (1, q, p) and C = (1, -2, 3) are vertices of triangle and G = (3−4,31) is its centroid, then the values of p, q, r are respectively
-1, 3, 7/3
-1, -3, 7/3
1, -3, 7/3
1, 3, 7/3
-1, -3, 7/3
Solution
To find the values of p, q, and r, we use the centroid formula for a triangle in 3D space. Given the vertices A = (5, 1, p), B = (1, q, p), and C = (1, -2, 3), the centroid G is calculated as:
G=(3xA+xB+xC,3yA+yB+yC,3zA+zB+zC)
Given G=(3−4,31,r), we can set up the following equations:
- For the x-coordinate:
35+1+1=37
This doesn't directly help us find p, q, or r, but it confirms the x-coordinate calculation.
- For the y-coordinate:
31+q+(−2)=31
1+q−2=1
q−1=1
q=2
- For the z-coordinate:
3p+p+3=r
32p+3=r
However, there seems to be a mistake in the centroid G. It should be (r,3−4,31). Let's correct the equations:
- For the x-coordinate:
r=35+1+1=37
- For the y-coordinate:
31+q+(−2)=3−4
1+q−2=−4
q−1=−4
q=−3
- For the z-coordinate:
3p+p+3=31
2p+3=1
2p=−2
p=−1
Thus, p=−1, q=−3, and r=37.