I am working through a pure maths book as a hobby. This question puzzles me.
The line y=mx intersects the curve $y=x^2-1$ at the points A and B. Find the equation of the locus of the mid point of AB as m varies.
I have said at intersection:
$mx = x^2-1 \implies x^2 - mx - 1=0$
Completing the square:
$(x-\frac{m}{2})^2-\frac{m^2}{4}= 1$
$(x-\frac{m}{2})^2 = 1 + \frac{m^2}{4}$
$x-\frac{m}{2} = \sqrt\frac{4+m^2}{4} = \frac{\pm\sqrt(4+m^2)}{2}$
x-coordinates for points of intersection are
$x= \frac{-\sqrt(4+m^2) +m}{2}$ and $x= \frac{\sqrt(4+m^2)+m}{2}$
$\implies$ x-co-ordinate of P is mid-way between the two above points, namely $\frac{2m}{2} = m$
So $x=m, y = mx = m^2\implies y = x^2$
But my book says $y=2x^2$