Solve Rotation Matrix Homework: 60,892857 & 12,496875 -4,837500

In summary, the conversation is about a problem involving rotating points in a coordinate system using a rotation matrix. The issue at hand is that when rotating two points, the resulting x values are not the same for both points, causing confusion for the individual asking the question. However, it is realized that this is not a valid issue, as the resulting points are still rotated and the transformation is accurate.
  • #1
skrat
748
8

Homework Statement


A have two points
60,892857 12,496875 -4,837500
70,714286 14,915625 -5,240625
I have to rotate for -0,067195795 radians.



Homework Equations



##\begin{bmatrix}
{x}'\\
{y}'
\end{bmatrix}=\begin{bmatrix}
cos\alpha & -sin\alpha \\
sin\alpha & cos\alpha
\end{bmatrix}\begin{bmatrix}
x\\
y
\end{bmatrix}##

The Attempt at a Solution



Just to explain my data:
60,892857 12,496875 -4,837500
70,714286 14,915625 -5,240625

The first column is x value, the second one is y and the third one is also y. So the idea is, that these points represent some kind of a body, and the problem says I have to rotate for given angle and plot both bodies; rotated and original.

My problem here is very basic and it may sound stupid but:

After calculating the new x and y value using the rotation matrix for first and second column I get
61,59454052 8,380006791
71,55621175 10,13383602

BUT calculating the new x and y value for the first and third column gives me
60,43061978 -8,915248198
70,20281554 -9,976925593

HOW ON EARTH IS THAT POSSIBLE?

Both y values were at the same x before rotation, and they should also be after the rotation. So my question to you is, why the hell aren't they?
 
Physics news on Phys.org
  • #2
skrat said:
Both y values were at the same x before rotation, and they should also be after the rotation. So my question to you is, why the hell aren't they?
That's not true. For example, take the points (1,1) and (1,-1) and rotate by 45 degrees counterclockwise. One ends up on the x-axis, and the other ends up on the y-axis.
 
  • #3
Ammmm.. Still I have to disagree... :D

Basically, this should be rotation of the coordinate system for given angle.
Now to simplify it, let's say that one origin system has horizontal x-axis and that the coordinates I have are given in the other coordinate system. Now both y are at the same x, meaning there is a line that goes through both of the points and is parallel to the system's y axis.
What I am trying to say is that rotating these two points is identical to rotating that line, which means, that the ##x^{'}## in the new (the horizontal one) coordinate system should be the same for both!
 
  • #4
If you say no to that, than I should really start thinking about going back to primary school. Please don't do that.
 
  • #5
I don't understand what you're saying in these posts. What exactly did you plug into the transformation equation
$$\begin{bmatrix}
x'\\
y'
\end{bmatrix}=\begin{bmatrix}
\cos\alpha & -\sin\alpha \\
\sin\alpha & \cos\alpha
\end{bmatrix}\begin{bmatrix}
x\\
y
\end{bmatrix}$$ and why? Can you post the full problem statement?

I also don't understand statements like "both y are at the same x".

One thing that you should think about is that if a transformation changes (x,y) to (x',y'), and we have x'=x, then if |y'|≠|y|, the points (x,y) and (x',y') aren't at the same distance from (0,0). This would mean that the transformation isn't a rotation.
 
  • #6
aaaaargh!

Ok, I see it now. I tried to draw everything thing to explain to you what my problem is and by doing that I realized that yes math doesn't lie and that I was wrong too say that both y will still be at the same x.

Ah, Thanks!
 

1. What is a rotation matrix?

A rotation matrix is a mathematical tool used to describe the orientation of an object in a three-dimensional space. It is a square matrix that can be used to rotate a vector or a set of coordinates in a three-dimensional space.

2. How do you solve a rotation matrix?

To solve a rotation matrix, you need to follow a specific set of steps. First, you need to identify the axis of rotation and the angle of rotation. Then, you can use the rotation matrix formula to calculate the new coordinates of the rotated vector or set of coordinates.

3. What are the inputs for a rotation matrix?

The inputs for a rotation matrix are the axis of rotation, which is typically represented by a unit vector, and the angle of rotation in radians. The vector or set of coordinates that you want to rotate is also an input for a rotation matrix.

4. Can you solve a rotation matrix without using a formula?

No, you cannot solve a rotation matrix without using a formula. The rotation matrix formula is a mathematical representation of the rotation operation, and it is necessary to calculate the new coordinates of the rotated vector or set of coordinates.

5. How does a rotation matrix work?

A rotation matrix works by multiplying the original vector or set of coordinates by the rotation matrix. This matrix multiplication results in a new set of coordinates that represent the rotated vector or coordinates. The rotation matrix takes into account the axis and angle of rotation to perform the rotation operation.

Similar threads

  • Calculus and Beyond Homework Help
Replies
3
Views
557
  • Calculus and Beyond Homework Help
Replies
4
Views
2K
  • Calculus and Beyond Homework Help
Replies
2
Views
969
  • Calculus and Beyond Homework Help
Replies
2
Views
359
  • Calculus and Beyond Homework Help
Replies
7
Views
1K
  • Calculus and Beyond Homework Help
Replies
14
Views
1K
  • Calculus and Beyond Homework Help
Replies
10
Views
1K
  • Linear and Abstract Algebra
Replies
10
Views
102
  • Calculus and Beyond Homework Help
Replies
12
Views
1K
  • Calculus and Beyond Homework Help
Replies
5
Views
4K
Back
Top