Learn

Learning preferences

Make learning more comfortable. Changes apply immediately.

Enlarges page content, including diagrams and their labels. You can also use your browser’s zoom.

Choose the colours that are easiest for you to distinguish. Applies to lesson diagrams and lab plots. Labels, shapes, hatching and line patterns also distinguish meanings. Source photographs and raw image brightness stay unchanged; mask-only views are available for image overlays.

ExampleComparisonSample link

Saved in this browser on this device. Preferences are separate from progress backups.

Lesson 2 of 20

Split a space without losing its kernel

Build complements, prove rank-nullity, and distinguish an internal direct sum from an arbitrary sum.

Loading your saved responses…

Try the optional starting-point checks and targeted refreshers. You can continue directly into this lesson.

Try

Consider T:R³→R² given by T(x,y,z)=(x+y,z). Its kernel is the line spanned by (1,−1,0). Choose W spanned by (1,0,0) and (0,0,1). Every input has the decomposition (x,y,z)=−y(1,−1,0)+(x+y)(1,0,0)+z(0,0,1). Verify all three coordinates. The first piece is invisible to T; the remaining piece carries exactly the information retained in the output.

Predict

Predict whether a different complement changes the map. Replace W with the plane spanned by (0,1,0) and (0,0,1). This also complements the kernel, but it chooses different representatives for the same output. The map is unchanged. A complement is a useful choice, not generally a distinguished physical component of the data. Orthogonality can later select a canonical complement once an inner product is supplied.

Experiment

For the input (4,1,2), compute its two decompositions using the two complements. With the first complement, the kernel part is (−1,1,0) and the retained part is (5,0,2). With the second, these are (4,−4,0) and (0,5,2). Both retained parts map to (5,2). Make a table listing input, kernel component, complement component, and output; then change the input by adding 3(1,−1,0). Explain which entries change and why the output cannot change.

Understand

An internal direct sum V=U⊕W means V=U+W and U∩W contains only zero. The intersection condition makes the decomposition unique: if u+w=u′+w′, then u−u′=w′−w belongs to both spaces. A finite-dimensional complement exists by extending a basis of U to a basis of V. For rank-nullity, extend a basis of ker T by vectors v₁,…,vₛ. Their images span im T because kernel components vanish. They are independent because a relation among their images would put a combination of the added basis vectors in the kernel, contradicting independence of the full basis. Therefore dim V=dim ker T+dim im T. The restriction of T to any kernel complement is an isomorphism onto im T.

Apply

Apply the same reasoning to two overlapping subspaces. Choose a basis of U∩W and extend it separately to bases of U and W. The shared vectors followed by both sets of added vectors form a basis of U+W: a relation between the two sides lies in the intersection, and independence in each extension eliminates the coefficients. Thus dim(U+W)=dim U+dim W−dim(U∩W). Test it with two distinct planes through zero in R³. Their common line explains exactly why simply adding their dimensions overcounts.

A useful diagnostic is to ask which space each dimension belongs to. In the worked map, the domain dimension is three and image dimension is two; the codomain happens to equal the image. If the codomain were enlarged to R⁴ by appending two zero coordinates, the kernel and rank would stay unchanged. Rank-nullity subtracts from the domain dimension, never automatically from the number of displayed output coordinates.

Continue

A direct sum is about unique representation, not perpendicular angles. The coordinate decompositions above were obtained without an inner product. In data analysis, treating two correlated feature spans as independent contributions can double-count shared directions; the intersection term identifies that algebraic overlap. Next, quotient spaces will retain information without selecting any particular complement. Finite dimension is central to the elementary basis-extension proofs used here; broader versions rely on different existence principles.

Review Linear Algebra I when a prerequisite needs practice. Continue to Make indistinguishable vectors into one vector.

Apply · explain · revise

Practice and reasoning

Drafts save locally as you type. Reveal worked solutions when useful; the site remembers that exposure. Automatic matches check the requested answer, while written arguments require review against the rubric.

T:R⁸→R⁵ has rank 3. What is its nullity?

Integers, fractions and finite decimals are accepted. Expressions such as sqrt(2) are not parsed by this checker.

U and W have dimensions 5 and 4, and U+W has dimension 7. Find dim(U∩W).

Integers, fractions and finite decimals are accepted. Expressions such as sqrt(2) are not parsed by this checker.

Give two subspaces whose sum is all R² but is not a direct sum.

Structure your argument and preserve revisions

These optional planning fields save locally. Recording your response saves an immutable copy of the argument and these fields. Older records may contain only first/latest responses; missing intermediate revisions are not reconstructed.

Each field allows 2,000 characters. Keep a specific claim, state where it applies, cite the facts you use, and explain what still needs checking. Blank fields are allowed and are not evidence of mastery.

Prove V=U⊕W precisely when every vector has a unique expression u+w with u∈U,w∈W.

Structure your argument and preserve revisions

These optional planning fields save locally. Recording your response saves an immutable copy of the argument and these fields. Older records may contain only first/latest responses; missing intermediate revisions are not reconstructed.

Each field allows 2,000 characters. Keep a specific claim, state where it applies, cite the facts you use, and explain what still needs checking. Blank fields are allowed and are not evidence of mastery.

Prove every subspace U of a finite-dimensional V has a complement. Is it unique?

Structure your argument and preserve revisions

These optional planning fields save locally. Recording your response saves an immutable copy of the argument and these fields. Older records may contain only first/latest responses; missing intermediate revisions are not reconstructed.

Each field allows 2,000 characters. Keep a specific claim, state where it applies, cite the facts you use, and explain what still needs checking. Blank fields are allowed and are not evidence of mastery.

Prove rank-nullity without row reduction.

Structure your argument and preserve revisions

These optional planning fields save locally. Recording your response saves an immutable copy of the argument and these fields. Older records may contain only first/latest responses; missing intermediate revisions are not reconstructed.

Each field allows 2,000 characters. Keep a specific claim, state where it applies, cite the facts you use, and explain what still needs checking. Blank fields are allowed and are not evidence of mastery.

Reflect and continue

Before marking this lesson complete, explain one key idea without the worked solution and identify a condition that matters. Marking complete records participation, not independent mastery.