Find the first three non-zero terms of the Taylor series of f.

38.8k Views Asked by At

Consider the function: $$f(x) = \frac{1}{x^2+10}$$ Find the first three non-zero terms of the Taylor series of

2

There are 2 best solutions below

2
On BEST ANSWER

A Taylor series centered at $x=0$ (Also called a Maclaurin Series) is given by:

$$f(x)=f(0)+\frac{f'(0)}{1!}x+\frac{f''(0)}{2!}x^2+\frac{f'''(0)}{3!}x^3+...=\sum_{n=0}^{\infty} \frac{f^{(n)}(0)}{n!}x^n \tag{1}$$

A Taylor series centered at $x=a$ is given by:

$$f(x)=f(a)+\frac{f'(a)}{1!}(x-a)+\frac{f''(a)}{2!}(x-a)^2+...=\sum_{n=0}^{\infty} \frac{f^{(n)}(a)}{n!}(x-a)^n \tag{2}$$

NB: I will assume that you want the Taylor Series centered at $x=0$ as on equation $(1)$.

Therefore, you can find the first 3 non-zero terms of the Taylor series by differentiating your function $f(x)$, and then substituting $x=0$ into those terms. Then, you can substitute this into equation $(1)$.

However, because the derivatives will not look nice (they will become large), we can make this simpler for ourselves by substituting $u=x^2$.

Therefore, you have your function:

$$f(u)=\frac{1}{u+10}$$

We find the derivatives:

$$f'(u)=-\frac{1}{(u+10)^2}$$

$$f''(u)=\frac{2}{(u+10)^3}$$

We substitute $u=0$ (since we intended to center it at $x=0$):

$$f(0)=\frac{1}{10}$$ $$f'(0)=-\frac{1}{100}$$ $$f''(0)=\frac{2}{1000}=\frac{1}{500}$$

Therefore, we can substitute this into:

$$f(u) \approx f(0)+\frac{f'(0)}{1!}u+\frac{f''(0)}{2!}u^2$$

$$f(u) \approx \frac{1}{10}-\frac{1}{100}u+\frac{1}{1000}u^2$$

We can substitute back for $u=x^2$ to obtain the first three terms of the Taylor Series:

$$\boxed{f(u) \approx \frac{1}{10}+\frac{1}{100}x^2+\frac{1}{1000}x^4}$$

1
On

As commented before: $$f(x) = \frac{1}{x^2+10}=\dfrac{1}{10}\cdot \frac{1}{1+\dfrac{x^2}{10}}\underbrace{=}_{\text{geometric series}}\dfrac{1}{10}\left(1-\frac{x^2}{10}+\frac{x^4}{100}-\cdots\right).$$

Edit. Alternatively $$f(x)=f(0)+\frac{f'(0)}{1!}x+\frac{f''(0)}{2!}x^2+\cdots$$