All 31 questions UPSC has asked on linear transformations in the Mathematics Optional (Paper I, Linear Algebra) from 2008 to 2026, solved step by step – latest first.
Try them yourself first: the same questions, without solutions, are on our Linear Algebra topic-wise PYQs page.
How we check these solutions
These are our own solutions, prepared with AI help. UPSC does not publish official answers. Every solution is checked a second way before it goes up, and says how:
- ✓ Checked by computer the answer was worked out again independently with computer algebra (SymPy).
- ✓ Proof checked step by step for “prove that” questions, every step was checked against the definitions.
Spotted a mistake or a neater method? Tell us in the comments below or through Report an error.
Jump to a question (year · question number):
2026 · 4a 2025 · 1b 2025 · 2a 2024 · 1b 2024 · 2a 2024 · 3a 2023 · 1b 2023 · 2a 2022 · 1b 2022 · 4a 2021 · 1b 2020 · 1b 2020 · 3b 2019 · 1c 2017 · 3a 2016 · 2a(i) 2016 · 2a(ii) 2016 · 2c 2015 · 3a 2013 · 2a(i) 2013 · 2a(ii) 2012 · 1d 2012 · 2b(i) 2011 · 2b(ii) 2011 · 2c(i) 2010 · 1b 2010 · 2a 2010 · 4a 2009 · 2a 2009 · 3a 2008 · 2a
Let be a subfield of complex numbers and let be the linear transformation from into , defined by If is a vector in , then answer the following : (i) Find the condition on , , such that the vector be in the null space of . What is the nullity of ? (ii) Find the condition on , , such that the vector be in the range of . What is the rank of ?
Solution
With respect to the standard basis,
(i) Null space. means From the second, ; then the first gives , so (the third equation is then satisfied: ). So the condition is is one-dimensional, so nullity of .
(ii) Range. if has a solution: Subtracting the third equation from the first gives . Comparing with the second, the system is consistent exactly when The range is the plane , which is two-dimensional, so rank of . (Check: rank nullity . ✓)
✓ Checked by computer We checked by computer (SymPy): , rank 2, null space spanned by , and range given by .
Find the range, rank, kernel and nullity of the linear transformation given by .
Solution
The matrix of (standard bases) is , which is already in echelon form with three pivots.
- Rank , so the range is all of . Directly: given , take , , , .
- Kernel: , , give and . So with basis and nullity .
Check: rank nullity . ✓
✓ Checked by computer We checked by computer (SymPy): rank 3, and the kernel is spanned by .
Let be a linear transformation such that , and . Find .
Solution
The three vectors are a basis of : , with the vectors as columns. So is fixed by its values on them.
Write .
- First component: , , , giving .
- Second component: , , , giving .
Check: ✓; ✓; ✓.
✓ Checked by computer We checked by computer (SymPy): the matrix found sends each given vector to its image.
Let be a linear operator and be a basis of over . Suppose that , , . Find a basis for the range space and null space of .
Solution
Range. . Here , while and are independent. So Null space. gives . So (rank nullity ✓)
✓ Checked by computer We checked by computer (SymPy): the images have rank 2, with one relation .
Consider a linear operator on over defined by . Is invertible? If yes, justify your answer and find .
Solution
The matrix is lower triangular: So is invertible (equivalently, forces , then , then , so ).
Inverse. Solve : gives ; gives ; gives . Hence
✓ Checked by computer We checked by computer (SymPy): and the inverse; is the identity.
Let denote a vector space over the field of real numbers. Find the matrix of the linear mapping given by with respect to standard basis of , and hence find the rank of . Is invertible? Justify your answer.
Solution
Let and take the standard basis in that order. Then
, so rank and is invertible. Indeed , since is invertible.
✓ Checked by computer We checked by computer (SymPy): the matrix has determinant , so rank 4.
Find the rank and nullity of the linear transformation: given by
Solution
(The third row is the sum of the first two.) Rank . The kernel is , , i.e. spanned by , so nullity . (rank nullity ✓)
✓ Checked by computer We checked by computer (SymPy): rank 2, kernel spanned by .
If the matrix of a linear transformation relative to the basis is then find the matrix of relative to the basis .
Solution
Let be the matrix whose columns are the new basis vectors: The matrix relative to the new basis is : Check, first column: . ✓
✓ Checked by computer We checked by computer (SymPy): as shown.
Let be a linear transformation such that and . Find .
Solution
Write : , . By linearity,
✓ Checked by computer We checked by computer (SymPy): .
Find a linear map which rotates each vector of by an angle . Also, prove that for , has no eigenvalue in .
Solution
Rotation by sends to , i.e. is linear, since it is given by a matrix.
: and . The characteristic equation is which has no real root. Hence has no eigenvalue in .
(Geometrically: a real eigenvector would be a non-zero vector whose direction is unchanged, but a quarter-turn changes the direction of every non-zero vector.)
✓ Proof checked step by step A short proof; we checked the matrix and its characteristic equation by computer (SymPy).
Find the matrix associated with the linear operator on defined by with respect to the ordered basis .
Solution
Apply to each basis vector and write the result in terms of :
The coordinates form the columns:
✓ Checked by computer We checked by computer (SymPy): as shown.
Let be the vector space of all real matrices. Let . Suppose is a linear transformation defined by . Find the rank and nullity of . Find a matrix which maps to the null matrix.
Solution
Let . Then exactly when and . So By rank–nullity, rank . (The range is , which is two-dimensional.)
A matrix mapping to the null matrix: , since . (Any works.)
✓ Checked by computer We checked by computer (SymPy): the matrix of has rank 2.
Let be a subfield of complex numbers and a function from defined by . What are the conditions on , , such that be in the null space of ? Find the nullity of .
Solution
is in the null space iff From the second, . The first gives , so . The third is then satisfied: . So the condition is The null space is one-dimensional: nullity of .
✓ Checked by computer We checked by computer (SymPy): the null space is spanned by .
Let be a linear map such that and . If is the matrix corresponding to with respect to the standard bases , , then find Rank .
Solution
and . Solving for : from and , So Rank. (Quicker: maps the basis to the independent vectors , so the range is all of .)
✓ Checked by computer We checked by computer (SymPy): as shown, with rank 2.
Consider the matrix mapping , where . Find a basis and dimension of the image of and those of the kernel .
Solution
Image. The pivots are in columns 1 and 2, so the corresponding columns of form a basis: Kernel. , , with free: (2 + 2 = 4 ✓)
✓ Checked by computer We checked by computer (SymPy): image basis and kernel basis as shown.
If is space of real matrices of order and is the space of real polynomials of degree at most 2, then find the matrix representation of , such that , with respect to the standard bases of and . Further find the null space of .
Solution
Standard bases: for and for .
- (here )
- ()
- ()
- ()
Null space: , , give , , . So
✓ Checked by computer We checked by computer (SymPy): the matrix has rank 3, with null space spanned by .
If is such that , then choosing and as bases of and respectively, find the matrix of .
Solution
. Apply it to each basis vector of :
Writing the coordinates in as columns,
✓ Checked by computer We checked by computer (SymPy): the images and their coordinates.
If is the matrix representation of a linear transformation with respect to the bases and , then find .
Solution
The -th column of gives the coordinates of in :
Coordinates of a general polynomial. Write . Comparing coefficients: , , . So . , which simplifies to Check with (): . ✓
✓ Checked by computer We checked by computer (SymPy): the formula reproduces each column of .
Let and , for all , be defined by What is the matrix relative to the basis
Solution
In the standard basis . With the matrix whose columns are , the matrix relative to is Check, first column: , and . ✓
✓ Checked by computer We checked by computer (SymPy): as shown.
Let denote the vector space of all real polynomials of degree atmost and be a linear transformation given by Find the matrix of with respect to the bases and of and respectively. Also, find the null space of .
Solution
, , . Write each in the basis :
Null space. If for all , then differentiating gives . So . (The matrix also has rank 3.)
✓ Checked by computer We checked by computer (SymPy): the coordinates of as shown.
Let be an -dimensional vector space and be an invertible linear operator. If is a basis of , show that is also a basis of .
Solution
has vectors, so it is enough to show that they are linearly independent. Suppose . By linearity, is invertible, so , and hence . Since is a basis, all . So is a set of independent vectors in an -dimensional space, i.e. a basis of .
✓ Proof checked step by step A proof, checked step by step.
Let be the linear transformation defined by Find a basis and the dimension of the image of and the kernel of .
Solution
Image: pivot columns 1, 2 give the basis , so .
Kernel: , , giving the basis , so .
Check: . ✓
✓ Checked by computer We checked by computer (SymPy): image basis , kernel spanned by .
Consider the linear mapping by Find the matrix relative to the basis and the matrix relative to the basis .
Solution
Standard basis: and , so .
Basis . To write : and give , .
- , so and
- , so and
(Check: trace trace ✓, and ✓, as similar matrices must agree.)
✓ Checked by computer We checked by computer (SymPy): as shown, and its first column checked directly.
Find the nullity and a basis of the null space of the linear transformation given by the matrix
Solution
Row-reduce (swap rows 1 and 2 first): Rank , so nullity . From and :
✓ Checked by computer We checked by computer (SymPy): rank 2, null space basis as shown.
Show that the vectors , and are linearly independent in . Let be a linear transformation defined by Show that the images of above vectors under are linearly dependent. Give the reason for the same.
Solution
Independent. With the vectors as columns, Images. , , . In each image the third coordinate is twice the first, so all three lie in the plane . Three vectors in a 2-dimensional subspace are dependent; explicitly,
Reason. is not invertible: the third component of is twice the first, so and (e.g. ). A singular linear map cannot keep independent vectors independent. Its image is only 2-dimensional, so any 3 image vectors are dependent.
✓ Checked by computer We checked by computer (SymPy): the three vectors have determinant ; their images have rank 2; has rank 2.
What is the null space of the differentiation transformation where is the space of all polynomials of degree over the real numbers? What is the null space of the second derivative as a transformation of ? What is the null space of the th derivative?
Solution
on .
- : exactly when is constant. So , of dimension 1.
- : exactly when . So , of dimension 2.
- : exactly when . So , of dimension (for ; for , on and the null space is all of ).
Reason: the -th derivative of is if and a non-zero multiple of if , so only the terms of degree survive in the kernel.
✓ Proof checked step by step A short argument, checked step by step.
Let . Find the unique linear transformation so that is the matrix of with respect to the basis of and of . Also find .
Solution
Note is , so maps (the codomain basis is in ). The columns of give in terms of :
Formula. . Hence This is unique, because a linear map is determined by its values on a basis.
✓ Checked by computer We checked by computer (SymPy): matches the columns of for each .
(i) In the -space , determine whether or not the set is linearly independent. (ii) Let be a linear transformation from a vector space over reals into such that . Show that is invertible.
Solution
(i) Linearly dependent. Adding all vectors, This is a non-trivial relation (all coefficients ), so the set is not linearly independent.
(ii) From : So is a two-sided inverse of . Hence is invertible, with .
✓ Proof checked step by step Both parts are short proofs, checked step by step.
Let and be the two ordered bases of . Then find a matrix representing the linear transformation which transforms into . Use this matrix representation to find , where .
Solution
is defined by , , .
Matrix with respect to (domain) and the standard basis (codomain): the columns are the images, Standard matrix. If has the vectors of as columns, then : . , so (The same as . ✓)
✓ Checked by computer We checked by computer (SymPy): the matrix sends each vector of to the matching vector of , and .
Let be a linear transformation defined by Then find the rank and nullity of . Also, determine null space and range space of .
Solution
Row 1 = row 2 + row 3, so the rank is 2 (rows 2 and 3 are independent).
- Rank , nullity .
- Null space: and , so , with basis .
- Range: the first component always equals the sum of the other two, so , with basis . (Both are attained: and .)
✓ Checked by computer We checked by computer (SymPy): rank 2, null space basis as shown.
Show that is a basis of . Let be a linear transformation such that , and . Find .
Solution
Basis. With the vectors as columns, , so the three vectors are independent. Three independent vectors in form a basis.
. Write : then , , . By linearity, Check: ✓ and ✓.
✓ Checked by computer We checked by computer (SymPy): , and the formula gives the three stated images.
More on Linear Algebra
- Linear Algebra topic-wise PYQs (questions only, for practice)
- Mathematics PYQ analysis: which units carry the marks year by year
- Year-wise question papers
- Mathematics booklist
Questions: UPSC Civil Services (Main) Examination, Mathematics Paper I, 2008–2026. Solutions: Optional Province. Found an error? Tell us.

