Wronskian and Linear Independence of Solutions
Problem
Compute W(e^x, e^(2x)) and show it equals e^(3x), which is non-zero, confirming the two functions are linearly independent. Display the Wronskian determinant.
Explanation
What is the Wronskian?
The Wronskian of two differentiable functions and is the determinant
For functions, it's the determinant of the matrix whose rows are , , …, .
It's one of the most useful tools in linear ODEs because it gives a single-number test for linear independence of solutions.
The linear-independence test
Theorem (Wronskian test). Let be solutions of a linear homogeneous ODE on an interval . Then the are linearly independent on if and only if their Wronskian is nonzero at some point of — equivalently, nonzero at every point (Abel's theorem guarantees is either identically zero or never zero on ).
So checking linear independence reduces to evaluating one determinant at one point.
Caution. For functions that are not simultaneously solutions of a single linear ODE, a nonzero Wronskian still implies linear independence, but zero Wronskian does not imply linear dependence. The theorem above is specifically for solutions of a linear ODE.
Abel's theorem (why it's all-or-nothing)
For solutions of , the Wronskian satisfies
The exponential factor never vanishes, so is either identically zero (if ) or nonzero everywhere on . Evaluating at one convenient point fully determines the answer.
For the ODE with (no term), is constant.
The given problem
Compute .
Step-by-step
, .
, .
is never zero, so and are linearly independent on all of .
A sanity check — which ODE do these solve?
Both are solutions of (characteristic roots ; see #183). The Wronskian for this ODE, with , satisfies by Abel
At : . So — matching our direct computation exactly.
Examples — when functions are dependent
Compute :
Zero everywhere — these are linearly dependent (). Confirmed.
Another: :
Linearly independent — forming the standard basis for solutions of .
Why "linearly independent" is crucial
A second-order linear homogeneous ODE has a two-dimensional solution space. If you pick two solutions and they're linearly independent (Wronskian nonzero), they form a basis — every solution is for some unique . If they're dependent, they span only a 1D subspace, and you can't express every solution that way.
So the Wronskian test is what you run before declaring "this is the general solution" — to make sure your two candidate solutions really are independent.
Wronskian in variation of parameters
In variation of parameters (#187), the Wronskian appears as the denominator of the coefficients:
If the Wronskian is zero on an interval, variation of parameters breaks down — which only happens if were already dependent (so they don't form a valid basis to begin with).
Higher-order and general-n case
For three solutions of a 3rd-order linear ODE, compute
Same theorem: nonzero at a point ↔ linearly independent.
Abel's theorem generalises: for ,
Only the coefficient of the -th derivative matters for the Wronskian's evolution — the lower coefficients don't contribute to the exponential.
Common mistakes
- Confusing the Wronskian matrix with the Wronskian determinant. The matrix is -matrix; the Wronskian is its determinant.
- Concluding dependence from zero Wronskian for arbitrary functions. The zero-Wronskian-implies-dependence direction is true only for solutions of a linear ODE, not for arbitrary function pairs.
- Evaluating at the wrong sign. , not .
- Using the Wronskian on a set of functions that don't solve the same ODE. Then the test only half-applies — nonzero ⇒ independent, but zero doesn't mean dependent.
Try it in the visualization
Watch the Wronskian as a curve over , with the two underlying solutions overlaid. Slide the initial conditions; see the Wronskian stay the same sign (never crossing zero) whenever the two solutions are independent. Swap in a multiple of as and watch collapse to zero everywhere.
Interactive Visualization
Parameters
Got your own math or physics problem?
Turn any problem into an interactive visualization like this one — powered by AI, generated in seconds. Free to try, no credit card required.