Lunat1c
- 64
- 0
Hi,
I am trying to find an orthogonal transformation that maps the point (0,5) to the point (3,4).
Now, I found that the transformation matrix M for a reflection in the line y=mx is as follows:
M = \left(<br /> \begin{array}{cc}<br /> cos(2\theta) & sin(2\theta)\\<br /> sin(2\theta) & -cos(2\theta)<br /> \end{array}<br /> \right)<br />
\therefore \left(<br /> \begin{array}{cc}<br /> cos(2\theta) & sin(2\theta)\\<br /> sin(2\theta) & -cos(2\theta)<br /> \end{array}<br /> \right)<br /> \left(<br /> \begin{array}{c} 0 \\<br /> 5 \\<br /> \end{array}<br /> \right)=<br /> \left(<br /> \begin{array}{c} 3 \\<br /> 4\\<br /> \end{array}<br /> \right)<br /> <br />
However this means that
5sin(2\theta)=3
-5cos(2\theta)=4
\frac{5sin2\theta}{-5cos2\theta} = 3/4
\theta = arctan(-\frac{3}{4})
\therefore m=\frac{3}{4}<br />
I noticed that if instead I find the angle by taking 5sin(2\theta)=3
\theta = 18.43 and tan(\theta)=0.333
Or -5cos(2\theta)=4
\theta = 71.56 and tan(71.56)=3
Why don't they all yield the same result? isn't this like solving a system of linear equations?
Having said this, I tried to derive the matrix of the transformation myself. I drew the basis vectors i(1,0) and j(0,1) and checked what their new coordinates would be when reflected in a line that makes an angle \theta with the x-axis.
When considering the j(0,1) vector, the angle between j and j' & that between i and i' is 2\theta.
The new coordinates for i' would be:
x = cos(2\theta)<br /> y = sin(2\theta)
and those for j' would be:
x = sin(2\theta)<br /> y = cos(2\theta).<br />
Why would you say that for j' y=-cos(2\theta)?
The only way j' will have negative y coordinates is if the gradient of the line is >45, and if this happens, cos(2x) will be negative (since 90 < 2x < 180, cos(2x) is negative).
Sorry for the very long post, I just wanted to show what I tried before asking any questions. With this being said, could someone please tell me what's wrong with the derivation I attempted? And most of all, why the first one doesn't work?
Thank you!
I am trying to find an orthogonal transformation that maps the point (0,5) to the point (3,4).
Now, I found that the transformation matrix M for a reflection in the line y=mx is as follows:
M = \left(<br /> \begin{array}{cc}<br /> cos(2\theta) & sin(2\theta)\\<br /> sin(2\theta) & -cos(2\theta)<br /> \end{array}<br /> \right)<br />
\therefore \left(<br /> \begin{array}{cc}<br /> cos(2\theta) & sin(2\theta)\\<br /> sin(2\theta) & -cos(2\theta)<br /> \end{array}<br /> \right)<br /> \left(<br /> \begin{array}{c} 0 \\<br /> 5 \\<br /> \end{array}<br /> \right)=<br /> \left(<br /> \begin{array}{c} 3 \\<br /> 4\\<br /> \end{array}<br /> \right)<br /> <br />
However this means that
5sin(2\theta)=3
-5cos(2\theta)=4
\frac{5sin2\theta}{-5cos2\theta} = 3/4
\theta = arctan(-\frac{3}{4})
\therefore m=\frac{3}{4}<br />
I noticed that if instead I find the angle by taking 5sin(2\theta)=3
\theta = 18.43 and tan(\theta)=0.333
Or -5cos(2\theta)=4
\theta = 71.56 and tan(71.56)=3
Why don't they all yield the same result? isn't this like solving a system of linear equations?
Having said this, I tried to derive the matrix of the transformation myself. I drew the basis vectors i(1,0) and j(0,1) and checked what their new coordinates would be when reflected in a line that makes an angle \theta with the x-axis.
When considering the j(0,1) vector, the angle between j and j' & that between i and i' is 2\theta.
The new coordinates for i' would be:
x = cos(2\theta)<br /> y = sin(2\theta)
and those for j' would be:
x = sin(2\theta)<br /> y = cos(2\theta).<br />
Why would you say that for j' y=-cos(2\theta)?
The only way j' will have negative y coordinates is if the gradient of the line is >45, and if this happens, cos(2x) will be negative (since 90 < 2x < 180, cos(2x) is negative).
Sorry for the very long post, I just wanted to show what I tried before asking any questions. With this being said, could someone please tell me what's wrong with the derivation I attempted? And most of all, why the first one doesn't work?
Thank you!
Last edited: