Unit 4, lesson 19

Linear Equations, Superposition, and Wronskians

How the linear differential operator leads to superposition, why two independent solutions form a fundamental set on a regular interval, and how the Wronskian and Abel's identity test independence.

  • Video 19
  • Linear Theory and Constant Coefficients

The functions ete^t and e2te^{2t} both solve y′′−3y′+2y=0y'' - 3y' + 2y = 0, where tt is the independent variable and y′=dy/dty' = dy/dt. Is every combination C1et+C2e2tC_1e^t + C_2e^{2t} also a solution, and is every solution of this form? For linear equations both answers are yes, as long as the coefficients behave well on the interval in question. This lesson builds that structure from the operator form of the equation and gives a determinant test, the Wronskian, that decides when two solutions are enough.

Key terms

Linear differential operator

Definition Let pp and qq be functions on an open interval II of the variable tt. The second-order linear differential operator with these coefficients assigns to each twice differentiable function yy on II the function

L[y]=y′′+p(t) y′+q(t) y.L[y] = y'' + p(t)\,y' + q(t)\,y.

It is linear, which means that

L[au+bv]=aL[u]+bL[v]L[au + bv] = aL[u] + bL[v]

for all twice differentiable functions uu and vv on II and all constants aa and bb. This follows because differentiation and multiplication by a fixed coefficient both respect sums and constant multiples. A second-order linear equation is L[y]=gL[y] = g for a given function gg on II, and it is homogeneous when g(t)=0g(t) = 0 for every tt in II. Here homogeneous means zero forcing, which is a different idea from the homogeneous first-order equations y′=F(y/t)y' = F(y/t). An equation written as P(t) y′′+Q(t) y′+R(t) y=G(t)P(t)\,y'' + Q(t)\,y' + R(t)\,y = G(t) takes this normalized form after division by P(t)P(t) wherever P(t)≠0P(t) \ne 0, with p=Q/Pp = Q/P, q=R/Pq = R/P and g=G/Pg = G/P.

In plain words The operator takes a function and returns a new function built from it and its first two derivatives. Linearity says that it handles sums and constant multiples term by term.

Example Take L[y]=y′′−3y′+2yL[y] = y'' - 3y' + 2y on R\mathbb{R}. For a constant rr,

L[ert]=(r2−3r+2) ert,L[e^{rt}] = (r^2 - 3r + 2)\,e^{rt},

so L[et]=0L[e^t] = 0 and L[e2t]=0L[e^{2t}] = 0, while L[1]=2L[1] = 2 and L[t]=2t−3L[t] = 2t - 3. Linearity then gives L[5et+1]=5⋅0+2=2L[5e^t + 1] = 5 \cdot 0 + 2 = 2 with no new differentiation. By contrast, the expression N[y]=y′′+y2N[y] = y'' + y^2 is not linear, since N[1]=1N[1] = 1 but N[2]=4≠2N[1]N[2] = 4 \ne 2N[1].

Regular interval

Definition For the equation P(t) y′′+Q(t) y′+R(t) y=G(t)P(t)\,y'' + Q(t)\,y' + R(t)\,y = G(t), a regular interval is an open interval II on which P(t)≠0P(t) \ne 0 at every point and the normalized functions p=Q/Pp = Q/P, q=R/Pq = R/P and g=G/Pg = G/P are continuous. On a regular interval the existence and uniqueness theorem for linear equations applies in the following form. For every t0t_0 in II and all real numbers k0k_0 and k1k_1, the initial-value problem

y′′+p(t) y′+q(t) y=g(t),y(t0)=k0,y′(t0)=k1\begin{gathered} y'' + p(t)\,y' + q(t)\,y = g(t), \\[0.4em] y(t_0) = k_0, \qquad y'(t_0) = k_1 \end{gathered}

has exactly one solution, and that solution is defined on the whole of II. Points where PP vanishes or where a normalized function is not continuous are excluded, and the theory is applied separately on each regular interval.

In plain words Inside a regular interval, a starting height and a starting slope pick out exactly one solution, and that solution lasts as long as the interval does. At the excluded points the theorem makes no promise at all.

Example The equation t2y′′−2ty′+2y=0t^2y'' - 2ty' + 2y = 0 normalizes to

y′′−2t y′+2t2 y=0,y'' - \frac{2}{t}\,y' + \frac{2}{t^2}\,y = 0,

whose coefficients are continuous for t≠0t \ne 0. Its regular intervals are (−∞,0)(-\infty, 0) and (0,∞)(0, \infty), so data at t0=1t_0 = 1 select exactly one solution on all of (0,∞)(0, \infty). At t=0t = 0 both conclusions of the theorem fail. Setting t=0t = 0 in the equation leaves 2y(0)=02y(0) = 0, so no solution on an interval containing 00 has y(0)=1y(0) = 1. On the other hand, y=ty = t and y=t+t2y = t + t^2 both solve the equation on R\mathbb{R} with y(0)=0y(0) = 0 and y′(0)=1y'(0) = 1. A forcing term such as G(t)=1/(t−1)G(t) = 1/(t - 1) would also exclude t=1t = 1, leaving the regular intervals (−∞,0)(-\infty, 0), (0,1)(0, 1) and (1,∞)(1, \infty).

Superposition principle

Definition Let L[y]=y′′+p(t) y′+q(t) yL[y] = y'' + p(t)\,y' + q(t)\,y on an interval II. If uu and vv solve the homogeneous equation L[y]=0L[y] = 0 on II, then au+bvau + bv solves it on II for all constants aa and bb. For a forced equation L[y]=gL[y] = g, superposition describes the whole solution set instead. If ypy_p is one solution of L[y]=gL[y] = g on II, then the solutions of L[y]=gL[y] = g on II are exactly the functions

y=yp+yh,L[yh]=0.y = y_p + y_h, \quad L[y_h] = 0.

Indeed L[yp+yh]=g+0=gL[y_p + y_h] = g + 0 = g, and any solution yy gives L[y−yp]=g−g=0L[y - y_p] = g - g = 0. More generally, L[y1]=g1L[y_1] = g_1 and L[y2]=g2L[y_2] = g_2 give L[ay1+by2]=ag1+bg2L[ay_1 + by_2] = ag_1 + bg_2. The multipliers must be constants. For a twice differentiable multiplier c(t)c(t) the product rule leaves extra terms,

L[c u]=c L[u]+c′′u+2c′u′+p c′u.\begin{aligned} L[c\,u] &= c\,L[u] + c''u \\[0.4em] &\quad + 2c'u' + p\,c'u. \end{aligned}

In plain words Solutions of a homogeneous linear equation can be scaled and added freely. With forcing present, the sum of two solutions answers twice the forcing, but their difference answers zero forcing, so every forced solution is one fixed forced solution plus a homogeneous one.

Example For L[y]=y′′−3y′+2yL[y] = y'' - 3y' + 2y, both ete^t and e2te^{2t} solve L[y]=0L[y] = 0, so 3et+e2t3e^t + e^{2t} and et−7e2te^t - 7e^{2t} solve it too. The constant yp=1y_p = 1 satisfies L[1]=2L[1] = 2, so every solution of L[y]=2L[y] = 2 has the form 1+yh1 + y_h with L[yh]=0L[y_h] = 0. A varying multiplier breaks superposition. With c(t)=tc(t) = t and u=etu = e^t the formula above gives L[tet]=0+0+2et−3et=−etL[te^t] = 0 + 0 + 2e^t - 3e^t = -e^t, which is not zero although L[et]=0L[e^t] = 0.

Fundamental set of solutions

Definition Two functions y1y_1 and y2y_2 are linearly independent on an interval II if the only constants with C1y1(t)+C2y2(t)=0C_1y_1(t) + C_2y_2(t) = 0 for every tt in II are C1=C2=0C_1 = C_2 = 0. For two functions this means that neither is a constant multiple of the other on II. A fundamental set of solutions of L[y]=0L[y] = 0 on a regular interval II is a pair of solutions y1y_1 and y2y_2 on II that are linearly independent on II. For such a pair, every solution of L[y]=0L[y] = 0 on II can be written as

y=C1y1+C2y2y = C_1y_1 + C_2y_2

for exactly one choice of the constants, and for each t0t_0 in II every pair of initial values y(t0)=k0y(t_0) = k_0, y′(t0)=k1y'(t_0) = k_1 is met by exactly one such combination. A homogeneous linear equation of order nn has fundamental sets of nn solutions on a regular interval in the same way.

In plain words Two genuinely different solutions are enough to build every solution, and their two constants are exactly the two numbers needed to match a starting height and slope.

Example The equation y′′−3y′+2y=0y'' - 3y' + 2y = 0 has constant coefficients, so all of R\mathbb{R} is a regular interval. The solutions ete^t and e2te^{2t} are independent there, because the ratio e2t/et=ete^{2t}/e^t = e^t is not constant. To meet y(0)=4y(0) = 4 and y′(0)=5y'(0) = 5, write y=C1et+C2e2ty = C_1e^t + C_2e^{2t}. The two conditions read

C1+C2=4,C1+2C2=5,\begin{aligned} C_1 + C_2 &= 4, \\ C_1 + 2C_2 &= 5, \end{aligned}

and subtracting the first from the second gives C2=1C_2 = 1, then C1=3C_1 = 3. The solution is

y=3et+e2t.y = 3e^t + e^{2t}.

As a check, y′=3et+2e2ty' = 3e^t + 2e^{2t} and y′′=3et+4e2ty'' = 3e^t + 4e^{2t}. In y′′−3y′+2yy'' - 3y' + 2y the coefficient of ete^t is 3−9+6=03 - 9 + 6 = 0 and the coefficient of e2te^{2t} is 4−6+2=04 - 6 + 2 = 0, and the values at 00 are y(0)=4y(0) = 4 and y′(0)=5y'(0) = 5.

Wronskian

Definition The Wronskian of two differentiable functions y1y_1 and y2y_2 is

W(y1,y2)(t)=∣y1y2y1′y2′∣=y1y2′−y1′y2,\begin{aligned} W(y_1, y_2)(t) &= \begin{vmatrix} y_1 & y_2 \\ y_1' & y_2' \end{vmatrix} \\[0.4em] &= y_1y_2' - y_1'y_2, \end{aligned}

with every entry evaluated at tt. Its value at t0t_0 is the determinant of the system that matches initial data,

C1y1(t0)+C2y2(t0)=k0,C1y1′(t0)+C2y2′(t0)=k1.\begin{aligned} C_1y_1(t_0) + C_2y_2(t_0) &= k_0, \\ C_1y_1'(t_0) + C_2y_2'(t_0) &= k_1. \end{aligned}

Two facts follow.

  1. For any differentiable functions on an interval II, if W(t0)≠0W(t_0) \ne 0 at one point t0t_0 of II, then y1y_1 and y2y_2 are linearly independent on II. A combination that vanishes on II has a vanishing derivative too, and the system above with k0=k1=0k_0 = k_1 = 0 then forces C1=C2=0C_1 = C_2 = 0.
  2. If y1y_1 and y2y_2 solve the same equation L[y]=0L[y] = 0 on a regular interval II, they form a fundamental set on II exactly when W(t0)≠0W(t_0) \ne 0 for some t0t_0 in II. If instead W(t0)=0W(t_0) = 0, the system with zero data has a solution (C1,C2)≠(0,0)(C_1, C_2) \ne (0, 0), and the solution C1y1+C2y2C_1y_1 + C_2y_2 has zero height and slope at t0t_0, so by uniqueness it is the zero function.

When W(t0)≠0W(t_0) \ne 0, any solution yy can be matched by constants with k0=y(t0)k_0 = y(t_0) and k1=y′(t0)k_1 = y'(t_0), and uniqueness then gives y=C1y1+C2y2y = C_1y_1 + C_2y_2 on all of II. That is why a fundamental set produces every solution. Without a common equation, even a Wronskian that is zero everywhere does not prove dependence. The functions t2t^2 and t∣t∣t\lvert t \rvert are continuously differentiable on R\mathbb{R}, the derivative of t∣t∣t\lvert t \rvert is 2∣t∣2\lvert t \rvert, and their Wronskian t2⋅2∣t∣−2t⋅t∣t∣t^2 \cdot 2\lvert t \rvert - 2t \cdot t\lvert t \rvert is 00 for every tt. Yet they are independent on R\mathbb{R}, since the second function equals the first for t>0t > 0 and its negative for t<0t < 0, so no single constant multiple works. They are not two solutions of one equation L[y]=0L[y] = 0 on a regular interval containing 00, and in fact t∣t∣t\lvert t \rvert has no second derivative at 00.

In plain words The Wronskian asks whether the height and slope pairs (y1,y1′)(y_1, y_1') and (y2,y2′)(y_2, y_2') point in different directions. If they do, every starting height and slope can be built from them. For two solutions of one regular equation the answer is the same at every point.

Example For y1=ety_1 = e^t and y2=e2ty_2 = e^{2t},

W=et⋅2e2t−et⋅e2t=e3t,\begin{aligned} W &= e^t \cdot 2e^{2t} - e^t \cdot e^{2t} \\[0.4em] &= e^{3t}, \end{aligned}

which is never zero, so the pair is a fundamental set on R\mathbb{R}, and the system for the data y(0)=4y(0) = 4, y′(0)=5y'(0) = 5 above has determinant W(0)=1W(0) = 1 and one solution. Listing the functions in the other order gives W(e2t,et)=−e3tW(e^{2t}, e^t) = -e^{3t}. The sign changes, but independence does not.

Abel’s identity

Definition Let y1y_1 and y2y_2 solve y′′+p(t) y′+q(t) y=0y'' + p(t)\,y' + q(t)\,y = 0 on a regular interval II, and let t0t_0 be a point of II. Then their Wronskian satisfies the first-order linear equation W′=−p(t) WW' = -p(t)\,W, and therefore

W(t)=W(t0) e−∫t0tp(s) dsW(t) = W(t_0)\,e^{-\int_{t_0}^{t} p(s)\,ds}

for every tt in II. To see this, differentiate W=y1y2′−y1′y2W = y_1y_2' - y_1'y_2. The two terms y1′y2′y_1'y_2' cancel, which leaves W′=y1y2′′−y1′′y2W' = y_1y_2'' - y_1''y_2. Substituting yj′′=−p yj′−q yjy_j'' = -p\,y_j' - q\,y_j for j=1,2j = 1, 2 makes the qq terms cancel and leaves −p (y1y2′−y1′y2)=−pW-p\,(y_1y_2' - y_1'y_2) = -pW. The coefficient pp is the one of the normalized equation. Because the exponential factor is never zero, the Wronskian is either zero at every point of II or zero at no point of II.

In plain words The Wronskian of two solutions follows its own first-order equation. It grows or shrinks by an exponential factor and can never reach zero inside a regular interval unless it is zero throughout. It also tells you the Wronskian, up to one constant, before you know any solution.

Example The equation t2y′′−2ty′+2y=0t^2y'' - 2ty' + 2y = 0 has the solutions y1=ty_1 = t and y2=t2y_2 = t^2, since 0−2t+2t=00 - 2t + 2t = 0 and 2t2−4t2+2t2=02t^2 - 4t^2 + 2t^2 = 0. On (0,∞)(0, \infty) the normalized coefficient is p(t)=−2/tp(t) = -2/t, and Abel’s identity from t0=1t_0 = 1 gives

W(t)=W(1) e∫1t(2/s) ds=W(1) e2ln⁡t=W(1) t2.\begin{aligned} W(t) &= W(1)\,e^{\int_1^t (2/s)\,ds} \\[0.4em] &= W(1)\,e^{2\ln t} \\[0.4em] &= W(1)\,t^2. \end{aligned}

The direct computation W=t⋅2t−1⋅t2=t2W = t \cdot 2t - 1 \cdot t^2 = t^2 agrees, with W(1)=1W(1) = 1. On the whole line this Wronskian vanishes at t=0t = 0 and nowhere else. That does not contradict Abel’s identity, because the leading coefficient t2t^2 vanishes at t=0t = 0, so no regular interval contains that point. For the constant-coefficient equation y′′−3y′+2y=0y'' - 3y' + 2y = 0 the identity reads W(t)=W(0) e3tW(t) = W(0)\,e^{3t}, which matches W(et,e2t)=e3tW(e^t, e^{2t}) = e^{3t}.

Check yourself

  1. Show that e−te^{-t} and e3te^{3t} solve y′′−2y′−3y=0y'' - 2y' - 3y = 0, compute their Wronskian, and find the solution with y(0)=0y(0) = 0 and y′(0)=4y'(0) = 4.
Show the answer

For y=erty = e^{rt} the left side is (r2−2r−3) ert=(r−3)(r+1) ert(r^2 - 2r - 3)\,e^{rt} = (r - 3)(r + 1)\,e^{rt}, which is zero for r=3r = 3 and r=−1r = -1. The Wronskian is

W=e−t⋅3e3t−(−e−t) e3t=4e2t,\begin{aligned} W &= e^{-t} \cdot 3e^{3t} - (-e^{-t})\,e^{3t} \\[0.4em] &= 4e^{2t}, \end{aligned}

which is never zero, so the pair is a fundamental set on R\mathbb{R}. Abel’s identity with p=−2p = -2 agrees, since W(0) e2t=4e2tW(0)\,e^{2t} = 4e^{2t}. Writing y=C1e−t+C2e3ty = C_1e^{-t} + C_2e^{3t}, the data give C1+C2=0C_1 + C_2 = 0 and −C1+3C2=4-C_1 + 3C_2 = 4. Adding them gives 4C2=44C_2 = 4, so C2=1C_2 = 1 and C1=−1C_1 = -1, and

y=e3t−e−t.y = e^{3t} - e^{-t}.
  1. Both y=1y = 1 and y=1+ety = 1 + e^t solve y′′−3y′+2y=2y'' - 3y' + 2y = 2. Does their sum solve the same equation? Describe every solution, and find the one with y(0)=0y(0) = 0 and y′(0)=0y'(0) = 0.
Show the answer

The sum 2+et2 + e^t gives L[2+et]=4+0=4L[2 + e^t] = 4 + 0 = 4, so it solves the equation with forcing 44, not 22. Free combinations of solutions are solutions only for homogeneous equations. The difference ete^t does solve the homogeneous equation, as it must. Since ete^t and e2te^{2t} form a fundamental set of the homogeneous equation, every solution of the forced equation is

y=1+C1et+C2e2t.y = 1 + C_1e^t + C_2e^{2t}.

The data give 1+C1+C2=01 + C_1 + C_2 = 0 and C1+2C2=0C_1 + 2C_2 = 0, so C2=1C_2 = 1 and C1=−2C_1 = -2. The solution is y=1−2et+e2ty = 1 - 2e^t + e^{2t}, which can also be written (et−1)2(e^t - 1)^2.

  1. Can t2t^2 and t3t^3 both solve an equation y′′+p(t) y′+q(t) y=0y'' + p(t)\,y' + q(t)\,y = 0 whose coefficients pp and qq are continuous on (−1,1)(-1, 1)?
Show the answer

No. Their Wronskian is

W=t2⋅3t2−2t⋅t3=t4,W = t^2 \cdot 3t^2 - 2t \cdot t^3 = t^4,

which is zero at t=0t = 0 and positive at every other point. If both functions solved such an equation, then (−1,1)(-1, 1) would be a regular interval, and Abel’s identity would make the Wronskian either zero everywhere on it or zero nowhere on it. The two functions do solve t2y′′−4ty′+6y=0t^2y'' - 4ty' + 6y = 0, as substitution shows, but the normalized coefficients −4/t-4/t and 6/t26/t^2 of that equation are not defined at t=0t = 0.

How this lesson connects

It also uses two by two determinants.