- #1

- 53

- 0

Thanks.

You are using an out of date browser. It may not display this or other websites correctly.

You should upgrade or use an alternative browser.

You should upgrade or use an alternative browser.

- Thread starter ghotra
- Start date

- #1

- 53

- 0

Thanks.

- #2

HallsofIvy

Science Advisor

Homework Helper

- 41,833

- 963

- #3

- 18

- 0

Sorry perhaps I should have spoken correctly.

How do I find the series expansion of tan x about pi/2?

Mathematica input "Series[Tan[x],{x,Pi/2,3}]" gives:

[tex]

-\frac{1}{x-\pi/2} + \frac{1}{3}\left(x - \frac{\pi}{2}\right) + \frac{1}{45}\left(x - \pi/2\right)^3 + \cdots

[/itex]

Again, I can obtain this series if I write sin and cos as a Taylor series about pi/2 and perform the corresponding long division. I am looking for a "prettier" way of obtaining this series.

Why am I doing this? I am trying to find the residue of tan z about pi/2.

- #4

- 18

- 0

When I see a function: tan z

How can determine, by inspection only, what order the pole is? It is simple to do for polynomials.

This particular example would be enlightening....I had to find the series to determine the order of the pole.

For something like 1/(1-cos z) I think of the series expansion of cos z about 0 and know that the 1 will cancel....so my first term, when I do the division, will be z^{-2}. Thus, I know this is a second order pole. Is this _the_ method for determining the order of a pole, or is there a better way?

- #5

krab

Science Advisor

- 896

- 2

Do a Taylor expansion of (pi/2-x)tan(x).

- #6

krab

Science Advisor

- 896

- 2

- #7

- 53

- 0

You mention taking the Taylor expansion of (z-pi/2)tan(z). I assume you want me to expand about the point pi/2. Even so, this does not take away the complication. The first non-zero term is:

[tex]

\frac{\mathrm{d}}{\mathrm{d}z}\left[(z-\pi/2)\tan z \right]_{z=\pi/2} (z-\pi/2)

[/tex]

But, when I take the derivative I will get a [itex]\sec^2 z[/itex]...I cannot evaluate that at pi/2. This method does not work. Please correct me if I have misunderstood.

Thanks.

[tex]

\frac{\mathrm{d}}{\mathrm{d}z}\left[(z-\pi/2)\tan z \right]_{z=\pi/2} (z-\pi/2)

[/tex]

But, when I take the derivative I will get a [itex]\sec^2 z[/itex]...I cannot evaluate that at pi/2. This method does not work. Please correct me if I have misunderstood.

Thanks.

Last edited:

- #8

lurflurf

Homework Helper

- 2,440

- 138

you need to interpet z=pi/2 as a limit z->pi/2ghotra said:You mention taking the Taylor expansion of (z-pi/2)tan(z). I assume you want me to expand about the point pi/2. Even so, this does not take away the complication. The first non-zero term is:

[tex]

\frac{\mathrm{d}}{\mathrm{d}z}\left[(z-\pi/2)\tan z \right]_{z=\pi/2} (z-\pi/2)

[/tex]

But, when I take the derivative I will get a [itex]\sec^2 z[/itex]...I cannot evaluate that at pi/2. This method does not work. Please correct me if I have misunderstood.

Thanks.

It is probably easier to find series for sin and cos and do formal division of series.

- #9

krab

Science Advisor

- 896

- 2

But the sec^2 is multiplied by x-pi/2, so if e=x-pi/2, it converges to 1/e as e->0. The other term is tan(x), which converges to -1/e. The two cancel, so the limit is zero. Now go to the second derivative. It's messy, and you have to use tricks like l'Hopital's rules, but still better than dividing two infinite series.ghotra said:But, when I take the derivative I will get a [itex]\sec^2 z[/itex]...I cannot evaluate that at pi/2. This method does not work.

Share: