What is the power series solution to this differential equation?

In summary: Maybe it means that you should point out that a1 can be anything, and that there are an infinite number of solutions, and that the general solution is y = Cx (where C is any constant) …but I don't see any discrepancies anyway. In summary, the conversation discusses solving a differential equation by making substitutions and rearranging the equation to obtain a recurrence relation. The conversation also addresses the issue of discrepancies in the solution and concludes that the general solution is y = Cx, where C is any constant.
  • #1
Ted123
446
0

Homework Statement



[PLAIN]http://img59.imageshack.us/img59/2091/diffeq.png
[PLAIN]http://img684.imageshack.us/img684/6748/diffeqp.png

The Attempt at a Solution



Making the substitutions [tex]y= \sum_{n=0}^{\infty} a_n x^n[/tex] and [tex]y^{\prime} = \sum_{n=0}^{\infty}na_nx^{n-1},[/tex]

[tex]\begin{align*}
y'-2xy & = \sum_{n=0}^{\infty} (na_nx^{n-1} - 2xa_nx^n )\\
&= \sum_{n=0}^{\infty} na_nx^{n-1} - \sum_{n=0}^{\infty} 2xa_nx^n\\
&= \sum_{n=1}^{\infty} na_nx^{n-1} - 2\sum_{n=0}^{\infty} a_nx^{n+1}\\
&= \sum_{n=1}^{\infty} na_nx^{n-1} - 2\sum_{n=0}^{\infty} a_nx^{n+1}
\end{align*}
[/tex]

Now I'm having trouble seeing how to shift the summation index to combine the 2 sums into one and to have one coefficient of [tex]x^{n+1}[/tex]
 
Last edited by a moderator:
Physics news on Phys.org
  • #2
Hi Ted123! :smile:

(on this forum, use "tex", or "itex" for inline latex, rather than "latex" …

and then no need for "begin" etc :wink:)


You need to get everything with the same exponent …

so change that ∑…xn-1 to ∑…xn :smile:
 
  • #3
tiny-tim said:
Hi Ted123! :smile:

(on this forum, use "tex", or "itex" for inline latex, rather than "latex" …

and then no need for "begin" etc :wink:)


You need to get everything with the same exponent …

so change that ∑…xn-1 to ∑…xn :smile:

Just think it's easier to read if I align the equations :smile:

[tex]\begin{align*}
y'-2xy & = \sum_{n=0}^{\infty} (na_nx^{n-1} - 2xa_nx^n )\\
&= \sum_{n=0}^{\infty} na_nx^{n-1} - \sum_{n=0}^{\infty} 2xa_nx^n\\
&= \sum_{n=1}^{\infty} na_nx^{n-1} - 2\sum_{n=0}^{\infty} a_nx^{n+1}\\
&= \sum_{n=1}^{\infty} na_nx^{n-1} - 2\sum_{n=0}^{\infty} a_nx^{n+1}\\
&= \sum_{n=0}^{\infty} (n+1)a_{n+1}x^n - 2\sum_{n=0}^{\infty} a_nx^{n+1}
\end{align*}
[/tex]

The problem is the RHS sum has [tex]x^{n+1}[/tex] not [tex]x^n[/tex]

EDIT: Just realized I can do this:

[tex]a_1+\sum\limits_{n=1}^{\infty} [(n+1)a_{n+1}x^n-2a_{n-1}x^n][/tex]
[tex]a_1+\sum\limits_{n=1}^{\infty} [(n+1)a_{n+1}-2a_{n-1}]x^n[/tex]

Equating the coefficients of [tex]x_n[/tex] at every n, we obtain the recurrence relation

[tex]a_1 = 0[/tex]
[tex](n+1)a_{n+1}-2a_{n-1} = 0,\;\;\;\;\;\;\;\;\;\;n=1,2,3,...[/tex]
or
[tex]a_{n+1} = -\frac{2a_{n-1}}{n+1}[/tex]
 
Last edited:
  • #4
Equating the coefficients of [tex]x_n[/tex] at every n we obtain the recurrence relation

[tex]a_1 = 0[/tex]
[tex](n+1)a_{n+1}-2a_{n-1} = 0,\;\;\;\;\;\;\;\;\;\;n=1,2,3,...[/tex]
or
[tex]a_{n+1} = -\frac{2a_{n-1}}{n+1}[/tex]

Setting consecutively [tex]n=1,2,3,...[/tex] we determine [tex]a_2, a_3, a_4[/tex] etc.:

[tex]a_2 = -\frac{2a_0}{2} = -a_0[/tex]

[tex]a_3 = -\frac{2a_1}{3} = 0[/tex]

[tex]a_4 = -\frac{2a_2}{4} = \frac{1}{2}a_0[/tex]

[tex]a_5 = -\frac{2a_3}{5} = 0[/tex]

[tex]a_6 = -\frac{2a_4}{6} = -\frac{1}{6}a_0[/tex]

What is the general solution [tex]a_n?[/tex]

It seems to be of the form [tex] a_n = \left\{ \begin{array}{lr}
0, & \;n\;\text{odd}\\
\displaystyle \pm\frac{1}{ \left( \frac{n}{2} \right) !}a_0, & \;n\;\text{even}
\end{array}
\right.[/tex]
 
Last edited:
  • #5
ok, so a2n = a0/n! …

total is ∑ (x2)n/n! …

remind you of anything? :wink:
 
  • #6
tiny-tim said:
ok, so a2n = a0/n! …

total is ∑ (x2)n/n! …

remind you of anything? :wink:

Actually, I clearly made an algebraic error and there should be no minus sign in the recurrence relation. Then if you follow it through it gives what you have and this equals [tex]a_0 e^{x^2}[/tex]

I have another:

[PLAIN]http://img685.imageshack.us/img685/2091/diffeq.png

[tex]\begin{align*}
xy'-y & = \sum_{n=0}^{\infty} (na_nx^{n} - a_nx^n )\\
&= \sum_{n=0}^{\infty} (n-1)a_nx^{n}
\end{align*}
[/tex]

This would imply [tex](n-1)a_n = 0 \Rightarrow a_n = 0[/tex] for all n.

But obviously the solution is [tex]y = a_0 x[/tex] so what discrepencies arise?
 
Last edited by a moderator:
  • #7
Hi Ted123! :smile:
Ted123 said:
[tex](n-1)a_n = 0 \Rightarrow a_n = 0[/tex]

nooo :redface:

(n-1)an = 0 has two solutions :wink:
 
  • #8
tiny-tim said:
Hi Ted123! :smile:


nooo :redface:

(n-1)an = 0 has two solutions :wink:

[tex]n=1[/tex] is also a solution...
 
  • #9
yup! :biggrin:

so when n = 1, an (ie a1) can be anything :wink:
 
  • #10
tiny-tim said:
yup! :biggrin:

so when n = 1, an (ie a1) can be anything :wink:

So how do I express the coefficients [tex]a_n[/tex] in a power series?

[tex]a_n = 0[/tex] unless n=1 in which case [tex]a_1[/tex] is arbitrary.

so [tex]y = a_1 x[/tex]

and this is easily verified by solving the equation directly.

What does it mean when it says 'explain any discrepancies which arise'?
 
  • #11
Ted123 said:
So how do I express the coefficients [tex]a_n[/tex] in a power series?

Just y = a1x (or y = Cx). :smile:
What does it mean when it says 'explain any discrepancies which arise'?

Sorry … I've no idea. :redface:
 

1. What is a power series solution to a differential equation?

A power series solution to a differential equation is a method of solving a differential equation by representing the solution as a series of terms raised to different powers. The series is typically centered around a known point and can be used to approximate the solution to the equation.

2. When is a power series solution useful?

A power series solution is useful when the differential equation cannot be solved using traditional methods, such as separation of variables or substitution. It is also useful when the solution is needed in the form of a series expansion, rather than a closed form solution.

3. How do you find a power series solution to a differential equation?

To find a power series solution, first express the differential equation in terms of a power series. Then, solve for the coefficients of the series by using initial conditions or boundary conditions. Finally, substitute the coefficients into the series to obtain the solution.

4. What are the advantages of using a power series solution?

One advantage of using a power series solution is that it can often provide an exact solution to a differential equation, rather than just an approximation. It can also be used to solve a wider range of differential equations compared to traditional methods.

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

Yes, there are some limitations to using a power series solution. It may not always be possible to find a closed-form solution using this method, and the series may not converge for all values of the independent variable. In addition, the series may only provide an approximate solution and may not accurately represent the true solution of the differential equation.

Similar threads

  • Calculus and Beyond Homework Help
Replies
8
Views
976
  • Calculus and Beyond Homework Help
Replies
3
Views
401
  • Calculus and Beyond Homework Help
Replies
2
Views
703
  • Calculus and Beyond Homework Help
Replies
2
Views
169
  • Calculus and Beyond Homework Help
Replies
1
Views
231
  • Calculus and Beyond Homework Help
Replies
1
Views
329
  • Calculus and Beyond Homework Help
Replies
6
Views
364
  • Calculus and Beyond Homework Help
Replies
1
Views
796
  • Calculus and Beyond Homework Help
Replies
2
Views
957
  • Calculus and Beyond Homework Help
Replies
17
Views
1K
Back
Top