Q. 9

Question

If f is a function such that f(0)=2 and f'(x)=-3f(x) for every value of x, find the Maclaurin series for f.

Step-by-Step Solution

Verified
Answer

The Maclaurin series for the function f(x) is.

f(x)=21-3x+9x22!-27x33!+


Or, it can be written as

f(x)=2k=0(-1)k3kxkk!


1step 1: given information

Let us consider the function such that that f(0)=1 and f'(x)=-3f(x)

2step 2: calculation

The general formula to calculate the Maclaurin series for the function is:

f(x)=f(0)+f'(0)x+f''(0)2!x2+f''(0)3!x3+


As, f(0)=2


f'(0)=-3f(0)=-3·2=-6


So,

f''(0)=-3f'(0)=-3·(-6)=18


And

fm(0)=-3f''(0)=-3·18=-54