To build the general solution of an th order linear equation you need solutions that are genuinely different, not disguised copies of one another. Linear independence makes that idea precise, and the Wronskian, a determinant built from the functions and their derivatives, provides a computational test for it.
Quick Reference
| Item | Statement |
|---|---|
| Linearly independent on | on forces |
| Linearly dependent on | The same identity holds for some constants not all zero |
| Wronskian | , an determinant |
| Two-function case | W\left(y_1,y_2\right) = y_1 y_2' - y_2 y_1' |
| Key implication | at some point the functions are linearly independent |
| Converse | Holds only for solutions of a common linear equation, not for arbitrary functions |
| Two-function shortcut | Two functions are dependent exactly when one is a constant multiple of the other |
Definition
We say functions are linearly independent on an interval if
implies
A set is called linearly dependent if the same identity also holds for some constants not all zero.
Two points about the definition are worth emphasizing. First, the identity must hold at every point of , not merely at a few. Second, the constants are genuine constants, not functions of ; allowing them to vary would make the definition vacuous.
Informally, a dependent set contains redundancy: at least one of its members can be written in terms of the others. If , then
so contributes nothing new. An independent set has no such redundancy.
Examples
The set with is linearly independent on every interval .
Solution
Suppose
for every in . Dividing both sides by , which is never zero,
If we differentiate this identity with respect to , the constant drops out:
Because , the factor is nonzero, and an exponential function is never zero. Therefore . Substituting back into
gives .
Since both constants must vanish, the set is linearly independent.
The set is linearly dependent on every interval.
Solution
To show this, we exhibit constants, not all zero, for which
Simply choose
and the equation
always holds, recalling that .
Since a nontrivial choice of constants works, the set is dependent. The redundancy is plain: carries no information beyond what and already provide.
Show that is linearly independent on any interval.
Solution
Suppose for every in the interval. A polynomial of degree at most that is not identically zero has at most roots, so it cannot vanish on a whole interval unless all its coefficients are zero. Therefore .
Alternatively, differentiate twice: , then , giving , then , then . The same argument shows is independent for every .
Deriving the Wronskian Test
Suppose is linearly dependent. How can we determine constants , not all zero, such that
c_{1}\phi_{1}(x) + c_{2}\phi_{2}(x) + \cdots + c_{m}\phi_{m}(x) = 0 \tag{1}
for every in ?
There are unknowns, through , and only one equation. The way forward is to generate additional equations, and differentiation is what supplies them: since (1) holds identically on an interval, so does every derivative of it.
Differentiating both sides of (1),
c_{1}\phi_{1}'(x) + c_{2}\phi_{2}'(x) + \cdots + c_{m}\phi_{m}'(x) = 0 \tag{2}
Notice that because are constants,
\frac{d}{dx}\left(c_{i}\phi_{i}(x)\right) = c_{i}\frac{d\phi_{i}(x)}{dx} = c_{i}\phi_{i}'(x) ,so the unknowns pass through the differentiation untouched. This is exactly why the trick works.
Differentiating (2) again,
c_{1}\phi_{1}''(x) + c_{2}\phi_{2}''(x) + \cdots + c_{m}\phi_{m}''(x) = 0 \tag{3}
and so on:
\begin{aligned} c_{1}\phi_{1}'''(x) + c_{2}\phi_{2}'''(x) + \cdots + c_{m}\phi_{m}'''(x) &= 0 \\ &\ \ \vdots \\ c_{1}\phi_{1}^{(m-1)}(x) + c_{2}\phi_{2}^{(m-1)}(x) + \cdots + c_{m}\phi_{m}^{(m-1)}(x) &= 0 \end{aligned}Stopping at the st derivative gives exactly equations in the unknowns, a square system. We can write them all at once as
\begin{bmatrix} \phi_{1}(x) & \phi_{2}(x) & \cdots & \phi_{m}(x) \\ \phi_{1}'(x) & \phi_{2}'(x) & \cdots & \phi_{m}'(x) \\ \vdots & \vdots & \ddots & \vdots \\ \phi_{1}^{(m-1)}(x) & \phi_{2}^{(m-1)}(x) & \cdots & \phi_{m}^{(m-1)}(x) \end{bmatrix} \begin{bmatrix} c_{1} \\ c_{2} \\ \vdots \\ c_{m} \end{bmatrix} = \begin{bmatrix} 0 \\ 0 \\ \vdots \\ 0 \end{bmatrix}The determinant of this matrix has a specific name.
The Wronskian of is
W\left(\phi_{1}, \cdots, \phi_{m}\right)(x) = \begin{vmatrix} \phi_{1}(x) & \phi_{2}(x) & \cdots & \phi_{m}(x) \\ \phi_{1}'(x) & \phi_{2}'(x) & \cdots & \phi_{m}'(x) \\ \vdots & \vdots & \ddots & \vdots \\ \phi_{1}^{(m-1)}(x) & \phi_{2}^{(m-1)}(x) & \cdots & \phi_{m}^{(m-1)}(x) \end{vmatrix}From linear algebra, a homogeneous square system has a nonzero solution if and only if . Applied here:
If at even a single point of , then are linearly independent on .
Proof
Suppose the functions were dependent. Then constants , not all zero, satisfy the system above at every , in particular at . But a square homogeneous system with a nonzero solution must have zero determinant, contradicting . Therefore the functions are independent.
Read the direction of this theorem carefully. A nonzero Wronskian proves independence. A zero Wronskian proves nothing in general: there exist independent functions whose Wronskian vanishes identically. The classic example is and on , which are independent but have . The converse is rescued in Section 3.3 by restricting to solutions of a common linear equation.
The Case of Two Functions
For two functions the Wronskian is small enough to use constantly:
W\left(y_{1}, y_{2}\right) = \begin{vmatrix} y_{1}(x) & y_{2}(x) \\ y_{1}'(x) & y_{2}'(x) \end{vmatrix} = y_{1}(x)y_{2}'(x) - y_{2}(x)y_{1}'(x) .There is also a shortcut that needs no determinant at all.
Two functions are linearly dependent precisely when one is a constant multiple of the other. So is dependent while is independent, since is not a constant. This test applies only to pairs; for three or more functions the relation can involve all of them at once, as the example showed.
Compute and conclude.
Solution
The Wronskian is , never zero, so and are linearly independent on every interval. This is why is the general solution of y'' + y = 0 rather than a redundant description of a smaller family.
Show that , , and , which are solutions of
y''' - 4y'' + 5y' - 2y = 0 ,are linearly independent.
Solution
First confirm the claim about the equation. Its characteristic polynomial is
with the double root and the simple root , which is exactly what produces , , and .
Now compute the Wronskian. The derivatives are
\begin{aligned} \phi_1 &= e^{x}, & \phi_1' &= e^{x}, & \phi_1'' &= e^{x} \\ \phi_2 &= xe^{x}, & \phi_2' &= (1+x)e^{x}, & \phi_2'' &= (2+x)e^{x} \\ \phi_3 &= e^{2x}, & \phi_3' &= 2e^{2x}, & \phi_3'' &= 4e^{2x} \end{aligned}so
Factor from the first column, from the second, and from the third, giving a common factor :
Subtract row from rows and :
Therefore , which is never zero. The three functions are linearly independent, so they form a fundamental set for this third-order equation.
Exercises
Determine whether is linearly independent on and on .
Solution
On we have , so the two functions are identical and therefore dependent: take , .
On suppose for all . At this gives , so . At it gives , so . Together these force , so the set is independent.
Independence depends on the interval, which is why the definition names one.
Compute and conclude.
Solution
which is never zero. The functions are linearly independent, consistent with the general result about and with .
Show that is linearly dependent, and verify that its Wronskian is identically zero.
Solution
The Pythagorean identity gives the nontrivial relation with , , , so the set is dependent.
For the Wronskian, the third column is , and the first two columns have derivative rows
\left(\sin^{2}x\right)' = \sin 2x, \quad \left(\cos^{2}x\right)' = -\sin 2x, \quad \left(\sin^{2}x\right)'' = 2\cos 2x, \quad \left(\cos^{2}x\right)'' = -2\cos 2x .Columns one and two of the lower two rows are exact negatives of each other, so adding column one to column two produces a column of the form , identical to column three. A determinant with two equal columns is zero, so .
Frequently Asked Questions
What does linear independence mean for functions?
That no nontrivial constant-coefficient combination of them vanishes identically on the interval. Equivalently, none of them can be built from the others by scaling and adding. It is the same notion as independence of vectors, with functions playing the role of vectors.
What is the Wronskian and why is it a determinant?
It is the determinant of the matrix whose rows are the functions and their successive derivatives up to order . It arises because differentiating the dependence relation repeatedly produces a square homogeneous linear system in the unknown constants, and a determinant is exactly the tool that decides whether such a system has a nonzero solution.
Does a zero Wronskian mean the functions are dependent?
Not for arbitrary functions. The standard counterexample is and on : their Wronskian vanishes everywhere, yet no constants make throughout. The converse becomes true only when the functions are known to be solutions of the same linear differential equation, which is proved in the next section.
At how many points do I need to check the Wronskian?
For proving independence, one point suffices: if for any single in , the functions are independent on all of . This is why the test is practical: pick whatever value of makes the determinant easiest, often .
Is there a faster test for two functions?
Yes. Two functions are dependent exactly when one is a constant multiple of the other, so you can often decide by inspection. The determinant is worth computing anyway when the answer is not obvious, and it becomes essential for three or more functions, where dependence can involve all of them simultaneously.
Why does the Wronskian stop at the st derivative?
Because unknowns require equations, and the original identity plus derivatives gives exactly . Going further would produce a non-square system with no determinant to compute, and the extra equations carry no new information about the constants anyway.