Power Series Solutions for Initial Value Problems

mango84
Messages
4
Reaction score
0
Find a power series solution for each of the initial value problems below:

(a) y' (x) = cos x^2, y(0) = 0

(b) y'' - xy=0, y(0)=1, y' (0) = 0

Does anybody have any advice for this? Thanks!
 
Physics news on Phys.org
For (a), write out the power series for cos(x), then replace x with x^2 to get the power series for cos(x^2). Now Let y= \sum a_nx^n= a_0+ a_1x+ a_2x^2+ a_3x^3+ /cdot/cdot/cdot and differentiate. y'= \sum na_nx^{n-1}= a_1+ 2a_2x+ 3a_3x^3+ \cdot\cdot\cdot. Set the two power series equal so that corresponding coefficients (i.e. same power of x) are equal. That gives you an infinite number of equations to solve for the infinite unknowns, an! Hopefully, after doing a few you will recognize a pattern. Notice that you have lost a0. That's what you need y(0)= 0 for.

For (b), much the same. If y= \sum a_nx^n then y''= \sum n(n-1)a_n x^{n-2} while xy= x\sum a_n x^n= \sum a_n x^{n+1}. You will want to "change indices" on the two sums in order to be able to match up the same powers of x.
 
Last edited by a moderator:
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top