Compute the solution of y"' - xy' = 0

  • Thread starter bballing1210
  • Start date
In summary: Thanks!In summary, both problems have the same solution as long as you factor in the coefficient of 3 in front of y.
  • #1
bballing1210
3
0
Hi all,

I've been having trouble answering these two ODE problems. Hopefully someone can help me out.

1. Compute the solution of y"' - xy' = 0 which satisfies y(0) = 1, y'(0) = 0, and y"(0) = 0.

I've tried using the power series expansion for y and substituting it in and getting the recurrence relation, but when I substitute back the initial conditions I'm getting the two series cancelling out which I don't think is right.

2. Solve the initial value problem 3y" - y' + (x+1)y = 1 with y(0) = y'(0) = 0

For this one, I know you have to compute both the power series expansion as well as a particular solution through substitution to be able to apply the initial conditions, but I'm seriously stuck in even thinking about what to substitute, let alone how to tackle this. I tried to start developing out the recurrence relationship, but it got really messy and I don't think I'm doing it right.

Thanks a lot to whoever can help, I really appreciate it!
 
Physics news on Phys.org
  • #2
bballing1210 said:
Hi all,

I've been having trouble answering these two ODE problems. Hopefully someone can help me out.

1. Compute the solution of y"' - xy' = 0 which satisfies y(0) = 1, y'(0) = 0, and y"(0) = 0.

I've tried using the power series expansion for y and substituting it in and getting the recurrence relation, but when I substitute back the initial conditions I'm getting the two series cancelling out which I don't think is right.
Yes, that's exactly what has to happen! The first thing I would do is let u= y' so the equation becomes u''= xu, u(0)= 0, u'(0)= 0. That satisfies all the conditions for "existence and uniqueness" of solutions and u(x)= 0 for all x is an obvious solution. That means that y is the constant function: y(x)= 1 for all x satisfies the differential equation and initial conditions.


2. Solve the initial value problem 3y" - y' + (x+1)y = 1 with y(0) = y'(0) = 0

For this one, I know you have to compute both the power series expansion as well as a particular solution through substitution to be able to apply the initial conditions, but I'm seriously stuck in even thinking about what to substitute, let alone how to tackle this. I tried to start developing out the recurrence relationship, but it got really messy and I don't think I'm doing it right.

Thanks a lot to whoever can help, I really appreciate it!
Doesn't look too bad. Letting [itex]y= \sum_{n=0}^\infty a_nx^n[/itex], [itex]y'= \sum_{n=1}^\infty na_nx^n[/itex] and [itex]y''= \sum_{n=2}^\infty n(n-1)a_nx^{n-2}[/itex] so the equation becomes
[tex]3\sum_{n=2}^\infty n(n-1)a_nx^{n-2}- \sum_{n=1}^\infty na_mx^{n-1}+ \sum_{n=0}^\infty a_mx^{n+1}+ \sum_{n=0}^\infty a_nx^n= 1[/tex]
To get the same powers, change the dummy indices: in the first sum, let j= n-2 so that n= j+ 2 and it becomes
[tex]3\sum_{j=0}^\infty (j+2)(j+1)a_{j+2}x^j[/tex]
In the second sum, let j= n- 1 so it becomes
[tex]\sum_{j= 0}^\infty (j+1)a_{j+1}x^j[/tex]
In the third sum, let j= n+ 1 so that n= j- 1 and it becomes
[tex]\sum_{j= 1}^\infty a_{j-1}x^j[/tex].
Finally, in the fourth sum, let j= n so it becomes
[tex]\sum_{j= 0}^\infty a_jx^j[/tex]

Note that the third sum does not start until j= 1 (since it starts with [itex]x^1[/itex]) so for j= 0 we have
[tex]6a_2- a_1+ a_0= 1[/tex]
so that [itex]a_2= (a_1- a_0+ 1)/6[/itex]
since we are given that [itex]a_0= y(0)= 0[/itex] and [itex]a_1= y'(0)= 0[/itex]
that tells us that [itex]a_2= 1/6[/itex].

For j> 0, we have
[tex]3(j+2)(j+1)a_{j+2}- (j+1)a_{j+1}+ a_{j-1}+ a_j= 0[/tex]
or
[tex]a_{j+2}= \frac{(j+1)a_{j+1}- a_{j-1}- a_j}{3(j+2)(j+ 1)}[/tex]

Then [itex]a_3= (2a_2- a_0- a_1)/18)= 1/18[/itex], [itex]a_4= (2a_3- a_1- a_2)/36= -1/648[/itex], [itex]a_5= (2a_4- a_2- a_3)/90[/itex] etc. Yes, it wil probably be difficult to find a general formula. Are you required to?
 
Last edited by a moderator:
  • #3
Hi. Thanks a lot for the help!

For number 2, what happened to the coefficient of 3 in front of the y"? You don't factor this into the series solution?

And I think we're allowed to keep the answers in a recurrence relation as long as it's correct, so I think that's what I'll do and I'll list out some terms in the series for clarification. Thanks!
 
  • #4
Yes, I accidently dropped the 3. I've gone back and corrected that. Hope its right this time!
 
  • #5


I would suggest using the method of Frobenius to solve these ODEs. This method involves finding a series solution for y and then substituting it back into the original equation to determine the recurrence relation and solve for the coefficients.

For the first problem, we can start by assuming a series solution of the form y = ∑anxn. Substituting this into the equation, we get:

∑n(n-2)(n-1)anxn-2 - x∑nanxn = 0

We can then simplify this to:

∑n(n-2)(n-1)anxn-2 - ∑n(n-1)anxn = 0

Next, we can separate out the first few terms and use the initial conditions to determine the coefficients:

a0 = 1
a1 = 0
a2 = 0

Substituting these values back into the equation, we get:

2a3 - a2 = 0
a3 = 0

Continuing this process, we can see that all coefficients after a2 will be zero, resulting in y = 1 as the solution.

For the second problem, we can use a similar approach. Assuming a series solution of the form y = ∑anxn, we can substitute it into the equation and simplify to get:

∑n(n-1)(3an+1)xn-1 + ∑nanxn+1 = 1

Using the initial conditions, we can determine the first few coefficients:

a0 = 0
a1 = 0
a2 = 1/6

Substituting these values back into the equation, we can solve for the remaining coefficients:

a3 = -1/120
a4 = 1/720

Thus, the solution is y = 1/6x^2 - 1/120x^3 + 1/720x^4 + ... which satisfies the initial conditions.

In conclusion, using the method of Frobenius can help us solve these ODEs and determine the series solutions that satisfy the given initial conditions. It may seem daunting at first, but with practice, it becomes easier to apply.
 

1. What does "xy' = 0" mean in terms of computing the solution of y?

It means that the function y is constant, and its value does not change as x increases or decreases.

2. How do you solve "xy' = 0"?

The solution of y is found by integrating the equation, which involves finding the antiderivative of y' with respect to x. This results in y = C, where C is a constant.

3. What is the general solution to "xy' = 0"?

The general solution to this equation is y = C, where C is any constant. This is because any constant value for y satisfies the equation.

4. Can "xy' = 0" have multiple solutions?

Yes, since the constant C can take on any value, there are infinitely many solutions to this equation.

5. What is the significance of "xy' = 0" in mathematical applications?

This equation is commonly used in physics and engineering to represent a situation where the rate of change of a variable (y') is directly proportional to another variable (x), resulting in a constant value for y. It is also used in differential equations to find the general solution.

Similar threads

  • Differential Equations
Replies
5
Views
1K
Replies
7
Views
2K
  • Differential Equations
Replies
3
Views
2K
  • Differential Equations
Replies
7
Views
1K
  • Differential Equations
Replies
3
Views
1K
  • Differential Equations
2
Replies
52
Views
818
  • Differential Equations
Replies
2
Views
992
  • Differential Equations
Replies
2
Views
3K
  • Differential Equations
Replies
4
Views
2K
  • Differential Equations
Replies
5
Views
653
Back
Top