Something I don't understand about taylor series

Click For Summary

Homework Help Overview

The discussion revolves around finding the Taylor expansion for the function cot x at the point a = π/2. Participants explore the differences between Taylor and Maclaurin series expansions and the implications of substituting variables in these series.

Discussion Character

  • Conceptual clarification, Assumption checking, Mixed

Approaches and Questions Raised

  • The original poster attempts to use the Maclaurin series for cot x and questions why substituting x = z - π/2 is not valid. Others clarify the distinction between Taylor and Maclaurin series and discuss the correct approach to finding the Taylor series for cot x at the specified point.

Discussion Status

Participants are actively engaging in clarifying concepts related to Taylor series and their applications. Some have provided insights into the differences between series expansions, while others have shared specific examples to illustrate these points. The conversation is ongoing, with no explicit consensus reached yet.

Contextual Notes

There is mention of the original poster's self-study from Boas' book, which lacks detailed explanations on series, leading to confusion about the concepts being discussed. Additionally, the complexity of deriving coefficients in the Taylor series for cot x is noted as a potential barrier to understanding.

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:
[tex]\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.[/tex]
The constant term (not containing z) in the expansion is
[tex]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.[/tex]
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
2K
  • · 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