Consider a point A(x,y) in the Cartesian coordinate system. The projection of this point onto the x-axis is the point A′(x′,y′), which is the foot of the perpendicular dropped from A to the x-axis.
Geometrically, it's clear that the x-coordinate remains the same while the y-coordinate becomes zero. Hence:
x′=xandy′=0
We can express this using matrix multiplication. Let's rewrite the coordinates of A′ as:
[x′y′]=[1000][xy]
Here, the matrix:
P=[1000]
is called a projection matrix. The above matrix is just an example of projection matrices. There can be other projection matrices. In our example above, it "projects" any point (x,y) onto the x-axis by nullifying the y-coordinate.
Example:
To find the projection of the point (9,8) on the x-axis, we multiply the matrix P by the column vector [98]:
P[98]=[1000][98]=[90]
So, the projection of the point (9,8) onto the x-axis is (9,0).
An important property of projection matrices is that they are idempotent. In our example, this can be expressed mathematically as follows:
If we project the point A′(x′,y′) again, we get:
[x′′y′′]=P[x′y′]=P2[xy]
Since the projection doesn't change:
[x′′y′′]=[x′y′]
Thus:
P2[xy]=P[xy]
This implies that:
P2=P
This property, P2=P, is called idempotence. A matrix that satisfies this property is called an idempotent matrix. This means that applying the projection matrix multiple times has the same effect as applying it once.
Another example of a projection matrix is one that projects a point onto the y-axis. In this case, the x-coordinate becomes zero, while the y-coordinate remains unchanged.
For a point A(x,y), its projection onto the y-axis, A′(x′,y′), can be expressed as:
x′=0andy′=y
This can be represented by the following projection matrix:
P=[0001]
Thus, the projection of a point (x,y) onto the y-axis is:
[x′y′]=P[xy]=[0001][xy]=[0y]
Example:
For a point (7,5), the projection onto the y-axis is:
P[75]=[05]
This means the projection of (7,5) on the y-axis is (0,5).
Just like the x-axis projection, this matrix is also idempotent, since P2=P.
Let's work through this example of a projection matrix for the line L:2x−y=0.
We are given:
A point A(x,y),
The projection of this point A′(x′,y′) onto the line 2x−y=0.
Using the foot of the perpendicular formula, we have the following relationships:
2x′−x=−1y′−y=−52x−y
Solving these, we find the coordinates of the projected point A′(x′,y′):
x′=51x+52yandy′=52x+54y
We can express this in matrix form:
[x′y′]=[51525254][xy]
Thus, the projection matrixP for projecting a point onto the line 2x−y=0 is:
P=[51525254]
Let us confirm that thsi matrix is indeed idempotent (P2=P). We will compute P2.
A reflection matrix reflects a point across a given line in the coordinate plane. Let's consider the specific case of reflecting a point across the line y=x.
Reflection Across y=x
Let A(x,y) be a point, and let A′(x′,y′) be its reflection across the line y=x. Geometrically, we know that when a point is reflected across y=x, the x- and y-coordinates of the point are swapped. Therefore:
x′=yandy′=x
This can be written in matrix form as:
[x′y′]=[0110][xy]
Thus, the reflection matrixR for reflecting a point across the line y=x is:
A key property of reflection matrices is that they are involutory, meaning that R2=I, where I is the identity matrix. This is because applying the reflection twice results in returning to the original point, which is equivalent to multiplying by the identity matrix.
Let's prove that R2=I.
First, multiply R by itself:
R2=[0110][0110]
Now, perform the matrix multiplication:
R2=[0⋅0+1⋅11⋅0+0⋅10⋅1+1⋅01⋅1+0⋅0]
Simplifying the terms:
R2=[1001]
This shows that:
R2=I
Therefore, the reflection matrix R is involutory. Reflecting a point twice across the same line results in the original point, which is the same as applying the identity matrix.
Consider a point P(x,y) in a 2-dimensional Cartesian coordinate system. We want to rotate this point counterclockwise by an angle θ about the origin. After this rotation, the point P(x,y) moves to a new position P′(x′,y′).
Let OP be the distance from the origin to the point P, denoted as r, and let α be the angle between the line OP and the positive x-axis. From trigonometry, the coordinates (x,y) of the point P can be written as:
x=rcosαandy=rsinα
After rotating the point by an angle θ counterclockwise, the new angle between the line OP′ and the positive x-axis becomes α+θ. The coordinates of the new point P′(x′,y′) are then:
x′=rcos(α+θ)andy′=rsin(α+θ)
Using the angle sum identities for sine and cosine:
In three-dimensional space, rotation matrices allow us to rotate a point about one of the three axes (x-axis, y-axis, or z-axis). The general rotation matrix depends on the axis of rotation. Let’s explore the rotation matrices for rotations about the z-axis, x-axis, and y-axis.
1. Rotation About the z-Axis
Consider a point P(x,y,z) in 3D space. If we rotate this point counterclockwise by an angle θ about the z-axis, the new point P′(x′,y′,z′) has the following coordinates:
x′y′z′=cosθsinθ0−sinθcosθ0001xyz
The z-coordinate remains unchanged, while the x- and y-coordinates rotate in the x-y plane, just like in the 2D case. The resulting matrix is called the rotation matrix about the z-axis:
Rz(θ)=cosθsinθ0−sinθcosθ0001
2. Rotation About the x-Axis
Now, consider rotating the point P(x,y,z)counterclockwise by an angle θ about the x-axis. The x-coordinate remains unchanged, while the y- and z-coordinates rotate in the y-z plane. The new point P′(x′,y′,z′) is given by:
x′y′z′=1000cosθsinθ0−sinθcosθxyz
The rotation matrix for a rotation about the x-axis is:
Rx(θ)=1000cosθsinθ0−sinθcosθ
3. Rotation About the y-Axis
Finally, to rotate the point P(x,y,z)counterclockwise by an angle θ about the y-axis, the y-coordinate remains unchanged, while the x- and z-coordinates rotate in the x-z plane. The new coordinates P′(x′,y′,z′) are:
x′y′z′=cosθ0−sinθ010sinθ0cosθxyz
The corresponding rotation matrix about the y-axis is:
Ry(θ)=cosθ0−sinθ010sinθ0cosθ
Thus:
Rotation about the z-axis:
Rz(θ)=cosθsinθ0−sinθcosθ0001
Rotation about the x-axis:
Rx(θ)=1000cosθsinθ0−sinθcosθ
Rotation about the y-axis:
Ry(θ)=cosθ0−sinθ010sinθ0cosθ
Section 9 of 10 · Matrices and Determinants
Mark this section complete when you have worked through its proofs.
Type any topic, theorem, or concept to jump directly to the section.