Tackling Taylor Series with f(x)=sin(x^3)

In summary, the conversation discusses working with Taylor series and finding the 15th derivative of a given function. The formula for the Taylor series is shown and compared to the MacLaurin series. The conversation also involves differentiating various terms and substituting values to understand the concept better. The MacLaurin series is suggested as a useful tool for solving this problem.
  • #1
Petrus
702
0
Hello MHB,
I am working with Taylor series pretty new for me, I am working with a problem from my book
\(\displaystyle f(x)=\sin(x^3)\), find \(\displaystyle f^{(15)}(0).\)
I know that \(\displaystyle \sin(x) = 1-\frac{x^3}{3!}+\frac{x^5}{5!}-\frac{x^7}{7!}...Rest\)
How does this work now =S?

Regards,
\(\displaystyle |\pi\rangle\)
 
Physics news on Phys.org
  • #2
Petrus said:
Hello MHB,
I am working with Taylor series pretty new for me, I am working with a problem from my book
\(\displaystyle f(x)=\sin(x^3)\), find \(\displaystyle f^{(15)}(0).\)
I know that \(\displaystyle \sin(x) = 1-\frac{x^3}{3!}+\frac{x^5}{5!}-\frac{x^7}{7!}...Rest\)
How does this work now =S?

Regards,
\(\displaystyle |\pi\rangle\)

Hey Petrus!

What do you get if you substitute $x^3$ in your expansion?
 
  • #3
Petrus said:
Hello MHB,
I am working with Taylor series pretty new for me, I am working with a problem from my book
\(\displaystyle f(x)=\sin(x^3)\), find \(\displaystyle f^{(15)}(0).\)
I know that \(\displaystyle \sin(x) = 1-\frac{x^3}{3!}+\frac{x^5}{5!}-\frac{x^7}{7!}...Rest\)
How does this work now =S?
Regards,
\(\displaystyle |\pi\rangle\)

The general expression of the Taylor [or McLaurin] formula is...

$\displaystyle f(x)= \sum_{n=0}^{\infty} \frac{f^{(n)} (0)}{n!}\ x^{n}$ (1)

If in the expansion of $\displaystyle \sin x$ You set $x^{3}$ instead of $x$ You have...

$\displaystyle \sin (x^{3}) = 1 - \frac{x^{9}}{3!} + \frac{x^{15}}{5!} - ...$ (2)

Comparing (1) and (2) what do You conclude?...

Kind regards

$\chi$ $\sigma$
 
  • #4
chisigma said:
The general expression of the Taylor [or McLaurin] formula is...

$\displaystyle f(x)= \sum_{n=0}^{\infty} \frac{f^{(n)} (0)}{n!}\ x^{n}$ (1)

If in the expansion of $\displaystyle \sin x$ You set $x^{3}$ instead of $x$ You have...

$\displaystyle \sin (x^{3}) = 1 - \frac{x^{9}}{3!} + \frac{x^{15}}{5!} - ...$ (2)

Comparing (1) and (2) what do You conclude?...

Kind regards

$\chi$ $\sigma$
Hello,
I did type it wrong.. It should be \(\displaystyle \sin(x)=x-\frac{x^3}{3!}+\frac{x^5}{5!}...\)
so we got
\(\displaystyle \sin(x^3)=x^3-\frac{x^9}{3!}+\frac{x^{15}}{5!}\)
hmm.. I think I leak the basic with Taylor series.. I will try read the basic more and will be back.

Regards,
\(\displaystyle |\pi\rangle\)
 
  • #5
Since you have found \(\displaystyle \displaystyle \begin{align*} f(x) = x^3 - \frac{x^9}{3!} + \frac{x^{15}}{5!} - \dots + \dots \end{align*}\), surely you can see that this is the same as

\(\displaystyle \displaystyle \begin{align*} 0 + 0x + 0x^2 + 1x^3 + 0x^4 + 0x^5 + 0x^6 + 0x^7 + 0x^8 \\ -\frac{1}{3!}x^9 + 0x^{10} + 0x^{11} + 0x^{12} + 0x^{13} + 0x^{14} + \frac{1}{5!}x^{15} + \dots \end{align*}\)

How does this relate to the MacLaurin Series formula \(\displaystyle \displaystyle \begin{align*} f(x) = \frac{f(0)}{0!} + \frac{f'(0)}{1!}x + \frac{f''(0)}{2!}x^2 + \frac{f'''(0)}{3!}x^3 + \dots \end{align*}\)?
 
  • #6
Prove It said:
Since you have found \(\displaystyle \displaystyle \begin{align*} f(x) = x^3 - \frac{x^9}{3!} + \frac{x^{15}}{5!} - \dots + \dots \end{align*}\), surely you can see that this is the same as

\(\displaystyle \displaystyle \begin{align*} 0 + 0x + 0x^2 + 1x^3 + 0x^4 + 0x^5 + 0x^6 + 0x^7 + 0x^8 \\ -\frac{1}{3!}x^9 + 0x^{10} + 0x^{11} + 0x^{12} + 0x^{13} + 0x^{14} + \frac{1}{5!}x^{15} + \dots \end{align*}\)

How does this relate to the MacLaurin Series formula \(\displaystyle \displaystyle \begin{align*} f(x) = \frac{f(0)}{0!} + \frac{f'(0)}{1!}x + \frac{f''(0)}{2!}x^2 + \frac{f'''(0)}{3!}x^3 + \dots \end{align*}\)?
Hello,

Hmm this taylor series is kinda confusing (Worried)
If I understand correct \(\displaystyle C=\frac{f^{(n)}(a)}{n!} = \frac{f^{(15)}(0)}{15!}\) and we se that \(\displaystyle f^{15)}=1-\frac{1}{3!}+\frac{1}{5!}\) is that correct?

Regards,
\(\displaystyle |\pi\rangle\)
 
Last edited:
  • #7
Suppose you differentiate \(\displaystyle \frac {x^{15}}{5!}\) once.
What do you get?
And a second time?
... and 15 times?
 
  • #8
I like Serena said:
Suppose you differentiate \(\displaystyle \frac {x^{15}}{5!}\) once.
What do you get?
And a second time?
... and 15 times?
\(\displaystyle \frac{n!x^{15-n}}{5!}\)

Regards,
\(\displaystyle |\pi\rangle\)
 
  • #9
Petrus said:
\(\displaystyle \frac{n!x^{15-n}}{5!}\)

Regards,
\(\displaystyle |\pi\rangle\)

Hmm... that is not once or twice, nor 15 times.
Oh! It is for "n" times!

Can you fill in n=15 then?

Similarly what do you get if you differentiate \(\displaystyle \frac {x^9} {3!}\) also 15 times?
And \(\displaystyle \frac {x^{21}} {7!}\)?
 
  • #10
I like Serena said:
Hmm... that is not once or twice, nor 15 times.
Oh! It is for "n" times!

Can you fill in n=15 then?

Similarly what do you get if you differentiate \(\displaystyle \frac {x^9} {3!}\) also 15 times?
And \(\displaystyle \frac {x^{21}} {7!}\)?
Ohh I thought you wanted n times:P sorry
\(\displaystyle \frac{15!}{5!}\)
\(\displaystyle \frac {x^9} {3!}= 0\)
\(\displaystyle \frac {x^{21}} {7!}= \frac{21!x^{6}}{6!7!}\)

Regards,
\(\displaystyle |\pi\rangle\)
 
  • #11
Okay!
As you can see you can do this will all the terms in your expansion.
What do you get if you substitute x=0?
 
  • #12
You're all making life difficult upon yourselves. The "n"th term of a MacLaurin Series is \(\displaystyle \displaystyle \frac{f^{(n)}(0)}{n!}\,x^n \), so the 15th term will be \(\displaystyle \displaystyle \frac{f^{(15)}(0)}{15!}\,x^{15}\). Equating these gives

\(\displaystyle \displaystyle \frac{f^{(15)}(0)}{15!}\,x^{15} = \frac{1}{5!}\,x^{15}\).

Now solve for \(\displaystyle \displaystyle f^{(15)}(0)\).
 
  • #13
Prove It said:
You're all making life difficult upon yourselves.

I'm trying to show why the MacLaurin formula works at all.
IMO that's more useful than just applying a formula, that you will first have to learn by heart.
 
  • #14
I like Serena said:
Okay!
As you can see you can do this will all the terms in your expansion.
What do you get if you substitute x=0?
\(\displaystyle \frac{15!}{5!}\)

Regards,
\(\displaystyle |\pi\rangle\)
 
  • #15
Petrus said:
\(\displaystyle \frac{15!}{5!}\)

Regards,
\(\displaystyle |\pi\rangle\)

There you go! ;)

So if you differentiate the Taylor expansion of $\sin x^3$ for 15 times, you'll get \(\displaystyle \frac{15!}{5!}\) at $x=0$.

Perhaps you can take a look at the MacLaurin series now, as $\chi\ \sigma$ and Prove It suggested, and check out the term that contains $f^{(15)}(0)$.
Btw, the MacLaurin series is the same as the Taylor series, just expanded around 0, instead of around a generic constant.
 
  • #16
I like Serena said:
There you go! ;)

So if you differentiate the Taylor expansion of $\sin x^3$ for 15 times, you'll get \(\displaystyle \frac{15!}{5!}\) at $x=0$.

Perhaps you can take a look at the MacLaurin series now, as $\chi\ \sigma$ and Prove It suggested, and check out the term that contains $f^{(15)}(0)$.
Btw, the MacLaurin series is the same as the Taylor series, just expanded around 0, instead of around a generic constant.
I start to understand more, thanks alot!:) I will keep work with more kind of this problem :)

Regards,
\(\displaystyle |\pi\rangle\)
 
  • #17
Petrus said:
\(\displaystyle \frac{15!}{5!}\)

Regards,
\(\displaystyle |\pi\rangle\)

A 'very big number' of the order of $10^{10}$... that did discourage You?...

Kind regards

$\chi$ $\sigma$
 
  • #18
chisigma said:
A 'very big number' of the order of $10^{10}$... that did discourage You?...

Kind regards

$\chi$ $\sigma$
Hello Chisigma,
What do you exactly mean with that?

Regards,
\(\displaystyle |\pi\rangle\)
 
  • #19
Petrus said:
Hello Chisigma,
What do you exactly mean with that?

Regards,
\(\displaystyle |\pi\rangle\)

Just curiosity... no more!:D...

Kind regards

$\chi$ $\sigma$
 

FAQ: Tackling Taylor Series with f(x)=sin(x^3)

What is a Taylor series?

A Taylor series is a mathematical representation of a function as an infinite sum of terms, where each term represents the value of a derivative of the function at a specific point.

How is the Taylor series of a function calculated?

The Taylor series of a function can be calculated using the formula: f(x) = f(a) + f'(a)(x-a) + (f''(a)/2!)(x-a)^2 + (f'''(a)/3!)(x-a)^3 + ... + (f^n(a)/n!)(x-a)^n + ... , where a is the point at which the derivatives are evaluated.

What is the significance of using f(x)=sin(x^3) in Taylor series?

The function f(x)=sin(x^3) is a special case where the derivatives of the function at a specific point can be easily calculated, making it a good example for understanding Taylor series. Additionally, this function has an infinite radius of convergence, meaning the Taylor series will converge to the actual function for all values of x.

How can Taylor series be used in real-world applications?

Taylor series can be used to approximate functions that are difficult to evaluate directly, and are often used in engineering, physics, and other scientific fields to model and analyze systems. They are also used in computer algorithms for tasks such as graphing and optimization.

Are there any limitations to using Taylor series?

Yes, Taylor series can only approximate a function within a certain radius of convergence and may not accurately represent the function outside of this range. Additionally, the accuracy of the approximation depends on the number of terms used in the series, and may require a large number of terms for complex functions.

Similar threads

Replies
2
Views
2K
Replies
3
Views
2K
Replies
2
Views
1K
Replies
3
Views
1K
Replies
17
Views
3K
Replies
2
Views
2K
Replies
3
Views
2K
Replies
5
Views
14K
Back
Top