Courses
Courses for Kids
Free study material
Offline Centres
More
Store Icon
Store

Transformation Matrix in Linear Algebra

ffImage
hightlight icon
highlight icon
highlight icon
share icon
copy icon

Transformation Matrix formula properties and solved examples

The concept of Transformation Matrix is essential in mathematics and helps in solving real-world and exam-level problems efficiently. Transformation matrices are tools in linear algebra for changing the position, orientation, or size of geometric figures, and are used in many applications including physics, engineering, and computer graphics.


Understanding Transformation Matrix

A Transformation Matrix is a special matrix that, when multiplied with a vector, changes its position, orientation, or size based on the matrix type. It is widely used in linear algebra, matrix operations, and geometry. Transformations with matrices include rotation, scaling, translation, reflection, and shearing. These concepts are especially useful in 2D and 3D geometry, computer graphics, physics, and engineering design.


Formula Used in Transformation Matrix

The standard formula for applying a transformation matrix is: \( \mathbf{T}\mathbf{A} = \mathbf{B} \), where T is the transformation matrix, A is the original vector, and B is the transformed vector.


For example, for a 2D vector \( \mathbf{A} = \begin{bmatrix} x \\ y \end{bmatrix} \) and a transformation matrix \( \mathbf{T} = \begin{pmatrix} a & b \\ c & d \end{pmatrix} \):

\( \begin{pmatrix}a & b \\ c & d\end{pmatrix} \begin{bmatrix}x \\ y\end{bmatrix} = \begin{bmatrix}x' \\ y'\end{bmatrix} \)


Here’s a helpful table to understand Transformation Matrices more clearly:


Transformation Matrix Table

Type Transform Matrix Effect
Scaling \( \begin{pmatrix}k & 0 \\ 0 & 1\end{pmatrix} \) or \( \begin{pmatrix}1 & 0 \\ 0 & k\end{pmatrix} \) Stretches or compresses in one direction
Rotation (\( \theta \)) \( \begin{pmatrix}\cos\theta & -\sin\theta \\ \sin\theta & \cos\theta\end{pmatrix} \) Rotates by θ degrees
Shearing (x-axis) \( \begin{pmatrix}1 & k \\ 0 & 1\end{pmatrix} \) Slides points horizontally
Reflection (x-axis) \( \begin{pmatrix}1 & 0 \\ 0 & -1\end{pmatrix} \) Flips over x-axis

This table shows how a transformation matrix can stretch, rotate, shear or reflect a vector in 2D space. For 3D or 4D transformations, similar patterns apply with 3x3 or 4x4 matrices.


Types of Transformation Matrices

There are several common types of transformation matrices, each for a different geometric effect:

1. Scaling: Changes the size of an object using a diagonal matrix.

2. Rotation: Rotates points or objects using angle-based matrices.

3. Reflection: Flips coordinates over an axis.

4. Shearing: Slants the shape in a particular direction.

All these transformations can be combined using matrix multiplication. For deeper study, check Rotation Matrix or Elementary Transformation of Matrices.


Multiplication Order and Operations

The multiplication order is important in transformation matrices: applying two transformations in reverse order will usually give a different result. For example, rotating and then scaling an object will not generally have the same effect as scaling and then rotating. This is why students should always review matrix multiplication rules closely.


Worked Example – Solving a Transformation Matrix Problem

Let’s find the new coordinates for vector \( \mathbf{A} = 5i + 4j \) transformed by the matrix \( \mathbf{T} = \begin{pmatrix}2 & -3 \\ 1 & 2\end{pmatrix} \):

1. Write the original vector as a column matrix:
\( \mathbf{A} = \begin{bmatrix}5 \\ 4\end{bmatrix} \)

2. Multiply the transformation matrix and the vector:
\( \mathbf{T}\mathbf{A} = \begin{pmatrix}2 & -3 \\ 1 & 2\end{pmatrix}\begin{bmatrix}5 \\ 4\end{bmatrix} \)

3. Perform the multiplication:
Top entry: \( 2 \times 5 + (-3) \times 4 = 10 - 12 = -2 \)
Bottom entry: \( 1 \times 5 + 2 \times 4 = 5 + 8 = 13 \)

4. Thus, the new vector is \( \begin{bmatrix}-2 \\ 13\end{bmatrix} \), or in vector form, -2i + 13j.

Practice Problems

  • Find the matrix that reflects a point over the x-axis and use it to transform \( (2, 3) \).
  • Given the matrix \( \begin{pmatrix}3 & 0 \\ 0 & 2\end{pmatrix} \), what kind of transformation does it perform?
  • If \( \mathbf{T} = \begin{pmatrix}0 & 1 \\ 1 & 0\end{pmatrix} \), what happens to vector \( (1, 2) \) after transformation?
  • Write the transformation formula for rotating a vector by 90 degrees counter-clockwise.

Common Mistakes to Avoid

  • Mixing up the order of matrix multiplication—remember: transformations are not always commutative.
  • Using the wrong size of transformation matrix for the vector space (e.g., 2x2 for 3D vectors).
  • Forgetting to multiply the matrix and vector properly, especially when handling negative signs or transpositions.

Real-World Applications

The concept of transformation matrices is vital in 3D computer graphics (like animations and games), robotics, structural engineering, and even everyday physics problems. For example, a rotation matrix helps rotate objects in 3D modeling or robot arms. Vedantu helps students visualize and apply these real-world maths techniques.


Important Related Topics and Further Study


We explored the idea of Transformation Matrix, how to apply it, solve related problems, and understand its real-life relevance. Practice more with Vedantu to build confidence in these concepts and become faster at handling matrix operations.


FAQs on Transformation Matrix in Linear Algebra

1. What is a transformation matrix?

A transformation matrix is a matrix that changes the position, size, or orientation of a vector in space through matrix multiplication. In linear algebra, it represents a linear transformation such as rotation, reflection, scaling, or shearing.

For a 2D vector (x, y), the transformed vector is found by multiplying:
[a b; c d] × [x; y]

The result is a new vector that has been geometrically transformed according to the matrix entries.

2. How do you apply a transformation matrix to a vector?

To apply a transformation matrix, multiply the matrix by the column vector.

Steps:

  • Write the transformation matrix, e.g. [a b; c d]
  • Write the vector as a column vector [x; y]
  • Multiply rows by columns

Example:
If A = [2 0; 0 3] and v = [1; 2], then
A v = [2×1 + 0×2; 0×1 + 3×2] = [2; 6].

The vector has been scaled.

3. What is the formula for a 2D rotation matrix?

The 2D rotation matrix for an angle θ is [cosθ −sinθ; sinθ cosθ].

When this matrix multiplies a vector, it rotates the vector anticlockwise about the origin by θ radians.

For example, rotating by 90° (π/2):

  • cos(90°) = 0
  • sin(90°) = 1

The matrix becomes [0 −1; 1 0].

4. What is the scaling transformation matrix?

A scaling matrix changes the size of a vector and is given by [sx 0; 0 sy].

Where:

  • sx = scale factor in x-direction
  • sy = scale factor in y-direction

If sx = 2 and sy = 3, the matrix is [2 0; 0 3], which stretches x-coordinates by 2 and y-coordinates by 3.

5. What is a reflection matrix in 2D?

A reflection matrix flips points across a line through the origin.

Common reflection matrices:

  • Across x-axis: [1 0; 0 −1]
  • Across y-axis: [−1 0; 0 1]
  • Across line y = x: [0 1; 1 0]

Each matrix reverses the appropriate coordinate while keeping the other unchanged.

6. How do you find the transformation matrix from given points?

To find a transformation matrix, determine how the basis vectors are transformed.

Steps in 2D:

  • Find the images of (1,0) and (0,1)
  • Use these images as the columns of the matrix

If T(1,0) = (2,1) and T(0,1) = (0,3), then the matrix is:
[2 0; 1 3].

7. What does the determinant of a transformation matrix represent?

The determinant of a transformation matrix represents the scale factor of area (or volume in 3D).

For a 2×2 matrix [a b; c d], the determinant is ad − bc.

Interpretation:

  • |det| > 1 → area increases
  • 0 < |det| < 1 → area decreases
  • det = 0 → transformation collapses space
  • Negative determinant → orientation is reversed

8. What is the identity transformation matrix?

The identity matrix leaves every vector unchanged and is given by [1 0; 0 1] in 2D.

For any vector v, multiplying by the identity matrix gives:
I v = v.

It represents a transformation with no rotation, scaling, or reflection.

9. What is the difference between linear transformation and transformation matrix?

A linear transformation is a function that maps vectors to vectors, while a transformation matrix is the matrix representation of that function.

In other words:

  • The linear transformation is the rule.
  • The matrix is the numerical tool used to compute it.

Every linear transformation in finite-dimensional space can be represented by a matrix.

10. Can you give an example of a transformation matrix?

An example of a transformation matrix is the 90° rotation matrix [0 −1; 1 0].

Applying it to vector (1,0):

  • Multiply matrix by [1; 0]
  • Result = [0; 1]

This shows the vector has been rotated 90° anticlockwise about the origin.