Math Is Fun Forum

  Discussion about math, puzzles, games and fun.   Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ • π ƒ -¹ ² ³ °

You are not logged in.

#1 2008-09-21 05:08:12

Daniel123
Member
Registered: 2007-05-23
Posts: 663

Matrix transformations

I've been asked to find the matrix that reflects points across the line y = 2x.

I can get the answer by considering it as a rotation of

, but this is ugly.

How should it be done?

Thanks.

Last edited by Daniel123 (2008-09-21 05:08:27)

Offline

#2 2008-09-21 05:25:44

Daniel123
Member
Registered: 2007-05-23
Posts: 663

Re: Matrix transformations

Also, what exactly does "a shear of 30° in the direction of Oy" mean?

EDIT: Nevermind about this question - lines parallel to Ox are tilted 30° and stretched to maintain height. So the shear would be written:

Last edited by Daniel123 (2008-09-21 05:43:22)

Offline

#3 2008-09-21 05:45:00

JaneFairfax
Member
Registered: 2007-02-23
Posts: 6,868

Re: Matrix transformations

Reflections are not rotations. shame

A shear of factor k in the y-axis increases the vertical height of a point by an amount depending on k and its distance from the y-axis; horizontal distances are unaffected. Precisely, this is multiplication by the matrix

Last edited by JaneFairfax (2008-09-21 05:48:37)

Offline

#4 2008-09-21 05:51:33

Daniel123
Member
Registered: 2007-05-23
Posts: 663

Re: Matrix transformations

JaneFairfax wrote:

Reflections are not rotations. shame

I know they're not, but isn't a relfection across y = 2x equivalent to the rotation I mentioned above?

How should the question be done?

Offline

#5 2008-09-21 06:03:41

JaneFairfax
Member
Registered: 2007-02-23
Posts: 6,868

Re: Matrix transformations

Daniel123 wrote:

I know they're not, but isn't a relfection across y = 2x equivalent to the rotation I mentioned above?

NO!! The matrix representing any rotation always has determinant +1 while that representing any reflection always has determinant −1. They can’t possibly be equal. mad

Offline

#6 2008-09-21 06:07:36

Daniel123
Member
Registered: 2007-05-23
Posts: 663

Re: Matrix transformations

JaneFairfax wrote:
Daniel123 wrote:

I know they're not, but isn't a relfection across y = 2x equivalent to the rotation I mentioned above?

NO!! The matrix representing any rotation always has determinant +1 while that representing any reflection always has determinant −1. They can’t possibly be equal. mad

Haven't come across determinants yet neutral

I'll try and find the proper way of doing it.

Offline

#7 2008-09-21 06:40:04

Daniel123
Member
Registered: 2007-05-23
Posts: 663

Re: Matrix transformations

Isn't the following treating a reflection across a line to be a rotation through twice the angle between the line and the x-axis? Is there anything wrong with it?

1suijomkbu6mpic.html

The X coordinate of P' is given by:

, and the Y coordinate of P' is given by
. The same method can be applied to the j vector, giving the transformation matrix as:

In the case where y=2x,

, which can be used along with the double angle trig identities to give the transformation matrix:
, which I know is correct.

When I first did this in the case y=2x, I didn't do it generally but instead calculated the angle, which is why I said it was ugly. Now that I've done it generally, I can't see anything wrong with treating a reflection as a rotation.

Last edited by Daniel123 (2008-09-21 06:43:42)

Offline

#8 2008-09-21 06:42:54

JaneFairfax
Member
Registered: 2007-02-23
Posts: 6,868

Re: Matrix transformations

All right, I just worked it out geometrically. A reflection about the line

would take the point
to the point
.

Hence the matrix representing this reflection is

           

EDIT: Well, I see that you’ve managed to work it out as well. tongue

Last edited by JaneFairfax (2008-09-21 06:44:39)

Offline

#9 2008-09-21 06:44:18

Daniel123
Member
Registered: 2007-05-23
Posts: 663

Re: Matrix transformations

JaneFairfax wrote:

All right, I just worked it out geometrically. A reflection about the line

would take the point
to the point
.

Hence the matrix representing this reflection is

           

Beat you ever so slightly smile

Offline

Board footer

Powered by FluxBB