Trying to expand (1+x)^n using Taylor Expansion

It should be:1= \begin{pmatrix}n \\ 0 \end{pmatrix}n= \begin{pmatrix}n \\ 1 \end{pmatrix}n(n-1)/2= \begin{pmatrix}n \\ 2 \end{pmatrix}etc.In summary, the conversation discusses using Taylor Expansion to show that (1+x)^n can be expanded as 1 + nx + n(n-1)(x^2)/2! + ... The attempt at a solution involves finding the derivatives of y(x)=(1+x)^n evaluated at 0, resulting in the final answer of (1+x)^n = 1^n + (n)(x) + (n
  • #1
Rococo
67
9

Homework Statement



I need to use Taylor Expansion to show that:

(1+x)^n = 1 + nx + n(n-1)(x^2)/2! + ...

Homework Equations



y(x0 + dx) = y(x0) + dx(dy/dx) + [(dx)^2/2!](d^2y/dx^2) + ...

The Attempt at a Solution



I've only just begun Taylor Expansion, according to my textbook I need the above equation

(1+x)^n
So: x0 = 1
and dx = x

I'm not sure about this next part:

y(1+x) = (1+x)^n
So: y(x) = x^n
dy/dx = nx^n-1
d^2y/dx^2 = (n)(n-1)x^n-2

However putting all of this into the equation I get:

y(1+x) = y(1) + (x)(nx^n-1) + [x^2/2!][(n)(n-1)x^n-2] + ...

(1+x)^n = 1^n + (nx)(x^n-1) + (n)(n-1)[x^2/2!](x^n-2) + ...

(1+x)^n = 1 + (nx)(x^n-1) + (n)(n-1)[x^2/2!](x^n-2) + ...

Which I get as my final answer.

As you can see, there is a (x^n-1) in the second term, and a (x^n-2) in the third term, that shouldn't be there.

So I'm trying to see where I went wrong, please help me out!
 
Physics news on Phys.org
  • #2
The function you want to Taylor expand is y(x)=(1+x)^n. Then your Taylor expansion is y(x)=y(0)+y'(0)x+y''(0)x^2/2!+... Start by finding the derivatives of y evaluated at 0. What are y(0), y'(0), y''(0) etc etc?
 
  • #3
Dick said:
The function you want to Taylor expand is y(x)=(1+x)^n. Then your Taylor expansion is y(x)=y(0)+y'(0)x+y''(0)x^2/2!+... Start by finding the derivatives of y evaluated at 0. What are y(0), y'(0), y''(0) etc etc?

Thanks, here's what I get now:

y(0) = 1^n

y'(0) = n(1^n-1) = n

y''(0) = (n-1)(n)(1^n-2) = (n)(n-1)

So putting that into the equation I now get:

(1+x)^n = 1^n + (n)(x) + (n)(n-1)(x^2)/2! + ...

Is that the right method?
 
  • #4
Ok, that works. Try using more parentheses in expressions. (1^n-1) is unclear. I thought it meant (1-1)=0. It should be (1^(n-1)).
 
  • #5
By the way:
[tex]1= \begin{pmatrix}n \\ 0 \end{pmatrix}[/tex]
[tex]n= \begin{pmatrix}n \\ 1 \end{pmatrix}[/tex]
[tex]n(n-1)= \begin{pmatrix}n \\ 2 \end{pmatrix}[/tex]
etc.
 
  • #6
HallsofIvy, you forget multiply the left side by 1/2 in last formula:

n choose 2 = n(n-1)/2
 
  • #7
Yes, thanks.
 

FAQ: Trying to expand (1+x)^n using Taylor Expansion

What is the purpose of expanding (1+x)^n using Taylor Expansion?

The purpose of expanding (1+x)^n using Taylor Expansion is to approximate a function around a specific point by using a polynomial with infinitely many terms. This allows for more accurate calculations and predictions of the function's behavior.

How is the Taylor Expansion formula derived?

The Taylor Expansion formula is derived using the Taylor series, which is a representation of a function as an infinite sum of terms. By taking the derivatives of the function at a specific point, the coefficients of the polynomial can be determined.

What are the limitations of using Taylor Expansion?

One limitation of Taylor Expansion is that it only works for functions that are infinitely differentiable. This means that the function must have derivatives of all orders at the expansion point. Additionally, the accuracy of the approximation decreases as the distance from the expansion point increases.

How do you determine the number of terms needed for a specific accuracy in Taylor Expansion?

The number of terms needed for a specific accuracy in Taylor Expansion depends on the function and the desired level of accuracy. In general, using more terms will result in a more accurate approximation. However, there are also methods such as the Lagrange error bound that can be used to determine the number of terms needed for a desired level of accuracy.

Can Taylor Expansion be used for any function?

No, Taylor Expansion can only be used for functions that are infinitely differentiable. Additionally, for functions with a discontinuity or singularity at the expansion point, the Taylor series may not converge to the actual function.

Back
Top