Obtain 8th Degree Taylor Polynomial for Sqrt(x) with Mathematica

  • Context: Mathematica 
  • Thread starter Thread starter DivGradCurl
  • Start date Start date
  • Tags Tags
    Taylor
Click For Summary

Discussion Overview

The discussion revolves around obtaining the 8th degree Taylor polynomial for the function \(\sqrt{x}\) centered at \(4\) using Mathematica. Participants explore methods for expressing the polynomial in sigma notation and the challenges associated with identifying a pattern in the coefficients.

Discussion Character

  • Exploratory
  • Technical explanation
  • Mathematical reasoning

Main Points Raised

  • One participant shares a Mathematica command to obtain the Taylor polynomial and expresses a need for the series in sigma notation, noting the difficulty in identifying a pattern in the coefficients.
  • Another participant questions whether the inquiry is for a general command or just for the specific function, suggesting the use of the general definition of the nth Taylor term.
  • A different participant recommends using Taylor's theorem, mentioning that the coefficients involve a product of odd numbers in the numerator and a factorial in the denominator.
  • One participant acknowledges understanding how to derive the series but struggles to find the pattern for the nth term, indicating that they have attempted to factor the coefficients.
  • Another participant suggests that deriving the nth derivative of the square root function could reveal the pattern more clearly.
  • A participant presents a potential sigma notation for the Taylor series, indicating progress in identifying the pattern.
  • Lastly, a participant provides a mathematical insight regarding the product of odd numbers and its relation to factorials, hinting at a method for simplifying the expression.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the best method to express the Taylor series in sigma notation, and multiple approaches are discussed without resolution.

Contextual Notes

Participants express uncertainty regarding the identification of patterns in the coefficients of the Taylor series, and there are references to the complexity of deriving the nth derivative of the square root function.

DivGradCurl
Messages
364
Reaction score
0
In order to obtain with the aid of Mathematica, say, an 8-th degree Taylor polynomial of [tex]\sqrt{x}[/tex] centered at [tex]4[/tex], I use the following command:

Normal[Series[Sqrt[x], {x, 4, 8}]]

and I get

[tex]\sqrt{x} \approx 2 + \frac{1}{2^2} \left( x - 4 \right) - \frac{1}{2^6} \left( x - 4 \right) ^2 + \frac{1}{2^9} \left( x - 4 \right) ^3 - \frac{5}{2^{14}} \left( x - 4 \right) ^4 + \frac{7}{2^{17}} \left( x - 4 \right) ^5 - \frac{3\cdot 7}{2^{21}} \left( x - 4 \right) ^6 + \frac{3\cdot 11}{2^{24}} \left( x - 4 \right) ^7 - \frac{3\cdot 11 \cdot 13}{2^{30}} \left( x - 4 \right) ^8[/tex]

This is ok, but what I really need is to write the series in sigma notation. Unfortunately, its pattern is not obvious, although I tried to find it by factoring the coefficients and also browsed the help of Mathematica. Anyway, does anyone know a command that gives it?

Thank you.
 
Last edited:
Physics news on Phys.org
are you trying to find a Mathematica command to do that in general, or do you just need that particular function? Couldn't you type in the general definition of the nth Taylor function term?
 
Why don't you just use Taylor's theorem? The coefficients will have a product of odd numbers in the numerator and a factorial in the denominator.
Mathematica is fine for doing math, but not as helpful for learning math. Do some of the work yourself.
 
I see what you mean:

[tex]\sum _{n=0} ^{\infty} \frac{f^{(n)}(a)}{n!}(x-a)^n[/tex]

and yes, I know how to take the derivatives and get to the same place that Mathematica got me. The problem is finding the pattern for the n-th term so that I can write the series in sigma notation. I tried to obtain it by factoring the coefficients, though. Then, the only alternative I have is to ask about a command that would give me this. The pattern is not obvious, and I spent quite some time working on it myself. Thanks, anyway.
 
Doing it by hand, though, suggests a more intelligent way to organize the product than simply looking at the resulting number and factoring it.
 
So all you need now is the general form of the nth derivative of square root. Just start writing them out. You'll see the pattern right away.
 
I can now see... this is what I've got:

[tex]\sqrt{x} = 2 + \frac{1}{4} \left( x-4 \right) + \sum _{n=2} ^{\infty} \left( -1 \right)^{n+1} \frac{1\cdot 3 \cdot 5 \cdots \cdot \left( 2n-3 \right)}{n!2^{3n-1}} \left( x-4 \right)^n[/tex]

thanks
 
And as a final trick, notice that:

1 * 3 * 5 * 7 = 1 * 2 * ... * 8 / (2 * 4 * 6 * 8)
= 1 * 2 * ... * 8 / (1 * 2 * 3 * 4 * 2^4)
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
Replies
10
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 19 ·
Replies
19
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K