Math

Square Matrix

Naranjito 2024. 11. 19. 14:33
  • Square Matrix

 

 

A matrix with the same number of rows and columns. An n-by-n matrix is known as a square matrix of order n. Any two square matrices of the same order can be added and multiplied.

Square matrices are often used to represent simple linear transformations, such as shearing or rotation


  • Row Vector Transformation

 

v R T
  • Why R need to be transposed instead of v?

 

- Transposing would require additional adjustments to subsequent operations to revert back into a row vector. 

If you transpose 𝑣 , the result would initially be in a column format (i.e., R ( v ) ), and you'd need to transpose it back again to make it consistent with a row vector representation.

Using v R T avoids this extra step.

For example,

 

Suppose R = 0 1 1 0 (a 90° rotation), and v = x y (a row vector).

1. If you transpose v, you would calculate:
R ( v T ) = 0 1 1 0 x y = y x
Then, to restore 𝑣 as a row vector, you'd need to transpose the result:
v = y x
2. If you instead use v R T , the calculation directly yields:
v R T = x y 0 1 1 0 = y x

'Math' 카테고리의 다른 글

Null Space  (0) 2024.11.19
eigenvalue, eigenvector  (0) 2024.10.15
Quaternion  (0) 2024.09.29
Tensor product(Outer product) VS Dot Product  (0) 2024.09.26
Matrix Multiplication  (0) 2024.09.26