Differential Equation w/ Power Series Solution

Click For Summary

Homework Help Overview

The discussion revolves around a differential equation of the form y' = x^2 y, with a focus on finding a power series solution. Participants are comparing their results with a provided correct answer from a textbook, which is expressed in terms of an exponential function.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning

Approaches and Questions Raised

  • The original poster attempts to derive a power series solution and expresses concern over discrepancies with the textbook answer. Some participants suggest checking the recursion relations for coefficients, while others propose alternative methods for solving the differential equation.

Discussion Status

Some participants have offered insights into the recursion relations, indicating that certain coefficients may be zero. Others have suggested using known series expansions or separation of variables as alternative approaches. There is an ongoing exploration of different methods without a clear consensus on the best approach.

Contextual Notes

Participants are working under the constraints of homework guidelines, which may limit the methods they can use or the depth of their solutions. The discussion reflects varying interpretations of the problem setup and the assumptions involved in the solution process.

DivGradCurl
Messages
364
Reaction score
0
Problem

[tex]y^{\prime} = x^2 y[/tex]

General Comments

There must be some kind of flaw in my solution as I don't get to the same result as the one my book provides:

[tex]y = c_0 \sum _{n=0} ^{\infty} \frac{x^{3n}}{3^n n!} = c_0 e^{x^3 / 3} \qquad \fbox{CORRECT ANSWER}[/tex]

Any help is highly appreciated.

My Solution

If

[tex]y = \sum _{n=0} ^{\infty} c_n x^n \Longrightarrow x^2 y = \sum _{n=0} ^{\infty} c_n x^{n+2} = \sum _{n=3} ^{\infty} c_{n-3} x^{n-1}[/tex]

and

[tex]y^{\prime} = \sum _{n=1} ^{\infty} n c_n x^{n-1}[/tex]

Then

[tex]\sum _{n=1} ^{\infty} n c_n x^{n-1} = \sum _{n=3} ^{\infty} c_{n-3} x^{n-1} \Longrightarrow c_{n-3} = nc_n \quad n=3,4,5,\ldots[/tex]

Hence, I ultimately get

[tex]y = c_0 + c_1 x + c_2 x^2 + c_0 \sum _{n=1} ^{\infty} \left[ \frac{x^{3n}}{3\cdot 6\cdot 9\cdot \cdots \cdot \left( 3n \right) } \right] + c_1 \sum _{n=2} ^{\infty} \left[ \frac{x^{3n-2}}{4\cdot 7\cdot 10\cdot \cdots \cdot \left( 3n-2 \right) } \right] + c_2 \sum _{n=2} ^{\infty} \left[ \frac{x^{3n-1}}{5\cdot 8\cdot 11\cdot \cdots \cdot \left( 3n-1 \right) } \right] \qquad \fbox{MY ANSWER}[/tex]

Thank you very much!
 
Physics news on Phys.org
If you do your recursion relation carefully you will find that [itex]c_1 = c_2 = 0[/itex] since [itex]c_n = 0[/itex] for n < 0.
 
Oh... I've got it. Thanks
 
thiago_j said:
Oh... I've got it. Thanks

Cheating method:Why bother with stinky recursion relations,when u can use a series already known?? :wink:

[tex]\frac{dy}{dx} =y x^2[/tex] from which,by separating variables and integrating,one gets:
[tex]y=C\exp(\frac{x^3}{3})[/tex].To find the series the problem asks you about,plug [itex]\frac{x^3}{3}[/itex] in the power series of [itex]\exp{x}[/itex] and you'll have your answer.

PS.This cheating trick works,as the differential eq.is easily solvable exactly.In general,it does not. :wink:
 
Just a final check...

------------------------------

Method #1

How about...

[tex]y = c_0 + c_1 x + c_2 x^2 + c_0 \sum _{n=1} ^{\infty} \left[ \frac{x^{3n}}{3\cdot 6\cdot 9\cdot \cdots \cdot \left( 3n \right) } \right] + c_1 \sum _{n=2} ^{\infty} \left[ \frac{x^{3n-2}}{4\cdot 7\cdot 10\cdot \cdots \cdot \left( 3n-2 \right) } \right] + c_2 \sum _{n=2} ^{\infty} \left[ \frac{x^{3n-1}}{5\cdot 8\cdot 11\cdot \cdots \cdot \left( 3n-1 \right) } \right][/tex]

So, [tex]c_1 = c_2 = 0[/tex] ( I don't see clearly why ) . Then, we find

[tex]y = c_0 + c_0 \sum _{n=1} ^{\infty} \left[ \frac{x^{3n}}{3\cdot 6\cdot 9\cdot \cdots \cdot \left( 3n \right) } \right] = c_0 \sum _{n=0} ^{\infty} \frac{x^{3n}}{3^{n}n!} = c_0 e^{x^3 /3}[/tex]

------------------------------

Method #2

[tex]\frac{dy}{dx} = x^2 y \Longrightarrow \int \frac{1}{y}dy = \int x^2 dx[/tex]

Then

[tex]\ln y = \frac{x^3}{3} \Longrightarrow y = Ce^{x^3/3}[/tex]

where [tex]C = c_0[/tex]
 
Last edited:

Similar threads

  • · Replies 21 ·
Replies
21
Views
2K
  • · Replies 8 ·
Replies
8
Views
1K
  • · Replies 1 ·
Replies
1
Views
1K
Replies
12
Views
2K
  • · Replies 22 ·
Replies
22
Views
2K
Replies
3
Views
2K
Replies
5
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
5K
Replies
8
Views
2K