This is a question of a parabola but to solve it I need the coordinates of the vertex and focus which at present I'm unable to deduce in this form. I have learnt some standard form such as $ y^2=4ax$ and other such forms. Can anyone explain how to locate the vertex, focus and also how to get the equation of the directrix.
Actual question : The length of the shortest path that begins at the point $(-1, 1)$, touches the x-axis and then ends at a point on the parabola $(x-y)^2 = 2(x + y −4)$, is?
Parabola equation is
$ (x - y)^2 = 2 (x + y - 4) $
Reflect the point $(-1, 1)$ about the $x$ axis. You will get $(-1, -1)$.
Now we need to connect $(-1,-1)$ to the parabola by a line segment that is perpendicular to its curve.
Compute the slope of the tangent to the parabola by differnetiating with respect to $x$. This will give
$ 2 (x - y) (1 - y' ) = 2 (1 + y') $
Hence
$ y' = \dfrac{x - y - 1}{x - y + 1} $
Now the line segment connecting $(x,y)$ to $(-1, -1)$ has a slope of
$ m = \dfrac{y+1}{x+1} $
The product of $m $ and $y'$ has to be equal to $(-1) $.
$ -1 = \dfrac{ (y+1) (x - y - 1)}{ (x+1)(x - y + 1) } $
i.e.
$ - (x + 1)(x - y + 1) = (y + 1)(x - y - 1) $
Expand,
$ -( x^2 - x y + x + x - y + 1) = x y - y^2 - y + x - y - 1 $
This simplifies to
$ - x^2 + y^2 - 3 x + 3 y = 0 $
This factors into
$ (y - x) ( 3 + y + x) = 0 $
This implies either $ y = x$ or $ x + y = -3 $
If $ x + y = -3 $, the plug this into the parabola equation
$ (x - y)^2 = 2 ( -3 - 4 ) $
which has no real solutions.
The other solution is $ x = y $ and this gives
$ 0 = 2 (2 y - 4) $
So $ y = x = 2 $
Connect $(2, 2)$ to $(-1, -1)$ gives the minimum distance as $3 \sqrt{2}$