Sitemap
Dilip Kumar

Dilip Kumar

With 19+ years of experience as a software engineer. Enjoy teaching, writing, leading team etc. Last 5+ years, working at Google as a backend Software Engineer.

Linear Algebra: Linear transformation

3 min readSep 14, 2025

--

Linear transformation is essentially a “mapping” or “transformation” that moves vectors from one vector space (V) to another vector space (W).

For any transformation T to be considered linear, it must preserve the vector space operations, meaning it must follow two strict rules (known as the linearity conditions):

  1. Additivity (Sums to Sums): The transformation of a sum of vectors must equal the sum of their individual transformations.

2. Homogeneity (Scalar Products to Scalar Products): The transformation of a vector multiplied by a scalar (a number, c) must equal the scalar multiplied by the vector’s transformation.

These two rules combined also mean that

A linear operator is just a special name used for a linear transformation when the starting vector space and the ending vector space are the same (meaning V=W).

Example 1: Matrix Transformation

Any transformation defined by a matrix

Get Dilip Kumar’s stories in your inbox

Join Medium for free to get updates from this writer.

A is a linear transformation. This is because matrix multiplication inherently follows the two required rules:

Press enter or click to view image in full size

Example 2: Specific Matrix Transformations

Specific types of geometric transformations are also linear.

  • Reflection about the y-axis.
  • Reflection about the x-axis.
  • Reflection about the origin.
  • Rotation by θ radians about the origin.
Press enter or click to view image in full size

Example 3: A Linear Transformation

Press enter or click to view image in full size
Press enter or click to view image in full size

Example 4: A Nonlinear Transformation

Press enter or click to view image in full size

This transformation is nonlinear. Although it satisfies the first property (additivity), it fails the second property (homogeneity) because of the a² term.

Happy learning !!!

--

--

Dilip Kumar
Dilip Kumar

Written by Dilip Kumar

With 19+ years of experience as a software engineer. Enjoy teaching, writing, leading team etc. Last 5+ years, working at Google as a backend Software Engineer.