For the ODE: $$\frac{dy}{dx}=2y$$

If the successive derivatives calculated are:


How do I find the coefficients of the following equation for an infinite series? (if the coefficients are $a_1, a_2, a_3, \ldots$)

$$y(x)=a_0 +a_1x^1+a_2x^2 +a_3x^3 + \ldots +a_nx^n + \ldots$$

Also, How could you write $y(x)$ as an infinite series? Can I use Maclaurin Series?


You absolutely want to use Maclaurin series. Let me help you remember how that goes.

If $f(x)$ is a sufficiently nice function then $$ f(x) = f(a) + f'(a)(x-a) + \frac12 f''(a)(x-a)^2 + \cdots + \frac{1}{n!}f^{(n)}(a)(x-a)^n + \cdots. $$

For your particular problem, let's say that $f(x)$ is solution to the ODE, and let's pretend that we know $f(0)$. Call it $y_0$. Then $f'(0)=2f(0)=2y_0$. And so on -- you can figure out $f^{(n)}(0)$ in terms of $y_0$ using the pattern you found.

Note: I explained your example using a Taylor series, which is a Maclaurin series with $a=0$. I told you about Maclaurin series because, for example, you could use them to solve your problem if I told you what $f(1)$ was instead of $f(0)$.

  • $\begingroup$ what you have is called the taylor series; not maclaurin series. $\endgroup$ – abel May 17 '15 at 23:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.