Find the nth-order Taylor polynomials centered at 0, for n=0, 1, 2.

In summary, the nth-order Taylor polynomials for $n=0, 1, 2$ of $f(x)=cos(3x)$ centered at 0 are 1, 1, and $1-\frac{9}{2}x^2$ respectively. These values are obtained by using the formula $P_n(x) \approx \sum_{k=0}^n \frac{f^{(k)}(0)}{k!}x^k$, where $f^k(x)$ represents the kth derivative of $f(x)$ evaluated at $x=0$.
  • #1
karush
Gold Member
MHB
3,269
5
$\tiny{206.11.1.15-T}$
$\textsf{Find the nth-order Taylor polynomials
centered at 0, for $n=0, 1, 2.$}$ \\
$$\displaystyle f(x)=cos(3x)$$
$\textsf{using}\\$
$$P_n\left(x\right)
\approx\sum\limits_{k=0}^{n}\frac{f^{(k)}\left(a\right)}{k!}x^k$$
$\textsf{n=0}\\$
$$P_0\left(x\right)\approx\frac{1}{0!}x^{0}\approx 1$$
$\textsf{n=1}\\$
$$P_1\left(x\right)\approx \frac{1}{0!}x^{0}+\frac{0}{1!}x^{1}= 1+0 = 1$$
$\textsf{n=2}\\$
$$P_2\displaystyle\left(x\right)\approx\frac{1}{0!}x^{0}+\frac{0}{1!}x^{1}+\frac{-9}{2!}x^{2}f\left(x\right)\approx 1- \frac{9}{2}x^{2}$$
$\textsf{first time to try this so kinda ?}$
☕
 
Last edited:
Physics news on Phys.org
  • #2
cos(0)= 1. The derivative of cos(3x) is -3sin(3x) which is 0 at x= 0. The second derivatve is -9 cos(3x) which is -9 at x= 0.

So, yes, those are correct. (But there should be no "f(x)" in that last expression.)
 
  • #3
HallsofIvy said:
cos(0)= 1. The derivative of cos(3x) is -3sin(3x) which is 0 at x= 0. The second derivatve is -9 cos(3x) which is -9 at x= 0.

So, yes, those are correct. (But there should be no "f(x)" in that last expression.)

thamk you, I'll post a couple more. the examples i look at are really hard to follow.
 
  • #4
$\tiny{206.11.1.15-T}$
$\textsf{Find the nth-order Taylor polynomials
centered at 0, for $n=0, 1, 2.$}\\$
$$\displaystyle f(x)=cos(3x)$$
$\textsf{using}\\$
$$P_n\left(x\right)
\approx\sum\limits_{k=0}^{n}\frac{f^{(k)}\left(a\right)}{k!}x^k$$
$\textsf{n=0}\\$
\begin{align}
f^0(x)&=cos(3x)\therefore f^0(0)=1 \\
P_0\left(x\right)&\approx\frac{1}{0!}x^{0}\approx 1
\end{align}
$\textsf{n=1}\\$
\begin{align}
f^1(x)&=-3\sin(3x)\therefore f^1(0)=0 \\
P_1\left(x\right)&\approx \frac{1}{0!}x^{0}+\frac{0}{1!}x^{1}= 1+0 \approx 1
\end{align}
$\textsf{n=2}\\$
\begin{align}
f^2(x)&=-9\cos(3x)\therefore f^2(0)=-9 \\
P_2 \left(x\right)&\approx\frac{1}{0!}x^{0}+\frac{0}{1!}x^{1}+\frac{-9}{2!}x^{2}
\approx 1- \frac{9}{2}x^{2}
\end{align}
 

FAQ: Find the nth-order Taylor polynomials centered at 0, for n=0, 1, 2.

What is a Taylor polynomial?

A Taylor polynomial is a mathematical expression that approximates a function by using a finite number of terms from its power series expansion. It is centered at a specific point and can be used to approximate the function's value at nearby points.

What does it mean for a Taylor polynomial to be centered at 0?

A Taylor polynomial centered at 0 means that the point 0 is the center of the polynomial, and it is used to approximate the function's value at nearby points. This is also known as a Maclaurin series.

What is the order of a Taylor polynomial?

The order of a Taylor polynomial refers to the number of terms used in the polynomial. In this case, for n=0, 1, 2, the orders of the Taylor polynomials are 0, 1, and 2, respectively.

How is the nth-order Taylor polynomial calculated?

The nth-order Taylor polynomial is calculated by taking the first n derivatives of the function at the center point and evaluating them at the center point. These values are then multiplied by the corresponding powers of x and added together to form the polynomial.

Why is it useful to find the nth-order Taylor polynomial for a function?

Finding the nth-order Taylor polynomial for a function allows us to approximate the function's value at nearby points with a high degree of accuracy. This is especially useful in situations where it is difficult or impossible to find the exact value of the function at a specific point.

Similar threads

Replies
2
Views
1K
Replies
2
Views
1K
Replies
3
Views
2K
Replies
3
Views
2K
Replies
4
Views
2K
Replies
5
Views
2K
Replies
7
Views
2K
Back
Top