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

  • Context: MHB 
  • Thread starter Thread starter karush
  • Start date Start date
  • Tags Tags
    Polynomials Taylor
Click For Summary
SUMMARY

The discussion focuses on deriving the nth-order Taylor polynomials centered at 0 for the function \( f(x) = \cos(3x) \) for \( n = 0, 1, 2 \). The calculations yield \( P_0(x) \approx 1 \), \( P_1(x) \approx 1 \), and \( P_2(x) \approx 1 - \frac{9}{2}x^2 \). The derivatives evaluated at \( x = 0 \) confirm these results, with \( f^{(0)}(0) = 1 \), \( f^{(1)}(0) = 0 \), and \( f^{(2)}(0) = -9 \). The final expression for \( P_2(x) \) correctly omits the function notation in the last term.

PREREQUISITES
  • Understanding of Taylor series expansion
  • Knowledge of derivatives and their evaluation at specific points
  • Familiarity with trigonometric functions, specifically cosine
  • Basic algebraic manipulation of polynomial expressions
NEXT STEPS
  • Study the general formula for Taylor series expansions
  • Explore higher-order derivatives of trigonometric functions
  • Learn about convergence and error estimation in Taylor series
  • Investigate applications of Taylor polynomials in numerical methods
USEFUL FOR

Students and educators in mathematics, particularly those focusing on calculus and series expansions, as well as professionals applying Taylor series in engineering and physics.

karush
Gold Member
MHB
Messages
3,240
Reaction score
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
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.)
 
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.
 
$\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}
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K