Mathwords logoMathwords

Wronskian — Definition, Formula & Example

The Wronskian is a determinant built from a set of functions and their derivatives. For n solutions of an nth-order homogeneous linear differential equation, a nonzero Wronskian tells you the solutions are independent, so together they can produce every solution.

For functions y1,…,yny_1, \dots, y_n that are (n−1)(n-1) times differentiable on an interval II, the Wronskian is W(x)=det⁡[yj(i)(x)]W(x) = \det\big[y_j^{(i)}(x)\big], where row ii (for i=0,…,n−1i = 0, \dots, n-1) holds the iith derivatives. If W(x0)≠0W(x_0) \neq 0 at some x0∈Ix_0 \in I, the functions are linearly independent on II. If y1,y2y_1, y_2 solve y′′+p(x)y′+q(x)y=0y'' + p(x)y' + q(x)y = 0 with p,qp, q continuous on II, then Abel's formula W(x)=Ce−∫p(x) dxW(x) = Ce^{-\int p(x)\,dx} holds. So WW is either identically zero (dependent) or never zero (independent) on II.

Key Formula

W(y1,y2)(x)=∣y1y2y1′y2′∣=y1y2′−y1′y2W(y_1, y_2)(x) = \begin{vmatrix} y_1 & y_2 \\ y_1' & y_2' \end{vmatrix} = y_1 y_2' - y_1' y_2
Where:
  • y1,y2y_1, y_2 = The two functions being tested, usually solutions of a second-order linear ODE
  • y1′,y2′y_1', y_2' = Their first derivatives with respect to x
  • WW = The Wronskian, a function of x

Worked Example

Problem: The equation y′′−2y′+y=0y'' - 2y' + y = 0 has a repeated characteristic root. Show that y1=exy_1 = e^x and y2=xexy_2 = xe^x form a fundamental set of solutions by computing their Wronskian.
Step 1: The characteristic equation is r2−2r+1=(r−1)2=0r^2 - 2r + 1 = (r-1)^2 = 0, so r=1r = 1 is a double root. This gives the solutions exe^x and xexxe^x. Differentiate each one.
y1′=ex,y2′=ex+xex=(1+x)exy_1' = e^x, \qquad y_2' = e^x + xe^x = (1+x)e^x
Step 2: Substitute into the formula. The xe2xxe^{2x} terms cancel.
W=ex(1+x)ex−ex⋅xex=(1+x)e2x−xe2x=e2xW = e^x(1+x)e^x - e^x \cdot xe^x = (1+x)e^{2x} - xe^{2x} = e^{2x}
Step 3: Check with Abel's formula. In standard form p(x)=−2p(x) = -2, so W=Ce−∫(−2) dx=Ce2xW = Ce^{-\int(-2)\,dx} = Ce^{2x}. This matches the result with C=1C = 1. Since e2x>0e^{2x} > 0 for every xx, the Wronskian is never zero.
W(x)=e2x≠0 for all xW(x) = e^{2x} \neq 0 \text{ for all } x
Answer: W=e2xW = e^{2x}, which is never zero. So exe^x and xexxe^x are linearly independent on (−∞,∞)(-\infty, \infty), and the general solution is y=C1ex+C2xexy = C_1e^x + C_2xe^x.

Why It Matters

In a sophomore ODE course, a nonzero Wronskian at x0x_0 guarantees that you can solve for C1C_1 and C2C_2 in any initial value problem posed at x0x_0. It also appears in the denominators of the variation of parameters formulas. Engineers use those formulas to find forced responses of circuits and spring systems.

Common Mistakes

Mistake: Concluding that any two functions with W≡0W \equiv 0 must be linearly dependent.
Correction: That converse is guaranteed for solutions of the same linear ODE with continuous coefficients (and for analytic functions). For arbitrary functions it fails. For example, x2x^2 and x∣x∣x|x| have W=0W = 0 for every xx, yet they are independent on (−1,1)(-1, 1), because no single constant cc makes x∣x∣=cx2x|x| = cx^2 on both sides of 00.

Related Terms