Find an equation of a rotated parabola

conic sectionsgeometry

Given a line $y=kx$ on a Cartesian coordinate, I want to find an equation of a parabola, whose base is on that line at point $(x_1,y_1)$ and passes through point $(x_2,y_2)$.

Then, an equation of a red line that is perpendicular to line $y=kx$ at point $(x_1,y_1)$ is $y=-\frac{1}{k}x+y_1+\frac{1}{k}x_1$. I tried to assume that $y=kx$ line is my new $x$ axis, and $y=-\frac{1}{k}x+y_1+\frac{1}{k}x_1$ is my new $y$ axis and do calculations, but the computation became messy and I couldn't finish. Is there simple way to solve this problem?

enter image description here

Best Answer

From this post, we can write the equation of a parabola as $$d_{\text{Axis}}^2=4a\cdot d_{\text{Tangent at vertex}}.$$ Here $d_{\text{line}}$ represents the algebraic distance of any arbitrary point on the parabola from the said line. $**$(More intuitive explanation below).


Here, tangent at vertex is $y=kx$.
The axis (straight line through the vertex (that you referred to as the base) and perpendicular to tangent at vertex) is $y+\dfrac xk=y_1+\dfrac{x_1}{k}$.

Thus the equation of parabola is $$\bigg(\frac{ky+x-(ky_1+x_1)}{\sqrt{1+k^2}}\bigg)^2=4a\cdot\dfrac{y-kx}{\sqrt{1+k^2}}$$

Put $(x_2, y_2)$ into the equation and find $a$. Done :)



$**$ Intuitive explanation: Consider the standard parabola $y^2=4ax$. Here $y$= Distance from X axis ($\equiv$ Axis) and $x$= Distance from Y axis ($\equiv $ Tangent at vertex)

Related Question