The Wronskian and linear independence of a ODE solution set

Click For Summary
The discussion centers on the linear independence of solutions to a homogeneous ordinary differential equation (ODE) of the form y'' + p(t)y' + q(t)y = 0. It is clarified that two solutions y1 and y2 are linearly independent if neither is a multiple of the other, which aligns with the linear algebra definition of independence. The Wronskian can be used to verify this independence, but it must be calculated correctly, as it simplifies to W = e^(-∫p(u)du), which equals 1 only if p(x) is zero. The participants also discuss the derivation of a second solution y2 based on y1, emphasizing the importance of correctly applying integration and variable definitions. Overall, the conversation highlights the relationship between ODE solutions, their linear independence, and the use of the Wronskian in this context.
Susanne217
Messages
311
Reaction score
0

Homework Statement



Hi

I seem to remember that if you have a homogenous ODE

y'' + p(t)y' + q(t)y = 0 which have the solutions y1 and y2. Where we are told that

y1(t) \neq 0

then y1 and y2 are linear independent.

I found the simular claim on sosmath.com but are they simply saying as long as y1 is not a multiplum of y2 then y1 and y2 will always be linear independent?

THis is very confusing because I learned in linear algebra that in order for vectors to be linear independent then the weight c1=c2 = 0 and if for instance c1 = 1 and c2 = 2 then they are linear dependent.If you people get my point?
 
Physics news on Phys.org
Susanne217 said:

Homework Statement



Hi

I seem to remember that if you have a homogenous ODE

y'' + p(t)y' + q(t)y = 0 which have the solutions y1 and y2. Where we are told that

y1(t) \neq 0

then y1 and y2 are linear independent.

I found the simular claim on sosmath.com but are they simply saying as long as y1 is not a multiplum of y2 then y1 and y2 will always be linear independent?

THis is very confusing because I learned in linear algebra that in order for vectors to be linear independent then the weight c1=c2 = 0 and if for instance c1 = 1 and c2 = 2 then they are linear dependent.If you people get my point?
Linear independence, whether of vectors or functions, is very similar.

Two vectors are linearly independent if the only solution to the equation c1v1 + c2v2 = 0 is c1 = c2 = 0. Note that c1 = c2 = 0 is a solution to this equation if the vectors are linearly dependent, but this is not the only solution.


Similarly, two functions are linearly independent if the only solution to the equation c1f1(t) + c2f2(t) = 0, for all t in the common domain of these functions.

For your question about the ODE, if you have two functions y1(x) and y2(x), and neither one is the zero function, the two functions will be linearly independent if neither one is a multiple of the other. For example, if the functions are cos(x) and 2cos(x), neither is the zero function, but each one is some multiple of the other, so they are linearly dependent. Going back to the definition of linear independence, the equation c1cos(x) + c22cos(x) = 0, has many solutions where c1 and c2 are not both zero -- namely, c1 = -2, c2 = 1.

On the other hand, if the two solutions are cos(x) and sin(x), neither function is the zero function, and neither function is a multiple of the other, so it turns out that these functions are linearly independent.
 
Mark44 said:
Linear independence, whether of vectors or functions, is very similar.

Two vectors are linearly independent if the only solution to the equation c1v1 + c2v2 = 0 is c1 = c2 = 0. Note that c1 = c2 = 0 is a solution to this equation if the vectors are linearly dependent, but this is not the only solution.


Similarly, two functions are linearly independent if the only solution to the equation c1f1(t) + c2f2(t) = 0, for all t in the common domain of these functions.

For your question about the ODE, if you have two functions y1(x) and y2(x), and neither one is the zero function, the two functions will be linearly independent if neither one is a multiple of the other. For example, if the functions are cos(x) and 2cos(x), neither is the zero function, but each one is some multiple of the other, so they are linearly dependent. Going back to the definition of linear independence, the equation c1cos(x) + c22cos(x) = 0, has many solutions where c1 and c2 are not both zero -- namely, c1 = -2, c2 = 1.

On the other hand, if the two solutions are cos(x) and sin(x), neither function is the zero function, and neither function is a multiple of the other, so it turns out that these functions are linearly independent.

Hi and thanks for your answer,

So no need to use the properties of Wronskian to show linear independence of y1 and y2?

Final question. I need to show that W(y1,y2) = 1 by my question here is the following. Since p and q are unknown do I then just discard them and write up the general solution

y = c1 exp(r1*t) + c2 exp(r2*t) and take take the wronskian on solution? In order to show that w(y1,y2) = 1 ??
 
Susanne217 said:
So no need to use the properties of Wronskian to show linear independence of y1 and y2?
If you have just two functions, you can usually tell by inspection if they are multiples of each other, so it's relatively easy to see if two functions are not independent. But that's not the same as proving linear independence. Using the Wronskian is a quick way to do that if it works.
Final question. I need to show that W(y1,y2) = 1 by my question here is the following. Since p and q are unknown do I then just discard them and write up the general solution

y = c1 exp(r1*t) + c2 exp(r2*t) and take take the wronskian on solution? In order to show that w(y1,y2) = 1 ??
No, you can't do that because the solutions will depend on what p(x) and q(x) are. Can you give us the complete problem you're trying to do?
 
vela said:
If you have just two functions, you can usually tell by inspection if they are multiples of each other, so it's relatively easy to see if two functions are not independent. But that's not the same as proving linear independence. Using the Wronskian is a quick way to do that if it works.

No, you can't do that because the solutions will depend on what p(x) and q(x) are. Can you give us the complete problem you're trying to do?

Its a three part question vela,

First part is having that ode mentioned in orginally post.

y'' + p(x)y' + q(x)y = 0

where x belongs to the interval I and x_0 \in I assume that y_1(x) \neq 0


Show that the second solution of the ode can be expressed

y_2(x) = y_1(x) \int_{x_0}^{x} \frac{1}{y_1(t)^2}e^{-\int_{x_0}^{t} p(u) du}dt

Assuming that y_1(x) is a solution of the original equation. Then
y_2(x) = y_1(x) \cdot v(x) is the second solution of the ode where v(x) is an unknown funct.

by taking the derivative of y_2(x) (since this a solution) I plug the respective first order and second order derivative of y2 into the original equation and obtain

\frac{v''(t)}{v'(t)} + 2\cdot \frac{y_1'(t)}{y_1(t)} + p(u) = 0

This eqn is seperable and thus by v'' = w

then I obtain

\frac{w'(t)}{w(t)} + 2\cdot \frac{y_1'(t)}{y_1(t)} = - p(u) du

and by integrating on both sides with the their respective variables

I get

ln|w(t) \cdot y_1^2(t)| = - \int p(u) du

I take exp on both sides of the equality and obtain

w(t) \cdot y_1^2(t) = e^{- \int p(u) du}

which by integrating again yields

v = c_1\cdot \int e^{- \int p(u) du}dt + c_2 and by choosing c1= 1 and c2 = 0 then I obtain

y_2(x) = y_1(x) \int_{x_0}^{x} \frac{1}{y_1(t)^2}e^{-\int_{x_0}^{t} p(u) du}dt

which is the second solution for the ode. where the solution set is defined on the interval x_0 \leq t \leq x and integrant p on the subinterval x_0 \leq u \leq t

What I know about p and q that they are functions defined on I.

That leads to the second question, vela.

2) Show that (I,y1) and (I,y2) are linear independent.

Well I can't check the wronskian for the ode since p and q aren't givin exact? Do I choose a couple of functions to represent p and q and calculate the solution set of y1 and y2 and if this yields a wronskian different from zero then by magic their solution funct y1(x) and y2(x) are linear independent?
 
Last edited:
You can calculate the Wronskian

W=y_1'y_2-y_1y_2'

using the product rule and the fundamental theorem of calculus to find the derivative of y2. It should simplify down to

W=e^{-\int p(u) du}

You can only get W=1 if you can assume p(x)=0.
 
vela said:
You can calculate the Wronskian

W=y_1'y_2-y_1y_2'

using the product rule and the fundamental theorem of calculus to find the derivative of y2. It should simplify down to

W=e^{-\int p(u) du}

You can only get W=1 if you can assume p(x)=0.

thank you vela ;)

What about my answer of question one. Have I assumed it correctly?
 
Susanne217 said:
\frac{v''(t)}{v'(t)} + 2\cdot \frac{y_1'(t)}{y_1(t)} + p(u) = 0
p(u) should be p(t) in the differential equation. You change the variable when you integrate.

\int_a^t \left(\frac{v''(u)}{v'(u)} + 2\cdot \frac{y_1'(u)}{y_1(u)}\right)\,du = -\int_a^t p(u)\,du

which gives you

\ln\left|\frac{w(t) y_1^2(t)}{w(a)y_1^2(a)}\right| = - \int_a^t p(u) du

The stuff that depends on the lower limit a are just constants; they correspond to what you called c1. As you noted, you can always rescale y1 to make it equal to 1.
 
vela said:
p(u) should be p(t) in the differential equation. You change the variable when you integrate.

\int_a^t \left(\frac{v''(u)}{v'(u)} + 2\cdot \frac{y_1'(u)}{y_1(u)}\right)\,du = -\int_a^t p(u)\,du

which gives you

\ln\left|\frac{w(t) y_1^2(t)}{w(a)y_1^2(a)}\right| = - \int_a^t p(u) du

The stuff that depends on the lower limit a are just constants; they correspond to what you called c1. As you noted, you can always rescale y1 to make it equal to 1.

Okay but besides from the this it looks okay? :)

But am I correct to assume that what I do do obtain y2 is to define p(u) over a subinterval of (x0,x)??
 
  • #10
It looks fine to me. I'm not sure what you're asking about defining p(x). The function has to be defined on I.
 

Similar threads

Replies
1
Views
2K
Replies
2
Views
1K
  • · Replies 2 ·
Replies
2
Views
3K
Replies
19
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K