Skip to content
All apps

Linear combination & linear independence (3D)

About this app

r·a + s·b + t·c as a vector chain: the span is a line, a plane or all of space. Moving c into the plane of a and b collapses the space grid to a plane, det = 0 and a non-trivial zero chain appears. Decomposition mode F = r·a + s·b, graphically via the parallelogram and as a linear system.

With explain mode: an AI tutor walks you through the app, points out what matters in the scene and answers your questions.

The idea

A linear combination is an expression r·a + s·b + t·c with real numbers r, s, t, and the set of all linear combinations is the span. Vectors are linearly independent if r₁a₁ + … + rₙaₙ = 0 is only possible with r₁ = … = rₙ = 0. Dependent means at least one vector can be written in terms of the others. Two dependent vectors are parallel (collinear); three dependent vectors in ℝ³ lie in a plane (coplanar) and their determinant is 0. In ℝⁿ there are at most n linearly independent vectors.

What you see

There are three modes. In Plane ℝ², a and b span a slanted coordinate grid; in Space ℝ³, a, b and c span a spatial grid. The linear combination appears as a vector chain r·a + s·b + t·c, and the values panel shows span, determinant and status (independent, collinear, coplanar). For dependent vectors the app shows a zero chain, a nontrivial combination that adds up to 0. Decomposition mode looks for r and s with F = r·a + s·b, graphically via parallels and algebraically as a linear system.

Things to try

Choose “Move c into the plane” and watch the spatial grid collapse to a plane as the determinant goes to 0. In the Coplanar example none of the three vectors is the zero vector, yet the chain closes. “View the plane edge-on” shows that all three arrows really lie in one plane. In decomposition mode, set r and s with the sliders or let the app solve for them. With parallel a and b there are either no decompositions or infinitely many. In explain mode, the AI tutor guides you through the app.

Frequently asked questions

What does linearly independent mean?
Vectors a₁, …, aₙ are linearly independent if the equation r₁a₁ + … + rₙaₙ = 0 has only the trivial solution r₁ = … = rₙ = 0. Intuitively, none of them can be built from the others. Two independent vectors span a plane, and three independent vectors in ℝ³ span all of space.
How do you check whether three vectors in ℝ³ are linearly dependent?
Put the three vectors as columns of a 3×3 matrix and compute its determinant. If it is 0, the vectors are dependent and lie in a plane through the origin; if it is nonzero, they are independent. Alternatively, solve r·a + s·b + t·c = 0 by Gaussian elimination and check for a nontrivial solution.
Does linearly dependent mean one of the vectors is the zero vector?
No. A set containing the zero vector is always dependent, but three nonzero vectors lying in one plane are dependent too: there are numbers r, s, t, not all zero, with r·a + s·b + t·c = 0. Three vectors in ℝ² or four in ℝ³ are always dependent.
What does the Linear Combination & Linear Independence app show?
It shows linear combinations as vector chains in the plane and in space, with the span as a grid or surface, the determinant and a zero chain. In decomposition mode you find r and s for F = r·a + s·b graphically or as a system of linear equations.

Subject: Linear algebra

More from Linear algebra

A VisuApp by heyprof: interactive, free in your browser, no sign-up. What is a VisuApp? · All apps