Introduction to Matrix Transformations
メニューを表示するにはスワイプしてください
Matrix Equations
A matrix equation can be written as:
Ax=bWhere:
- A is the coefficient matrix;
- x is the vector of variables;
- b is the vector of constants.
Matrix Representation of Linear Systems
Consider the linear system:
2x+y=5x−y=1This can be rewritten as:
[211−1][xy]=[51]Matrix Multiplication Breakdown
The multiplication of a matrix with a vector represents a linear combination:
[acbd][xy]=[ax+bycx+dy]=x[ac]+y[bd]Example System in Matrix Form
The system:
3x+2y=74x−y=5Can be expressed as:
[342−1][xy]=[75]Matrices as Transformations
A matrix transforms vectors in space.
For example:
A=[acbd], v1=[11], v2=[121]This matrix defines how the axes transform under multiplication.
Scaling with Matrices
To apply scaling to a vector use:
S=[sx00sy]Where:
- sx - the scale factor in the x-direction;
- sy - the scale factor in the y-direction.
Example: scaling point (2, 3) by 2:
S=[2002],v=[23]Then:
Sv=[46]Rotation with Matrices
To rotate a vector by angle θ around the origin:
R=[cosθsinθ−sinθcosθ]Example: rotate (2, 3) by 90°:
R=[cos90ºsin90º−sin90ºcos90º]=[01−10],v=[23]Then:
Rv=[−32]Reflection over the x-axis
Reflection matrix:
M=[100−1],Using v=(2,3):
Mv=[2−3]Shearing Transformation (x-direction shear)
Shearing shifts one axis based on the other.
To shear in the x-direction:
M=[10k1]If k=1.5 and v=(2,3):
Mv=[6.53]Identity Transformation
The identity matrix performs no transformation:
I=[1001]For any vector v:
Iv=vフィードバックありがとうございます!
AIに質問する
AIに質問する
何でも質問するか、提案された質問の1つを試してチャットを始めてください