Eliminate the parameter $t$ from $$h=\frac{3t^2-4t+1}{t^2+1}$$ $$k=\frac{4-2t}{t^2+1}$$
This is not the actual question. The question I encountered was:
Perpendicular is drawn from a fixed point $(3, 4)$ to a variable line which cuts positive x-axis at one unit distance from origin. Circle $S(x, y) = 0$ represents the locus of the foot of perpendicular drawn from point $(3, 4)$ to the variable line. If radius of $S(x, y) = 0$ is $\sqrt{λ_1}$ and length of tangent drawn to $S(x, y) = 0$ from origin is $\sqrt{λ_2}$ , then determine $\lambda_1$ and $\lambda_2$.
My attempt:
I attempted the original question by assuming the variable line as $x+ty-1=0$ and calculating the coordinates of foot of perpendicular $(h,k)$ on it from $(3,4)$. I got the coordinates $(h,k)$ as $$(h,k)\equiv \left(\frac{3t^2-4t+1}{t^2+1}, \frac{4-2t}{t^2+1}\right)$$
I am clueless after this point on how to eliminate $t$. Solving for $t$ from either of the equations and substituting it in the other is very cubersome and not a very efficient method because I'm preparing for a competitive exam. I verified using WolframAlpha that the locus is a circle but am unable to obtain it in the standard form.
I am looking for a relatively short method/trick for these type of locus. Thanks.
$$h-3=\frac{-4t-2}{t^2+1}\implies\frac{h-3}k=\frac{-4t-2}{4-2t}=\frac{2t+1}{t-2}=2+\frac5{t-2}$$ $$t=\frac5{(h-3)/k-2}+2=\frac{2h+k-6}{h-2k-3}$$ Then substitute this into the second equation to get an implicit form: $$k=\frac{4-2(2h+k-6)/(h-2k-3)}{(2h+k-6)^2/(h-2k-3)^2+1}=\frac{-10k(h-2k-3)}{(2h+k-6)^2+(h-2k-3)^2}$$ $$(2h+k-6)^2+(h-2k-3)^2=-10(h-2k-3)$$ $$5h^2+5k^2-30h+45=-10h+20k+30$$ $$h^2+k^2-4h-4k+3=0$$ $$(h-2)^2+(k-2)^2=5$$ From this we get $\lambda_1=5$ and $\lambda_2=3$.