Find the Taylor series of a function

Click For Summary

Homework Help Overview

The discussion revolves around finding the Taylor series of the function f(x) = 1/(2 - x)^2, specifically centered at 0. Participants explore various methods to derive the series and examine the validity of their approaches.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning, Problem interpretation, Assumption checking

Approaches and Questions Raised

  • Participants attempt to derive the Taylor series using different methods, including direct application of the Maclaurin series and manipulation of known series expansions. Questions arise regarding the correctness of their results and the assumptions made during the derivation process.

Discussion Status

Some participants have identified potential mistakes in their calculations and are reconsidering their approaches. There is an ongoing exploration of convergence issues related to the series, with hints provided regarding the use of the binomial series and differentiation of related functions.

Contextual Notes

Participants discuss the convergence of the series and the implications of deriving series from other known functions, raising questions about the validity of their assumptions regarding the values of x for which the series converges.

songoku
Messages
2,512
Reaction score
394
Homework Statement
Find the Taylor series of ##f(x) = \frac{1}{(2 - x)^2}## centered at 0
##a. f(x) = \sum_{n=0}^\infty \frac{n+1}{2^{n+2}} x^n##
##b. f(x) = \sum_{n=0}^\infty (-1)^n \frac{n+1}{2^{n+2}} x^n##
##c. f(x) = \sum_{n=0}^\infty \frac{n}{2^{n}} x^n##
##d. f(x) = \sum_{n=0}^\infty \frac{n+1}{2^{n+1}} x^n##
##e. f(x) = \sum_{n=0}^\infty \frac{n+2}{2^{n}} x^n##
Relevant Equations
Taylor series
Maclaurin series
Standard power series
Because the Taylor series centered at 0, it is same as Maclaurin series. My attempts:

1st attempt

<br /> \begin{align}<br /> \frac{1}{1-x} = \sum_{n=0}^\infty x^n\\<br /> \\<br /> \frac{1}{x} = \frac{1}{1-(1-x)} = \sum_{n=0}^\infty (1-x)^n\\<br /> \\<br /> \frac{1}{x^2} = \sum_{n=0}^\infty (1-x^2)^n\\<br /> \\<br /> \frac{1}{(2-x)^2} = \sum_{n=0}^\infty (1-(2-x)^2)^n\\<br /> \\<br /> = \sum_{n=0}^\infty (-x^2 + 4x -3)^n\\<br /> \\<br /> = \sum_{n=0}^\infty (-1)^n (x-3)^n (x-1)^n<br /> \end{align}<br />

Then how to continue?2nd attempt: I do the derivative manually and put it into Maclaurin series formula and I end up with:
## f(x) = \sum_{n=0}^\infty \frac{(n+1)!}{2^{(n+2)}} x^n##

Is my answer on 2nd attempt wrong? Or the choices of the question are wrong?

Thanks
 
Physics news on Phys.org
songoku said:
Problem Statement: Find the Taylor series of ##f(x) = \frac{1}{(2 - x)^2}## centered at 0
##a. f(x) = \sum_{n=0}^\infty \frac{n+1}{2^{n+2}} x^n##
##b. f(x) = \sum_{n=0}^\infty (-1)^n \frac{n+1}{2^{n+2}} x^n##
##c. f(x) = \sum_{n=0}^\infty \frac{n}{2^{n}} x^n##
##d. f(x) = \sum_{n=0}^\infty \frac{n+1}{2^{n+1}} x^n##
##e. f(x) = \sum_{n=0}^\infty \frac{n+2}{2^{n}} x^n##
Relevant Equations: Taylor series
Maclaurin series
Standard power series

2nd attempt: I do the derivative manually and put it into Maclaurin series formula and I end up with:
## f(x) = \sum_{n=0}^\infty \frac{(n+1)!}{2^{(n+2)}} x^n##

Is my answer on 2nd attempt wrong? Or the choices of the question are wrong?

Thanks

You're quite close. You probably just made a mistake somewhere.

PS what about using the binomial series?
 
  • Like
Likes   Reactions: songoku
PeroK said:
You're quite close. You probably just made a mistake somewhere.

PS what about using the binomial series?
I found my mistake. The answer is (a)

How about my first method? Can it be continued to get the answer or it is just wrong from the beginning?

Thanks
 
songoku said:
I found my mistake. The answer is (a)

How about my first method? Can it be continued to get the answer or it is just wrong from the beginning?

Thanks

I can't see immediately where it goes wrong, but if you try ##x = 0## you have a divergent series. I suspect there are issues with convergence somewhere along the way.
 
  • Like
Likes   Reactions: songoku
PeroK said:
I can't see immediately where it goes wrong, but if you try ##x = 0## you have a divergent series. I suspect there are issues with convergence somewhere along the way.
Is it correct if I say like this: since I derive the series from ##\frac{1}{1-x}## then x ≠ 1. I used the previous series to find the series of ##\frac{1}{x}## so x ≠ 0. Finally, I used it again to get series for ##\frac{1}{(2-x)^2}## so x ≠ 2.
In total, x can not be 0, 1, and 2?

Thanks
 
songoku said:
Is it correct if I say like this: since I derive the series from ##\frac{1}{1-x}## then x ≠ 1. I used the previous series to find the series of ##\frac{1}{x}## so x ≠ 0. Finally, I used it again to get series for ##\frac{1}{(2-x)^2}## so x ≠ 2.
In total, x can not be 0, 1, and 2?

Thanks

I'm not so sure. The series must converge for ##x = 0##. You've got problems for ##x > 1## as well.
 
  • Like
Likes   Reactions: songoku
PeroK said:
I'm not so sure. The series must converge for ##x = 0##. You've got problems for ##x > 1## as well.
Ok, I'll think about it again. Thank you for the help Perok
 
songoku said:
Problem Statement: Find the Taylor series of ##f(x) = \frac{1}{(2 - x)^2}## centered at 0
If you notice that ##\frac d{dx}\left(\frac{-1}{x - 2}\right) = \frac 1 {(x - 2)^2} = \frac 1 {(2 - x)^2}##, you can find the Maclaurin series for ##g(x) = \frac {-1}{x - 2}##, and then differentiate w.r.t. x, giving you the series for the function in your problem. I suspect that this is what the author of the problem had in mind.

I believe @PeroK's hint in post #2 is related to this idea.
 
  • Like
Likes   Reactions: songoku
Mark44 said:
If you notice that ##\frac d{dx}\left(\frac{-1}{x - 2}\right) = \frac 1 {(x - 2)^2} = \frac 1 {(2 - x)^2}##, you can find the Maclaurin series for ##g(x) = \frac {-1}{x - 2}##, and then differentiate w.r.t. x, giving you the series for the function in your problem. I suspect that this is what the author of the problem had in mind.

I believe @PeroK's hint in post #2 is related to this idea.

Thanks Mark44
 
  • #10
Mark44 said:
If you notice that ##\frac d{dx}\left(\frac{-1}{x - 2}\right) = \frac 1 {(x - 2)^2} = \frac 1 {(2 - x)^2}##, you can find the Maclaurin series for ##g(x) = \frac {-1}{x - 2}##, and then differentiate w.r.t. x, giving you the series for the function in your problem. I suspect that this is what the author of the problem had in mind.

I believe @PeroK's hint in post #2 is related to this idea.

I rewrote the function as

##f(x) = \frac14 (1 - \frac{x}{2})^{-2}##

and used a binomial expansion.
 
  • #11
"More than one way to skin a cat ..."
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
Replies
8
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 13 ·
Replies
13
Views
2K