Given that, a parallelogram ABCD has three consecutive vertices as A(3,−1,2),B(1,2,−4) and C(−1,1,2).
Let the coordinates of the fourth vertex D be (x,y,z)
We know that, the diagonals of a parallelogram bisect each other.
So, if X be the point of intersection of both diagonals, AC and BD, it will be the midpoint of both AC and BD.
We also know that the coordinates of the midpoint of a line joining two points with coordinates (x1,y1,z1) and (x2,y2,z2) are (x1+x22,y1+y22,z1+z22)
∴ Midpoint of AC=(3−12,−1+12,2+22)=(1,0,2)
and midpoint of BD=(1+x2,2+y2,−4+z2)
Since, midpoint of AC and BD is X,
∴(1+x2,2+y2,−4+z2)=(1,0,2)
⇒1+x2=1,2+y2=0,−4+z2=2
⇒x+1=2,y+2=0,z−4=4
⇒x=2−1=1,y=0−2=−2,z=4+4=8
Hence, the coordinates of the fourth vertex D are (1,−2,8)