Question
Question: If \(G\left( {3, - 5,r} \right)\) is centroid of triangle ABC where \(A\left( {7, - 8,1} \right),B\l...
If G(3,−5,r) is centroid of triangle ABC where A(7,−8,1),B(p,q,5) and C(q+1,5p,0) are vertices of a triangle then values of p,q,r are respectively.
A. 6,5,4
B. −4,5,4
C. −3,4,3
D. −2,3,2
Solution
We will use the formula of centroid, that is, if (x1,y1,z1),(x2,y2,z2),(x3,y3,z3) are the coordinates of vertices of a triangle, then the coordinates of centre are given by (3x1+x2+x3,3y1+y2+y3,3z1+z2+z3). Substitute the given values of centroid and vertices of a triangle. Next, compare the coordinates to determine the value of p,q,r.
Complete step by step solution:
We are given that G is the centroid of the triangle, whose vertices are A,B and C.
A centroid is a point of intersection of three medians of a triangle.
Also, we know that if (x1,y1,z1),(x2,y2,z2),(x3,y3,z3) are the coordinates of vertices of a triangle, then the coordinates of centre are given by (3x1+x2+x3,3y1+y2+y3,3z1+z2+z3)
Then, from the given conditions, we will have,
(3,−5,r)=(37+p+q+1,3−8+q+5p,31+5+0) ⇒(3,−5,r)=(38+p+q,3−8+q+5p,2)
Now, we will compare the coordinates and form respective equations.
On comparing the x coordinates, we will get,
3=38+p+q ⇒9=8+p+q
⇒p+q=1 eqn. (1)
On comparing the y coordinates, we will get,
\-5=3−8+q+5p ⇒−15=−8+q+5p
⇒5p+q=−7 eqn. (2)
On comparing the z coordinates, we will get,
r=2
We will solve equations (1) and (2) to determine the values of p and q.
Now, subtract equations (1) and (2) to eliminate the value of q and then find the value of p
p+q−5p−q=1−(−7) ⇒−4p=8 ⇒p=−2
Substitute the value p=−2 in equation(1) to find the value of q
\-2+q=1 ⇒q=3
Therefore, the values of p,q,r are −2,3,2
Hence, option D is the correct option.
Note:
If two coordinates (x1,y1,z1) is equal to (x2,y2,z2), then x1=x2, y1=y2 and z1=z2. A centroid is a point of intersection of three medians of a triangle, where the median is a line from the vertex that divides the opposite side in two equal parts.