How do you find the Maclaurin Series for #y= x / sin(x)#?
2 Answers
# f(x) = 1 + 1/6x^2+7/360x^4 + O(x^6) #
Explanation:
We have:
# f(x) = x/sinx #
First let us take a look at the graph and see how "well defined" the function is:
graph{x/sinx [-40, 40, -20, 20]}
The Maclaurin series can be expressed in the following way:
# f(x) = f(0) + (f'(0))/(1!) x + (f''(0))/(2!) x^2 + (f'''(0))/(3!) x^3 + (f^((4)))(0)/(4!) x^4 + ...#
# " "= sum_(n=0)^(∞) f^((n))(0)/(n!) x^n#
We also note from the graph that
First Term
# f(x) = x/sinx #
We cannot evaluate
# f(0) = lim_(x rarr 0) f(x) #
# " " = lim_(x rarr 0) x/sinx #
# " " = lim_(x rarr 0) 1/cosx #
# " " = 1 #
Second Term:
# f(x) = x/sinx #
Using the quotient rule, we have:
# f'(x) = ( (sinx)(1) - (x)(cosx) ) / (sinx)^2 #
# " " = ( sinx - xcosx ) / (sin^2x) #
Again, we cannot evaluate
# f'(0) = lim_(x rarr 0) f'(x) #
# " " = lim_(x rarr 0) ( sinx - xcosx ) / (sin^2x) #
# " " = lim_(x rarr 0) ( cosx - (x)(-sinx) - (1)(cosx) ) / (2sinxcosx) #
# " " = lim_(x rarr 0) ( xsinx ) / (2sinxcosx) #
# " " = lim_(x rarr 0) ( x ) / (2cosx) #
# " " = 0 #
Third Term:
# f'(x) = ( sinx - xcosx ) / (sin^2x) #
Using the quotient rule, and the product rule we have:
# f''(x) = ( (sin^2x)(xsinx) - (sinx-xcosx)(2sinxcosx) ) / (sin^2x)^2 #
# " " = ( (xsin^2x - 2cosxsinx+2xcos^2x) ) / (sin^3x) #
# " " = ( (x - 2cosxsinx+xcos^2x) ) / (sin^3x) #
Again, we cannot evaluate
# f''(0) = lim_(x rarr 0) f''(x) #
# " " = lim_(x rarr 0) ( (x - sin2x+xcos^2x) ) / (sin^3x) #
# " " = lim_(x rarr 0) ( (1 - 2cos2x+x(2cosx)(-sinx) + cos^2x) ) / ((3sin^2x)(cosx)) #
# " " = lim_(x rarr 0) ( (1 - 2cos2x-xsin2x + cos^2x) ) / ((3sin^2x)(cosx)) #
# " " = 2/3 lim_(x rarr 0) ( (1 - 2cos2x-xsin2x + cos^2x) ) / ((sinx)(sin2x)) #
And a repeated application of L'Hôpital's rule gives:
# f''(0) = 2/3 lim_(x rarr 0) ( (4sin2x-x(2cos2x)-sin2x + 2cosx(-sinx)) ) / ((sinx)(2cos2x)+(cosx)(sin2x)) #
# " " = 2/3 lim_(x rarr 0) ( (4sin2x-2xcos2x-sin2x - sin2x) ) / ((sinx)(2cos2x)+(cosx)(sin2x)) #
# " " = 4/3 lim_(x rarr 0) ( sin2x-xcos2x ) / (2sinxcos2x+cosxsin2x) #
And a repeated application of L'Hôpital's rule gives:
# f''(0) = 4/3 lim_(x rarr 0) ( 2cos2x-x(-2sin2x)-cos2x ) / (2sinx(-2sinx)+(2cosx)(cosx)+cosx(2cos2x)+(-sinx)sin2x) #
# " " = 4/3 ( 2+0-1 ) / (2+2-0 #
# " " = 1/3 #
As you can see this is rapidly becoming tedious, although further terms can e calculated in a similar way.
Constructing the Maclaurin Series:
Using the above results we can construct the Maclaurin Series as follows:
# f(x) = 1 + (0)/(1!) x + (1/3)/(2!) x^2 + ...#
# " " = 1 + 1/6 x^2 + ...#
With the assistance of technology, further terms can be calculated readily, to get:
# f(x) = 1 + 1/6x^2+7/360x^4 + O(x^6) #
Explanation:
Start from the McLaurin series of
Then:
Now note that if:
and:
it follows that:
In our particular case
so that expanding the product we have:
and solving for
as:
so: