Use power series to solve the differential equation y′=y.
Solution We assume that the solution of the differential equation can be expressed as the power series y(x)=∞∑k=0akxk
Then y′(x)=∞∑k=1kakxk−1
Since y′=y, this leads to ∞∑k=1kakxk−1=∞∑k=0akxk
To obtain relationships among the coefficients, we write out the terms. a1x0+2a2x+3a3x2+4a4x3+⋯=a0x0+a1x+a2x2+a3x3+⋯
Because the coefficients of corresponding powers of x are equal, we have a1=a02a2=a13a3=a24a4=a3 … nan=an−1…
We can express these relationships recursively. a1=a0a2=12a1=12!a0a3=13a2=13⋅2a0=13!a0a4=14a3=14!a0…an=1nan−1=1n!a0⋯
1090
The power series (1) takes the form y(x)=∞∑k=0akxk=∞∑k=01k!a0xk=a0∞∑k=0xkk!
which we recognize as y(x)=a0ex.