Calculate Taylor Series of f^{(18)}(0)

In summary, to calculate f^{(18)}(0) if f(x)=x^2 \ln(1+9x), we can start by taking the derivative of \ln(1+9x) and ignoring x^2. This gives us f'(x)= \frac{9}{1+9x}, which we can then use to find f''(x)= \frac{9^2}{(1+9x)^2}, and so on until we reach f^{(n)}(x)= \frac{9^n}{(1+9x)^n}. However, we need to be careful with the convergence of this series, as it is only valid for |x|
  • #1
Petrus
702
0
Calculate \(\displaystyle f^{(18)}(0)\) if \(\displaystyle f(x)=x^2 \ln(1+9x)\)
if we start with \(\displaystyle ln(1+9x)\) and ignore \(\displaystyle x^2\) we can calculate that
\(\displaystyle f'(x)= \frac{9}{1+9x} <=> f'(0)=9\)
\(\displaystyle f''(x)= \frac{9^2}{(1+9x)^2} <=> f'(0)=9^2\)
.
.
.
\(\displaystyle f^{n}(x)= \frac{9^n}{(1+9x)^n} <=> f'(0)=9^n \)
how does it work after? Don't we have to use product rule?

Regards,
\(\displaystyle |\pi\rangle\)
 
Physics news on Phys.org
  • #2
Petrus said:
Calculate \(\displaystyle f^{(18)}(0)\) if \(\displaystyle f(x)=x^2 \ln(1+9x)\)
if we start with \(\displaystyle ln(1+9x)\) and ignore \(\displaystyle x^2\) we can calculate that
\(\displaystyle f'(x)= \frac{9}{1+9x} <=> f'(0)=9\)
\(\displaystyle f''(x)= \frac{9^2}{(1+9x)^2} <=> f'(0)=9^2\)
.
.
.
\(\displaystyle f^{n}(x)= \frac{9^n}{(1+9x)^n} <=> f'(0)=9^n \)
how does it work after? Don't we have to use product rule?

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

Can you write down the Taylor expansion of $\ln(1+9x)$?
 
  • #3
I like Serena said:
Can you write down the Taylor expansion of $\ln(1+9x)$?
If I got this correct it should be
the same as \(\displaystyle ln(1+x)\) which my book got it defined.
\(\displaystyle x-\frac{x^2}{2}+\frac{x^3}{3}-\frac{x^4}{4}...\)
edit: no it's not.. I am confusing mc lauens polynom and taylor.. My bad

Regards,
\(\displaystyle |\pi\rangle\)
 
Last edited:
  • #4
Petrus said:
If I got this correct it should be
the same as \(\displaystyle ln(1+x)\) which my book got it defined.
\(\displaystyle x-\frac{x^2}{2}+\frac{x^3}{3}-\frac{x^4}{4}...\)

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

Nah, it's not the same.
Either you can apply the Taylor series formula, using a series of \(\displaystyle \frac {x^n} {n!} f^{(n)}(0)\).
Or you can use the expansion you already have and substitute $x \to 9x$.
 
  • #5
I like Serena said:
Nah, it's not the same.
Either you can apply the Taylor series formula, using a series of \(\displaystyle \frac {x^n} {n!} f^{(n)}(0)\).
Or you can use the expansion you already have and substitute $x \to 9x$.
I am confusing Maclaurin and Taylor.. I notice it is not the same..
We got
\(\displaystyle \ln(1+9x)=9x-\frac{9^2x^2}{2}+\frac{9^3x^3}{3}-\frac{9^4x^4}{4}...\)
 
  • #6
Petrus said:
I am confusing Maclaurin and Taylor.. I notice it is not the same..

How so?

We got
\(\displaystyle \ln(1+9x)=9x-\frac{9^2x^2}{2}+\frac{9^3x^3}{3}-\frac{9^4x^4}{4}...\)

Yep!
So...?
 
  • #7
Petrus said:
Calculate \(\displaystyle f^{(18)}(0)\) if \(\displaystyle f(x)=x^2 \ln(1+9x)\)
if we start with \(\displaystyle ln(1+9x)\) and ignore \(\displaystyle x^2\) we can calculate that
\(\displaystyle f'(x)= \frac{9}{1+9x} <=> f'(0)=9\)
\(\displaystyle f''(x)= \frac{9^2}{(1+9x)^2} <=> f'(0)=9^2\)
.
.
.
\(\displaystyle f^{n}(x)= \frac{9^n}{(1+9x)^n} <=> f'(0)=9^n \)
how does it work after? Don't we have to use product rule?

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

Notice that if \(\displaystyle \displaystyle \begin{align*} g(x) = \ln{ \left( 1 + 9x \right) } \end{align*}\) then \(\displaystyle \displaystyle \begin{align*} g'(x) = \frac{9}{1 + 9x} \end{align*}\).

Now we notice that \(\displaystyle \displaystyle \begin{align*} \frac{9}{1 + 9x} = 9 \left[ \frac{1}{1 - (-9x)} \right] \end{align*}\), which is the closed form of the geometric series \(\displaystyle \displaystyle \begin{align*} 9 \sum_{k = 0}^{\infty} \left( -9x \right) ^k \end{align*}\) which is convergent when \(\displaystyle \displaystyle \begin{align*} \left| -9x \right| < 1 \implies |x| < \frac{1}{9} \end{align*}\). So we have

\(\displaystyle \displaystyle \begin{align*} g'(x) &= 9\sum_{k = 0}^{\infty} \left( -9x \right)^k \\ &= 9\sum_{k = 0}^{\infty} \left( -9 \right) ^k \, x^k \\ \\ g(x) &= \int{ 9\sum_{k = 0}^{\infty} \left( -9 \right) ^k \, x^k \, dx} \\ &= 9\sum_{k = 0}^{\infty} \int{ \left( -9 \right) ^k \, x^k \,dx } \\ &= 9\sum_{k=0}^{\infty}{ \frac{\left( -9 \right) ^k}{k + 1} \, x^{k + 1} } \end{align*}\)

So that means \(\displaystyle \displaystyle \begin{align*} \ln{ \left( 1 + 9x \right) } = 9 \sum_{k = 0}^{\infty} { \frac{ \left( -9 \right) ^k }{k + 1} \, x^{k + 1} } \end{align*}\) provided \(\displaystyle \displaystyle \begin{align*} |x| < \frac{1}{9} \end{align*}\), and therefore

\(\displaystyle \displaystyle \begin{align*} f(x) &= x^2 \ln{ \left( 1 + 9x \right) } \\ &= x^2 \cdot 9\sum_{k = 0}^{\infty} { \frac{ \left( -9 \right) ^k }{ k + 1 }\, x^{ k + 1} } \textrm{ where } |x| < \frac{1}{9} \\ &= 9\sum_{k = 0}^{\infty} { \frac{ \left( -9 \right) ^k }{ k + 1 } \, x^{k + 3} } \textrm{ where } |x| < \frac{1}{9} \end{align*}\)

When you compare it to the MacLaurin series \(\displaystyle \displaystyle \begin{align*} \sum_{k = 0}^{\infty} \frac{f^{(k)}(0)}{k!}\,x^k \end{align*}\), we can see that

\(\displaystyle \displaystyle \begin{align*} \frac{ f^{(18)}(0) }{ 18! } \, x^{18} &= 9 \left[ \frac{ \left( -9 \right) ^{15} }{ 16 } \, x^{18} \right] \\ \frac{f^{(18)}(0)}{18!} &= \frac{9 \left( -9 \right) ^{15}}{ 16 } \\ f^{(18)}(0) &= \frac{ 9 \left( -9 \right) ^{15} \, 18!}{ 16 } \end{align*}\)
 
  • #8
I like Serena said:
How so?
Yep!
So...?
I multiplicate with \(\displaystyle x^2\)? So I got
\(\displaystyle 9x^3- \frac{9^2x^4}{2}+\frac{9^3x^6}{3}...-\frac{9^{16}x^{18}}{16}\)
is this correct? I just did think wrong with maclaurin etc..
is that correct?

Regards,
\(\displaystyle |\pi\rangle\)
 
  • #9
I love the use of "multiplicate" instead of "multiply" :P
 
  • #10
Petrus said:
I multiplicate with \(\displaystyle x^2\)? So I got
\(\displaystyle 9x^3- \frac{9^2x^4}{2}+\frac{9^3x^6}{3}...-\frac{9^{16}x^{18}}{16}\)
is this correct? I just did think wrong with maclaurin etc..
is that correct?

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

Yes, that is correct, although the series does continue after the last term.

So now you can either differentiate 18 times, or you can match the series with a Taylor/MacLaurin series.
 
  • #11
Prove It said:
I love the use of "multiplicate" instead of "multiply" :P
I am trying to improve the English dictionary;)

I like Serena said:
Yes, that is correct, although the series does continue after the last term.

So now you can either differentiate 18 times, or you can match the series with a Taylor/MacLaurin series.
Thanks for the help from you both!:) This did take a while understanding Talyor series and now I feel a lot better:)! Many thanks!

Regards,
\(\displaystyle |\pi\rangle\)
 
  • #12
Prove It said:
I love the use of "multiplicate" instead of "multiply" :P

It sounds like "complicate " :).
 
  • #13
Petrus said:
I am trying to improve the English dictionary;)...

(Rofl) I will add this to my vocabulary. (Rock)
 

FAQ: Calculate Taylor Series of f^{(18)}(0)

How do you calculate the Taylor Series of f^{(18)}(0)?

The Taylor Series of f^{(18)}(0) can be calculated using the formula:
f(x) = f(a) + f'(a)(x-a) + f''(a)(x-a)^2/2! + ... + f^{(18)}(a)(x-a)^18/18!
where a = 0. This formula is derived from the Taylor Series expansion, which is a way to approximate a function using a polynomial.

What is the purpose of calculating the Taylor Series of f^{(18)}(0)?

The Taylor Series of f^{(18)}(0) is useful in many areas of mathematics and physics. It can be used to approximate complicated functions with simpler ones, making calculations easier. It can also be used to analyze the behavior of a function near a specific point, and to find the derivatives of a function at that point.

How is the Taylor Series of f^{(18)}(0) different from other Taylor Series?

The Taylor Series of f^{(18)}(0) is a specific type of Taylor Series, where the function is expanded around the point x=0 and the 18th derivative of the function is used. Other Taylor Series may be expanded around different points, and may use a different number of derivatives.

Are there any limitations to calculating the Taylor Series of f^{(18)}(0)?

While the Taylor Series of f^{(18)}(0) can be a useful tool, it is important to note that it only approximates a function. The more terms that are included in the series, the closer the approximation will be to the actual function. However, this can become computationally expensive, so it is important to carefully consider how many terms are needed for a given application.

Can the Taylor Series of f^{(18)}(0) be used for any type of function?

The Taylor Series of f^{(18)}(0) can be used for any function that is infinitely differentiable. This means that the function has derivatives of all orders at the point of expansion. If the function is not infinitely differentiable, the Taylor Series may still be used, but the accuracy of the approximation may be affected.

Similar threads

Back
Top