Page 3 of 3 FirstFirst 123
Results 31 to 37 of 37

Math Help - Planar intersections

  1. #31
    A Plied Mathematician
    Joined
    Jun 2010
    From
    CT, USA
    Posts
    6,318
    Thanks
    4
    Awards
    2
    In 2 dimensions, order doesn't matter. But in 3 dimensions, order almost always matters. So make sure you have the order the way you want it. I would take some special cases, easy ones, and just do the rotation in your head to see if they come out right.

    Incidentally, your computations in Post # 24 agree with mine. You have successfully computed

    R_{x}(\pi/4)R_{z}(\pi/4),

    which would be (assuming you're always left-multiplying by the matrices) the z rotation followed by the x rotation.
    Follow Math Help Forum on Facebook and Google+

  2. #32
    Newbie
    Joined
    Jan 2011
    Posts
    19
    im doing it in matlab, but wouldnt it be the other way around? x followed by z?

    The order for euler angles and pitch,roll yaw are different. i dont see why, seeing as how they are the same thing..(are they?)
    Follow Math Help Forum on Facebook and Google+

  3. #33
    A Plied Mathematician
    Joined
    Jun 2010
    From
    CT, USA
    Posts
    6,318
    Thanks
    4
    Awards
    2
    No, for 3D rotations, order is absolutely crucial. Think about it. Take a unit vector in the x direction. Rotate it about the z axis in a positive direction through 90 degrees. It's now pointed in the + y direction. Now rotate it about the x axis through 90 degrees, and it'll be pointed in the + z direction.

    Now do it the other way: take your unit vector in the x direction. Rotate it about the x axis through 90 degrees. No change! (That's a hint right there that it's not going to be the same.) Now rotate it about the z axis through 90 degrees. It'll now be pointed in the + y direction. So, essentially, I've proven the following:

    R_{x}(\pi/2)\,R_{z}(\pi/2)\,\mathbf{i}=\mathbf{k}, but

    R_{z}(\pi/2)\,R_{x}(\pi/2)\,\mathbf{i}=\mathbf{j}\not=\mathbf{k}.

    Therefore, it follows that

    R_{x}(\pi/2)\,R_{z}(\pi/2)\not=R_{z}(\pi/2)\,R_{x}(\pi/2).

    Indeed, this is matrix multiplication we're dealing with here, which is not, in general, commutative. So you shouldn't expect to be able to do things in any order you want.
    Follow Math Help Forum on Facebook and Google+

  4. #34
    Newbie
    Joined
    Jan 2011
    Posts
    19
    Yes, that makes sense, i should have spotted that.

    So should i go x*y*z for the pitch roll yaw method, or z*y*x for the euler angle method?
    Follow Math Help Forum on Facebook and Google+

  5. #35
    A Plied Mathematician
    Joined
    Jun 2010
    From
    CT, USA
    Posts
    6,318
    Thanks
    4
    Awards
    2
    I don't think it matters. Just pick one and be consistent.
    Follow Math Help Forum on Facebook and Google+

  6. #36
    Newbie
    Joined
    Jan 2011
    Posts
    19
    great, thanks again for all your help.
    Follow Math Help Forum on Facebook and Google+

  7. #37
    A Plied Mathematician
    Joined
    Jun 2010
    From
    CT, USA
    Posts
    6,318
    Thanks
    4
    Awards
    2
    You're welcome!
    Follow Math Help Forum on Facebook and Google+

Page 3 of 3 FirstFirst 123

Similar Math Help Forum Discussions

  1. Replies: 5
    Last Post: December 22nd 2010, 01:42 AM
  2. planar curve
    Posted in the Pre-Calculus Forum
    Replies: 14
    Last Post: August 7th 2010, 07:01 AM
  3. Planar graph
    Posted in the Discrete Math Forum
    Replies: 7
    Last Post: July 24th 2010, 07:21 AM
  4. Planar Intersections-Please help
    Posted in the Calculus Forum
    Replies: 1
    Last Post: May 16th 2010, 03:35 AM
  5. Planar graphs
    Posted in the Differential Geometry Forum
    Replies: 0
    Last Post: December 6th 2009, 07:13 AM

Search Tags


/mathhelpforum @mathhelpforum