Lin algebra rotation difficault stuff

  • Thread starter Thread starter cleopatra
  • Start date Start date
  • Tags Tags
    Algebra Rotation
Click For Summary

Homework Help Overview

The discussion revolves around finding a matrix for counterclockwise rotation of 70° about the point (2,5) using homogeneous coordinates, and subsequently determining the projection of the point (8,7) using that matrix.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning

Approaches and Questions Raised

  • Participants discuss the construction of transformation matrices, including translation and rotation matrices, and the application of these matrices to points in homogeneous coordinates. There is a focus on the correct order of operations and the representation of points.

Discussion Status

Some participants have provided guidance on the necessary steps to construct the required matrices and the order in which to apply them. There is an ongoing exploration of the correct form for the translation matrix and the representation of points in homogeneous coordinates.

Contextual Notes

Participants are questioning the assumptions regarding the structure of the transformation matrices and the representation of points, particularly in relation to the use of homogeneous coordinates. There is also mention of the need for consistency in the application of these transformations.

cleopatra
Messages
45
Reaction score
0

Homework Statement



1) Find a a matrix for counterclockwise rotation 70° about the point (2,5) and use homogeneous coordinates.
2) Then, use that matrix to find out where the point (8,7) projects.

Homework Equations





The Attempt at a Solution


1) [cos() -sin() 0 ; sin() cos() 0 ; 0 0 1] * [1 0 -2; 0 1 -5] = ...

2) Multiply what I get in one by [8, 7, ?]

or what?
 
Physics news on Phys.org
how can we use 3x3 matrices acting on augmented vectors in R^3 to represent transformations in R^2? your rotation matrix is correct, but you'll need to fix your translation matrix and fix the vector these act on. hint:think consistency! perform your (corrected) translation matrix on an arbitrary vector in R^3, what form do you need on this vector to get a good result?
 
You really need to do three things:
1) translate the point (2,5) to (0,0)
2) rotate about (0,0) 70 degrees
3) translate (0,0) back to 2,5).

In homogeneous coordinates, the point (a, b) is represented by the array [a, b, 1] with the understanding that any multiple, [sa, sb, s], is equivalent to the point (a,b). That is, if the third component is not 1, divide the entire array by that component to get the point.

The advantage of homogenous coordinates (they are used a lot in computer graphics) is that you can represent translation as a matrix multiplication. For example:
\begin{bmatrix}1 & 0 & a \\ 0 & 1 & b\\ 0 & 0 & 1\end{bmatrix}\begin{bmatrix}x \\ y \\ 1\end{bmatrix}= \begin{bmatrix}x+ a \\ y+ b \\ 1\end{bmatrix}.

Of course, rotation around the origin, by \theta degrees, is given by
\begin{bmatrix}cos(\theta) & -sin(\theta) & 1 \\ sin(\theta) & cos(\theta) & 0 \\ 0 & 0 & 1\end{bmatrix}.

To solve this problem you need to construct three matrices: the matrix, A, that translates (2, 5) to (0, 0), the matrix, B, that rotates 70 degrees around (0,0), and the matrix, C, that translates (0, 0) to (2, 5) (It will, of course, be the inverse of the matrix A). Finally multiply the matrices in order CBA.

The point (8, 7) is represented by the array [8, 7, 1].
 
Last edited by a moderator:
Are you sure there´s supposed to be 1 at the top in the right?
not zero?


I already did the translation and have [x+2; y+5; 1]

What do I do next?
 
Its also useful to think about rotations rationally, instead of with cos and sin, which don't usually give exact values. Use the fact that a point on the circle can be better coordinatized often with [(1-t^2)/(1+t^2),2t/(1+t^2)].

This also connects with Rational Trigonometry.
 

Similar threads

Replies
4
Views
2K
Replies
8
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
9K
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
Replies
2
Views
2K