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

  • Context: Graduate 
  • Thread starter Thread starter bballing1210
  • Start date Start date
Click For Summary

Discussion Overview

The discussion revolves around solving two ordinary differential equations (ODEs): the first is y"' - xy' = 0 with specified initial conditions, and the second is 3y" - y' + (x+1)y = 1, also with initial conditions. Participants explore methods such as power series expansions and recurrence relations to find solutions.

Discussion Character

  • Exploratory
  • Technical explanation
  • Homework-related
  • Mathematical reasoning

Main Points Raised

  • One participant describes their approach using power series expansion for the first ODE and notes difficulties with the recurrence relation and initial conditions.
  • Another participant suggests letting u = y' to transform the first equation into u'' = xu, indicating that u(x) = 0 is a solution, leading to y(x) = 1 as a constant solution that satisfies the initial conditions.
  • For the second ODE, a participant outlines the process of substituting power series for y, y', and y'' into the equation, and discusses changing dummy indices to align powers in the series.
  • There is a discussion about the coefficients in the series, with one participant questioning the handling of the coefficient of 3 in front of y'' and whether it was factored into the series solution.
  • Another participant acknowledges an error in dropping the coefficient of 3 and corrects it in their subsequent response.
  • Participants express uncertainty about finding a general formula for the recurrence relation and discuss the possibility of leaving answers in that form.

Areas of Agreement / Disagreement

Participants generally agree on the methods to approach the problems, but there are differing views on specific steps and the handling of coefficients in the second ODE. The discussion remains unresolved regarding the best approach to the recurrence relations and the general formula.

Contextual Notes

Some participants express uncertainty about the correctness of their methods and the implications of their calculations, particularly regarding the series expansions and initial conditions. There are also unresolved issues related to the manipulation of series and coefficients.

Who May Find This Useful

Students and educators interested in ordinary differential equations, particularly those involving power series methods and initial value problems, may find this discussion relevant.

bballing1210
Messages
3
Reaction score
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
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 y= \sum_{n=0}^\infty a_nx^n, y'= \sum_{n=1}^\infty na_nx^n and y''= \sum_{n=2}^\infty n(n-1)a_nx^{n-2} so the equation becomes
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
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
3\sum_{j=0}^\infty (j+2)(j+1)a_{j+2}x^j
In the second sum, let j= n- 1 so it becomes
\sum_{j= 0}^\infty (j+1)a_{j+1}x^j
In the third sum, let j= n+ 1 so that n= j- 1 and it becomes
\sum_{j= 1}^\infty a_{j-1}x^j.
Finally, in the fourth sum, let j= n so it becomes
\sum_{j= 0}^\infty a_jx^j

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

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

Then a_3= (2a_2- a_0- a_1)/18)= 1/18, a_4= (2a_3- a_1- a_2)/36= -1/648, a_5= (2a_4- a_2- a_3)/90 etc. Yes, it wil probably be difficult to find a general formula. Are you required to?
 
Last edited by a moderator:
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!
 
Yes, I accidently dropped the 3. I've gone back and corrected that. Hope its right this time!
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 7 ·
Replies
7
Views
5K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 52 ·
2
Replies
52
Views
8K