Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

A vector question!

  1. Feb 24, 2007 #1

    It's been a while since I've been in a math class. I'm just trying to make a simple openGL demo, and I ran into this problem.

    If you look at the picture, I know the values of:

    x, y
    x', y'

    Now, from those, how can I find X2' and Y2' on a cartesian coordinate system?

    lol, the question might seem dumb, but I've been out of touch for a long time and while I've done some searches I did not find anything specific.

    Any help would be greatly appreciated!

  2. jcsd
  3. Feb 24, 2007 #2
    Use polar coordinates.

    You can find r and angle (of x' and y'), say phi, with (x,y) and (x',y'). r is going to be the same for (x2', y2') and you know the angle, which is phi+theta. So use r and theta+phi to determine x2' and y2'.
  4. Feb 24, 2007 #3


    User Avatar
    Science Advisor
    Homework Helper
    Gold Member
    Dearly Missed

    If you don't want to use polar coordinates, you might do it this way:
    You need 2 equations to determine (x2,y2), so what could work?

    1. Both (x',y') and (x2,y2) lie on the SAME circle.
    What equation can represent this fact?

    2. We may determine the angle at (x',y'):
    Having a triangle with two equal sides and a given angle should give us this angle.

    3. Set up a dot product between two suitable vectors!
    This gives you a second equation, along with the circle equation.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook