1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Linear Algebra: Composition of transformations (rotation+translation)

  1. Aug 15, 2010 #1
    1. The problem statement, all variables and given/known data

    I have a question regarding how to compose 2 transformations, a rotation and a translation, of a linear algebra problem.

    Suppose we have a quadratic curve like the following one:

    (i) x^2 + y^4 - 6xy +2x -3y +6 = 0

    We want to transform the above into its standard position, it order to see what kind of conic is. First we notice that the above curve has been rotated (since it has a cross-product term xy) and translated (since it has terms x^2,x and y^2,y).

    Now we want to take it back to its original position by rotating and translating again. First we do the rotation part by means of diagonalization and substitution (x=Px'), which can be seen as a base change that uses matrix P, and get a quadratic of the form:

    (ii) ax'^2 + by'^2 + cx' + dy' + e =0

    Second, we do the translation by completing squares and substitution (with a variable change like x''=x'-j, y''=y'-k, can be viewed as a vector T=(-j -k)), getting a quadratic form like:

    (iii) mx''^2 + ny''^2 + p = 0

    Ok, the problem I have comes now. I want to know what the composite transformation (from i to iii) looks like, that is, a matrix Q such that x'' = Q x.


    3. The attempt at a solution

    So my guess is the following. The rotation transformation was:

    [tex]\begin{pmatrix} x \\ y \end{pmatrix} = P \begin{pmatrix} x' \\ y' \end{pmatrix} [/tex]

    [tex]P^{-1} \begin{pmatrix} x \\ y \end{pmatrix} = \begin{pmatrix} x' \\ y' \end{pmatrix}[/tex]

    now substitute it in the translation:

    [tex]\begin{pmatrix} x'' \\ y'' \end{pmatrix} = \begin{pmatrix} x' \\ y' \end{pmatrix} + T [/tex]

    [tex]\begin{pmatrix} x'' \\ y'' \end{pmatrix} = P^{-1} \begin{pmatrix} x \\ y \end{pmatrix} +T = ((P^{-1}) + TI) \begin{pmatrix} x \\ y \end{pmatrix} [/tex]

    so,

    [tex] Q = ((P^{-1}) + TI) [/tex]

    But I am not sure about this... is it Ok? Any other ideas ?

    Thanks in advance...
     
  2. jcsd
  3. Aug 16, 2010 #2

    lanedance

    User Avatar
    Homework Helper

    another idea is to consider the symmetric matrix A and the 3 vector
    [tex] x = (1,x,y) [/tex]

    then you can write the quadratic from as
    [tex] x^T A x [/tex]

    then find the orthonormal matrix S that diagonlises A
    [tex] D = S^T A S [/tex]

    then if you conisder
    [tex] x' = Sx [/tex]
     
  4. Aug 16, 2010 #3
    Thank you very much for your reply.

    I see, you can also consider a 3 dim vector using x, y and 1... But, what are the advantages of this ?

    Yes, but I think that is for the rotation only. How could you compose the rotation and the translation ?

    Thanks for your time and patience
     
  5. Aug 16, 2010 #4

    lanedance

    User Avatar
    Homework Helper

    the 3 dim matrix means you can write the whole equation as a single matrix term and deal with the translation as linear operation eg. consider translating (x,y) by (a,b)
    [tex] (x', y' ,1)^T = \begin{pmatrix}
    1 & 0 & a \\
    0 & 1 & b \\
    0 & 0 & 1 \\
    \end{pmatrix} (x, y ,1)^T [/tex]

    so the one is really just there to help and gets carried along, if you do the suggested i think it will deal with both the rotation and translation though i haven't tried it...
     
  6. Aug 16, 2010 #5
    Oh! I understand it now, thanks!

    [STRIKE]By "suggested" you mean apply my solution to such 3-dim matrix?[/STRIKE]

    Ok, I think I got it now!

    Thanks!
     
  7. Aug 17, 2010 #6

    lanedance

    User Avatar
    Homework Helper

    no worries, i think i missed a transposed in post #2, & changed the ordering of the vector in #3... hopefully not too confusing & should all come out in the wash
     
  8. Aug 17, 2010 #7
    No problem, I understood what you meant.

    Thanks!
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: Linear Algebra: Composition of transformations (rotation+translation)
Loading...