Differential Equation w/ Power Series Solution

In summary: And 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 _{
  • #1
DivGradCurl
372
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
  • #2
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.
 
  • #3
Oh... I've got it. Thanks
 
  • #4
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:
 
  • #5
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:

1. What is a power series solution?

A power series solution is a method for solving a differential equation by representing the solution as an infinite series of powers of the independent variable. This allows for an approximate solution to be found for a wide range of differential equations.

2. How is a power series solution different from other methods of solving differential equations?

A power series solution is different from other methods because it involves representing the solution as a series, rather than a single function. This allows for more flexibility in finding an approximate solution, as well as the ability to solve a wider range of differential equations.

3. What is the process for solving a differential equation using a power series solution?

The process for solving a differential equation using a power series solution involves substituting the power series into the differential equation, and then solving for the coefficients of the series. This typically involves using algebraic manipulation and solving recurrence relations to determine the coefficients.

4. What types of differential equations can be solved using a power series solution?

A power series solution can be used to solve a wide range of differential equations, including both ordinary and partial differential equations. It is particularly useful for solving non-linear and boundary value problems.

5. Are there any limitations to using a power series solution for differential equations?

One limitation of using a power series solution is that it may not always converge to the true solution of the differential equation. This is especially true for non-linear equations, where the approximation may only be valid for a small range of values. Additionally, finding the coefficients of the series may be computationally intensive for more complex equations.

Similar threads

  • Introductory Physics Homework Help
Replies
8
Views
394
  • Introductory Physics Homework Help
Replies
22
Views
372
  • Introductory Physics Homework Help
Replies
12
Views
722
  • Introductory Physics Homework Help
Replies
3
Views
194
  • Introductory Physics Homework Help
Replies
5
Views
456
  • Introductory Physics Homework Help
Replies
3
Views
113
  • Introductory Physics Homework Help
Replies
1
Views
896
  • Introductory Physics Homework Help
Replies
2
Views
297
  • Introductory Physics Homework Help
Replies
9
Views
580
  • Introductory Physics Homework Help
Replies
10
Views
250
Back
Top