Solution to 2nd O.D.E. using power seris

  • Context: Graduate 
  • Thread starter Thread starter Jayzar_1
  • Start date Start date
  • Tags Tags
    Power
Click For Summary
SUMMARY

The solution to the second-order differential equation y'' + xy = x^2 with initial conditions y(0) = 1 and y'(0) = 0 is derived using power series. The assumed solution is y(x) = Σ(a_n * x^n), leading to a recursive relationship for the coefficients. The coefficients are determined as a0 = 1, a1 = 0, a2 = 2, a3 = 1, a4 = 2/3, and a5 = 1/6. The final solution is y(x) = 1 + 2x + x^2 + (2/3)x^3 + (1/6)x^4 + ...

PREREQUISITES
  • Understanding of second-order differential equations
  • Familiarity with power series expansions
  • Knowledge of recursive relations in sequences
  • Basic calculus, including differentiation and initial conditions
NEXT STEPS
  • Study the method of power series solutions for differential equations
  • Learn about Maclaurin series and their applications
  • Explore recursive sequences and their convergence properties
  • Investigate other types of differential equations and their solution techniques
USEFUL FOR

Mathematicians, physics students, and engineers who are solving differential equations using power series methods.

Jayzar_1
Messages
1
Reaction score
0
Can anyone show me a complete solution to the problem below using power series?

y"+xy=x^2 y(0)=1 , y'(0)=0
 
Physics news on Phys.org
Start with assuming a solution in the form of a power series:
[tex]y=\sum_{n=0}^{\infty}a_nx^n[/tex]

Plug it into your differential equation and simplify. I think you should get a recursive relation between your coefficients whose initial values [itex]a_0[/itex] and [itex]a_1[/itex] can be determined from your initial conditions.
 
Last edited:


Yes, I can provide a complete solution to this problem using power series. First, we will rewrite the equation as a series expansion:

y" + xy = x^2
= y" + x(y-1+1) = x^2
= y" + xy - x + x = x^2
= y" + x(y-1) + (x-1) = x^2
= y" + x(y-1) + (x-1)^2 = x^2

Next, we will assume that y can be written as a power series in x:

y(x) = a0 + a1x + a2x^2 + a3x^3 + ...

Substituting this into the equation, we get:

y" + x(y-1) + (x-1)^2 = x^2
= (a2 + 2a3x + 3a4x^2 + ...) + x(a0 + a1x + a2x^2 + ...) - a0 - a1x + (x^2 - 2x + 1) = x^2

Equating coefficients of each power of x, we get the following equations:

a2 + a0 - a0 = 0
2a3 + a1 - a1 - 2 = 0
3a4 + a2 - a2 - 2 = 0
...

Solving for each coefficient, we get:

a0 = 1
a1 = 0
a2 = 2
a3 = 1
a4 = 2/3
a5 = 1/6
...

Therefore, the solution to the given equation is:

y(x) = 1 + 2x + x^2 + (2/3)x^3 + (1/6)x^4 + ...

To satisfy the initial conditions, we can use the formula for the Maclaurin series to find the derivatives of y at x = 0:

y'(x) = a1 + 2a2x + 3a3x^2 + ...
= 0 + 2(2) + 3(1)x + ...
= 4 + 3x + ...

y"(x) = 2a2 + 2(3)a3x + ...
= 2(2) + 2
 

Similar threads

  • · Replies 24 ·
Replies
24
Views
6K
  • · Replies 8 ·
Replies
8
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 2 ·
Replies
2
Views
5K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 0 ·
Replies
0
Views
5K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K