Loading…

Subspace Intersection and Union Calculator

Math Linear Algebra • Vector Spaces and Linear Independence

View all topics

Compute bases for the intersection \(V\cap W\) and the sum \(V+W=\{v+w:\,v\in V,w\in W\}\), where \(V=\mathrm{span}\{v_1,\dots,v_p\}\) and \(W=\mathrm{span}\{w_1,\dots,w_q\}\) in \(\mathbb{R}^d\). The intersection is found by solving \(Va=Wb\) via the nullspace of \([V\;|\;-W]\).

Inputs accept -3.5, 2e-4, fractions like 7/3, and constants pi, e. Note: the set union \(V\cup W\) is generally not a subspace, so this tool computes the sum \(V+W\).

Generators for \(V\)
V matrix is 2×1
Columns are \(v_1,\dots,v_p\).
Generators for \(W\)
W matrix is 2×1
Columns are \(w_1,\dots,w_q\).
Results
\(\dim(V)\)
\(\dim(W)\)
\(\dim(V\cap W)\)
\(\dim(V+W)\)
Reduced basis for \(V\)
Pivot generators from \(V\) form a basis for \(V\).
Reduced basis for \(W\)
Pivot generators from \(W\) form a basis for \(W\).
Basis for \(V+W\)
Pivot columns from \([V\;W]\) give a basis for the sum.
Basis for \(V\cap W\)
Computed from nullspace vectors \(z=(a,b)\) of \([V\;|\;-W]\), then \(x=Va=Wb\).
Ready
RREF panels
Shows pivots for \(V\), \(W\), \([V\;W]\), and \([V\;|\;-W]\).
RREF(V)
RREF(W)
RREF([V W])
RREF([V | -W])
Nullspace basis for \([V\;|\;-W]\)
Each basis vector \(z=(a,b)\) produces an intersection vector \(x=Va=Wb\).
Enter generators and click “Calculate”.

Rate this calculator

0.0 /5 (0 ratings)
Be the first to rate.
Your rating
You can update your rating any time.