I have ellipse $$(\frac{x}{a})^2 + (\frac{y}{b})^2 = 1$$
Gradient is $$(\frac{2x}{a^2}, \frac{2y}{b^2})$$
How I can obtain this vector from parametrization of my curve? Let I know only $$(x, y) = (a \cdot cos \phi, b \cdot sin \phi)$$
I want have vector-function by φ, and if I choosed value, for example, φ=0, and set in vector, I will have same result if I set φ in $$(x, y) = (a \cdot cos \phi, b \cdot sin \phi)$$ and resulting (x, y) in $$(\frac{2x}{a^2}, \frac{2y}{b^2})$$ I can compute function $$\frac{dy}{dx}=\frac{\frac{dy}{d\phi}}{\frac{dx}{d\phi}}$$ But its give only angle between tangent and abscissa, I dont't find information for norm of gradient and can't just rotate tangent on π/2 Thanks for help!
Using the parametric equations $(x,y) = (a\cos \phi, b\sin \phi)$, the tangent vector at parameter value $\phi$ is $(-a \sin \phi, b \cos \phi)$. Rotating this by 90 degrees, we get the normal vector $(b \cos \phi, a \sin \phi)$. But this normal vector is just $(\tfrac{b}{a}x, \tfrac{a}{b}y)$.