Find minimum value of the expression x^2 +y^2 subject to conditions Find the values of $x,y$ for which $x^2 + y^2$ takes the minimum value where $(x+5)^2 +(y-12)^2 =14$.
Tried Cauchy-Schwarz and AM - GM ,  unable to do.
 A: HINT: For this case where the curve is a circle, the value you seek is square of the distance of the centre of the circle from origin minus the radius. (Draw a diagram to see why?)
$$x^2+y^2 = (13-\sqrt{14})^2.$$
You can also find the maximum of $x^2+y^2$ using this trick.
A: Another way is triangle inequality (essentially think of the triangle between the origin, the centre of the circle and any point on the circle):
$$\sqrt{x^2+y^2} +\sqrt{(x+5)^2+(y-12)^2} \ge \sqrt{(-5)^2+(12)^2} \implies x^2+y^2 \ge \left(13 - \sqrt{14}\right)^2$$
A: Hint: take a look at the picture below, and all the problem will vanish...

In fact the picture shows the circle of equation $(x+5)^2 +(y-12)^2 =14$, and the line passing trough its centre and the origin. The question asks the minimum length of the segment whose extremities are the origin and a point on the circumference...Thus you should minimize the distance from the point on the circumference from the origin, and this is done by drawing a line passing through the centre of the square and the centre (trivial proof). So you get $$A\equiv \left(5\left(\frac{\sqrt{14}}{13}-1\right);12\left(1-\frac{\sqrt{14}}{13}\right)\right)\Rightarrow \\ \text{length of} \overline{AB} = \sqrt{\left(5\left(\frac{\sqrt{14}}{13}-1\right)\right)^2+\left(12\left(1-\frac{\sqrt{14}}{13}\right)\right)^2}=\\ \sqrt{(\sqrt{14}-13)^2}=\sqrt{14}-13$$ and finally $$\text{minimum of } x^2+y^2=\overline{AB}^2=(\sqrt{14}-13)^2=183-26\sqrt{14}$$
A: Any point satisfying $\displaystyle(x+5)^2 +(y-12)^2 =14$ can be expressed as $\sqrt{14}\cos\phi-5,\sqrt{14}\sin\phi+12$ 
$\displaystyle x^2 + y^2=14(\cos^2\phi+\sin^2\phi)+2\sqrt{14}(12\sin\phi-5\cos\phi)+5^2+12^2$
$\displaystyle=14+12^2+5^2+2\sqrt{14}(12\sin\phi-5\cos\phi)$ 
This will attain minimum if $\displaystyle12\sin\phi-5\cos\phi$ is minimum
Now set $12=r\sin\phi,5=r\cos\phi$ to find $\displaystyle12\sin\phi-5\cos\phi=13\sin\left(\phi-\arctan\frac5{12}\right)$
What is the minimum value of $\displaystyle\sin\left(\phi-\arctan\frac5{12}\right)?$
