I came across a sum but could not solve it as i dont know the 3d equations of a circle :
The sum is If $A(3,-2,2)$ and $B(2,9,5)$ are the end points of a diameter of a circle,then the third pt that lies on the circle is
- $5,6,1$
- $5,6,-1$
- $5,-6,1$
- $-5,-6,-1$
Ans:
2
Would appreciate if someone can explain the equation of a circle (whether parametric or a normal equation) before helping solve the sum.
P.S- The time limit for solving the sum was one minute
Let's run with @AndréNicolas' last suggestion, to use the dot product. This seems to be the fastest way to solve this problem. Let $P = (5k_1,6k_2,k_3)$, where $k_i$ is $\pm 1$. This allows us to check all of the solutions at once. Notice that $k_i^2 = 1$. Then $$\begin{eqnarray*} (A-P)\cdot(B-P) &=& A\cdot B - (A+B)\cdot P + P^2 \\ &=& (3,-2,2)\cdot(2,9,5) - (5,7,7)\cdot(5k_1,6k_2,k_3) + (5k_1,6k_2,k_3)^2 \\ &=& 60-25k_1-42k_2-7k_3. \\ &=& 0 \end{eqnarray*}$$ By inspection we see $(k_1,k_2,k_3) = (1,1,-1)$, so $P = (5,6,-1)$.