I have a rectangle with center ( x 1 </msub> , y 1 </msub>

taghdh9

taghdh9

Answered question

2022-06-26

I have a rectangle with center ( x 1 , y 1 ) and sides a , b where side a is parallel to axis O x. I want to find a transformation matrix that:
a) converts this rectangle into a square with the same center and side d.
b) reflects the rectangle with mirror axis the line y = s x + c.

Answer & Explanation

Trey Ross

Trey Ross

Beginner2022-06-27Added 30 answers

You must consider two linearly independent points of this rectangle (corner or edge or middle) and investigate these point go to what points of square. Then you can find your linear transformation.
For example for part a :
you must consider 4 cases:
A) center do not lay on any axis
B) center lay on X axis
C) center lay on Y axis
D) center be (0,0)and for each solve problem
Hint : you have two independent points as basis (rectangular) and T's values (that they are corresponding points on square).
xonycutieoxl1

xonycutieoxl1

Beginner2022-06-28Added 7 answers

In order to transform the rectangle to a square you need to stretch one pair or both pairs of parallel sides to length d. To do this you can assume that the sides of the rectangle are parallel to the co-rodinate axis with the origin at the centre of the rectangle, because we can just pick our axis to satisfy this. Next you want to find some matrix that stretches the sides of the rectangle appropriately, to do this you should consider how you want the matrix to transform the direction vectors of the sides of your rectangle, in this case (1,0) (0,1) since we chose our axis judiciously in the beginning.
For the reflection, you can consider how two points on the rectangle move under this transformation and then from this you can work out the matrix which you want.
Lastly, if you want to do one trnasformation and then the other, you should left multiply the first transformation matrix by the second. Hope this helps.

Do you have a similar question?

Recalculate according to your conditions!

New Questions in Linear algebra

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?