How to find the common tangent to the curves $y^2=8x$ and $xy=-1$ ?
My approach: I used the formulae for tangents of a parabola and hyperbola.For any conic section if $y^2$ is replaced by $yy_1$,$xy$ is replaced by $\frac{ xy_1+yx_1}{2}$,$x$ is replaced by $\frac{x+x_1}{2}$. I formed two equations and found the condition for their equality but it evaluates to:The common tangent is $y+2x=2$.But that is the wrong answer.
What is the right method?
The problem is that the common tangent may touch the curves in different points.
The tangent to the hyperbola at the point $(t,-1/t)$ has equation $$ y+\frac{1}{t}=\frac{1}{t^2}(x-t) $$ that can be rewritten as $$ x=t^2y+2t $$ Such a line will be tangent to $y^2=8x$ if the equation $$ y^2=8(t^2y+2t) $$ has coincident solutions; the equation is $$ y^2-8t^2y-16t=0 $$ and its discriminant is $64t^4+64t=64t(t^3+1)$. Since $t\ne0$, the only solution is $t=-1$, so the common tangent is $$ x=y-2 $$ You can also do it by determining the tangents with the general formula; the tangent to the hyperbola at the point $(t,-1/t)$ is $$ \frac{-x\dfrac{1}{t}+ty}{2}=-1 $$ or, as determined above, $x-t^2y-2t=0$.
The tangent to the parabola at the point $(s^2/8,s)$ is $$ 8\frac{x+s^2/8}{2}-sy=0 $$ or $8x-2sy+s^2=0$. The two lines must be the same; multiply the first equation by $4$: $$ \begin{cases} 8x-8t^2y-16t=0\\ 8x-2sy+s^2=0 \end{cases} $$ so $s^2=-16t$ and $-8t^2=-2s$. This implies $16t^4=-16t$, so $t=-1$ as before.