Differential EquationsSecond-Order Linear Equations2 of 6
Second-Order Linear Equations · 2
Linear Independence and the Wronskian
To build the general solution to a second-order differential equation y′′+p(t)y′+q(t)y=0, we combine two solutions as y(t)=c1y1(t)+c2y2(t) so that we have two adjustable constants to match any starting position and starting velocity.
1
What Linear Independence Means
Finding two solutions isn't enough on its own: we need to make sure the second solution actually gives us a second independent constant to adjust, instead of combining with the first into a single constant.
What Linear Independence Means
With y1(t)=et and y2(t)=5et, factoring out et collapses both constants into one:
y(t)=c1et+c2(5et)=C(c1+5c2)et=Cet
Two functions are linearly dependent when one is a constant multiple of the other, and linearly independent when neither is a constant multiple of the other. In equations, that comes down to which constants can make their combination equal zero for every t:
c1y1(t)+c2y2(t)=0for all t
When one function is a multiple of the other, like et and 5et, non-zero constants like c1=−5 and c2=1 let one cancel the other everywhere. When the functions are independent, like et and e−t, the only way to get zero for all t is c1=0 and c2=0.
2
Deriving the Wronskian from Initial Conditions
When functions are rewritten using algebra or trig identities, we can't always tell right away whether one is a multiple of the other. We want a direct test that tells us whether y(t)=c1y1(t)+c2y2(t) can be solved for c1 and c2 to match any starting position y(t) and starting velocity y′(t).
Deriving the Wronskian from Initial Conditions
Matching both position and velocity at a starting time t gives two equations in the two unknowns c1 and c2:
At t=0,et and e−t both equal 1 but have opposite slopes (1 and −1), so we can adjust c1 and c2 to match y(0)=1 with any starting slope y′(0). For et and 5et, both curves have slope equal to their height, so any combination with y(0)=1 is stuck with y′(0)=1, and their Wronskian is zero.
Through the same starting point, combining a rising curve and a falling curve can bend to match any starting slope, while combining two scaled copies of the same curve stays stuck at one slope.
3
Testing Solutions with the Wronskian
Let's use the Wronskian determinant to test three pairs of solutions and see when they form a general solution.
Test the dependent pair y1(t)=et and y2(t)=5etPlace the functions in the top row and their derivatives in the bottom row, then multiply the diagonals and subtract.
W(t)=0 for every t, as it is whenever one function is a constant multiple of the other: since 5et is 5 times et, its derivative is also 5 times the derivative of et, so the two products are equal. (When you can see right away that 5et is 5 times et, you already know they are dependent without computing the determinant.)
Test y1(t)=et and y2(t)=e−t for y′′−y=0Differentiate e−t with the chain rule to get −e−t, multiply the diagonals, and simplify using ete−t=e0=1.
Because W(t)=−2 is never zero, et and e−t are linearly independent and give the general solution y(t)=c1et+c2e−t.
Test y1(t)=cos(t) and y2(t)=sin(t) for y′′+y=0Multiply the trig functions with their derivatives along the diagonals and simplify using cos2(t)+sin2(t)=1.
Because W(t)=1 is never zero, cos(t) and sin(t) are linearly independent and form the general solution y(t)=c1cos(t)+c2sin(t).
4
When the Wronskian Equals Zero at a Point
In the previous examples, t canceled out and left a constant Wronskian. Now let's see what happens with y1(t)=t and y2(t)=t2, where W(t) still depends on t and equals zero at t=0.
When the Wronskian Hits Zero at a Point
Text solution
Compute the Wronskian of y1(t)=t and y2(t)=t2Put t and t2 over their derivatives 1 and 2t, then multiply the diagonals and subtract.
W(t)=t1t22t=(t)(2t)−(t2)(1)=2t2−t2=t2
Evaluate W(t) at a non-zero point to test linear independencePlug in t=1 to see that the Wronskian is not zero for all t.
W(1)=12=1=0
If one function were a constant multiple of the other, their Wronskian would equal zero for everyt, so finding W(1)=0 at even a single point proves that t and t2 are linearly independent.
Check what goes wrong at the starting time t0=0 where W(0)=0Substitute t=0 into y(t)=c1t+c2t2 to see what values y(0) can take.
y(0)=c1(0)+c2(0)2=0
At any starting time t0=0, the denominator W(t0)=t02 is not zero and we can match any starting position and velocity, but right at t0=0 every combination gives y(0)=0, making an initial condition like y(0)=5 impossible.
At any starting time t0=0,W(t0)=t02 is not zero and a single curve y(t)=c1t+c2t2 matches (t0,y0) with zero slope. At t0=0,W(0)=0 because every curve y(t)=c1t+c2t2 is pinned to (0,0) and cannot reach a non-zero height y0.
Every curve in this family is pinned to the origin. Off the vertical axis, one parabola starts flat at any point you pick, while right on the vertical axis the denominator hits zero and no curve can start above or below the origin.
5
Abel's Formula and the All-or-Nothing Rule
When we test two solutions of y′′+p(t)y′+q(t)y=0 by plugging a single convenient number t0 into the Wronskian and get W(t0)=0, we need to know whether t0 could just be one bad starting point or whether W(t) must be zero everywhere.
Abel's Formula and the All-or-Nothing Rule
Differentiating W=y1y2′−y2y1′ and substituting y′′=−p(t)y′−q(t)y cancels the y1′y2′ and q(t) terms, leaving W′=−p(t)W:
Because the exponential e−∫p(t)dt is never zero wherever p(t) and q(t) are continuous, Abel's Theorem leaves only two possibilities:
If C=0, then W(t)=0 for all t, and the solutions are linearly dependent.
If C=0, then W(t) is never zero, and the solutions are linearly independent.
(Our earlier pair t and t2 could have W(0)=0 without W(t) being zero everywhere because they solve t2y′′−2ty′+2y=0, where dividing by t2 gives p(t)=−t2, which is undefined at t=0.)
Because e−∫p(t)dt is never zero, the curve W(t) can never cross the horizontal axis: a non-zero W(t0) stays non-zero everywhere, and W(t0)=0 forces W(t)=0 everywhere.
Setting the Wronskian at one time scales the whole curve at once, so it is either never zero anywhere or zero everywhere.
6
Finding the Wronskian from the Differential Equation
Notice that the solutions y1(t) and y2(t) do not appear on the right side of W(t)=Ce−∫p(t)dt. If we are given the value of the Wronskian at one point, we can find W(t) for all t straight from the differential equation without ever solving for y1 and y2.
Suppose y1(t) and y2(t) are solutions to ty′′+2y′+tety=0 with W(1)=5, and we want to find W(t) for t>0.
Finding the Wronskian from the Differential Equation
ty′′+2y′+tety=0
W(1)W(t)=5=?t>0
Text solution
Divide by the coefficient of y′′ to put the equation in standard formDivide every term by t so the coefficient of y′′ is 1, then read p(t) in front of y′ and ignore q(t)=et.
y′′+p(t)t2y′+ety=0
Substitute p(t) into Abel's Formula and simplify the exponentialIntegrate t2 and bring the factor of −2 inside the logarithm as an exponent so the exponential and natural log cancel.
W(t)=Ce−∫t2dt=Ce−2ln(t)=Celn(t−2)=t2C
Use the given value W(1)=5 to solve for CPlug t=1 and W(1)=5 into W(t)=t2C.
5⟹W(t)=12C=C=t25
Because W(t)=t25 is never zero for t>0,y1 and y2 are linearly independent.
Key concepts
Lesson Summary
y(t)=c1y1(t)+c2y2(t)
the general solution?
When you need to decide whether two solutions y1(t) and y2(t) are linearly independent and form the general solution y(t)=c1y1(t)+c2y2(t), start with the simplest check that fits what you are given:
Check for a constant multiple first
If one function is visibly a constant times the other, like et and 5et, they are linearly dependent right away because c1et+c2(5et)=Cet collapses into one constant.
When you are given the two functions, use the Wronskian determinant
Put the functions over their derivatives to get the denominator when solving for c1 and c2:
Finding W(t0)=0 at even one point proves the functions are linearly independent; a single point where W(t0)=0 (like t0=0 for t and t2, where W(t)=t2) is just a starting time where you cannot match every initial condition.
When you are given the differential equation instead of the solutions, use Abel's Formula
Divide by the coefficient of y′′ to get standard form y′′+p(t)y′+q(t)y=0, ignore q(t), and use
W(t)=Ce−∫p(t)dt
Wherever p(t) and q(t) are continuous, W(t) for two solutions is all-or-nothing: either it is never zero (independent) or it is zero everywhere (dependent).
7
Practice
1
Both y1(t)=e−3t and y2(t)=−4e−3t are solutions to y′′−9y=0. (a) Find non-zero constants c1 and c2 such that c1y1(t)+c2y2(t)=0 for all t. (b) Does y(t)=c1e−3t+c2(−4e−3t) give the general solution to y′′−9y=0? Explain why or why not.
Watch out: Picking c1=−4 and c2=1 misses the negative sign already inside −4e−3t and gives −8e−3t instead of 0.
(a) Factor e−3t out of c1e−3t+c2(−4e−3t)=0; what relationship between c1 and c2 makes the coefficient zero? (b) Count how many adjustable constants remain after factoring out e−3t.
(a) Factoring out e−3t gives:
c1e−3t+c2(−4e−3t)=(c1−4c2)e−3t=0
(Watch out: Picking c1=−4 and c2=1 misses the negative sign already inside −4e−3t and gives −8e−3t instead of 0.) Choosing c1=4 and c2=1 (or any non-zero multiple) gives 4(e−3t)+1(−4e−3t)=0 for all t.
(b) Combining the two terms gives:
y(t)=(c1−4c2)e−3t=Ce−3t
No; because y2 is a constant multiple of y1, they are linearly dependent, and y(t)=(c1−4c2)e−3t=Ce−3t combines into a single adjustable constant instead of the two needed to match any starting position and velocity.
2
Compute the Wronskian W(t) of y1(t)=cos(3t) and y2(t)=sin(3t) to determine whether they are linearly independent, and write the general solution to y′′+9y=0.
Watch out: Forgetting the chain-rule factor of 3 gives W(t)=1, and dropping a minus sign when subtracting sin(3t)(−3sin(3t)) gives 3cos2(3t)−3sin2(3t)=3cos(6t).
When differentiating cos(3t) and sin(3t) for the bottom row of the determinant, remember the chain-rule factor from 3t.
Set up the determinant with the derivatives in the bottom row:
W(t)=cos(3t)−3sin(3t)sin(3t)3cos(3t)
(Watch out: Forgetting the chain-rule factor of 3 gives W(t)=1, and dropping a minus sign when subtracting sin(3t)(−3sin(3t)) gives 3cos2(3t)−3sin2(3t)=3cos(6t).) Multiplying the diagonals and factoring out 3 gives:
Because W(t)=3=0, they are linearly independent, and the general solution is y(t)=c1cos(3t)+c2sin(3t).
3
Consider the functions y1(t)=t2 and y2(t)=t3. (a) Find their Wronskian W(t). (b) Since W(0)=0, are t2 and t3 linearly dependent or linearly independent? Explain. (c) For y(t)=c1t2+c2t3, at what starting time t0 is it impossible to solve for c1 and c2 to match the initial conditions y(t0)=1 and y′(t0)=2?
(a) Put t2 and t3 over their derivatives 2t and 3t2. (b) Check whether W(t) is zero for everyt by plugging in t=1. (c) Look for the starting time t0 where the denominator W(t0) equals zero.
(Watch out: Multiplying the diagonals in the reverse order gives −t4.)
(b) (Watch out: Seeing W(0)=0 and answering "linearly dependent" confuses equaling zero at a single point with being zero everywhere.) They are linearly independent, because W(t) is non-zero at points other than 0 (for example, W(1)=1=0), proving neither function is a constant multiple of the other.
(c) At t0=0, where the denominator W(0)=0 and every combination gives y(0)=0 and y′(0)=0.
4
Suppose y1(t) and y2(t) are two solutions to y′′+4y′+cos(t2)y=0, and their Wronskian at t=0 is W(0)=6. Without solving the differential equation, find W(t) for all t, and state whether y1 and y2 are linearly independent.
Which coefficient in y′′+p(t)y′+q(t)y=0 goes into Abel's Formula, and do you need the cos(t2) term at all?
The equation is already in standard form with p(t)=4. Applying Abel's Formula:
W(t)=Ce−∫4dt=Ce−4t
(Watch out: Leaving off the minus sign in the exponent of Ce−∫p(t)dt gives 6e4t.) Using W(0)=6 gives 6=Ce0=C, so:
W(t)=6e−4t
Since 6e−4t is never zero, y1 and y2 are linearly independent.
5
Suppose y1(t) and y2(t) are solutions to t2y′′−3ty′+e2ty=0 for t>0, and W(2)=16. Find W(t) for all t>0.
What must you do with the t2 in front of y′′ before reading p(t), and what happens to the two negative signs in −∫p(t)dt?
Divide the equation by t2 to put it in standard form:
y′′−t3y′+t2e2ty⟹p(t)=0=−t3
(Watch out: Taking p(t)=−3t without dividing by t2 first gives Ce3t2/2, and dropping the negative sign on p(t)=−t3 gives Ct−3, which leads to t3128.) By Abel's Formula:
W(t)=Ce−∫(−3/t)dt=Ce3ln(t)=Ct3
Plugging in W(2)=16 gives:
16⟹C⟹W(t)=C(23)=8C=2=2t3
6
Suppose y1(t) and y2(t) are two solutions to y′′+ty′+ety=0. At t=3, you are given that y1(3)=2,y2(3)=6,y1′(3)=−1, and y2′(3)=−3. Find W(t) for all t, and determine whether y(t)=c1y1(t)+c2y2(t) is the general solution to the differential equation.
Compute the determinant W(3) from the four given values at t=3 first, then use Abel's all-or-nothing rule.
(Watch out: Dropping the minus sign when subtracting (6)(−1) gives W(3)=−12, which leads to the wrong answer W(t)=−12e(9−t2)/2 and the false conclusion that the solutions are independent.) Since p(t)=t and q(t)=et are continuous everywhere, Abel's Theorem says that because W(3)=0 at one point, W(t)=0 for all t. Therefore, y1 and y2 are linearly dependent and do not form the general solution.