MHB Approximating Functions with 3rd Order Taylor Polynomials

  • Thread starter Thread starter karush
  • Start date Start date
  • Tags Tags
    Polynomials
Click For Summary
The discussion focuses on finding the third-order Taylor polynomials for the functions sec(x) at a=0 and x^(1/3) at a=8. For sec(x), the polynomial is derived to be 1 + (1/2)x^2, with higher-order derivatives confirming that f^3(0) equals 0. For x^(1/3), the polynomial is approximated as 2 + (1/12)(x-8) - (1/288)(x-8)^2 + (5/20736)(x-8)^3, calculated using the first three derivatives evaluated at 8. There is clarification on the definition of the third-order polynomial, emphasizing that it includes terms up to degree three. The calculations for both functions are confirmed to be correct, with a note on ensuring all necessary derivatives are computed.
karush
Gold Member
MHB
Messages
3,240
Reaction score
5
$\tiny{242.13.1}$
$\textsf{a. Find the $3^{rd}$ Taylor polynomial for $\sec{x}$ at $a=0$}\\$
\begin{align}
\displaystyle
f^0(x)&=f(x)=\sec{x}\therefore f^0(0)=1\\
&=\frac{1}{0!} x^0=1 \\
f^1(x)&=(\sec{x})'=\tan{x}\sec{x} \therefore f^1(x)=0 \\
&=\frac{1}{0!} x^0+\frac{0}{1!} x^1=1+0=1 \\
f^2(x)&=(\tan{x}\sec{x})'=\left(2\tan^2(x)+1)\sec(x)\right) \therefore f^2(x)=1 \\
&=\frac{1}{0!} x^0
+\frac{0}{1!} x^1
+\frac{1}{2!} x^2=1+0+\frac{1}{2}x^2 \\
&=1+\frac{1}{2}x^2
\end{align}
$\textsf{b. Find the $3^{rd}$
Taylor polynomial for $x^{1/3}$ at $a=8$}\\$
\begin{align}
\displaystyle
f^0(x)&=f(x)= x^{1/3}\therefore f^0(8)=2\\
f^1(x)&=(x^{1/3})'=\frac{1}{3x^{2/3}}
\therefore f^1(8)=\frac{1}{12} \\
f^2(x)&=\left(\frac{1}{3x^{2/3}}\right)''
=\frac{-2}{9x^{5/3}}
\therefore f^2(8)=\frac{-1}{144} \\
f^3(x)&=\left(\frac{-2}{9x^{5/3}}\right)''
=\frac{10}{27x^{8/3}}
\therefore f^3(8)=\frac{5}{3456} \\

f(x)&\approx\frac{2}{0!}(x-8)^{0}
+\frac{\frac{1}{12}}{1!}\left(x-\left(8\right)\right)^{1}
+\frac{- \frac{1}{144}}{2!}\left(x-\left(8\right)\right)^{2}
+\frac{\frac{5}{3456}}{3!}\left(x-\left(8\right)\right)^{3}\\
\sqrt[3]{x}&\approx 2+\frac{1}{12}\left(x-8\right)- \frac{1}{288}\left(x-8\right)^{2}+\frac{5}{20736}\left(x-8\right)^{3}
\end{align}
wasn't sure what was meant by the $3^{rd}$ ?
took time to do this so think is some error
☕
 
Last edited:
Physics news on Phys.org
karush said:
wasn't sure what was meant by the $3^{rd}$ ?
took time to do this so think is some error
Usually when someone writes "$n$th Taylor polynomial" they mean the polynomial going up to and including the term of degree $n$. In general, this polynomial will have $n+1$ terms. So careful authors usually prefer to call it the "$n$th degree Taylor polynomial".

Your calculations both look correct to me, though in a. you should probably have calculated $f^3(x)$ in order to check that $f^3(0) = 0.$
 
$\textsf{ok so $\displaystyle 3^{rd}$ would mean
$\displaystyle f^0 + f^1+f^2+f^3$ to be input.}$
 
$\tiny{242.13.1}$
$\textsf{a. Find the $3^{rd}$ Taylor polynomial for $\sec{x}$ at $a=0$}\\$
\begin{align}
\displaystyle
f^0(x)&=\sec{x}\therefore f^0(0)=1\\
f^1(x)&=(\sec{x})'=\tan{x}\sec{x} \therefore f^1(0)=0 \\
f^2(x)&=(\tan{x}\sec{x})'=\left(2\tan^2(x)+1)\sec(x)\right) \therefore f^2(0)=1 \\
f^3(x)&=\sec\left(x\right)\tan^3\left(x\right)
+5\sec^3\left(x\right)\tan\left(x\right)=f^3(0)=0 \\
&=\frac{1}{0!} x^0
+\frac{0}{1!} x^1
+\frac{1}{2!} x^2
+\frac{0}{3!} x^3 \\
&=1+0+\frac{1}{2}x^2 +0 \\
sec(x)&=1+\frac{1}{2}x^2
\end{align}
$\textsf{b. Find the $3^{rd}$
Taylor polynomial for $x^{1/3}$ at $a=8$}\\$
\begin{align}
\displaystyle
f^0(x)&=f(x)= x^{1/3}\therefore f^0(8)=2\\
f^1(x)&=(x^{1/3})'=\frac{1}{3x^{2/3}}
\therefore f^1(8)=\frac{1}{12} \\
f^2(x)&=\left(\frac{1}{3x^{2/3}}\right)''
=\frac{-2}{9x^{5/3}}
\therefore f^2(8)=\frac{-1}{144} \\
f^3(x)&=\left(\frac{-2}{9x^{5/3}}\right)''
=\frac{10}{27x^{8/3}}
\therefore f^3(8)=\frac{5}{3456} \\

f(x)&\approx\frac{2}{0!}(x-8)^{0}
+\frac{\frac{1}{12}}{1!}\left(x-\left(8\right)\right)^{1}
+\frac{- \frac{1}{144}}{2!}\left(x-\left(8\right)\right)^{2}
+\frac{\frac{5}{3456}}{3!}\left(x-\left(8\right)\right)^{3}\\
\sqrt[3]{x}&\approx 2+\frac{1}{12}\left(x-8\right)- \frac{1}{288}\left(x-8\right)^{2}+\frac{5}{20736}\left(x-8\right)^{3}
\end{align}
 
Last edited:
Thread 'Problem with calculating projections of curl using rotation of contour'
Hello! I tried to calculate projections of curl using rotation of coordinate system but I encountered with following problem. Given: ##rot_xA=\frac{\partial A_z}{\partial y}-\frac{\partial A_y}{\partial z}=0## ##rot_yA=\frac{\partial A_x}{\partial z}-\frac{\partial A_z}{\partial x}=1## ##rot_zA=\frac{\partial A_y}{\partial x}-\frac{\partial A_x}{\partial y}=0## I rotated ##yz##-plane of this coordinate system by an angle ##45## degrees about ##x##-axis and used rotation matrix to...

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
Replies
3
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K
Replies
4
Views
4K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 20 ·
Replies
20
Views
4K