Linear homoheneous ODE question

  • Thread starter Thread starter gomunkul51
  • Start date Start date
  • Tags Tags
    Linear Ode
gomunkul51
Messages
275
Reaction score
0

Homework Statement



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

p(x), q(x) continuous for x = (-1,1)

Homework Equations



I. prove that if y1 is an answer to the ODE and y1(0) = y'1(0) = 0.
then: y1 = 0 for all x = (-1,1).

II. if y1 is an answer to the ODE, how would you find the second non-dependent answer to the ODE y2?

III. prove that the two solutions you got, y1 and y2 are independent.

The Attempt at a Solution



Hello!

I just can't wrap my head around this question.
i know i can answer II if i knew what p(x) and q(x) were.

general answer:
y(x)=A*y1+B*y2
y'(x)=A*y'1+B*y'2
y''(x)=A*y''1+B*y''2

A,B=const.

if I insert the above in the ODE i get:
y2'' + p(0)y2' + q(0)y2 = 0

also i can prove that they are linearly independent by the Wronskian(y1,y2)(x)

can someone please help me with the idea behind answering I. ? :)
 
Last edited:
Physics news on Phys.org
gomunkul51 said:

Homework Statement



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

p(x), q(x) continuous for x = (-1,1)


Homework Equations



I. prove that if y1 is an answer to the ODE and y1(0) = y'1(0) = 0.
then: y1 = 0 for all x = (-1,1).
Since p and q are continuous on (-1, 1), this equation satifies the conditions for the "existance and uniqueness" theorem- there exist only one function satifying this equation with taking specfic values of y(0) and y'(0).

It is clear that y(x)= 0 for all x in (-1, 1) satisfies the the equation and, certainly y(0)= 0, y'(0)= 0. Since that solution is unique, y1(x)= y(x)= 0.

II. if y1 is an answer to the ODE, how would you find the second non-dependent answer to the ODE y2?

III. prove that the two solutions you got, y1 and y2 are independent.

The Attempt at a Solution



Hello!

I just can't wrap my head around this question.
i know i can answer II if i knew what p(x) and q(x) were.

general answer:
y(x)=A*y1+B*y2
y'(x)=A*y'1+B*y'2
y''(x)=A*y''1+B*y''2

A,B=const.

if I insert the above in the ODE i get:
y2'' + p(0)y2' + q(0)y2 = 0

also i can prove that they are linearly independent by the Wronskian(y1,y2)(x)

can someone please help me with the idea behind answering I. ? :)
 
thank you for your reply.

the part i don't understand is how you extrapolate from knowing the answer at a single point (x=0) to knowing that y1=0 for all x (-1,1) ?

of course it's known that in a linear equation always exists a trivial answer y(x)=0, but its only one answer, how can it help me to determine that y1=0 for all x=(-1,1)?

also how can i find p(0) and q(0), if i can ?
 
Did you read the first paragraph of HallsofIvy's post?

In your problem, not only do you know y=0 is a solution that satisfies the initial conditions, you know it is the only solution that does.
 
again, I don't understand how knowing that if y=0 if a single solution to the ODE, can i know that y1=0 for all x (-1,1)?

if its so then my answer y(x) to the ODE consists only of one solution C*y2(x) because the other linearly independent solution y1(x)=0, but it couldn't be true because i need to have 2 linearly independent solutions to answer an linear ODE.

also if you see what's my problem is can you please explain it to me, clearly i don't understand what's going on, so don't assume i know the answer :)
 
Do you know "unique" means? Do you know what the "existence and uniqueness theorem" is?

And no one said that "the other linearly independent solution y1(x)=0". y(x)= 0 is always a solution to a linear homogeneous differential equation. The two "linearly independent solutions" must be non-zero solutions since any set of vectors containing the 0 vector is NOT linearly independent.
 
This was the question:

I. prove that if y1 is an answer to the ODE and y1(0) = y'1(0) = 0.
then: y1 = 0 for all x = (-1,1).

can someone non-cryptically explain why it is so? :)

HallsofIvy thank you for your response but its a semi-theoretical question that I'm trying to understand, it's not homework. also I'm done with my ODE course

and if anyone is kind enough i would love to have a full explanation.
 
You're confusing the solutions to the differential equation and the solution to the initial value problem. There is only one solution that satisfies the differential equation and the initial conditions.
 
gomunkul51 said:
This was the question:

I. prove that if y1 is an answer to the ODE and y1(0) = y'1(0) = 0.
then: y1 = 0 for all x = (-1,1).

can someone non-cryptically explain why it is so? :)

HallsofIvy thank you for your response but its a semi-theoretical question that I'm trying to understand, it's not homework. also I'm done with my ODE course

and if anyone is kind enough i would love to have a full explanation.
So what you are really asking for is a proof of the "existence and uniqueness" theorem! You would start by proving:

If f(x,y) is continuous in both variables and "Lipschitz" in y (differentiable with respect to y is sufficient but not necessary) in some neighborhood of (x_0, y_0), then there exist a unique function y(x) satisfying dy/dx= f(x,y) with y(x_0)= y_0.

That's a fairly complicated theorem in its own right but any good differential equations textbook should give it. Look for "existence" or "uniqueness" in the index.

To extend that to second order equations, you do this:

Let u= y' so that u'= y" and the equation y"+ p(x)y'+ q(x)y= 0 becomes u'+ p(x)u+ q(x)y= 0 or u'= -p(x)u- q(x)y. Together with y'= u that gives you two linked first order differential equations. Now Let
Y(x)= \begin{pmatrix}u(x) \\ y(x)\end{pmatrix}
so we can write
\begin{pmatrix}u'(x)\\ y'(x)\end{pmatrix}= Y'= \begin{pmatrix}-p(x) & -q(x) \\1 & 0\end{pmatrix}\begin{pmatrix}u \\ y\end{pmatrix}= AY
so the second order differential equation becomes a first derivative equation in the vector function Y(x).

As long as p(x) and q(x) are differentiable, this equation satisfies the existence and uniqueness theorem above (of course you have to prove that you can extend it to vector functions- that's not hard). The condition that y(0)= 0, y'(0)= u(0)= 0 becomes
Y(0)= \begin{pmatrix}u(0) \\ y(0)\end{pmatrix}= \begin{pmatrix}0 \\ 0 \end{pmatrix}.

Since the function y(x)= 0 for all x satisfies y''+ p(x)y'+ q(x)y= 0 as well as y(0)= 0, y'(0)= 0, it follows from the "uniquness" that it is the only function that satisfies that equation with those conditions.

Of more interest, in my opinion, is the fact that there exist a unique function, say y_1(x), satisfying that equation and the conditions y_1(0)= 1, y_1'(0)= 0 and there exist a unique function, y_2(x), satisfying the equation and y_2(0)= 0, y_2'(0)= 1.

Suppose y is any equation satisfying the differential equation. Then y(0) is some number, say A, and y'(0) is some number, say B. It follows that y(x)= Ay_1(x)+ By_2(x)! Why? Because y'(x)= Ay_1'(x)+ By_2'(x) and y"(x)= Ay_1"(x)+ By_2"(x) so that y"+ p(x)y'+ q(x)y= (Ay_1"+ By_2")+ p(x)(Ay_1'+ By_2')+ q(x)(Ay_1+ By_2)= A(y_1"+ p(x)y_1'+ q(x)y_1)+ B(y_2"+ p(x)y_1'+ q(x)y_2)= A(0)+ B(0)= 0 while Ay_1(0)+ By_2(0)= A(1)+ B(0)= A and Ay_1'(0)+ By_2'(0)= A(0)+ B(1)= B.

That is, y(x) and Ay_1(x)+ By_2(x) satisfy the same differential equation as well as the same "initial conditions" and so, by the uniqueness property, are equal.

Further, it is easy to show that y_1(x) and y_2(x) are "independent": if Ay_1(x)+ By_2(x)= 0 (meaning equal to 0 for all x), then, taking x= 0, A(1)+ B(0)= 0 so A= 0. Differentiating both sides, Ay_1'(x)+ By_2'(x)= 0 and again taking x= 0, A(0)+ B(1)= 0 so B= 0.

That tells us that y_1(x) and y_2(x) for a basis for the set of all solutions to that equation and so the set of all solutions is a vector space of dimension 2.

That can be extended to show that the set of all solutions to an n^{th} order, linear, homogeneous differential equation is a vector space of dimension n.
 
Last edited by a moderator:
Back
Top