Something I don't understand about taylor series

Click For Summary
SUMMARY

The discussion centers on finding the Taylor expansion for cot(x) at the point a = π/2. The original approach using the Maclaurin series for cot(x) was incorrect. Instead, the correct method involves using the identity cot(π/2 + z) = -tan(z) and applying the Maclaurin series for tan(x). The distinction between Taylor and Maclaurin series is clarified, emphasizing that the Taylor series is a power series centered at a specific point, not a transformation of the function.

PREREQUISITES
  • Understanding of Taylor series and Maclaurin series
  • Familiarity with trigonometric identities
  • Basic calculus concepts, including derivatives
  • Knowledge of power series expansions
NEXT STEPS
  • Study the derivation of Taylor series for various functions
  • Learn about the convergence of Taylor series
  • Explore trigonometric identities and their applications in series expansions
  • Review examples of Maclaurin series for common functions like sin(x) and cos(x)
USEFUL FOR

Students studying calculus, particularly those focusing on series expansions, as well as educators seeking to clarify the differences between Taylor and Maclaurin series.

tamtam402
Messages
199
Reaction score
0

Homework Statement



Let's say I'm asked to find the taylor expansion for cot x, at the given point a = π/2.


Homework Equations





The Attempt at a Solution



My first thought would be to take the mc laurin series expansion for cotx, which is:
cot x = 1/x + x/3 - x3/45 ...
and substitute x for z-π/2.

According to my solution manual, that isn't correct. By messing around with trig identities, I solved the problem in the following way:

cot x = cot (π/2 + x - π/2) = -tan(x - π/2)
I took the mc laurin series expansion for tanx, multiplied it by -1, replaced x by z-π/2 and found the right answer.


Why wasn't I allowed to substitute x = z - π/2 in cot x, yet doing the same thing in -tanx gave me the right answer?
 
Physics news on Phys.org
Because cot x, which is what you're being asked to calculate, isn't equal to cot (x-pi/2), which is what you calculated.
 
Isn't a taylor series development the development of f(x-a)? I wasn't asked to evaluate cot x for x = pi/2, I was asked to evaluate the Taylor expansion at a = pi/2.

I'm self-studying from Boas book and there's pretty much no explanation given on series. If someone would be kind enough to provide me a link to demistify the difference between Taylor and McLaurin expansions, I'd be very grateful*.
 
tamtam402 said:
Isn't a taylor series development the development of f(x-a)?
NO, it isnt. A Taylor's series for f(x) at x= a is a power series for f(x) at the point x= a. That is NOT, in general, a power series for f(x-a).
I wasn't asked to evaluate cot x for x = pi/2, I was asked to evaluate the Taylor expansion at a = pi/2.

I'm self-studying from Boas book and there's pretty much no explanation given on series. If someone would be kind enough to provide me a link to demistify the difference between Taylor and McLaurin expansions, I'd be very grateful*.
 
tamtam402 said:
I'm self-studying from Boas book and there's pretty much no explanation given on series. If someone would be kind enough to provide me a link to demistify the difference between Taylor and McLaurin expansions, I'd be very grateful*.
You might want to check out a freshman calculus book for review purposes. Boas assumes you are already familiar with the basics of these series. In any case, a MacLaurin series is the Taylor series for a=0. The Taylor series about x=a is simply
$$f(x) = f(a)+f'(a)(x-a)+\frac{f''(a)}{2!}(x-a)^2+\cdots.$$ It's a power series in x-a, not f(x-a).

Here's a specific example of the difference. The MacLaurin series for sin x is
$$\sin x = x - \frac{x^3}{3!} + \frac{x^5}{5!} - \cdots.$$ If you substitute, say, ##x=z-\pi/2##, you'd get
$$(z-\pi/2) - \frac{(z-\pi/2)^3}{3!} + \frac{(z-\pi/2)^5}{5!} - \cdots = \sin(z-\pi/2) = -\cos z.$$ If you use the formula above to find the series for sine about ##x=\pi/2##, you'd actually get
$$\sin x = 1 - \frac{(x-\pi/2)^2}{2!} + \frac{(x-\pi/2)^4}{4!} - \cdots.$$
 
tamtam402 said:

Homework Statement



Let's say I'm asked to find the taylor expansion for cot x, at the given point a = π/2.


Homework Equations





The Attempt at a Solution



My first thought would be to take the mc laurin series expansion for cotx, which is:
cot x = 1/x + x/3 - x3/45 ...
and substitute x for z-π/2.

According to my solution manual, that isn't correct. By messing around with trig identities, I solved the problem in the following way:

cot x = cot (π/2 + x - π/2) = -tan(x - π/2)
I took the mc laurin series expansion for tanx, multiplied it by -1, replaced x by z-π/2 and found the right answer.


Why wasn't I allowed to substitute x = z - π/2 in cot x, yet doing the same thing in -tanx gave me the right answer?

The Taylor series for cot x at x = π/2 is the Maclaurin series of f(z) = cot(π/2 + z) around z = 0. If you try to get it from the Maclaurin series around x = 0, here is what happens:
\cot(\pi/2 + z) = \frac{1}{\pi/2 + z} - \frac{1}{3} (\pi/2 + z) - \frac{1}{45} (\pi/2 + z)^3 - \frac{2}{945} (\pi/2 + z)^5 + \cdots.
The constant term (not containing z) in the expansion is
c_0 = \frac{2}{\pi}-\frac{1}{3}\frac{\pi}{2} - \frac{1}{45}\frac{\pi^3}{2^3} - \frac{2}{945} \frac{\pi^5}{2^5} - \cdots.
Similarly, you can get the coefficient c1 of z1, c2 of z2, etc. However, these coefficients themselves are infinite series, so this is not at all useful.

RGV
 
Alright, thanks everyone :)
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 22 ·
Replies
22
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
Replies
6
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
2
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 10 ·
Replies
10
Views
4K