Use the Maclaurin series and the geometric series . Multiplication, grouped by total degree, gives
The six displayed nonzero terms include every contribution through total degree three. A sufficient open region for the convergent product expansion is , .
The Maclaurin series cancels the numerator's linear term, leaving
Thus . The same expansion applies for positive and negative , so this is a two-sided limit.
Combine the terms before taking their limit:
Using the exponential function Maclaurin series, the numerator is and the denominator is . Consequently
The cancellation removes the two individual singularities. Subtracting their separate divergent limits would not determine the finite answer.
Write . Multiplying by the cosine Maclaurin series and comparing with the sine series gives
Coefficient comparison yields , and . Hence
Substitute into . Keeping one extra order to make the term-counting explicit,
Counting the constant term, the first three nonzero terms are . If the phrase is taken to mean the first three nonconstant terms, they are ; the displayed expansion supplies both conventions. The cubic coefficient is , combining the cubic term in with the cubic exponential term.
Start with the Maclaurin series . Put into the binomial series . Keeping terms through gives
so
Since and , term-by-term integration supplies the constant of integration and gives
The expansions hold near zero; the nearest real poles at limit their radius of convergence to . The derivative relation also independently checks all three displayed coefficients of the tangent function.
The Maclaurin series give and . Therefore , and cancellation of the common leading power gives
The argument applies from either side of zero: both leading terms involve the even power . The expression need not be defined at zero itself for its limit to exist.
Combine the two singular terms before taking the limit:
For near zero, within the real domain , the Maclaurin series is . Hence
The two individual terms have divergent limits; their leading singularities cancel. Evaluating them separately as an “infinity minus infinity” subtraction would not justify the finite result.
Subtract the Maclaurin series of from that of . Their even powers cancel, giving
The full power series is , with radius of convergence one. For the real logarithm, the stated series applies on .
For real sufficiently close to zero, . Taking the logarithm and using its Maclaurin series gives
Continuity of the exponential then gives
This is a two-sided real limit on the punctured neighbourhood where the base is positive.
The successive derivatives of cosine cycle through . Its Taylor series about therefore separates into even and odd powers:
The two brackets are the Maclaurin series of cosine and sine, giving
Both series converge absolutely for every real , so regrouping the even and odd terms is valid everywhere on the real axis.
The hyperbolic cotangent is
Expand the numerator and denominator using the exponential Maclaurin series:
This is a Laurent series, rather than an ordinary Maclaurin series: has a simple pole at zero. The printed request should be understood as the expansion obtained from the exponential series, including this unavoidable term.
For , the geometric series gives . Integrating from zero to yields the Maclaurin series
On the real axis the series also converges at to , but diverges at .
For fixed real and sufficiently large positive , the base in the requested limit is positive. Apply the series with argument :
Continuity of the exponential function therefore gives
This includes , when the expression is identically one.
The Maclaurin series of the exponential function and sine give
Both the numerator and denominator first become nonzero at order . Dividing by that common power gives the limit
The fundamental theorem of calculus differentiates the variable upper endpoint:
At zero, , , and . The integrand is even, so its integral from zero is an odd function; all even coefficients in the Maclaurin series vanish. Hence
This is the local expansion of the error function.
Use the binomial series and exponential Maclaurin series:
The Cauchy product is
Adding cancels the first three powers. Hence the first nonzero term is
The Maclaurin series gives . The first two nonzero terms are therefore
To retain the finite term after cancellation, expand far enough before dividing. The Maclaurin series are
Thus
and hence
The linear terms cancel: , whereas . Also . Their leading nonzero terms therefore give
The Maclaurin series remainder orders justify division after factoring out .
The Maclaurin series give and . Dividing by in a punctured neighborhood of zero gives
The logarithm must be expanded about two, not about one. Factor
Applying the supplied logarithm expansion to the bracket gives . Thus, through second order,
In fact the cubic coefficient vanishes, since and the second term is even; the Maclaurin series remainder can be sharpened to .