Lin algebra rotation difficault stuff

  • Thread starter Thread starter cleopatra
  • Start date Start date
  • Tags Tags
    Algebra Rotation
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.
 
Prove $$\int\limits_0^{\sqrt2/4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx = \frac{\pi^2}{8}.$$ Let $$I = \int\limits_0^{\sqrt 2 / 4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx. \tag{1}$$ The representation integral of ##\arcsin## is $$\arcsin u = \int\limits_{0}^{1} \frac{\mathrm dt}{\sqrt{1-t^2}}, \qquad 0 \leqslant u \leqslant 1.$$ Plugging identity above into ##(1)## with ##u...
Back
Top