The Wronskian and independence
Statement
Let \(I\subseteq\mathbb{R}\) be an interval and let \(p_0,p_1,\dots,p_{n-1}:I\to\mathbb{R}\) be continuous. Consider the \(n\)-th order linear homogeneous ODE \(L[y]:=y^{(n)}+p_{n-1}(x)y^{(n-1)}+\cdots+p_1(x)y'+p_0(x)y=0\) on \(I\), and let \(y_1,\dots,y_n:I\to\mathbb{R}\) be solutions of \(L[y]=0\). Define the Wronskian \(W(x)=W[y_1,\dots,y_n](x):=\det\big(y_j^{(i)}(x)\big)_{0\le i\le n-1,\,1\le j\le n}\). Then (a) [Abel's identity] \(W\) satisfies \(W'(x)=-p_{n-1}(x)W(x)\) on \(I\), so \(W(x)=W(x_0)\exp\!\left(-\int_{x_0}^{x}p_{n-1}(t)\,dt\right)\) for all \(x,x_0\in I\); in particular \(W\) is either identically zero on \(I\) or vanishes nowhere on \(I\). (b) \(y_1,\dots,y_n\) are linearly independent on \(I\) if and only if \(W(x_0)\neq0\) for some \(x_0\in I\) (equivalently, for every \(x_0\in I\)).
Why it matters
Linear independence of functions is, by definition, a statement about every point of \(I\) simultaneously — a genuinely infinite-dimensional condition. The Wronskian collapses this to a single determinant evaluated at one point, turning an existence-of-nontrivial-relation question into finite-dimensional linear algebra. This is what makes it possible to certify, in one line of algebra, that \(n\) solutions of an \(n\)-th order linear ODE form a fundamental set — a basis for the solution space — which is the entire basis for the theory of general solutions \(y=c_1y_1+\cdots+c_ny_n\).
The theorem also explains a phenomenon that looks miraculous the first time you see it: for solutions of a common linear ODE you never need to check the Wronskian on the whole interval, only at one convenient point (often \(x=0\), or wherever initial data is imposed), because Abel's identity forces it to be nonvanishing everywhere or nowhere at once.
Hypotheses
Proof
Result
Reading. For \(n\) solutions of a single \(n\)-th order linear homogeneous ODE with continuous coefficients, you may test linear independence by evaluating one determinant at one convenient point. Abel's identity guarantees the answer would be the same at every other point too, so there is no risk of an unlucky choice of \(x_0\).
Scope. The "\(W(x_0)\neq0\Rightarrow\) independent" half holds for any \((n-1)\)-times differentiable functions, no ODE required. The converse ("independent \(\Rightarrow W\) never zero") genuinely needs the functions to be solutions of one common linear ODE with continuous coefficients on a connected interval \(I\) — it is false for arbitrary independent functions.
Corollaries & converses
- Fundamental set test. \(n\) solutions of an \(n\)-th order linear homogeneous ODE with \(W(x_0)\neq0\) at one point form a fundamental set (a basis for the \(n\)-dimensional solution space); every solution is uniquely \(c_1y_1+\cdots+c_ny_n\).
- Trichotomy collapses to a dichotomy. For solutions of a common linear ODE, "\(W\) vanishes somewhere but not everywhere" is impossible — Abel's identity rules it out.
- Contrapositive as a dependence test. If \(W(x_0)=0\) at even one point, the solutions are automatically dependent (equivalently \(W\equiv0\)); no further checking is needed.
- Converse for general functions fails. Independence of arbitrary smooth functions does not imply nonvanishing Wronskian — see Fails without below. The hypothesis "solutions of a common linear ODE" cannot be dropped.
- Order-reduction use. Abel's identity (part a) is itself the engine behind reduction of order: knowing one solution \(y_1\) and the coefficient \(p_{n-1}\) pins down \(W\) up to a constant, which yields a first-order equation for a second solution.
Fails without
- Dropping "solutions of a common linear ODE": \(f(x)=x^2\), \(g(x)=x|x|\) on \(I=\mathbb{R}\) are linearly independent (no constant multiple relates them, since \(g\) is odd-like in sign while \(f\) is not), yet \(W[f,g](x)=f(x)g'(x)-f'(x)g(x)\equiv0\) for all \(x\) (direct computation: \(g'(x)=2|x|\), so \(fg'-f'g = x^2\cdot2|x| - 2x\cdot x|x| = 2x^2|x|-2x^2|x|=0\)). The certificate "\(W\) nonzero \(\Rightarrow\) independent" still works vacuously (its converse simply cannot be invoked here), but the biconditional of part (b) fails outright.
- Dropping continuity of the coefficients: take the Cauchy–Euler-type equation \(x^2y''-2xy'+2y=0\) but now imagine forcing a coefficient with a non-continuous jump discontinuity at some \(x^\ast\) inside \(I\) (rather than the classical singular endpoint); Abel's integrating-factor argument (Step 11) requires \(p_{n-1}\) integrable on the path from \(x_0\) to \(x\), and a genuine discontinuity can make \(\int p_{n-1}\) fail to exist or the solution space itself fail to be \(n\)-dimensional across \(x^\ast\), so the "vanishes nowhere or vanishes everywhere" dichotomy need not hold across the discontinuity.
- Using fewer solutions than the order: for \(y''+y=0\) (order \(2\)), a single solution such as \(y_1=\cos x\) has no well-defined \(2\times2\) Wronskian test for "independence" of a one-element set in the relevant sense — the theorem's determinant construction simply does not apply until you have exactly \(n=2\) functions.
Common errors
- Applying the "\(W\equiv0\Rightarrow\) dependent" direction to functions that are not known solutions of a common linear ODE (e.g. concluding \(x^2\), \(x|x|\) are dependent because their Wronskian is zero).
- Checking \(W\) at only one point and treating that as sufficient evidence even when the functions are not stipulated to solve a linear ODE — the single-point shortcut is only valid under the ODE hypothesis.
- Building the Wronskian matrix with rows and columns transposed inconsistently between problems, then mis-expanding the determinant; the value \(\det\) is unaffected by transposition, but sign errors creep in from careless cofactor expansion.
- Forgetting that nonvanishing Wronskian is a sufficient, not necessary, condition for independence when the ODE hypothesis is absent, and wrongly asserting "independent implies \(W\) never zero" for arbitrary function families.
- Misidentifying \(p_{n-1}\) in Abel's formula — using the coefficient of \(y\) or \(y'\) instead of \(y^{(n-1)}\) (i.e. picking the wrong coefficient out of \(L[y]=y^{(n)}+p_{n-1}y^{(n-1)}+\cdots\)).
Discussion
The name honours Józef Hoene-Wroński, who introduced the determinant in the 1810s, though its role as an independence certificate for solutions of linear ODEs was clarified only later, notably once Abel's identity (1827) made explicit why the determinant cannot vanish at an isolated point without vanishing everywhere. Giuseppe Peano in the 1880s sharpened the picture further by exhibiting exactly the kind of counterexample used above (\(x^2\) and \(x|x|\)-type functions) to show that \(W\equiv0\) does not imply dependence for functions in general — correcting a folk belief that had crept into some 19th-century textbooks.
Structurally, the theorem is best understood through the companion (first-order) system \(\mathbf{y}'=A(x)\mathbf{y}\) obtained by setting \(\mathbf{y}=(y,y',\dots,y^{(n-1)})^{\top}\); the Wronskian matrix is then precisely a fundamental matrix of this system evaluated at \(x\), and Abel's identity \(W'=-p_{n-1}W\) is the scalar case of Liouville's formula \(\det\Phi(x)=\det\Phi(x_0)\exp\!\big(\int_{x_0}^x \operatorname{tr}A(t)\,dt\big)\) for fundamental matrices of linear systems, since \(\operatorname{tr}A=-p_{n-1}\) for the companion matrix. Seeing it this way removes the mystery of "why does one point suffice" — it is the same phenomenon as a linear flow map either always preserving orientation-with-nonzero-volume or always collapsing volume to zero, never switching between the two along a continuous path of invertible-or-singular matrices without discontinuity in the coefficients.
The theorem is also the backbone of the method of variation of parameters: solving for the particular solution of an inhomogeneous linear ODE requires inverting the Wronskian matrix, and the guarantee that this matrix is invertible at every point (given independence of the homogeneous solutions) is exactly this theorem.
A subtlety worth internalizing: the theorem does not claim the Wronskian is a "measure" of how independent the functions are, nor that a small \(|W(x_0)|\) signals near-dependence in any uniform sense — \(W\) can be rescaled by reparametrizing the \(y_i\) (replacing \(y_1\) by \(2y_1\) doubles \(W\)) without changing independence at all. Its only load-bearing content is the sign of the boolean "zero or not," not its magnitude.
Common misconception. Students often invert the logical direction and believe "linearly independent solutions must have nonzero Wronskian" is obvious/definitional. It is a theorem, not a definition, and its proof genuinely uses that the functions solve a common linear ODE — see the Fails-without example, which is independent functions with identically zero Wronskian outside that hypothesis.
Worked examples
Reading. The general solution of \(y''+y=0\) is exactly \(y=c_1\cos x+c_2\sin x\), \(c_1,c_2\in\mathbb{R}\), because these two solutions span the full 2-dimensional solution space.
Reading. Every solution of this Cauchy–Euler equation on \((0,\infty)\) has the form \(y=c_1x+c_2x^2\); the Wronskian test avoided having to verify independence "by hand" (checking no constant multiple relation holds for all \(x\)) and instead reduced to one determinant evaluation.
Problems
- Compute \(W[e^{x},e^{2x}](x)\) and use it to show \(e^x,e^{2x}\) are independent solutions of \(y''-3y'+2y=0\) on \(\mathbb{R}\).
Solution
\(W=\det\begin{pmatrix}e^x & e^{2x}\\ e^x & 2e^{2x}\end{pmatrix}=2e^{3x}-e^{3x}=e^{3x}\). Since \(e^{3x}\neq0\) for every \(x\) (in particular at \(x_0=0\), \(W(0)=1\neq0\)), and both functions solve \(y''-3y'+2y=0\) (characteristic roots \(1,2\)) with continuous (constant) coefficients on \(\mathbb{R}=I\), the theorem gives independence on \(\mathbb{R}\). - Let \(y_1,y_2,y_3\) solve a third-order linear ODE with continuous coefficients on \(\mathbb{R}\), and suppose \(W(0)=0\). What can you conclude about \(W(5)\), and why?
Solution
\(W(5)=0\) as well. By part (a) (Abel's identity), \(W\) is either identically zero on the whole interval or never zero; since \(W(0)=0\), the "never zero" branch is excluded, so \(W\equiv0\) on \(\mathbb{R}\), in particular \(W(5)=0\). (Equivalently: \(W(0)=0\) forces dependence by the contrapositive of the theorem, and dependent solutions have \(W\equiv0\) everywhere by Step 12 of the proof.) - Explain precisely why \(f(x)=x^3\) and \(g(x)=x^2|x|\) can be linearly independent on \(\mathbb{R}\) while \(W[f,g]\equiv0\), without contradicting this theorem.
Solution
Compute for \(x\geq0\): \(g(x)=x^3\), so \(f,g\) agree and \(W=fg'-f'g=0\) trivially there. For \(x\lt0\): \(g(x)=-x^3\), \(g'(x)=-3x^2\); \(W=x^3(-3x^2)-3x^2(-x^3)=-3x^5+3x^5=0\). So \(W\equiv0\) on \(\mathbb{R}\) yet \(f,g\) are independent (no constant \(k\) has \(g=kf\) on all of \(\mathbb{R}\), since the sign relationship flips at \(x=0\)). This does not contradict the theorem because the theorem's converse ("independent \(\Rightarrow W\) never zero") requires \(f,g\) to be solutions of one common linear ODE with continuous coefficients on \(\mathbb{R}\); \(f\) and \(g\) here are not both solutions of any single such ODE on all of \(\mathbb{R}\) (any linear ODE with \(x^3\) as a solution near \(0\) forces its solution space to be smooth in a way \(x^2|x|\) is not, since \(x^2|x|\) is only \(C^2\), not \(C^3\), at \(x=0\)). - For \(y'' + p_1(x)y' + p_0(x)y=0\) with \(p_1\) continuous on \(I\), suppose \(y_1\) is a known nonvanishing solution on \(I\). Use Abel's identity to derive a formula for a second, independent solution \(y_2\) (reduction of order), and confirm \(W[y_1,y_2]\) matches Abel's prediction.
Solution
Abel gives \(W(x)=y_1y_2'-y_1'y_2=C\exp\!\left(-\int p_1\right)\) for a constant \(C\); take \(C=1\) (any nonzero \(C\) just rescales \(y_2\)). Dividing by \(y_1^2\): \(\left(\dfrac{y_2}{y_1}\right)'=\dfrac{y_1y_2'-y_1'y_2}{y_1^2}=\dfrac{e^{-\int p_1}}{y_1^2}\), so \(y_2=y_1\displaystyle\int \frac{e^{-\int p_1(x)dx}}{y_1(x)^2}\,dx\). By construction \(W[y_1,y_2]=e^{-\int p_1}\neq0\) on \(I\) (since the exponential is never zero and \(y_1\) is nonvanishing), matching Abel's identity exactly, so by the theorem \(y_1,y_2\) are independent — a genuine second solution, not a multiple of \(y_1\). - True or false, with justification: "If \(y_1,\dots,y_n\) are any \(n\) solutions of an \(n\)-th order linear homogeneous ODE with continuous coefficients on \(I\), and they are linearly independent, then their Wronskian is nonzero at every point of \(I\) except possibly finitely many."
Solution
False as stated (the "except possibly finitely many" hedge is not needed, but more importantly is not what the theorem gives — it gives something stronger and cleaner). By part (a), for solutions of a common linear ODE with continuous coefficients on an interval, \(W\) is either identically zero or nowhere zero — there is no intermediate case with isolated zeros. So the correct strengthening is: if the solutions are independent, \(W\) is nonzero at every single point of \(I\), with zero exceptions, not "all but finitely many." The proposed statement understates what the theorem actually delivers.