Menu Close

Linear transformations: UPSC Maths Optional PYQ Solutions (2008–2026)

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

Cover of the UPSC Prelims Topic-wise PYQ book with detailed explanations

From the Optional Province team

Preparing for Prelims too?

Our UPSC Prelims Topic-wise PYQ Book covers every Prelims question with detailed explanations, so you can see exactly where UPSC asks from. Now available as a hard copy and an eBook.

Buy Hard Copy on AmazonBuy eBook (PDF)

Download a free sample

Let F be a subfield of complex numbers and let T be the linear transformation from F3 into F3, defined by T(x,y,z)=(x−y+2z,2x+y,−x−2y+2z) If (a,b,c) is a vector in F3, then answer the following : (i) Find the condition on a, b, c such that the vector (a,b,c) be in the null space of T. What is the nullity of T? (ii) Find the condition on a, b, c such that the vector (a,b,c) be in the range of T. What is the rank of T?

2026 · Paper I · Q4a · 15 marks

Solution

With respect to the standard basis, [T]=(1−12210−1−22).[T]=\begin{pmatrix}1&-1&2\\2&1&0\\-1&-2&2\end{pmatrix}.

(i) Null space. (a,b,c)∈N(T)(a,b,c)\in N(T) means a−b+2c=0,2a+b=0,−a−2b+2c=0.a-b+2c=0,\qquad 2a+b=0,\qquad -a-2b+2c=0 . From the second, b=−2ab=-2a; then the first gives 3a+2c=03a+2c=0, so c=−32ac=-\tfrac32a (the third equation is then satisfied: −a+4a−3a=0-a+4a-3a=0). So the condition is b=−2a,c=−32a,i.e. (a,b,c)=k(−2,4,3).b=-2a,\quad c=-\tfrac32 a,\qquad\text{i.e. } (a,b,c)=k(-2,4,3). N(T)N(T) is one-dimensional, so nullity of T=1T=1.

(ii) Range. (a,b,c)∈R(T)(a,b,c)\in R(T) if T(x,y,z)=(a,b,c)T(x,y,z)=(a,b,c) has a solution: x−y+2z=a,2x+y=b,−x−2y+2z=c.x-y+2z=a,\qquad 2x+y=b,\qquad -x-2y+2z=c . Subtracting the third equation from the first gives 2x+y=a−c2x+y=a-c. Comparing with the second, the system is consistent exactly when b=a−c⇔a−b−c=0.b=a-c\quad\Longleftrightarrow\quad a-b-c=0 . The range is the plane a−b−c=0a-b-c=0, which is two-dimensional, so rank of T=2T=2. (Check: rank ++ nullity =2+1=3=dimF3=2+1=3=\dim F^3. ✓)

✓ Checked by computer We checked by computer (SymPy): det=0\det=0, rank 2, null space spanned by (−2,4,3)(-2,4,3), and range given by −a+b+c=0-a+b+c=0.

↑ Back to the question list

Find the range, rank, kernel and nullity of the linear transformation T:ℝ4→ℝ3 given by T(x,y,z,w)=(x−w,y+z,z−w).

2025 · Paper I · Q1b · 10 marks

Solution

The matrix of TT (standard bases) is (100−10110001−1)\begin{pmatrix}1&0&0&-1\\0&1&1&0\\0&0&1&-1\end{pmatrix}, which is already in echelon form with three pivots.

  • Rank =3=3, so the range is all of ℝ3\mathbb{R}^3. Directly: given (p,q,r)(p,q,r), take w=0w=0, z=rz=r, y=q−ry=q-r, x=px=p.
  • Kernel: x−w=0x-w=0, y+z=0y+z=0, z−w=0z-w=0 give x=z=wx=z=w and y=−wy=-w. So kerT={w(1,−1,1,1):w∈ℝ},\ker T=\{w(1,-1,1,1):w\in\mathbb{R}\}, with basis {(1,−1,1,1)}\{(1,-1,1,1)\} and nullity =1=1.

Check: rank ++ nullity =3+1=4=dimℝ4=3+1=4=\dim\mathbb{R}^4. ✓

✓ Checked by computer We checked by computer (SymPy): rank 3, and the kernel is spanned by (1,−1,1,1)(1,-1,1,1).

↑ Back to the question list

Let T:ℝ3→ℝ2 be a linear transformation such that T(1,1,−1)=(1,0), T(4,1,1)=(0,1) and T(1,−1,2)=(1,1). Find T.

2025 · Paper I · Q2a · 15 marks

Solution

The three vectors are a basis of ℝ3\mathbb{R}^3: det(14111−1−112)=1≠0\det\begin{pmatrix}1&4&1\\1&1&-1\\-1&1&2\end{pmatrix}=1\neq0, with the vectors as columns. So TT is fixed by its values on them.

Write T(x,y,z)=(a1x+a2y+a3z,b1x+b2y+b3z)T(x,y,z)=(a_1x+a_2y+a_3z,\;b_1x+b_2y+b_3z).

  • First component: a1+a2−a3=1a_1+a_2-a_3=1, 4a1+a2+a3=04a_1+a_2+a_3=0, a1−a2+2a3=1a_1-a_2+2a_3=1, giving a1=5,a2=−12,a3=−8a_1=5,\;a_2=-12,\;a_3=-8.
  • Second component: b1+b2−b3=0b_1+b_2-b_3=0, 4b1+b2+b3=14b_1+b_2+b_3=1, b1−b2+2b3=1b_1-b_2+2b_3=1, giving b1=1,b2=−2,b3=−1b_1=1,\;b_2=-2,\;b_3=-1.

T(x,y,z)=(5x−12y−8z,x−2y−z).T(x,y,z)=(5x-12y-8z,\;x-2y-z). Check: T(1,1,−1)=(5−12+8,1−2+1)=(1,0)T(1,1,-1)=(5-12+8,\;1-2+1)=(1,0) ✓; T(4,1,1)=(0,1)T(4,1,1)=(0,1) ✓; T(1,−1,2)=(1,1)T(1,-1,2)=(1,1) ✓.

✓ Checked by computer We checked by computer (SymPy): the matrix found sends each given vector to its image.

↑ Back to the question list

Let T:ℝ3→ℝ3 be a linear operator and B={v1,v2,v3} be a basis of ℝ3 over ℝ. Suppose that Tv1=(1,1,0), Tv2=(1,0,−1), Tv3=(2,1,−1). Find a basis for the range space and null space of T.

2024 · Paper I · Q1b · 10 marks

Solution

Range. R(T)=span{Tv1,Tv2,Tv3}R(T)=\operatorname{span}\{Tv_1,Tv_2,Tv_3\}. Here Tv3=(2,1,−1)=Tv1+Tv2Tv_3=(2,1,-1)=Tv_1+Tv_2, while Tv1=(1,1,0)Tv_1=(1,1,0) and Tv2=(1,0,−1)Tv_2=(1,0,-1) are independent. So basis of R(T)={(1,1,0),(1,0,−1)},rankT=2.\text{basis of }R(T)=\{(1,1,0),\;(1,0,-1)\},\qquad\operatorname{rank}T=2 . Null space. T(av1+bv2+cv3)=(a+b+2c,a+c,−b−c)=0T(av_1+bv_2+cv_3)=(a+b+2c,\;a+c,\;-b-c)=0 gives a=b=−ca=b=-c. So N(T)={c(−v1−v2+v3)},basis {v1+v2−v3},nullity 1.N(T)=\{c(-v_1-v_2+v_3)\},\qquad\text{basis }\{v_1+v_2-v_3\},\qquad\text{nullity }1 . (rank ++ nullity =3=3 ✓)

✓ Checked by computer We checked by computer (SymPy): the images have rank 2, with one relation Tv3=Tv1+Tv2Tv_3=Tv_1+Tv_2.

↑ Back to the question list

Consider a linear operator T on ℝ3 over ℝ defined by T(x,y,z)=(2x,4x−y,2x+3y−z). Is T invertible? If yes, justify your answer and find T−1.

2024 · Paper I · Q2a · 15 marks

Solution

The matrix is lower triangular: [T]=(2004−1023−1),det[T]=2⋅(−1)⋅(−1)=2≠0.[T]=\begin{pmatrix}2&0&0\\4&-1&0\\2&3&-1\end{pmatrix},\qquad\det[T]=2\cdot(-1)\cdot(-1)=2\neq0 . So TT is invertible (equivalently, T(x,y,z)=0T(x,y,z)=0 forces x=0x=0, then y=0y=0, then z=0z=0, so kerT={0}\ker T=\{0\}).

Inverse. Solve T(x,y,z)=(p,q,r)T(x,y,z)=(p,q,r): 2x=p2x=p gives x=p2x=\frac p2; 4x−y=q4x-y=q gives y=2p−qy=2p-q; 2x+3y−z=r2x+3y-z=r gives z=p+3(2p−q)−r=7p−3q−rz=p+3(2p-q)-r=7p-3q-r. Hence T−1(p,q,r)=(p2,2p−q,7p−3q−r).T^{-1}(p,q,r)=\left(\frac p2,\;2p-q,\;7p-3q-r\right).

✓ Checked by computer We checked by computer (SymPy): det=2\det=2 and the inverse; T∘T−1T\circ T^{-1} is the identity.

↑ Back to the question list

Let V=M2×2(ℝ) denote a vector space over the field of real numbers. Find the matrix of the linear mapping ϕ:V→V given by ϕ(v)=(123−1)v with respect to standard basis of M2×2(ℝ), and hence find the rank of ϕ. Is ϕ invertible? Justify your answer.

2024 · Paper I · Q3a · 15 marks

Solution

Let A=(123−1)A=\begin{pmatrix}1&2\\3&-1\end{pmatrix} and take the standard basis E11,E12,E21,E22E_{11},E_{12},E_{21},E_{22} in that order. Then

  • ϕ(E11)=AE11=(1030)=E11+3E21\phi(E_{11})=AE_{11}=\begin{pmatrix}1&0\\3&0\end{pmatrix}=E_{11}+3E_{21}
  • ϕ(E12)=(0103)=E12+3E22\phi(E_{12})=\begin{pmatrix}0&1\\0&3\end{pmatrix}=E_{12}+3E_{22}
  • ϕ(E21)=(20−10)=2E11−E21\phi(E_{21})=\begin{pmatrix}2&0\\-1&0\end{pmatrix}=2E_{11}-E_{21}
  • ϕ(E22)=(020−1)=2E12−E22\phi(E_{22})=\begin{pmatrix}0&2\\0&-1\end{pmatrix}=2E_{12}-E_{22}

[ϕ]=(1020010230−10030−1).[\phi]=\begin{pmatrix}1&0&2&0\\0&1&0&2\\3&0&-1&0\\0&3&0&-1\end{pmatrix}. det[ϕ]=(detA)2=(−7)2=49≠0\det[\phi]=(\det A)^2=(-7)^2=49\neq0, so rank ϕ=4\phi=4 and ϕ\phi is invertible. Indeed ϕ−1(v)=A−1v\phi^{-1}(v)=A^{-1}v, since AA is invertible.

✓ Checked by computer We checked by computer (SymPy): the 4×44\times4 matrix has determinant 4949, so rank 4.

↑ Back to the question list

Find the rank and nullity of the linear transformation: T:ℝ3→ℝ3 given by T(x,y,z)=(x+z,x+y+2z,2x+y+3z)

2023 · Paper I · Q1b · 10 marks

Solution

[T]=(101112213)→(101011011)→(101011000).[T]=\begin{pmatrix}1&0&1\\1&1&2\\2&1&3\end{pmatrix}\to\begin{pmatrix}1&0&1\\0&1&1\\0&1&1\end{pmatrix}\to\begin{pmatrix}1&0&1\\0&1&1\\0&0&0\end{pmatrix}. (The third row is the sum of the first two.) Rank =2=2. The kernel is x=−zx=-z, y=−zy=-z, i.e. spanned by (1,1,−1)(1,1,-1), so nullity =1=1. (rank ++ nullity =3=3 ✓)

✓ Checked by computer We checked by computer (SymPy): rank 2, kernel spanned by (1,1,−1)(1,1,-1).

↑ Back to the question list

If the matrix of a linear transformation T:ℝ3→ℝ3 relative to the basis {(1,0,0),(0,1,0),(0,0,1)} is [112−121013], then find the matrix of T relative to the basis {(1,1,1),(0,1,1),(0,0,1)}.

2023 · Paper I · Q2a · 15 marks

Solution

Let PP be the matrix whose columns are the new basis vectors: P=(100110111),P−1=(100−1100−11).P=\begin{pmatrix}1&0&0\\1&1&0\\1&1&1\end{pmatrix},\qquad P^{-1}=\begin{pmatrix}1&0&0\\-1&1&0\\0&-1&1\end{pmatrix}. The matrix relative to the new basis is P−1APP^{-1}AP: AP=(432231443),P−1AP=(432−20−1212).AP=\begin{pmatrix}4&3&2\\2&3&1\\4&4&3\end{pmatrix},\qquad P^{-1}AP=\begin{pmatrix}4&3&2\\-2&0&-1\\2&1&2\end{pmatrix}. Check, first column: T(1,1,1)=(4,2,4)=4(1,1,1)−2(0,1,1)+2(0,0,1)T(1,1,1)=(4,2,4)=4(1,1,1)-2(0,1,1)+2(0,0,1). ✓

✓ Checked by computer We checked by computer (SymPy): P−1APP^{-1}AP as shown.

↑ Back to the question list

Let T:ℝ2→ℝ3 be a linear transformation such that T(10)=(123) and T(11)=(−328). Find T(24).

2022 · Paper I · Q1b · 10 marks

Solution

Write (2,4)=a(1,0)+b(1,1)(2,4)=a(1,0)+b(1,1): b=4b=4, a=−2a=-2. By linearity, T(24)=−2(123)+4(−328)=(−14426).T\begin{pmatrix}2\\4\end{pmatrix}=-2\begin{pmatrix}1\\2\\3\end{pmatrix}+4\begin{pmatrix}-3\\2\\8\end{pmatrix}=\begin{pmatrix}-14\\4\\26\end{pmatrix}.

✓ Checked by computer We checked by computer (SymPy): T(2,4)T=(−14,4,26)TT(2,4)^T=(-14,4,26)^T.

↑ Back to the question list

Find a linear map T:ℝ2→ℝ2 which rotates each vector of ℝ2 by an angle θ. Also, prove that for θ=π2, T has no eigenvalue in ℝ.

2022 · Paper I · Q4a · 15 marks

Solution

Rotation by θ\theta sends (x,y)=(rcosϕ,rsinϕ)(x,y)=(r\cos\phi,\,r\sin\phi) to (rcos(ϕ+θ),rsin(ϕ+θ))(r\cos(\phi+\theta),\,r\sin(\phi+\theta)), i.e. T(x,y)=(xcosθ−ysinθ,xsinθ+ycosθ),[T]=(cosθ−sinθsinθcosθ).T(x,y)=(x\cos\theta-y\sin\theta,\;x\sin\theta+y\cos\theta),\qquad [T]=\begin{pmatrix}\cos\theta&-\sin\theta\\\sin\theta&\cos\theta\end{pmatrix}. TT is linear, since it is given by a matrix.

θ=π/2\theta=\pi/2: T(x,y)=(−y,x)T(x,y)=(-y,\,x) and [T]=(0−110)[T]=\begin{pmatrix}0&-1\\1&0\end{pmatrix}. The characteristic equation is ∣−λ−11−λ∣=λ2+1=0,\begin{vmatrix}-\lambda&-1\\1&-\lambda\end{vmatrix}=\lambda^2+1=0, which has no real root. Hence TT has no eigenvalue in ℝ\mathbb{R}.

(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.) ◼\blacksquare

✓ Proof checked step by step A short proof; we checked the matrix and its characteristic equation by computer (SymPy).

↑ Back to the question list

Find the matrix associated with the linear operator on V3(ℝ) defined by T(a,b,c)=(a+b,a−b,2c) with respect to the ordered basis B={(0,1,1),(1,0,1),(1,1,0)}.

2021 · Paper I · Q1b · 10 marks

Solution

Apply TT to each basis vector and write the result in terms of BB:

  • T(0,1,1)=(1,−1,2)=0(0,1,1)+2(1,0,1)−1(1,1,0)T(0,1,1)=(1,-1,2)=0(0,1,1)+2(1,0,1)-1(1,1,0)
  • T(1,0,1)=(1,1,2)=1(0,1,1)+1(1,0,1)+0(1,1,0)T(1,0,1)=(1,1,2)=1(0,1,1)+1(1,0,1)+0(1,1,0)
  • T(1,1,0)=(2,0,0)=−1(0,1,1)+1(1,0,1)+1(1,1,0)T(1,1,0)=(2,0,0)=-1(0,1,1)+1(1,0,1)+1(1,1,0)

The coordinates form the columns: [T]B=(01−1211−101).[T]_B=\begin{pmatrix}0&1&-1\\2&1&1\\-1&0&1\end{pmatrix}.

✓ Checked by computer We checked by computer (SymPy): P−1APP^{-1}AP as shown.

↑ Back to the question list

Let M2(ℝ) be the vector space of all 2×2 real matrices. Let B=[1−1−44]. Suppose T:M2(ℝ)→M2(ℝ) is a linear transformation defined by T(A)=BA. Find the rank and nullity of T. Find a matrix A which maps to the null matrix.

2020 · Paper I · Q1b · 10 marks

Solution

Let A=(pqrs)A=\begin{pmatrix}p&q\\r&s\end{pmatrix}. Then BA=(p−rq−s−4(p−r)−4(q−s)).BA=\begin{pmatrix}p-r&q-s\\-4(p-r)&-4(q-s)\end{pmatrix}. T(A)=0T(A)=0 exactly when p=rp=r and q=sq=s. So kerT={(pqpq)},basis (1010),(0101),nullity=2.\ker T=\left\{\begin{pmatrix}p&q\\p&q\end{pmatrix}\right\},\qquad\text{basis }\begin{pmatrix}1&0\\1&0\end{pmatrix},\begin{pmatrix}0&1\\0&1\end{pmatrix},\qquad\text{nullity}=2 . By rank–nullity, rank =4−2=2=4-2=2. (The range is {(uv−4u−4v)}\left\{\begin{pmatrix}u&v\\-4u&-4v\end{pmatrix}\right\}, which is two-dimensional.)

A matrix mapping to the null matrix: A=(1010)A=\begin{pmatrix}1&0\\1&0\end{pmatrix}, since BA=(1−10−4+40)=0BA=\begin{pmatrix}1-1&0\\-4+4&0\end{pmatrix}=0. (Any (pqpq)\begin{pmatrix}p&q\\p&q\end{pmatrix} works.)

✓ Checked by computer We checked by computer (SymPy): the 4×44\times4 matrix of TT has rank 2.

↑ Back to the question list

Let F be a subfield of complex numbers and T a function from F3→F3 defined by T(x1,x2,x3)=(x1+x2+3x3,2x1−x2,−3x1+x2−x3). What are the conditions on a, b, c such that (a,b,c) be in the null space of T? Find the nullity of T.

2020 · Paper I · Q3b · 15 marks

Solution

(a,b,c)(a,b,c) is in the null space iff a+b+3c=0,2a−b=0,−3a+b−c=0.a+b+3c=0,\qquad 2a-b=0,\qquad -3a+b-c=0 . From the second, b=2ab=2a. The first gives 3a+3c=03a+3c=0, so c=−ac=-a. The third is then satisfied: −3a+2a+a=0-3a+2a+a=0. So the condition is b=2a,c=−a,i.e. (a,b,c)=a(1,2,−1).b=2a,\quad c=-a,\qquad\text{i.e. }(a,b,c)=a(1,2,-1). The null space is one-dimensional: nullity of TT =1=1.

✓ Checked by computer We checked by computer (SymPy): the null space is spanned by (1,2,−1)(1,2,-1).

↑ Back to the question list

Let T:ℝ2→ℝ2 be a linear map such that T(2,1)=(5,7) and T(1,2)=(3,3). If A is the matrix corresponding to T with respect to the standard bases e1, e2, then find Rank (A).

2019 · Paper I · Q1c · 10 marks

Solution

T(2,1)=(5,7)T(2,1)=(5,7) and T(1,2)=(3,3)T(1,2)=(3,3). Solving for T(e1),T(e2)T(e_1),T(e_2): from 2Te1+Te2=(5,7)2Te_1+Te_2=(5,7) and Te1+2Te2=(3,3)Te_1+2Te_2=(3,3), Te1=13(2(5,7)−(3,3))=(73,113),Te2=13(2(3,3)−(5,7))=(13,−13).Te_1=\tfrac13\big(2(5,7)-(3,3)\big)=\left(\tfrac73,\tfrac{11}3\right),\qquad Te_2=\tfrac13\big(2(3,3)-(5,7)\big)=\left(\tfrac13,-\tfrac13\right). A=13(7111−1),detA=−7−119=−2≠0.A=\frac13\begin{pmatrix}7&1\\11&-1\end{pmatrix},\qquad\det A=\frac{-7-11}{9}=-2\neq0 . So Rank(A)=2(A)=2. (Quicker: TT maps the basis {(2,1),(1,2)}\{(2,1),(1,2)\} to the independent vectors (5,7),(3,3)(5,7),(3,3), so the range is all of ℝ2\mathbb{R}^2.)

✓ Checked by computer We checked by computer (SymPy): AA as shown, with rank 2.

↑ Back to the question list

Consider the matrix mapping A:ℝ4→ℝ3, where A=(1231135−23813−3). Find a basis and dimension of the image of A and those of the kernel A.

2017 · Paper I · Q3a · 15 marks

Solution

A→(1231012−3024−6)→(10−17012−30000).A\to\begin{pmatrix}1&2&3&1\\0&1&2&-3\\0&2&4&-6\end{pmatrix}\to\begin{pmatrix}1&0&-1&7\\0&1&2&-3\\0&0&0&0\end{pmatrix}. Image. The pivots are in columns 1 and 2, so the corresponding columns of AA form a basis: {(1,1,3),(2,3,8)},dimImA=2.\{(1,1,3),\;(2,3,8)\},\qquad\dim\operatorname{Im}A=2 . Kernel. x1=x3−7x4x_1=x_3-7x_4, x2=−2x3+3x4x_2=-2x_3+3x_4, with x3,x4x_3,x_4 free: {(1,−2,1,0),(−7,3,0,1)},dimkerA=2.\{(1,-2,1,0),\;(-7,3,0,1)\},\qquad\dim\ker A=2 . (2 + 2 = 4 ✓)

✓ Checked by computer We checked by computer (SymPy): image basis and kernel basis as shown.

↑ Back to the question list

Cover of the UPSC Mains Topic-wise and Year-wise PYQs book (2013–2026)

From the Optional Province team

Strengthen your GS papers

Our UPSC Mains Topic-wise & Year-wise PYQ Book (2013–2026) maps every GS question to the syllabus, so you know what UPSC asks and how often. Now available as a hard copy and an eBook.

Buy Hard Copy on AmazonBuy eBook (PDF)

Download a free sample

If M2(ℝ) is space of real matrices of order 2×2 and P2(x) is the space of real polynomials of degree at most 2, then find the matrix representation of T:M2(ℝ)→P2(x), such that T([abcd])=a+c+(a−d)x+(b+c)x2, with respect to the standard bases of M2(ℝ) and P2(x). Further find the null space of T.

2016 · Paper I · Q2a(i) · 10 marks

Solution

Standard bases: {E11,E12,E21,E22}\{E_{11},E_{12},E_{21},E_{22}\} for M2(ℝ)M_2(\mathbb{R}) and {1,x,x2}\{1,x,x^2\} for P2P_2.

  • T(E11)=1+xT(E_{11})=1+x (here a=1a=1)
  • T(E12)=x2T(E_{12})=x^2 (b=1b=1)
  • T(E21)=1+x2T(E_{21})=1+x^2 (c=1c=1)
  • T(E22)=−xT(E_{22})=-x (d=1d=1)

[T]=(1010100−10110).[T]=\begin{pmatrix}1&0&1&0\\1&0&0&-1\\0&1&1&0\end{pmatrix}. Null space: a+c=0a+c=0, a−d=0a-d=0, b+c=0b+c=0 give c=−ac=-a, d=ad=a, b=ab=a. So N(T)={a(11−11):a∈ℝ}(nullity 1).N(T)=\left\{a\begin{pmatrix}1&1\\-1&1\end{pmatrix}:a\in\mathbb{R}\right\}\quad(\text{nullity }1).

✓ Checked by computer We checked by computer (SymPy): the 3×43\times4 matrix has rank 3, with null space spanned by (1,1,−1,1)(1,1,-1,1).

↑ Back to the question list

If T:P2(x)→P3(x) is such that T(f(x))=f(x)+5∫0xf(t)dt, then choosing {1,1+x,1−x2} and {1,x,x2,x3} as bases of P2(x) and P3(x) respectively, find the matrix of T.

2016 · Paper I · Q2a(ii) · 6 marks

Solution

T(f)=f+5∫0xfT(f)=f+5\int_0^xf. Apply it to each basis vector of P2P_2:

  • T(1)=1+5xT(1)=1+5x
  • T(1+x)=1+x+5(x+x22)=1+6x+52x2T(1+x)=1+x+5\left(x+\frac{x^2}{2}\right)=1+6x+\frac52x^2
  • T(1−x2)=1−x2+5(x−x33)=1+5x−x2−53x3T(1-x^2)=1-x^2+5\left(x-\frac{x^3}{3}\right)=1+5x-x^2-\frac53x^3

Writing the coordinates in {1,x,x2,x3}\{1,x,x^2,x^3\} as columns, [T]=(111565052−100−53).[T]=\begin{pmatrix}1&1&1\\5&6&5\\0&\frac52&-1\\0&0&-\frac53\end{pmatrix}.

✓ Checked by computer We checked by computer (SymPy): the images and their coordinates.

↑ Back to the question list

If A=[1−12−21−1123] is the matrix representation of a linear transformation T:P2(x)→P2(x) with respect to the bases {1−x,x(1−x),x(1+x)} and {1,1+x,1+x2}, then find T.

2016 · Paper I · Q2c · 18 marks

Solution

The jj-th column of AA gives the coordinates of T(bj)T(b_j) in {c1,c2,c3}={1,1+x,1+x2}\{c_1,c_2,c_3\}=\{1,\,1+x,\,1+x^2\}:

  • T(1−x)=1⋅1−2(1+x)+1(1+x2)=x2−2xT(1-x)=1\cdot1-2(1+x)+1(1+x^2)=x^2-2x
  • T(x−x2)=−1+(1+x)+2(1+x2)=2+x+2x2T(x-x^2)=-1+(1+x)+2(1+x^2)=2+x+2x^2
  • T(x+x2)=2−(1+x)+3(1+x2)=4−x+3x2T(x+x^2)=2-(1+x)+3(1+x^2)=4-x+3x^2

Coordinates of a general polynomial. Write a0+a1x+a2x2=p(1−x)+q(x−x2)+r(x+x2)a_0+a_1x+a_2x^2=p(1-x)+q(x-x^2)+r(x+x^2). Comparing coefficients: p=a0p=a_0, −p+q+r=a1-p+q+r=a_1, −q+r=a2-q+r=a_2. So q=a0+a1−a22,r=a0+a1+a22.q=\frac{a_0+a_1-a_2}{2},\qquad r=\frac{a_0+a_1+a_2}{2}. TT. T=pT(b1)+qT(b2)+rT(b3)T=pT(b_1)+qT(b_2)+rT(b_3), which simplifies to T(a0+a1x+a2x2)=(3a0+3a1+a2)−(2a0+a2)x+7a0+5a1+a22x2.T(a_0+a_1x+a_2x^2)=(3a_0+3a_1+a_2)-(2a_0+a_2)\,x+\frac{7a_0+5a_1+a_2}{2}\,x^2 . Check with 1−x1-x (a0=1,a1=−1,a2=0a_0=1,a_1=-1,a_2=0): 0−2x+x20-2x+x^2. ✓

✓ Checked by computer We checked by computer (SymPy): the formula reproduces each column of AA.

↑ Back to the question list

Let V=ℝ3 and T∈A(V), for all ai∈A(V), be defined by T(a1,a2,a3)=(2a1+5a2+a3,−3a1+a2−a3,−a1+2a2+3a3) What is the matrix T relative to the basis V1=(1,0,1)V2=(−1,2,1)V3=(3,−1,1)?

2015 · Paper I · Q3a · 12 marks

Solution

In the standard basis [T]=A=(251−31−1−123)[T]=A=\begin{pmatrix}2&5&1\\-3&1&-1\\-1&2&3\end{pmatrix}. With PP the matrix whose columns are V1,V2,V3V_1,V_2,V_3, P=(1−1302−1111),detP=−2,P=\begin{pmatrix}1&-1&3\\0&2&-1\\1&1&1\end{pmatrix},\qquad\det P=-2, the matrix relative to {V1,V2,V3}\{V_1,V_2,V_3\} is P−1AP=(172−3214−7292−9−35−7).P^{-1}AP=\begin{pmatrix}\frac{17}{2}&-\frac32&14\\-\frac72&\frac92&-9\\-3&5&-7\end{pmatrix}. Check, first column: T(V1)=T(1,0,1)=(3,−4,2)T(V_1)=T(1,0,1)=(3,-4,2), and 172V1−72V2−3V3=(172+72−9,−7+3,172−72−3)=(3,−4,2)\frac{17}{2}V_1-\frac72V_2-3V_3=\left(\frac{17}2+\frac72-9,\;-7+3,\;\frac{17}2-\frac72-3\right)=(3,-4,2). ✓

✓ Checked by computer We checked by computer (SymPy): P−1APP^{-1}AP as shown.

↑ Back to the question list

Let Pn denote the vector space of all real polynomials of degree atmost n and T:P2→P3 be a linear transformation given by T(p(x))=∫0xp(t)dt,p(x)∈P2. Find the matrix of T with respect to the bases {1,x,x2} and {1,x,1+x2,1+x3} of P2 and P3 respectively. Also, find the null space of T.

2013 · Paper I · Q2a(i) · 10 marks

Solution

T(1)=xT(1)=x, T(x)=x22T(x)=\frac{x^2}{2}, T(x2)=x33T(x^2)=\frac{x^3}{3}. Write each in the basis {1,x,1+x2,1+x3}\{1,\;x,\;1+x^2,\;1+x^3\}:

  • x=0⋅1+1⋅x+0+0x=0\cdot1+1\cdot x+0+0
  • x22=−12⋅1+0⋅x+12(1+x2)+0\frac{x^2}{2}=-\frac12\cdot1+0\cdot x+\frac12(1+x^2)+0
  • x33=−13⋅1+0+0+13(1+x3)\frac{x^3}{3}=-\frac13\cdot1+0+0+\frac13(1+x^3)

[T]=(0−12−1310001200013).[T]=\begin{pmatrix}0&-\frac12&-\frac13\\1&0&0\\0&\frac12&0\\0&0&\frac13\end{pmatrix}. Null space. If ∫0xp(t)dt=0\int_0^xp(t)\,dt=0 for all xx, then differentiating gives p=0p=0. So N(T)={0}N(T)=\{0\}. (The matrix also has rank 3.)

✓ Checked by computer We checked by computer (SymPy): the coordinates of T(1),T(x),T(x2)T(1),T(x),T(x^2) as shown.

↑ Back to the question list

Let V be an n-dimensional vector space and T:V→V be an invertible linear operator. If β={X1,X2,…,Xn} is a basis of V, show that β′={TX1,TX2,…,TXn} is also a basis of V.

2013 · Paper I · Q2a(ii) · 8 marks

Solution

β′\beta' has n=dimVn=\dim V vectors, so it is enough to show that they are linearly independent. Suppose c1TX1+⋯+cnTXn=0c_1TX_1+\cdots+c_nTX_n=0. By linearity, T(c1X1+⋯+cnXn)=0.T(c_1X_1+\cdots+c_nX_n)=0 . TT is invertible, so kerT={0}\ker T=\{0\}, and hence c1X1+⋯+cnXn=0c_1X_1+\cdots+c_nX_n=0. Since β\beta is a basis, all ci=0c_i=0. So β′\beta' is a set of nn independent vectors in an nn-dimensional space, i.e. a basis of VV. ◼\blacksquare

✓ Proof checked step by step A proof, checked step by step.

↑ Back to the question list

Let T:ℝ3→ℝ3 be the linear transformation defined by T(α,β,γ)=(α+2β−3γ,2α+5β−4γ,α+4β+γ) Find a basis and the dimension of the image of T and the kernel of T.

2012 · Paper I · Q1d · 12 marks

Solution

[T]=(12−325−4141)→(12−3012024)→(10−7012000).[T]=\begin{pmatrix}1&2&-3\\2&5&-4\\1&4&1\end{pmatrix}\to\begin{pmatrix}1&2&-3\\0&1&2\\0&2&4\end{pmatrix}\to\begin{pmatrix}1&0&-7\\0&1&2\\0&0&0\end{pmatrix}. Image: pivot columns 1, 2 give the basis {(1,2,1),(2,5,4)}\{(1,2,1),(2,5,4)\}, so dimImT=2\dim\operatorname{Im}T=2.

Kernel: α=7γ\alpha=7\gamma, β=−2γ\beta=-2\gamma, giving the basis {(7,−2,1)}\{(7,-2,1)\}, so dimkerT=1\dim\ker T=1.

Check: T(7,−2,1)=(7−4−3,14−10−4,7−8+1)=(0,0,0)T(7,-2,1)=(7-4-3,\;14-10-4,\;7-8+1)=(0,0,0). ✓

✓ Checked by computer We checked by computer (SymPy): image basis {(1,2,1),(2,5,4)}\{(1,2,1),(2,5,4)\}, kernel spanned by (7,−2,1)(7,-2,1).

↑ Back to the question list

Consider the linear mapping f:ℝ2→ℝ2 by f(x,y)=(3x+4y,2x−5y) Find the matrix A relative to the basis {(1,0),(0,1)} and the matrix B relative to the basis {(1,2),(2,3)}.

2012 · Paper I · Q2b(i) · 12 marks

Solution

Standard basis: f(1,0)=(3,2)f(1,0)=(3,2) and f(0,1)=(4,−5)f(0,1)=(4,-5), so A=(342−5)A=\begin{pmatrix}3&4\\2&-5\end{pmatrix}.

Basis {u1,u2}={(1,2),(2,3)}\{u_1,u_2\}=\{(1,2),(2,3)\}. To write (a,b)=xu1+yu2(a,b)=xu_1+yu_2: x+2y=ax+2y=a and 2x+3y=b2x+3y=b give x=−3a+2bx=-3a+2b, y=2a−by=2a-b.

  • f(1,2)=(11,−8)f(1,2)=(11,-8), so x=−33−16=−49x=-33-16=-49 and y=22+8=30y=22+8=30
  • f(2,3)=(18,−11)f(2,3)=(18,-11), so x=−54−22=−76x=-54-22=-76 and y=36+11=47y=36+11=47

B=(−49−763047).B=\begin{pmatrix}-49&-76\\30&47\end{pmatrix}. (Check: trace A=−2=A=-2= trace BB ✓, and detA=−23=detB\det A=-23=\det B ✓, as similar matrices must agree.)

✓ Checked by computer We checked by computer (SymPy): B=P−1APB=P^{-1}AP as shown, and its first column checked directly.

↑ Back to the question list

Find the nullity and a basis of the null space of the linear transformation A:ℝ(4)→ℝ(4) given by the matrix A=[01−3−11011310211−20].

2011 · Paper I · Q2b(ii) · 10 marks

Solution

Row-reduce (swap rows 1 and 2 first): (101101−3−1310211−20)→(101101−3−101−3−101−3−1)→(101101−3−100000000).\begin{pmatrix}1&0&1&1\\0&1&-3&-1\\3&1&0&2\\1&1&-2&0\end{pmatrix}\to\begin{pmatrix}1&0&1&1\\0&1&-3&-1\\0&1&-3&-1\\0&1&-3&-1\end{pmatrix}\to\begin{pmatrix}1&0&1&1\\0&1&-3&-1\\0&0&0&0\\0&0&0&0\end{pmatrix}. Rank =2=2, so nullity =4−2=2=4-2=2. From x1=−x3−x4x_1=-x_3-x_4 and x2=3x3+x4x_2=3x_3+x_4: basis of the null space={(−1,3,1,0),(−1,1,0,1)}.\text{basis of the null space}=\{(-1,3,1,0),\;(-1,1,0,1)\}.

✓ Checked by computer We checked by computer (SymPy): rank 2, null space basis as shown.

↑ Back to the question list

Show that the vectors (1,1,1), (2,1,2) and (1,2,3) are linearly independent in ℝ(3). Let T:ℝ(3)→ℝ(3) be a linear transformation defined by T(x,y,z)=(x+2y+3z,x+2y+5z,2x+4y+6z). Show that the images of above vectors under T are linearly dependent. Give the reason for the same.

2011 · Paper I · Q2c(i) · 10 marks

Solution

Independent. With the vectors as columns, det(121112123)=1(3−4)−2(3−2)+1(2−1)=−2≠0.\det\begin{pmatrix}1&2&1\\1&1&2\\1&2&3\end{pmatrix}=1(3-4)-2(3-2)+1(2-1)=-2\neq0 . Images. T(1,1,1)=(6,8,12)T(1,1,1)=(6,8,12), T(2,1,2)=(10,14,20)T(2,1,2)=(10,14,20), T(1,2,3)=(14,20,28)T(1,2,3)=(14,20,28). In each image the third coordinate is twice the first, so all three lie in the plane z=2xz=2x. Three vectors in a 2-dimensional subspace are dependent; explicitly, (6,8,12)−2(10,14,20)+(14,20,28)=(0,0,0).(6,8,12)-2(10,14,20)+(14,20,28)=(0,0,0).

Reason. TT is not invertible: the third component of T(x,y,z)T(x,y,z) is twice the first, so rankT=2\operatorname{rank}T=2 and kerT≠{0}\ker T\neq\{0\} (e.g. T(2,−1,0)=0T(2,-1,0)=0). 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 −2-2; their images have rank 2; TT has rank 2.

↑ Back to the question list

What is the null space of the differentiation transformation ddx:Pn→Pn where Pn is the space of all polynomials of degree ≤n over the real numbers? What is the null space of the second derivative as a transformation of Pn? What is the null space of the kth derivative?

2010 · Paper I · Q1b · 12 marks

Solution

D=ddxD=\frac{d}{dx} on PnP_n.

  • DD: Dp=0Dp=0 exactly when pp is constant. So N(D)=P0={constants}N(D)=P_0=\{\text{constants}\}, of dimension 1.
  • D2D^2: D2p=0D^2p=0 exactly when p=a+bxp=a+bx. So N(D2)=P1N(D^2)=P_1, of dimension 2.
  • DkD^k: Dkp=0D^kp=0 exactly when degp≤k−1\deg p\le k-1. So N(Dk)=Pk−1N(D^k)=P_{k-1}, of dimension kk (for 1≤k≤n1\le k\le n; for k>nk>n, Dk=0D^k=0 on PnP_n and the null space is all of PnP_n).

Reason: the kk-th derivative of xmx^m is 00 if m<km<k and a non-zero multiple of xm−kx^{m-k} if m≥km\ge k, so only the terms of degree <k<k survive in the kernel.

✓ Proof checked step by step A short argument, checked step by step.

↑ Back to the question list

Let M=(421013). Find the unique linear transformation T:ℝ3→ℝ3 so that M is the matrix of T with respect to the basis β={v1=(1,0,0),v2=(1,1,0),v3=(1,1,1)} of ℝ3 and β′={w1=(1,0),w2=(1,1)} of ℝ2. Also find T(x,y,z).

2010 · Paper I · Q2a · 20 marks

Solution

Note MM is 2×32\times3, so TT maps ℝ3→ℝ2\mathbb{R}^3\to\mathbb{R}^2 (the codomain basis β′\beta' is in ℝ2\mathbb{R}^2). The columns of MM give T(vj)T(v_j) in terms of w1,w2w_1,w_2:

  • T(v1)=4w1+0w2=(4,0)T(v_1)=4w_1+0w_2=(4,0)
  • T(v2)=2w1+1w2=(3,1)T(v_2)=2w_1+1w_2=(3,1)
  • T(v3)=1w1+3w2=(4,3)T(v_3)=1w_1+3w_2=(4,3)

Formula. (x,y,z)=(x−y)v1+(y−z)v2+zv3(x,y,z)=(x-y)v_1+(y-z)v_2+zv_3. Hence T(x,y,z)=(x−y)(4,0)+(y−z)(3,1)+z(4,3)=(4x−y+z,y+2z).T(x,y,z)=(x-y)(4,0)+(y-z)(3,1)+z(4,3)=(4x-y+z,\;y+2z). This TT is unique, because a linear map is determined by its values on a basis.

✓ Checked by computer We checked by computer (SymPy): T(vj)T(v_j) matches the columns of MM for each jj.

↑ Back to the question list

(i) In the n-space ℝn, determine whether or not the set {e1−e2,e2−e3,⋯,en−1−en,en−e1} is linearly independent. (ii) Let T be a linear transformation from a vector space V over reals into V such that T−T2=I. Show that T is invertible.

2010 · Paper I · Q4a · 20 marks

Solution

(i) Linearly dependent. Adding all nn vectors, (e1−e2)+(e2−e3)+⋯+(en−1−en)+(en−e1)=0.(e_1-e_2)+(e_2-e_3)+\cdots+(e_{n-1}-e_n)+(e_n-e_1)=0 . This is a non-trivial relation (all coefficients 11), so the set is not linearly independent.

(ii) From T−T2=IT-T^2=I: T(I−T)=T−T2=Iand(I−T)T=T−T2=I.T(I-T)=T-T^2=I\qquad\text{and}\qquad(I-T)T=T-T^2=I . So I−TI-T is a two-sided inverse of TT. Hence TT is invertible, with T−1=I−TT^{-1}=I-T. ◼\blacksquare

✓ Proof checked step by step Both parts are short proofs, checked step by step.

↑ Back to the question list

Let ℬ={(1,1,0),(1,0,1),(0,1,1)} and ℬ′={(2,1,1),(1,2,1),(−1,1,1)} be the two ordered bases of ℝ3. Then find a matrix representing the linear transformation T:ℝ3→ℝ3 which transforms ℬ into ℬ′. Use this matrix representation to find T(x‾), where x‾=(2,3,1).

2009 · Paper I · Q2a · 20 marks

Solution

TT is defined by T(1,1,0)=(2,1,1)T(1,1,0)=(2,1,1), T(1,0,1)=(1,2,1)T(1,0,1)=(1,2,1), T(0,1,1)=(−1,1,1)T(0,1,1)=(-1,1,1).

Matrix with respect to ℬ\mathcal{B} (domain) and the standard basis (codomain): the columns are the images, (21−1121111).\begin{pmatrix}2&1&-1\\1&2&1\\1&1&1\end{pmatrix}. Standard matrix. If B=[ℬ]B=[\mathcal{B}] has the vectors of ℬ\mathcal B as columns, then A=[ℬ′]B−1A=[\mathcal{B}']B^{-1}: A=(20−1101121212).A=\begin{pmatrix}2&0&-1\\1&0&1\\\frac12&\frac12&\frac12\end{pmatrix}. T(2,3,1)T(2,3,1). (2,3,1)=2(1,1,0)+0(1,0,1)+1(0,1,1)(2,3,1)=2(1,1,0)+0(1,0,1)+1(0,1,1), so T(2,3,1)=2(2,1,1)+(−1,1,1)=(3,3,3).T(2,3,1)=2(2,1,1)+(-1,1,1)=(3,3,3). (The same as A(2,3,1)TA(2,3,1)^T. ✓)

✓ Checked by computer We checked by computer (SymPy): the matrix sends each vector of ℬ\mathcal{B} to the matching vector of ℬ′\mathcal{B}', and T(2,3,1)=(3,3,3)T(2,3,1)=(3,3,3).

↑ Back to the question list

Let L:ℝ4→ℝ3 be a linear transformation defined by L((x1,x2,x3,x4))=(x3+x4−x1−x2,x3−x2,x4−x1) Then find the rank and nullity of L. Also, determine null space and range space of L.

2009 · Paper I · Q3a · 20 marks

Solution

[L]=(−1−1110−110−1001).[L]=\begin{pmatrix}-1&-1&1&1\\0&-1&1&0\\-1&0&0&1\end{pmatrix}. Row 1 = row 2 + row 3, so the rank is 2 (rows 2 and 3 are independent).

  • Rank =2=2, nullity =4−2=2=4-2=2.
  • Null space: x3=x2x_3=x_2 and x4=x1x_4=x_1, so N(L)={(a,b,b,a)}N(L)=\{(a,b,b,a)\}, with basis {(1,0,0,1),(0,1,1,0)}\{(1,0,0,1),(0,1,1,0)\}.
  • Range: the first component always equals the sum of the other two, so R(L)={(u,v,w):u=v+w}R(L)=\{(u,v,w):u=v+w\}, with basis {(1,1,0),(1,0,1)}\{(1,1,0),(1,0,1)\}. (Both are attained: L(0,0,1,0)=(1,1,0)L(0,0,1,0)=(1,1,0) and L(0,0,0,1)=(1,0,1)L(0,0,0,1)=(1,0,1).)

✓ Checked by computer We checked by computer (SymPy): rank 2, null space basis as shown.

↑ Back to the question list

Show that B={(1,0,0),(1,1,0),(1,1,1)} is a basis of ℝ3. Let T:ℝ3→ℝ3 be a linear transformation such that T(1,0,0)=(1,0,0), T(1,1,0)=(1,1,1) and T(1,1,1)=(1,1,0). Find T(x,y,z).

2008 · Paper I · Q2a · 20 marks

Solution

Basis. With the vectors as columns, det(111011001)=1≠0\det\begin{pmatrix}1&1&1\\0&1&1\\0&0&1\end{pmatrix}=1\neq0, so the three vectors are independent. Three independent vectors in ℝ3\mathbb{R}^3 form a basis.

T(x,y,z)T(x,y,z). Write (x,y,z)=a(1,0,0)+b(1,1,0)+c(1,1,1)(x,y,z)=a(1,0,0)+b(1,1,0)+c(1,1,1): then c=zc=z, b=y−zb=y-z, a=x−ya=x-y. By linearity, T(x,y,z)=(x−y)(1,0,0)+(y−z)(1,1,1)+z(1,1,0)=(x,y,y−z).T(x,y,z)=(x-y)(1,0,0)+(y-z)(1,1,1)+z(1,1,0)=(x,\;y,\;y-z). Check: T(1,1,0)=(1,1,1)T(1,1,0)=(1,1,1) ✓ and T(1,1,1)=(1,1,0)T(1,1,1)=(1,1,0) ✓.

✓ Checked by computer We checked by computer (SymPy): detB=1\det B=1, and the formula gives the three stated images.

↑ Back to the question list

More on Linear Algebra

Questions: UPSC Civil Services (Main) Examination, Mathematics Paper I, 2008–2026. Solutions: Optional Province. Found an error? Tell us.

Spotted an error? Tell us.

We classify every PYQ with care, but mistakes can slip in. If a question is in the wrong topic, has a typo, the wrong year, or is missing, let us know. We review every report and update the page.

Report an Error
Subscribe
Notify of
guest

0 Comments
Oldest
Newest Most Voted