How can I rotate a parabola.

  • Context: High School 
  • Thread starter Thread starter RusselMorty
  • Start date Start date
  • Tags Tags
    Parabola Rotate
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 7K views
RusselMorty
Messages
4
Reaction score
0
How can I "rotate" a parabola.

I want to take an image and make it kind of wavy to distort it (like in a capcha form the letters are distorted sometimes with a wave) . So i figure that I could translate the pixels along a parabola. So the function where y=X[itex]^{2}[/itex] would make the image curve downwards. If i want to curve it in other directions I would need to somehow rotate that parabola. I am not an expert at math so I have no idea how to do this. I am sure it is a simple thing but It would really help me a lot. Thanks for any advice.
 
Mathematics news on Phys.org


Write the parabola in parametric form:

[tex]y = t^2, \quad x = t[/tex]

Pick an angle [itex]\theta[/itex] to rotate by. The general equations governing the new coordinates are

[tex]x'(t) = x(t) \cos \theta - y(t) \sin \theta \\<br /> y'(t) = y(t) \cos \theta + x(t) \sin \theta[/tex]

(It's not strictly necessary to write in parametric, but it's usually easy to plot that way rather than go back and resolve for [itex]y(x)[/itex]).
 


Thank you very much for your answer. It also gives me some more insight on how to rotate other things too. It will be very helpful.