Deriving Maclaurin series for tanx

Click For Summary
SUMMARY

The Maclaurin series for tan(x) can be derived by dividing the series for sin(x) by the series for cos(x). The series for sin(x) is given by sin(x) = x - x³/3! + x⁵/5! - x⁷/7!..., and for cos(x) it is cos(x) = 1 - x²/2! + x⁴/4! - x⁶/6!... To find the coefficients of the Maclaurin series for tan(x), denoted as T_n, one must utilize polynomial long division or adapt the series for 1/(1-z) where z = x²/2! - x⁴/4! + ... The resulting series for tan(x) will only include odd powers of x, confirming its nature as an odd function.

PREREQUISITES
  • Understanding of Maclaurin series expansions
  • Familiarity with Taylor series and polynomial long division
  • Knowledge of Bernoulli numbers and their properties
  • Basic calculus concepts, particularly derivatives and series convergence
NEXT STEPS
  • Study the derivation of Taylor series for various functions
  • Learn about Bernoulli numbers and their applications in series expansions
  • Explore polynomial long division techniques in detail
  • Investigate the convergence properties of power series
USEFUL FOR

Students and educators in mathematics, particularly those focusing on calculus, series expansions, and mathematical analysis. This discussion is beneficial for anyone looking to deepen their understanding of trigonometric series and their applications.

Lucy Yeats
Messages
117
Reaction score
0

Homework Statement



State the Maclaurin series for sinx and cosx. Hence derive the Maclaurin series for tanx.


Homework Equations



sin(x) = x - x3/3! + x5/5! - x7/7!...
cos(x) = 1 - x2/2! + x4/4! - x6/6!...

The Attempt at a Solution



I know you divide the series for sinx by the series for cosx. However, can you do polynomial long division to get the answer? I've only done long division with polynomials starting with the highest power, so I'm confused.
 
Physics news on Phys.org
One way you can do it is to write
\begin{align*}
\tan x &= \frac{x - \frac{x^3}{3!}+\frac{x^5}{5!}-\cdots}{1-\frac{x^2}{2!}+\frac{x^4}{4!}-\cdots} \\
&= \frac{x - \frac{x^3}{3!}+\frac{x^5}{5!}-\cdots}{1 - \left(\frac{x^2}{2!}-\frac{x^4}{4!}+\cdots\right)} \\
&= \left( x - \frac{x^3}{3!}+\frac{x^5}{5!} -\cdots \right) \left[ 1 + \left(\frac{x^2}{2!}-\frac{x^4}{4!}+\cdots\right) + \left(\frac{x^2}{2!}-\frac{x^4}{4!} + \cdots\right)^2+\cdots\right]
\end{align*}What you'd want to do is figure out what terms contribute to each order of x.
 
Sorry for being slow, but how did you get that last line?
 
Oh, sorry. I meant to explain that. It's using the series for 1/(1-z):
\frac{1}{1-z} = 1 + z + z^2 + \cdotsIn this case, you have
z = \frac{x^2}{2!} - \frac{x^4}{4!} + \cdots

You might want to see if you can figure out how to adapt long division to solve this problem. Try starting from the low-degree end and see how it works out.
 
Thanks, that's a clever method.
 
Notice that \tan{x} is an odd function. Therefore, its Maclaurin series expansion contains only odd powers:
<br /> \tan{x} = \sum_{n= 0}^{\infty}{T_{n} \, x^{2 n + 1}}<br />

You are left with finding the coefficients \lbrace T_{n} \rbrace. Notice that:
<br /> \tan{x} = \frac{\sin{x}}{\cos{x}} \Rightarrow \sin{x} = \cos{x} \, \tan{x}<br />
Although you had stated the first few terms of the sine and the cosine series expansions, you need an analytic form for the whole series:
<br /> \sin{x} = \sum_{n = 0}^{\infty}{\frac{(-1)^{n}}{(2 n + 1)!} \, x^{2 n + 1}}<br />
<br /> \cos{x} = \sum_{n = 0}^{\infty}{\frac{(-1)^{n}}{(2 n)!} \, x^{2 n}}<br />

If you plug all these expansions in, and you use the product[/itex] to find the general term of the product of the series, and you compare them term by term, you should get an equation for the coefficients \lbrace T_{n} \rbrace. If you compare it with the equation that defines the Bernoulli numbers, you might find a connection.
 
Last edited by a moderator:
Thanks everyone!
 

Similar threads

  • · Replies 10 ·
Replies
10
Views
26K
  • · Replies 6 ·
Replies
6
Views
3K
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
5K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 22 ·
Replies
22
Views
4K
  • · Replies 12 ·
Replies
12
Views
3K
Replies
23
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K