Menu Close

Vector spaces: UPSC Maths Optional PYQ Solutions (2008–2026)

All 26 questions UPSC has asked on vector spaces 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 · 3a 2025 · 1a 2025 · 4c(ii) 2024 · 1a 2023 · 1a 2022 · 1a 2022 · 3a 2021 · 2c 2020 · 1a 2018 · 1b 2017 · 2d 2016 · 1b(ii) 2015 · 1a 2015 · 4b 2014 · 1a 2014 · 2a 2013 · 2c(ii) 2012 · 1c 2012 · 2a(i) 2011 · 2b(i) 2010 · 4a 2010 · 7a 2009 · 1b 2009 · 4a 2008 · 1b 2008 · 4a

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

Given P3[x]={a0+a1x+a2x2+a3x3∣a0,a1,a2,a3∈ℝ} as a vector space over the field ℝ. (i) Let H={p(x)∈P3[x]∣∫−11p(x)dx=0}. Prove that H is a subspace of P3[x] and find a basis of H. (ii) Find a subspace K of P3[x] such that P3[x]=H⊕K.

2026 · Paper I · Q3a · 15 marks

Solution

(i) For p=a0+a1x+a2x2+a3x3p=a_0+a_1x+a_2x^2+a_3x^3, ∫−11p(x)dx=2a0+23a2.\int_{-1}^{1}p(x)\,dx=2a_0+\tfrac23 a_2 . So H={p:3a0+a2=0}H=\{p : 3a_0+a_2=0\}.

Subspace: the zero polynomial is in HH. If p,q∈Hp,q\in H and α,β∈ℝ\alpha,\beta\in\mathbb{R}, then by linearity of the integral ∫−11(αp+βq)dx=0\int_{-1}^{1}(\alpha p+\beta q)\,dx=0, so αp+βq∈H\alpha p+\beta q\in H.

Basis: a2=−3a0a_2=-3a_0, with a0,a1,a3a_0,a_1,a_3 free: p=a0(1−3x2)+a1x+a3x3.p=a_0(1-3x^2)+a_1x+a_3x^3 . So {1−3x2,x,x3}\{\,1-3x^2,\;x,\;x^3\,\} spans HH. It is linearly independent (the three have different degrees), so it is a basis and dimH=3\dim H=3.

(ii) Take K=span{1}K=\operatorname{span}\{1\}, the constant polynomials.

  • H∩K={0}H\cap K=\{0\}: a constant cc has ∫−11cdx=2c\int_{-1}^1 c\,dx=2c, which is 00 only if c=0c=0.
  • dimH+dimK=3+1=4=dimP3[x]\dim H+\dim K=3+1=4=\dim P_3[x].

Hence P3[x]=H⊕KP_3[x]=H\oplus K.

✓ Proof checked step by step Part (i) is a proof, checked step by step; the basis and the direct sum were confirmed by computer (SymPy).

↑ Back to the question list

Can the set {(0,0,0,3),(1,1,0,0),(0,1,−1,0)} be extended to form a basis of the vector space ℝ4? Justify your answer.

2025 · Paper I · Q1a · 10 marks

Solution

Yes. A set can be extended to a basis of ℝ4\mathbb{R}^4 exactly when it is linearly independent. Suppose a(0,0,0,3)+b(1,1,0,0)+c(0,1,−1,0)=(b,b+c,−c,3a)=(0,0,0,0).a(0,0,0,3)+b(1,1,0,0)+c(0,1,-1,0)=(b,\;b+c,\;-c,\;3a)=(0,0,0,0). Then b=0b=0, c=0c=0 and a=0a=0, so the set is linearly independent.

Add any vector outside its span, e.g. (1,0,0,0)(1,0,0,0): det(0003110001−101000)=3≠0,\det\begin{pmatrix}0&0&0&3\\1&1&0&0\\0&1&-1&0\\1&0&0&0\end{pmatrix}=3\neq0, so {(0,0,0,3),(1,1,0,0),(0,1,−1,0),(1,0,0,0)}\{(0,0,0,3),(1,1,0,0),(0,1,-1,0),(1,0,0,0)\} is a basis of ℝ4\mathbb{R}^4.

✓ Checked by computer We checked by computer (SymPy): the three vectors have rank 3, and adding (1,0,0,0)(1,0,0,0) gives a non-zero determinant.

↑ Back to the question list

Let Pn denote the vector space of all polynomials of degree ≤n over ℝ. Verify that dim(P4P2)=dimP4−dimP2.

2025 · Paper I · Q4c(ii) · 8 marks

Solution

dimP4=5\dim P_4=5 (basis 1,x,x2,x3,x41,x,x^2,x^3,x^4) and dimP2=3\dim P_2=3 (basis 1,x,x21,x,x^2). P2P_2 is a subspace of P4P_4.

Basis of P4/P2P_4/P_2. Every coset is p+P2=(a0+a1x+a2x2+a3x3+a4x4)+P2=a3(x3+P2)+a4(x4+P2),p+P_2=(a_0+a_1x+a_2x^2+a_3x^3+a_4x^4)+P_2=a_3(x^3+P_2)+a_4(x^4+P_2), so {x3+P2,x4+P2}\{x^3+P_2,\;x^4+P_2\} spans the quotient. It is independent: if a3(x3+P2)+a4(x4+P2)=P2a_3(x^3+P_2)+a_4(x^4+P_2)=P_2 (the zero coset), then a3x3+a4x4∈P2a_3x^3+a_4x^4\in P_2, which forces a3=a4=0a_3=a_4=0.

So dim(P4/P2)=2=5−3=dimP4−dimP2\dim(P_4/P_2)=2=5-3=\dim P_4-\dim P_2. ✓

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

↑ Back to the question list

Let H be a subspace of ℝ4 spanned by the vectors v1=(1,−2,5,−3), v2=(2,3,1,−4), v3=(3,8,−3,−5). Then find a basis and dimension of H, and extend the basis of H to a basis of ℝ4.

2024 · Paper I · Q1a · 10 marks

Solution

Row-reduce the matrix whose rows are v1,v2,v3v_1,v_2,v_3: (1−25−3231−438−3−5)→(1−25−307−92014−184)→(1−25−307−920000).\begin{pmatrix}1&-2&5&-3\\2&3&1&-4\\3&8&-3&-5\end{pmatrix}\to\begin{pmatrix}1&-2&5&-3\\0&7&-9&2\\0&14&-18&4\end{pmatrix}\to\begin{pmatrix}1&-2&5&-3\\0&7&-9&2\\0&0&0&0\end{pmatrix}. The rank is 2 (indeed v3=2v2−v1v_3=2v_2-v_1). So dimH=2\dim H=2 and {v1,v2}\{v_1,v_2\} is a basis of HH.

Extension. Add e3=(0,0,1,0)e_3=(0,0,1,0) and e4=(0,0,0,1)e_4=(0,0,0,1): det(1−25−3231−400100001)=∣1−223∣=7≠0.\det\begin{pmatrix}1&-2&5&-3\\2&3&1&-4\\0&0&1&0\\0&0&0&1\end{pmatrix}=\begin{vmatrix}1&-2\\2&3\end{vmatrix}=7\neq0 . So {v1,v2,e3,e4}\{v_1,v_2,e_3,e_4\} is a basis of ℝ4\mathbb{R}^4 extending the basis of HH.

✓ Checked by computer We checked by computer (SymPy): the rank is 2, and {v1,v2,e3,e4}\{v_1,v_2,e_3,e_4\} has determinant 7≠07\neq0.

↑ Back to the question list

Let V1=(2,−1,3,2), V2=(−1,1,1,−3) and V3=(1,1,9,−5) be three vectors of the space ℝ4. Does (3,−1,0,−1)∈span{V1,V2,V3}? Justify your answer.

2023 · Paper I · Q1a · 10 marks

Solution

We need a,b,ca,b,c with aV1+bV2+cV3=(3,−1,0,−1)aV_1+bV_2+cV_3=(3,-1,0,-1): 2a−b+c=3,−a+b+c=−1,3a+b+9c=0,2a−3b−5c=−1.2a-b+c=3,\quad -a+b+c=-1,\quad 3a+b+9c=0,\quad 2a-3b-5c=-1 . Adding the first two: a+2c=2a+2c=2, so a=2−2ca=2-2c. Then the second gives b=−1+a−c=1−3cb=-1+a-c=1-3c. Substituting into the third: 3(2−2c)+(1−3c)+9c=7≠03(2-2c)+(1-3c)+9c=7\neq0. The system is inconsistent.

(Equivalently, V3=2V1+3V2V_3=2V_1+3V_2, so the span is two-dimensional, and (3,−1,0,−1)(3,-1,0,-1) is not in it.) Hence (3,−1,0,−1)∉span{V1,V2,V3}(3,-1,0,-1)\notin\operatorname{span}\{V_1,V_2,V_3\}.

✓ Checked by computer We checked by computer (SymPy): rank of [V1V2V3][V_1\,V_2\,V_3] is 2, while the augmented matrix has rank 3.

↑ Back to the question list

Prove that any set of n linearly independent vectors in a vector space V of dimension n constitutes a basis for V.

2022 · Paper I · Q1a · 10 marks

Solution

Let dimV=n\dim V=n and let S={v1,…,vn}S=\{v_1,\dots,v_n\} be linearly independent. We need only show that SS spans VV.

Take any v∈Vv\in V. The n+1n+1 vectors v1,…,vn,vv_1,\dots,v_n,v must be linearly dependent, since a space of dimension nn cannot contain more than nn independent vectors. So there are scalars, not all zero, with c1v1+⋯+cnvn+cv=0.c_1v_1+\cdots+c_nv_n+cv=0 . If c=0c=0, the independence of SS would force all ci=0c_i=0, a contradiction. So c≠0c\neq0 and v=−c1cv1−⋯−cncvn∈spanS.v=-\frac{c_1}{c}v_1-\cdots-\frac{c_n}{c}v_n\in\operatorname{span}S . Hence SS spans VV and, being independent, is a basis. ◼\blacksquare

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

↑ Back to the question list

Let the set P={(xyz)|x−y−z=0and2x−y+z=0} be the collection of vectors of a vector space ℝ3(ℝ). Then (i) prove that P is a subspace of ℝ3. (ii) find a basis and dimension of P.

2022 · Paper I · Q3a · 20 marks

Solution

(i) PP is the solution set of the homogeneous system AX=0AX=0 with A=(1−1−12−11)A=\begin{pmatrix}1&-1&-1\\2&-1&1\end{pmatrix}. It contains 00. If AX=0AX=0 and AY=0AY=0, then A(αX+βY)=αAX+βAY=0A(\alpha X+\beta Y)=\alpha AX+\beta AY=0. So PP is a subspace of ℝ3\mathbb{R}^3.

(ii) Subtracting the first equation from the second: x+2z=0x+2z=0, so x=−2zx=-2z. Then y=x−z=−3zy=x-z=-3z. So P={z(−2,−3,1)}=span{(2,3,−1)}.P=\{z(-2,-3,1)\}=\operatorname{span}\{(2,3,-1)\}. A basis is {(2,3,−1)}\{(2,3,-1)\}, and dimP=1\dim P=1. (Check: 2−3+1=02-3+1=0 and 4−3−1=04-3-1=0. ✓)

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

↑ Back to the question list

Show that S={(x,2y,3x):x,yare real numbers} is a subspace of ℝ3(ℝ). Find two bases of S. Also find the dimension of S.

2021 · Paper I · Q2c · 15 marks

Solution

Subspace. (x,2y,3x)=x(1,0,3)+2y(0,1,0)(x,2y,3x)=x(1,0,3)+2y(0,1,0), so S={a(1,0,3)+b(0,1,0)}=span{(1,0,3),(0,1,0)}S=\{a(1,0,3)+b(0,1,0)\}=\operatorname{span}\{(1,0,3),(0,1,0)\}. A span is always a subspace. Directly: 0∈S0\in S, and α(x1,2y1,3x1)+β(x2,2y2,3x2)=(x′,2y′,3x′)\alpha(x_1,2y_1,3x_1)+\beta(x_2,2y_2,3x_2)=(x',2y',3x') with x′=αx1+βx2x'=\alpha x_1+\beta x_2, y′=αy1+βy2y'=\alpha y_1+\beta y_2.

Two bases.

  • {(1,0,3),(0,1,0)}\{(1,0,3),\,(0,1,0)\}
  • {(1,2,3),(1,−2,3)}\{(1,2,3),\,(1,-2,3)\} (take x=1,y=1x=1,y=1 and x=1,y=−1x=1,y=-1; neither is a multiple of the other)

Dimension: dimS=2\dim S=2.

✓ Checked by computer We checked by computer (SymPy): both pairs have rank 2 and lie in SS.

↑ Back to the question list

Consider the set V of all n×n real magic squares. Show that V is a vector space over ℝ. Give examples of two distinct 2×2 magic squares.

2020 · Paper I · Q1a · 10 marks

Solution

Call an n×nn\times n real matrix a magic square if all its row sums, column sums and the two diagonal sums are equal (to a common value ss).

Vector space. VV is a subset of the vector space of all n×nn\times n real matrices, so it is enough to check it is a subspace.

  • The zero matrix is magic, with s=0s=0.
  • If AA and BB are magic with sums ss and tt, then every row, column and diagonal sum of αA+βB\alpha A+\beta B equals αs+βt\alpha s+\beta t, because sums are linear. So αA+βB∈V\alpha A+\beta B\in V.

Hence VV is a subspace, and therefore a vector space over ℝ\mathbb{R}.

2×22\times2 examples. For (abcd)\begin{pmatrix}a&b\\c&d\end{pmatrix}: a+b=a+ca+b=a+c gives b=cb=c; a+b=b+da+b=b+d gives a=da=d; and a+d=b+ca+d=b+c then gives a=ba=b. So every 2×22\times2 magic square has all four entries equal. Two distinct examples: (1111),(2222).\begin{pmatrix}1&1\\1&1\end{pmatrix},\qquad\begin{pmatrix}2&2\\2&2\end{pmatrix}.

✓ Proof checked step by step A proof, checked step by step; the 2×22\times2 case was checked by solving the equations.

↑ Back to the question list

Express basis vectors e1=(1,0) and e2=(0,1) as linear combinations of α1=(2,−1) and α2=(1,3).

2018 · Paper I · Q1b · 10 marks

Solution

Write e1=aα1+bα2e_1=a\alpha_1+b\alpha_2: 2a+b=1,−a+3b=0\;2a+b=1,\;-a+3b=0. This gives a=3ba=3b and 7b=17b=1, so e1=37α1+17α2.e_1=\frac37\alpha_1+\frac17\alpha_2 . Write e2=cα1+dα2e_2=c\alpha_1+d\alpha_2: 2c+d=0,−c+3d=1\;2c+d=0,\;-c+3d=1. This gives d=−2cd=-2c and −7c=1-7c=1, so e2=−17α1+27α2.e_2=-\frac17\alpha_1+\frac27\alpha_2 . Check: 37(2,−1)+17(1,3)=(1,0)\frac37(2,-1)+\frac17(1,3)=(1,0) ✓ and −17(2,−1)+27(1,3)=(0,1)-\frac17(2,-1)+\frac27(1,3)=(0,1) ✓.

✓ Checked by computer We checked by computer (SymPy): both linear combinations give back e1e_1 and e2e_2.

↑ Back to the question list

Suppose U and W are distinct four dimensional subspaces of a vector space V, where dimV=6. Find the possible dimensions of subspace U∩W.

2017 · Paper I · Q2d · 10 marks

Solution

dim(U∩W)=dimU+dimW−dim(U+W)=8−dim(U+W).\dim(U\cap W)=\dim U+\dim W-\dim(U+W)=8-\dim(U+W). U+WU+W is a subspace of VV, so dim(U+W)≤6\dim(U+W)\le6. Since U≠WU\neq W, U+WU+W strictly contains UU, so dim(U+W)≥5\dim(U+W)\ge5. Hence dim(U+W)∈{5,6}\dim(U+W)\in\{5,6\} and dim(U∩W)∈{2,3}.\dim(U\cap W)\in\{2,\,3\}. Both occur. In ℝ6\mathbb{R}^6: U=span{e1,e2,e3,e4}U=\operatorname{span}\{e_1,e_2,e_3,e_4\} with W=span{e1,e2,e3,e5}W=\operatorname{span}\{e_1,e_2,e_3,e_5\} gives 3, and with W=span{e1,e2,e5,e6}W=\operatorname{span}\{e_1,e_2,e_5,e_6\} gives 2.

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

↑ Back to the question list

If W1={(x,y,z)∣x+y−z=0}W2={(x,y,z)∣3x+y−2z=0}W3={(x,y,z)∣x−7y+3z=0} then find dim(W1∩W2∩W3) and dim(W1+W2).

2016 · Paper I · Q1b(ii) · 3 marks

Solution

Each WiW_i is a plane through the origin (dimension 2) with normal n1=(1,1,−1)n_1=(1,1,-1), n2=(3,1,−2)n_2=(3,1,-2), n3=(1,−7,3)n_3=(1,-7,3).

W1∩W2∩W3W_1\cap W_2\cap W_3 is the solution space of the 3×33\times3 system with these rows. Since n3=−11n1+4n2n_3=-11n_1+4n_2 while n1,n2n_1,n_2 are independent, the matrix of normals has rank 2, so the solution space has dimension 3−2=13-2=1. It is spanned by (1,1,2)(1,1,2). So dim(W1∩W2∩W3)=1\dim(W_1\cap W_2\cap W_3)=1.

W1+W2W_1+W_2. W1∩W2W_1\cap W_2 is the line along n1×n2=(−1,−1,−2)n_1\times n_2=(-1,-1,-2), so it has dimension 1. Then dim(W1+W2)=2+2−1=3,\dim(W_1+W_2)=2+2-1=3, i.e. W1+W2=ℝ3W_1+W_2=\mathbb{R}^3.

✓ Checked by computer We checked by computer (SymPy): the three normals have rank 2.

↑ Back to the question list

The vectors V1=(1,1,2,4), V2=(2,−1,−5,2), V3=(1,−1,−4,0) and V4=(2,1,1,6) are linearly independent. Is it true? Justify your answer.

2015 · Paper I · Q1a · 10 marks

Solution

Not true. Row-reducing the matrix with rows V1,…,V4V_1,\dots,V_4 gives rank 2, so the four vectors are linearly dependent. An explicit relation is V1−2V2+3V3=(1−4+3,1+2−3,2+10−12,4−4+0)=(0,0,0,0).V_1-2V_2+3V_3=(1-4+3,\;1+2-3,\;2+10-12,\;4-4+0)=(0,0,0,0). (Also 3V4=4V1+V23V_4=4V_1+V_2.) A set with a non-trivial linear relation is linearly dependent.

✓ Checked by computer We checked by computer (SymPy): rank 2, and V1−2V2+3V3=0V_1-2V_2+3V_3=0.

↑ 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

Find the dimension of the subspace of ℝ4, spanned by the set {(1,0,0,0),(0,1,0,0),(1,2,0,1),(0,0,0,1)} Hence find its basis.

2015 · Paper I · Q4b · 12 marks

Solution

Note (1,2,0,1)=(1,0,0,0)+2(0,1,0,0)+(0,0,0,1)(1,2,0,1)=(1,0,0,0)+2(0,1,0,0)+(0,0,0,1), so it is redundant. The remaining three vectors e1,e2,e4e_1,e_2,e_4 are clearly independent. Hence the subspace has dimension 3,basis {(1,0,0,0),(0,1,0,0),(0,0,0,1)}.\text{dimension }3,\qquad\text{basis }\{(1,0,0,0),(0,1,0,0),(0,0,0,1)\}. (It is the subspace {(a,b,0,d)}\{(a,b,0,d)\}, i.e. the vectors with third coordinate 00.)

✓ Checked by computer We checked by computer (SymPy): the rank is 3.

↑ Back to the question list

Find one vector in ℝ3 which generates the intersection of V and W, where V is the xy plane and W is the space generated by the vectors (1,2,3) and (1,−1,1).

2014 · Paper I · Q1a · 10 marks

Solution

A vector of WW is s(1,2,3)+t(1,−1,1)=(s+t,2s−t,3s+t)s(1,2,3)+t(1,-1,1)=(s+t,\;2s-t,\;3s+t). It lies in the xyxy-plane when its zz-coordinate is 00: 3s+t=03s+t=0, i.e. t=−3st=-3s. Then the vector is s(1,2,3)−3s(1,−1,1)=s(−2,5,0).s(1,2,3)-3s(1,-1,1)=s(-2,5,0). So V∩WV\cap W is generated by the vector (−2,5,0)(-2,5,0).

✓ Checked by computer We checked by computer (SymPy): the intersection is spanned by (−2,5,0)(-2,5,0).

↑ Back to the question list

Let V and W be the following subspaces of ℝ4 : V={(a,b,c,d):b−2c+d=0} and W={(a,b,c,d):a=d,b=2c}. Find a basis and the dimension of (i) V, (ii) W, (iii) V∩W.

2014 · Paper I · Q2a · 15 marks

Solution

(i) VV: b=2c−db=2c-d, with a,c,da,c,d free: (a,2c−d,c,d)=a(1,0,0,0)+c(0,2,1,0)+d(0,−1,0,1).(a,\,2c-d,\,c,\,d)=a(1,0,0,0)+c(0,2,1,0)+d(0,-1,0,1). Basis {(1,0,0,0),(0,2,1,0),(0,−1,0,1)}\{(1,0,0,0),(0,2,1,0),(0,-1,0,1)\}, dimV=3\dim V=3.

(ii) WW: a=da=d, b=2cb=2c: (d,2c,c,d)=c(0,2,1,0)+d(1,0,0,1).(d,\,2c,\,c,\,d)=c(0,2,1,0)+d(1,0,0,1). Basis {(0,2,1,0),(1,0,0,1)}\{(0,2,1,0),(1,0,0,1)\}, dimW=2\dim W=2.

(iii) V∩WV\cap W: a vector of WW, (d,2c,c,d)(d,2c,c,d), is in VV if 2c−2c+d=02c-2c+d=0, i.e. d=0d=0. So V∩W={(0,2c,c,0)}V\cap W=\{(0,2c,c,0)\}, with basis {(0,2,1,0)}\{(0,2,1,0)\} and dim(V∩W)=1\dim(V\cap W)=1.

(Check: dim(V+W)=3+2−1=4\dim(V+W)=3+2-1=4, so V+W=ℝ4V+W=\mathbb{R}^4. ✓)

✓ Checked by computer We checked by computer (SymPy): bases of VV, WW and V∩WV\cap W as shown.

↑ Back to the question list

Show that the vectors X1=(1,1+i,i), X2=(i,−i,1−i) and X3=(0,1−2i,2−i) in ℂ3 are linearly independent over the field of real numbers but are linearly dependent over the field of complex numbers.

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

Solution

Dependent over ℂ\mathbb{C}. iX1−X2+X3=(i,i−1,−1)+(−i,i,−1+i)+(0,1−2i,2−i)=(0,0,0).iX_1-X_2+X_3=(i,\;i-1,\;-1)+(-i,\;i,\;-1+i)+(0,\;1-2i,\;2-i)=(0,0,0). This is a non-trivial relation with complex coefficients (i,−1,1)(i,-1,1).

Independent over ℝ\mathbb{R}. Let a,b,c∈ℝa,b,c\in\mathbb{R} with aX1+bX2+cX3=0aX_1+bX_2+cX_3=0. Compare real and imaginary parts of each coordinate:

  • first coordinate a+ib=0a+ib=0, so a=0a=0 and b=0b=0
  • then the second coordinate gives c(1−2i)=0c(1-2i)=0, so c=0c=0

Only the trivial real combination vanishes, so the vectors are linearly independent over ℝ\mathbb{R}. ◼\blacksquare

✓ Checked by computer We checked by computer (SymPy): over ℂ\mathbb{C}, iX1−X2+X3=0iX_1-X_2+X_3=0; over ℝ\mathbb{R}, the real system has only the trivial solution.

↑ Back to the question list

Prove or disprove the following statement : If B={b1,b2,b3,b4,b5} is a basis for ℝ5 and V is a two-dimensional subspace of ℝ5, then V has a basis made of just two members of B.

2012 · Paper I · Q1c · 12 marks

Solution

The statement is false. Take BB to be the standard basis {e1,…,e5}\{e_1,\dots,e_5\} and V=span{e1+e2,e3+e4}={(a,a,b,b,0)},V=\operatorname{span}\{e_1+e_2,\;e_3+e_4\}=\{(a,a,b,b,0)\}, a two-dimensional subspace. No eie_i lies in VV: each vector of VV has equal first and second coordinates and equal third and fourth, which no eie_i satisfies. So no two members of BB (indeed, not even one) can form a basis of VV.

✓ Proof checked step by step A counterexample, checked by hand and by computer.

↑ Back to the question list

Let V be the vector space of all 2×2 matrices over the field of real numbers. Let W be the set consisting of all matrices with zero determinant. Is W a subspace of V? Justify your answer.

2012 · Paper I · Q2a(i) · 8 marks

Solution

No. WW is not closed under addition: (1000)+(0001)=(1001).\begin{pmatrix}1&0\\0&0\end{pmatrix}+\begin{pmatrix}0&0\\0&1\end{pmatrix}=\begin{pmatrix}1&0\\0&1\end{pmatrix}. Both summands have determinant 00, but the sum has determinant 11. So WW is not a subspace. (It is closed under scalar multiplication, and contains 00, but that is not enough.)

✓ Proof checked step by step A counterexample, checked by hand.

↑ Back to the question list

Show that the subspaces of ℝ3 spanned by two sets of vectors {(1,1,−1),(1,0,1)} and {(1,2,−3),(5,2,1)} are identical. Also find the dimension of this subspace.

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

Solution

Let U1=span{(1,1,−1),(1,0,1)}U_1=\operatorname{span}\{(1,1,-1),(1,0,1)\} and U2=span{(1,2,−3),(5,2,1)}U_2=\operatorname{span}\{(1,2,-3),(5,2,1)\}. Write the vectors of U2U_2 in terms of those of U1U_1: (1,2,−3)=2(1,1,−1)−(1,0,1),(5,2,1)=2(1,1,−1)+3(1,0,1).(1,2,-3)=2(1,1,-1)-(1,0,1),\qquad(5,2,1)=2(1,1,-1)+3(1,0,1). So U2⊆U1U_2\subseteq U_1. Both spanning pairs are independent (neither vector is a multiple of the other), so dimU1=dimU2=2\dim U_1=\dim U_2=2. A subspace of U1U_1 with the same dimension is U1U_1 itself, so U1=U2U_1=U_2.

Dimension =2=2. (It is the plane x−2y−z=0x-2y-z=0.)

✓ Checked by computer We checked by computer (SymPy): each pair has rank 2 and all four vectors together also have rank 2.

↑ 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

Show that the set of solutions of the homogeneous linear differential equation y′+p(x)y=0 on an interval I=[a,b] forms a vector subspace W of the real vector space of continuous functions on I. What is the dimension of W?

2010 · Paper I · Q7a · 20 marks

Solution

Take pp continuous on II. Let WW be the set of solutions in C[a,b]C[a,b].

Subspace. The zero function is a solution. If y1,y2∈Wy_1,y_2\in W and α,β∈ℝ\alpha,\beta\in\mathbb{R}, then (αy1+βy2)′+p(αy1+βy2)=α(y1′+py1)+β(y2′+py2)=0.(\alpha y_1+\beta y_2)'+p(\alpha y_1+\beta y_2)=\alpha(y_1'+py_1)+\beta(y_2'+py_2)=0 . So WW is closed under linear combinations, and is a subspace.

Dimension. Multiplying by the integrating factor eP(x)e^{P(x)}, where P(x)=∫axp(t)dtP(x)=\int_a^x p(t)\,dt, gives (ePy)′=0\big(e^{P}y\big)'=0. So every solution is y=Ce−P(x),C∈ℝ.y=C\,e^{-P(x)},\qquad C\in\mathbb{R}. Hence W=span{e−P(x)}W=\operatorname{span}\{e^{-P(x)}\}, and since e−P≠0e^{-P}\neq0, dimW=1\dim W=1.

✓ Proof checked step by step A proof, checked step by step; the general solution was checked by substitution.

↑ Back to the question list

Prove that the set V of the vectors (x1,x2,x3,x4) in ℝ4 which satisfy the equations x1+x2+2x3+x4=0 and 2x1+3x2−x3+x4=0, is a subspace of ℝ4. What is the dimension of this subspace? Find one of its bases.

2009 · Paper I · Q1b · 12 marks

Solution

Subspace. VV is the solution set of a homogeneous system AX=0AX=0. It contains 00 and is closed under linear combinations, since A(αX+βY)=αAX+βAY=0A(\alpha X+\beta Y)=\alpha AX+\beta AY=0.

Dimension and basis. Subtracting twice the first equation from the second: x2−5x3−x4=0x_2-5x_3-x_4=0, so x2=5x3+x4x_2=5x_3+x_4. Then x1=−x2−2x3−x4=−7x3−2x4x_1=-x_2-2x_3-x_4=-7x_3-2x_4. With x3,x4x_3,x_4 free: (x1,x2,x3,x4)=x3(−7,5,1,0)+x4(−2,1,0,1).(x_1,x_2,x_3,x_4)=x_3(-7,5,1,0)+x_4(-2,1,0,1). dimV=4−rank=4−2=2\dim V=4-\text{rank}=4-2=2, with basis {(−7,5,1,0),(−2,1,0,1)}\{(-7,5,1,0),\;(-2,1,0,1)\}.

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

↑ Back to the question list

Prove that the set V of all 3×3 real symmetric matrices forms a linear subspace of the space of all 3×3 real matrices. What is the dimension of this subspace? Find at least one of the bases for V.

2009 · Paper I · Q4a · 20 marks

Solution

Subspace. The zero matrix is symmetric. If AT=AA^T=A and BT=BB^T=B, then (αA+βB)T=αAT+βBT=αA+βB(\alpha A+\beta B)^T=\alpha A^T+\beta B^T=\alpha A+\beta B.

Basis and dimension. A symmetric matrix is fixed by its entries on and above the diagonal: (adedbfefc)=aE11+bE22+cE33+d(E12+E21)+e(E13+E31)+f(E23+E32),\begin{pmatrix}a&d&e\\d&b&f\\e&f&c\end{pmatrix}=aE_{11}+bE_{22}+cE_{33}+d(E_{12}+E_{21})+e(E_{13}+E_{31})+f(E_{23}+E_{32}), where EijE_{ij} has 11 in position (i,j)(i,j) and 00 elsewhere. These six matrices span VV. They are independent, since each has its 11’s in positions where the others have 00’s. So {E11,E22,E33,E12+E21,E13+E31,E23+E32}\{E_{11},E_{22},E_{33},\;E_{12}+E_{21},\;E_{13}+E_{31},\;E_{23}+E_{32}\} is a basis, and dimV=6\dim V=6.

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

↑ Back to the question list

Let S be a non-empty set and let V denote the set of all functions from S into ℝ. Show that V is a vector space with respect to the vector addition (f+g)(x)=f(x)+g(x) and scalar multiplication (c.f)(x)=cf(x).

2008 · Paper I · Q1b · 12 marks

Solution

The sum f+gf+g and the multiple cfcf are again functions from SS to ℝ\mathbb{R}, so both operations are closed. The axioms hold pointwise, because they hold in ℝ\mathbb{R}. For all x∈Sx\in S:

  • (f+g)(x)=f(x)+g(x)=g(x)+f(x)=(g+f)(x)(f+g)(x)=f(x)+g(x)=g(x)+f(x)=(g+f)(x) (commutativity), and similarly (f+g)+h=f+(g+h)(f+g)+h=f+(g+h) (associativity)
  • the zero function 0(x)=00(x)=0 satisfies f+0=ff+0=f, and −f-f, given by (−f)(x)=−f(x)(-f)(x)=-f(x), satisfies f+(−f)=0f+(-f)=0
  • c(f+g)(x)=cf(x)+cg(x)c(f+g)(x)=cf(x)+cg(x) and (c+d)f(x)=cf(x)+df(x)(c+d)f(x)=cf(x)+df(x)
  • (cd)f(x)=c(df(x))(cd)f(x)=c\big(df(x)\big) and 1⋅f(x)=f(x)1\cdot f(x)=f(x)

Each identity holds at every xx, so it holds for the functions. Hence VV is a vector space over ℝ\mathbb{R}. ◼\blacksquare

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

↑ Back to the question list

Find the dimension of the subspace of ℝ4 spanned by the set {(1,0,0,0),(0,1,0,0),(1,2,0,1),(0,0,0,1)}. Hence find a basis for the subspace.

2008 · Paper I · Q4a · 20 marks

Solution

Here (1,2,0,1)=(1,0,0,0)+2(0,1,0,0)+(0,0,0,1)(1,2,0,1)=(1,0,0,0)+2(0,1,0,0)+(0,0,0,1), so it can be dropped without changing the span. The other three, e1,e2,e4e_1,e_2,e_4, are linearly independent. Hence the subspace has dimension 3,basis {(1,0,0,0),(0,1,0,0),(0,0,0,1)}.\text{dimension }3,\qquad\text{basis }\{(1,0,0,0),(0,1,0,0),(0,0,0,1)\}. (This repeats the 2015 question above.)

✓ Checked by computer We checked by computer (SymPy): the rank is 3.

↑ 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