Practice Subspaces And Tests in Linear Algebra with focused quiz questions that help you check what you know, review explanations, and build confidence with test-style prompts.
What this quiz covers
This quiz focuses on Subspaces And Tests, giving you a quick way to practice the rules, question types, and explanations that matter most for Linear Algebra.
How to use this quiz
Try each quiz question before looking at the correct answer. Use the explanations to review missed ideas, then come back to similar questions until the pattern feels familiar.
All questions
Question 1
Let A be a fixed m×n matrix and b be a fixed non-zero vector in Rm. Consider the sets S1={x∈Rn∣Ax=0} and S2={x∈Rn∣Ax=b}. Which statement is correct?
S1 is a subspace of Rn, but S2 is not a subspace because the zero vector is not in S2. (correct answer)
S2 is a subspace of Rn, but S1 is not a subspace because it may only contain the zero vector.
Both S1 and S2 are subspaces of Rn because they are solution sets to systems of linear equations.
Neither S1 nor S2 is a subspace of Rn unless the matrix A is invertible.
Explanation: S1 is the null space of matrix A, which is always a subspace of Rn. S2 is the solution set to a non-homogeneous linear system because b=0. For x=0, we have A0=0. Since b=0, A0=b, which means the zero vector 0 is not in S2. Therefore, S2 cannot be a subspace.
Question 2
Let p=(1,2,0), u=(1,0,1), and v=(0,1,−1) be vectors in R3. Let W={p+su+tv∣s,t∈R}. Why is W not a subspace of R3?
W does not contain the zero vector.
The vectors u and v are linearly dependent.
W is not closed under scalar multiplication. (correct answer)
The set W is a line, and a line is never a subspace.
Explanation: The set W describes a plane in R3. To check if it is a subspace, we must check the three axioms. First, note that for s=−1,t=−2, we have p+su+tv=(1,2,0)−(1,0,1)−2(0,1,−1)=(0,0,1)=0. It can be shown 0∈/W. However, a more fundamental failure is closure. Let w1=p+s1u+t1v∈W. Consider the scalar multiple 2w1=2p+2s1u+2t1v. This vector is not in the form p+su+tv because of the 2p term. Thus, W is not closed under scalar multiplication. It is also not closed under addition.
Question 3
Let V be the vector space of all 2×2 real matrices, and define W={A∈V:AT=−A and tr(A)=0}. What can be concluded about the relationship between these two conditions?
The conditions are incompatible except for the zero matrix, since skew-symmetric matrices cannot have zero trace
Both conditions are necessary and independent, giving W dimension 0 with only the zero matrix
The trace condition is redundant because skew-symmetric matrices automatically have trace zero, so W has dimension 3
The trace condition is redundant because skew-symmetric matrices automatically have trace zero, so W has dimension 1 (correct answer)
Explanation: When analyzing subspaces defined by multiple conditions, you need to determine whether those conditions are independent or if one implies the other. This question tests your understanding of skew-symmetric matrices and their fundamental properties.A 2×2 skew-symmetric matrix has the form AT=−A, which means A=(0−aa0) for some real number a. Notice that the diagonal entries must be zero (since aii=−aii implies aii=0), and off-diagonal entries are negatives of each other.The trace of this matrix is tr(A)=0+0=0. This isn't coincidental—every skew-symmetric matrix automatically has zero trace because its diagonal entries must all be zero. Therefore, the condition tr(A)=0 is redundant when combined with AT=−A.Since W is effectively just the space of 2×2 skew-symmetric matrices, and these have the form (0−aa0), the space is one-dimensional (parameterized by the single variable a).Choice A is wrong because skew-symmetric matrices do have zero trace—they're perfectly compatible conditions. Choice B incorrectly claims both conditions are independent and that W has dimension 0. Choice C correctly identifies that the trace condition is redundant but incorrectly states the dimension as 3 (confusing this with 3×3 skew-symmetric matrices).Remember: for any n×n skew-symmetric matrix, the trace is automatically zero due to the zero diagonal entries.
Question 4
Let W1=span{(1,2,0,1),(2,1,1,0)} and W2={(x,y,z,w)∈R4:x−y+z=0}. To determine whether W1⊆W2, what is the most efficient approach?
Compute the intersection W1∩W2 and verify it equals W1 by comparing dimensions
Find a basis for W1, then verify each basis element satisfies the constraint equation for W2
Check whether both spanning vectors of W1 satisfy the constraint defining W2, since this is necessary and sufficient (correct answer)
Parameterize all vectors in W1 and substitute into the constraint equation to verify it holds for all parameter values
Explanation: When you encounter subset questions involving a span and a constraint-defined subspace, you need to understand that every vector in the span can be written as a linear combination of the spanning vectors. This means if all spanning vectors satisfy the constraint, then every vector in the span will too.Option C is correct because it leverages this fundamental property. Since W1=span{(1,2,0,1),(2,1,1,0)}, every vector in W1 has the form a(1,2,0,1)+b(2,1,1,0) for scalars a,b. If both spanning vectors satisfy x−y+z=0, then any linear combination will too. Let's verify: for (1,2,0,1): 1−2+0=−1=0. This vector doesn't satisfy the constraint, so W1⊆W2.Option A is inefficient because computing intersections and comparing dimensions requires more work than simply checking the spanning vectors. Option B contains a subtle error: finding "a basis" suggests you might need to reduce the spanning set, but you can check the given spanning vectors directly without basis reduction. Option D is unnecessarily complicated—parameterizing all vectors means writing a(1,2,0,1)+b(2,1,1,0)=(a+2b,2a+b,b,a) and substituting into the constraint, which is algebraically more involved than checking the two spanning vectors individually.Strategy tip: For span-subset questions, always check if the spanning vectors satisfy the constraint first—it's the most direct path to your answer.
Question 5
Consider the set T={f∈C∞(R):f′′(x)+4f′(x)+4f(x)=0} where C∞(R) denotes the vector space of infinitely differentiable functions on R. Which property of T requires the most sophisticated verification to confirm it is a subspace?
Verifying that the zero function satisfies the differential equation, since this involves confirming that derivatives of zero are zero
Confirming closure under addition requires showing that if two functions satisfy the differential equation, their sum does too
Establishing closure under scalar multiplication, since scaling affects the derivatives in the differential equation
Proving that T is non-empty, since the existence of non-trivial solutions to the differential equation is not immediately obvious (correct answer)
Explanation: While options A, B, and C involve routine verification using linearity of differentiation, option D requires solving the differential equation f'' + 4f' + 4f = 0 to prove solutions exist. The characteristic equation is r² + 4r + 4 = 0, which factors as (r + 2)² = 0, giving a repeated root r = -2. This yields the general solution f(x) = (c₁ + c₂x)e^(-2x) for constants c₁, c₂. Verifying this solution exists requires knowledge of differential equations theory, whereas the other properties follow directly from the linearity of the differential operator L[f] = f'' + 4f' + 4f.
Question 6
Let S={A∈M2×2(R):A(12)=3(12)}. A student argues that S is not a subspace because "eigenvalue conditions are not linear constraints." What is wrong with this reasoning?
The reasoning is correct; eigenvalue conditions involve products Av=λv which are not linear in the matrix entries
The condition A(12)=3(12) is actually a system of linear equations in the entries of A (correct answer)
Eigenvalue conditions can be nonlinear, but this particular condition happens to define a subspace by coincidence
The student's reasoning fails because eigenvalues are always real numbers, making the constraints automatically linear
Explanation: The condition A[[1],[2]] = 3[[1],[2]] translates to [[a,b],[c,d]][[1],[2]] = [[3],[6]], which gives the system: a + 2b = 3 and c + 2d = 6. These are linear equations in the entries a, b, c, d of matrix A. While eigenvalue problems in general can involve nonlinear relationships (like det(A - λI) = 0), this specific condition with a fixed eigenvalue and eigenvector gives linear constraints on the matrix entries. Therefore S is indeed a subspace, and the student's reasoning is incorrect because they failed to recognize that fixing λ and v makes the constraint Av = λv linear in A.
Question 7
Consider the sets A={(x,y,z)∈R3:2x+y−z=0} and B={(x,y,z)∈R3:x+y=1,z=0}. A student claims that A∩B must be a subspace since "the intersection of any two subspaces is always a subspace." What error does this reasoning contain?
The intersection of subspaces is not always a subspace; this is only true under special conditions
Set B is not a subspace, so the general theorem about intersections of subspaces does not apply (correct answer)
Set A is not a subspace, so we cannot use properties of subspace intersections
The reasoning is correct, but A∩B=∅, so the intersection is not a subspace
Explanation: The general theorem states that the intersection of subspaces is always a subspace, but this requires both sets to actually be subspaces. Set A = {(x,y,z) : 2x + y - z = 0} is indeed a subspace (it's the null space of the linear functional 2x + y - z). However, set B = {(x,y,z) : x + y = 1, z = 0} is not a subspace because it doesn't contain the zero vector (since 0 + 0 ≠ 1). Therefore, the theorem about intersections of subspaces cannot be applied here. The student's error is assuming that B is a subspace when it is not.
Question 8
Define U={(a,b,c,d)∈R4:a+b+c+d=1} and V={(a,b,c,d)∈R4:a+b+c+d=0}. A student claims that U∪V forms a subspace of R4. What is the most direct way to show this claim is false?
Show that U∪V fails closure under addition by finding vectors u1,u2∈U such that u1+u2∈/U∪V (correct answer)
Show that U∪V fails closure under scalar multiplication by finding u∈U and scalar c such that cu∈/U∪V
Show that U is not a subspace because it does not contain the zero vector
Show that both U and V are themselves not subspaces, so their union cannot be a subspace either
Explanation: The most direct approach is to show closure fails under addition. Take u₁ = (1,0,0,0) ∈ U and u₂ = (0,1,0,0) ∈ U. Then u₁ + u₂ = (1,1,0,0), and 1+1+0+0 = 2. Since 2 ≠ 1, we have (1,1,0,0) ∉ U, and since 2 ≠ 0, we have (1,1,0,0) ∉ V. Therefore u₁ + u₂ ∉ U ∪ V, showing U ∪ V fails closure under addition. Note that V is actually a subspace (the zero vector is in V), but U is not since it doesn't contain the zero vector.
Question 9
Which of the following subsets of R3 is a subspace of R3?
W1={(x,y,z)∈R3∣x+y−z=4}
W2={(x,y,z)∈R3∣x≥0,y≥0,z≥0}
W3={(x,y,z)∈R3∣2x−y=0 and 3y+z=0} (correct answer)
W4={(x,y,z)∈R3∣x,y, and z are rational numbers}
Explanation: W3 is a subspace. It represents the intersection of two planes through the origin, which is a line through the origin. It contains the zero vector (0,0,0). It is closed under addition and scalar multiplication because the defining equations are linear and homogeneous. W1 is not a subspace because it does not contain the zero vector. W2 is not a subspace because it is not closed under multiplication by negative scalars. W4 is not a subspace because it is not closed under multiplication by irrational scalars.
Question 10
Let W be the subset of R2 defined by W={(x,y)∣xy=0}. Which statement correctly explains why W is not a subspace of R2?
W does not contain the zero vector 0=(0,0).
W is not closed under scalar multiplication.
W is not closed under vector addition. (correct answer)
The condition xy=0 is nonlinear, and subspaces must be defined by linear equations.
Explanation: To be a subspace, a set must be closed under vector addition. Let u=(1,0) and v=(0,1). Since 1⋅0=0, u∈W. Since 0⋅1=0, v∈W. However, their sum is u+v=(1,1). For this vector, x=1 and y=1, so xy=1=0. Therefore, u+v∈/W, and W is not closed under addition.
Question 11
Let P3 be the vector space of polynomials of degree at most 3. Let S be the subset of P3 defined by S={p(x)∈P3∣p(0)=2p(1)}. Which statement about S is correct?
S is not a subspace because the zero polynomial is not in S.
S is not a subspace because it is not closed under scalar multiplication.
S is not a subspace because it is not closed under addition.
S is a subspace of P3. (correct answer)
Explanation: S is a subspace. We check the three conditions. (1) Zero vector: The zero polynomial is z(x)=0. z(0)=0 and 2z(1)=2(0)=0, so z(0)=2z(1) and z(x)∈S. (2) Closure under addition: Let p,q∈S. Then p(0)=2p(1) and q(0)=2q(1). For the sum p+q, we have (p+q)(0)=p(0)+q(0)=2p(1)+2q(1)=2(p(1)+q(1))=2(p+q)(1). Thus, p+q∈S. (3) Closure under scalar multiplication: Let p∈S and c be a scalar. Then (cp)(0)=c⋅p(0)=c⋅(2p(1))=2(c⋅p(1))=2(cp)(1). Thus, cp∈S. Since all conditions hold, S is a subspace.
Question 12
Let V=C(R) be the vector space of all continuous functions from R to R. Which of the following subsets of V is a subspace?
The set of all functions f such that f(x)≥0 for all x.
The set of all functions f such that f(7)=f(1). (correct answer)
The set of all polynomial functions of degree exactly 4.
The set of all functions f such that ∫01f(x)dx=3.
Explanation: Let S={f∈V∣f(7)=f(1)}. (1) The zero function satisfies 0=0. (2) If f,g∈S, then f(7)=f(1) and g(7)=g(1). Then (f+g)(7)=f(7)+g(7)=f(1)+g(1)=(f+g)(1), so f+g∈S. (3) If f∈S, then (cf)(7)=cf(7)=cf(1)=(cf)(1), so cf∈S. Thus, S is a subspace. Choice A fails closure under multiplication by negative scalars. Choice C does not contain the zero polynomial and fails closure. Choice D does not contain the zero function.
Question 13
Let W be the set of all vectors in R4 whose components sum to zero. Which statement is true?
W is a subspace of R4. (correct answer)
W is not a subspace because it is not closed under scalar multiplication.
W is not a subspace because it is not closed under vector addition.
W is not a subspace because it does not contain the zero vector.
Explanation: W={(x1,x2,x3,x4)∈R4∣x1+x2+x3+x4=0}. This is a subspace. We check the axioms. (1) Zero vector: The components of 0=(0,0,0,0) sum to 0, so 0∈W. (2) Addition: Let u,v∈W. Then ∑ui=0 and ∑vi=0. For the sum u+v, the sum of components is ∑(ui+vi)=∑ui+∑vi=0+0=0. So u+v∈W. (3) Scalar multiplication: Let u∈W and c be a scalar. The sum of components for cu is ∑(cui)=c(∑ui)=c(0)=0. So cu∈W. All three conditions hold.
Question 14
Let V be the vector space of 2×3 matrices. Which of the following subsets of V is NOT a subspace?
The set of matrices where the first row is all zeros.
The set of matrices A such that A111=(00).
The set of matrices where the sum of all entries is 0.
The set of matrices with at least one zero entry. (correct answer)
Explanation: The set of matrices with at least one zero entry is not a subspace because it is not closed under addition. For example, let A=(111110) and B=(111101). Both A and B have a zero entry. Their sum is A+B=(222211), which has no zero entries. Therefore, the set is not closed under addition. The other three options describe valid subspaces.
Question 15
Consider the set S={(x,y)∈R2∣x2−y2=0}. Which of the following claims about S is true?
S is a subspace of R2.
S contains the zero vector and is closed under scalar multiplication, but is not closed under addition. (correct answer)
S is closed under addition and scalar multiplication, but does not contain the zero vector.
S contains the zero vector and is closed under addition, but is not closed under scalar multiplication.
Explanation: The condition x2−y2=0 is equivalent to (x−y)(x+y)=0, which means y=x or y=−x. So S is the union of two lines through the origin. (1) Zero vector: (0,0) is in S since 02−02=0. (2) Scalar multiplication: If (x,y)∈S, then x2−y2=0. For any scalar c, (cx)2−(cy)2=c2(x2−y2)=c2(0)=0. So (cx,cy)∈S. S is closed under scalar multiplication. (3) Addition: Let u=(1,1)∈S and v=(1,−1)∈S. Their sum is u+v=(2,0). For this vector, 22−02=4=0, so u+v∈/S. Thus, S is not closed under addition.
Question 16
Let U and W be subspaces of a vector space V. Which of the following sets is guaranteed to be a subspace of V?
The union U∪W.
The intersection U∩W. (correct answer)
The set difference U∖W={v∈U∣v∈/W}.
The set of vectors not in U, denoted V∖U.
Explanation: The intersection of two subspaces is always a subspace. If u,v∈U∩W, then u,v are in both U and W. Since U and W are subspaces, u+v and cu are in both U and W, and thus in their intersection. Also, 0 is in both U and W. The union U∪W is not generally a subspace. The set differences U∖W and V∖U are not subspaces as they do not contain the zero vector.
Question 17
Let M2×2 be the vector space of 2×2 matrices. Let S be the subset of M2×2 consisting of all singular matrices. Why is S not a subspace of M2×2?
S does not contain the zero matrix.
S is not closed under scalar multiplication.
S is not closed under matrix multiplication.
S is not closed under matrix addition. (correct answer)
Explanation: A matrix is singular if its determinant is zero. Let A=(1000) and B=(0001). We have det(A)=0 and det(B)=0, so both A and B are in S. Their sum is A+B=(1001)=I. The determinant of the identity matrix I is 1, so A+B is not singular. Therefore, A+B∈/S, which shows S is not closed under matrix addition.
Question 18
Let W={p(x)∈P4(R):p(−1)=0,p(1)=0, and p′(0)=0} where P4(R) is the space of polynomials of degree at most 4. What is the dimension of W?
dim(W)=1, since the three constraints eliminate 4 degrees of freedom from the 5-dimensional space
dim(W)=3, since the constraints are independent and reduce the dimension from 5 to 2
dim(W)=2, since we have 3 linear constraints on a 5-dimensional space (correct answer)
dim(W)=4, since polynomial evaluation constraints don't affect the underlying polynomial degree
Explanation: When you encounter a subspace defined by constraints, you need to count how many independent linear conditions restrict the space and subtract from the original dimension.The space P4(R) has dimension 5, with basis {1,x,x2,x3,x4}. Any polynomial can be written as p(x)=a0+a1x+a2x2+a3x3+a4x4.The three constraints translate to:
p(−1)=0: a0−a1+a2−a3+a4=0
p(1)=0: a0+a1+a2+a3+a4=0
p′(0)=0: Since p′(x)=a1+2a2x+3a3x2+4a4x3, we get a1=0
These give us a system of three linear equations in five unknowns. The key insight is that these constraints are linearly independent—none can be derived from the others. Therefore, they reduce the dimension by exactly 3, giving us dim(W)=5−3=2.Option A incorrectly states the constraints eliminate 4 degrees of freedom and claims the result is dimension 1. Option B has the calculation backwards, saying 3 independent constraints somehow leave dimension 3. Option D ignores that evaluation constraints absolutely do restrict the space—they're linear conditions on the coefficients.Study tip: For constraint problems, write out what each condition means for the coefficients, verify the constraints are independent, then subtract the number of independent constraints from the original dimension. The dimension always equals (original dimension) - (number of independent linear constraints).
Question 19
Define H={(x,y,z)∈R3:x2+y2≤1,z=0} and K={(x,y,z)∈R3:z=0}. Which statement correctly analyzes these sets as potential subspaces?
Both H and K are subspaces, since they are both subsets of the xy-plane with z=0
H is not a subspace because it fails closure under scalar multiplication, while K is a subspace (correct answer)
H is not a subspace because it fails closure under addition, while K fails closure under scalar multiplication
Neither H nor K is a subspace because both involve quadratic constraints on the coordinates
Explanation: Set K = {(x,y,z) ∈ ℝ³ : z = 0} is the xy-plane, which is clearly a subspace (it's the null space of the linear functional z). Set H is the closed unit disk in the xy-plane. While H contains the zero vector (0,0,0) and is closed under addition of vectors within the unit disk, it fails closure under scalar multiplication. For example, (1,0,0) ∈ H since 1² + 0² = 1 ≤ 1, but 2·(1,0,0) = (2,0,0) ∉ H since 2² + 0² = 4 > 1. Therefore H is not a subspace due to failure of closure under scalar multiplication.
Question 20
Let W={(x,y,z,w)∈R4:x+2y−z=0 and 2x+4y−2z+w=0}. Which of the following statements about W is correct?
W is a subspace of R4 with dimension 2, and the second constraint is redundant with the first (correct answer)
W is a subspace of R4 with dimension 3, and both constraints provide independent information
W is not a subspace because the system of constraints is inconsistent for some values
W is a subspace of R4 with dimension 1, since both constraints must be satisfied simultaneously
Explanation: First, we check if W is a subspace by verifying it contains the zero vector, is closed under addition, and closed under scalar multiplication. The zero vector (0,0,0,0) satisfies both equations. For closure under addition and scalar multiplication, since both constraints are homogeneous linear equations, W is indeed a subspace. Next, we analyze the constraints: from the first equation x + 2y - z = 0, we get z = x + 2y. Substituting into the second equation: 2x + 4y - 2(x + 2y) + w = 0, which simplifies to 2x + 4y - 2x - 4y + w = 0, so w = 0. Thus W = {(x, y, x + 2y, 0) : x, y ∈ ℝ}, which has dimension 2 with basis vectors (1, 0, 1, 0) and (0, 1, 2, 0). The second constraint forces w = 0 but is otherwise redundant.