Linear Transformation (3D)
See also: Geometric Linear Transformation (2D), matrix, Simultaneous Linear Equations
Linear Transformation Calculator (3D) — Rotation, reflection, scaling
The calculator below will calculate the image of the points in three-dimensional space after applying the transformation.
Please see below for transformation matrices used in the above transformations.
Please report any error to contact@idomaths.com. Thank you.
The above transformations (rotation, reflection, scaling, and shearing) can be represented by matrices. To find the image of a point, we multiply the transformation matrix by a column vector that represents the point's coordinate.
The transformation matrices are as follows:
Rotation
| Type of transformation | Transformation matrix |
Clockwise rotation by an angle θ about the positive x-axis
or
Anti-clockwise rotation by an angle θ about the negative x-axis |
| | | |
| | | 1 | 0 | 0 | | 0 | cos θ | sin θ | | 0 | −sin θ | cos θ |
| |
| | | |
|
Clockwise rotation by an angle θ about the negative x-axis
or
Anti-clockwise rotation by an angle θ about the positive x-axis |
| | | |
| | | 1 | 0 | 0 | | 0 | cos θ | −sin θ | | 0 | sin θ | cos θ |
| |
| | | |
|
Clockwise rotation by an angle θ about the positive y-axis
or
Anti-clockwise rotation by an angle θ about the negative y-axis |
| | | |
| | | cos θ | 0 | −sin θ | | 0 | 1 | 0 | | sin θ | 0 | cos θ |
| |
| | | |
|
Clockwise rotation by an angle θ about the negative y-axis
or
Anti-clockwise rotation by an angle θ about the positive y-axis |
| | | |
| | | cos θ | 0 | sin θ | | 0 | 1 | 0 | | −sin θ | 0 | cos θ |
| |
| | | |
|
Clockwise rotation by an angle θ about the positive z-axis
or
Anti-clockwise rotation by an angle θ about the negative z-axis |
| | | |
| | | cos θ | sin θ | 0 | | −sin θ | cos θ | 0 | | 0 | 0 | 1 |
| |
| | | |
|
Clockwise rotation by an angle θ about the negative z-axis
or
Anti-clockwise rotation by an angle θ about the positive z-axis |
| | | |
| | | cos θ | −sin θ | 0 | | sin θ | cos θ | 0 | | 0 | 0 | 1 |
| |
| | | |
|
Reflection
| Type of transformation | Transformation matrix |
| Reflection against the xy-plane |
|
| Reflection against the xz-plane |
|
| Reflection against the yz-plane |
|
| Reflection against the origin |
|
Scaling (Contraction or Dilation)
| Type of transformation | Transformation matrix |
| Scaling in all x, y, and z direction by a factor k |
|
Shear
| Type of transformation | Transformation matrix |
| Shear parallel to the x-axis by a factor m |
|
| Shear parallel to the y-axis by a factor m |
|
| Shear parallel to the z-axis by a factor m |
|
Orthogonal Projection
| Type of transformation | Transformation matrix |
| Orthogonal projection on the xy-plane |
|
| Orthogonal projection on the xz-plane |
|
| Orthogonal projection on the yz-plane |
|
Examples:
- Rotate point A (2,3,5) clockwise about the positive x-axis by an angle 90°.
- Reflect point A (-3,4,-2) against the xy-plane
See also: Geometric Linear Transformation (2D), matrix, Simultaneous Linear Equations