following matrix [ <mtable rowspacing="4pt" columnspacing="1em"> <mtr>

Deshawn Cabrera

Deshawn Cabrera

Answered question

2022-05-13

following matrix
[ 2 0 0 2 ]
Results in the shape being twice as small.
Now I am trying to use this matrix and apply it somewhere else, but because of the inverse scale I am unable to use it. Is there any way to normalize the scaling factor of a affine transformation matrix?
One last thing to note is the fact that the rotation applied, according to documentation is also reversed from standard formulas. Their rotation matrix would look something like this:
[ c o s s i n s i n c o s ]

Answer & Explanation

kazneni3tr2b

kazneni3tr2b

Beginner2022-05-14Added 17 answers

Usually, we use a matrix to transform a shape from one coordinates to another coordinates. However, here we are asked to provide a backwards transformation which means that we have to provide the inverted matrix. So the sollution is just that you take the matrix which you would use if the scaling wasn't inverted and you invert the matrix.
When the matrix is diagonal (your first example), the inverse matrix is also diagonal, only the elements on the diagonal are inverted.
When the matrix is unitary (your second example), it holds that A 1 = A T . All rotation matrices are unitary and in the case of 2D rotation matrices, it's clear that the inverse has to be the backwards rotation.

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?