All formulas hold as x→0; each comes from Tn(x)=∑k=0nk!f(k)(0)xk.
Function
Expansion
General term
ex
1+x+2x2+6x3+24x4+o(x4)
k!xk
sinx
x−6x3+120x5+o(x6)
(−1)k(2k+1)!x2k+1
cosx
1−2x2+24x4+o(x5)
(−1)k(2k)!x2k
log(1+x)
x−2x2+3x3−4x4+o(x4)
(−1)k+1kxk
(1+x)α
1+αx+2α(α−1)x2+6α(α−1)(α−2)x3+o(x3)
(kα)xk
1+x1
1−x+x2−x3+o(x3)
(−1)kxk
1+x
1+2x−8x2+16x3+o(x3)
case α=21
arctanx
x−3x3+5x5+o(x6)
(−1)k2k+1x2k+1
sinhx
x+6x3+120x5+o(x6)
(2k+1)!x2k+1
coshx
1+2x2+24x4+o(x5)
(2k)!x2k
tanx
x+3x3+152x5+o(x6)
Example.limx→0x2ex−1−x=limx22x2+o(x2)=21.
How to remember.
sin and cos have the same terms as ex with alternating signs: sin takes the odd ones, cos the even. sinh, cosh are the same with all signs +.
Odd functions (sin, arctan, sinh, tan) have only odd powers; even functions (cos, cosh) only even powers. So one may write the little-o one degree higher: in cosx=1−2x2+24x4+o(x5) the degree-5 coefficient is 0.
log(1+x) and arctanx have only k in the denominator, not k!.
(1+x)α uses the generalised binomial coefficient (kα)=k!α(α−1)⋯(α−k+1), valid for all α∈R (for natural α one recovers Newton's binomial theorem).
Where they come from
cosx. Derivatives at 0: 1,0,−1,0,1,… Odd ones vanish; even ones alternate +1,−1: coefficients 1,−2!1,+4!1,…
log(1+x).f′=(1+x)−1, f′′=−(1+x)−2, f′′′=2(1+x)−3, f(4)=−3!(1+x)−4; in general f(k)(x)=(−1)k+1(k−1)!(1+x)−k. At 0, dividing by k! gives k(−1)k+1 since k!(k−1)!=k1.
(1+x)α. Each derivative brings the exponent down: f(k)(0)=α(α−1)⋯(α−k+1). For α=31: (1+x)1/3=1+31x−91x2+o(x2), since 231⋅(−32)=−91.
1+x1 is α=−1: (k−1)=k!(−1)(−2)⋯(−k)=(−1)k.
sinh, cosh. Derivatives of sinh are cosh,sinh,cosh,…, with values 1,0,1,… at 0: odd ones equal 1, even ones 0. For cosh the opposite.
arctanx.f′=1+x21; one finds f′(0)=1, f′′′(0)=−2, f(5)(0)=24 and the even ones 0: coefficients 1,−3!2=−31,5!24=51.
Combining expansions
Algebra of little-o (as x→0)
Rule
Why
o(xn)±o(xn)=o(xn)
sum of two ratios tending to 0
c⋅o(xn)=o(xn), c=0 constant
a constant does not change the limit 0
xm⋅o(xn)=o(xm+n)
xm+nxmo(xn)=xno(xn)→0
o(xm)⋅o(xn)=o(xm+n)
product of two ratios tending to 0
o(xm)=o(xn) if m≥n
xno(xm)=xmo(xm)xm−n→0
xm=o(xn) if m>n
xnxm=xm−n→0
o(o(xn))=o(xn)
negligible relative to a negligible
When working with o(x5), every x6,x7,… is absorbed. The "=" with little-o is read left to right only: o(x3)=o(x2) is true, o(x2)=o(x3) false.
Sum and product
Sum: add the polynomials and keep the little-o of lowest degree.
Product: multiply term by term (little-o's too), discard powers beyond the wanted order; the final error is the lowest-degree little-o generated. Example:
(x+2x2+o(x2))(1−x+o(x))=x−2x2+o(x2),
valid to order 2 and no further, since x⋅o(x) is only o(x2).
Compositions f(g(x)) with g(x)→0
For log(cosx), esinx, (1+2x)sinhx, and so on:
Write the outer function in the form of a table entry with argument y→0. E.g. log(cosx)=log(1+(cosx−1)) with y=cosx−1→0; and a(x)b(x)=eb(x)loga(x) with y=b(x)loga(x).
Expand y in x up to the required order n.
Decide how many powers of y are needed. If y∼cxp then yk∼ckxkp: only k with kp≤n matter. The error of the outer function, o(yK), must itself be o(xn): expand the outer function up to the smallest K with Kp≥n. Example: log(cosx) to order n=5: y∼−2x2, p=2, so K=3, log(1+y)=y−2y2+3y3+o(y3), and then y3∼−8x6 is discarded.
Substitute, expand the powers, discard degrees above n.
Most frequent error: using only the first term of the outer function: from log(1+y)∼y concluding log(cosx)=cosx−1+o(x5). It is false: log(1+y)=y+o(y) and o(y)=o(x2), so everything written beyond x2 is worthless; the term −2y2 contributes to x4.
Expansions as x→+∞
The table holds when the argument tends to 0. For x→+∞ make an argument tending to 0 appear, usually x1. With roots, factor out the dominant power and use (1+y)α:
3x+4=x1/3(1+x4)1/3=x1/3(1+31⋅x4+o(x1))(x→+∞).
How many terms to keep in a limit
Expand numerator and denominator until the first term that does not cancel:
x→0limx2ex−1−x:ex−1−x=2x2+o(x2)⟹limit 21.
Stopping at ex=1+x+o(x) would give x2o(x), which says nothing: go further.
Common mistakes
Expanding the outer function too little (log(cosx)).
Using the table with an argument not tending to 0 (arctanxα1 for x→+∞ requires α>0).
Adding little-o's of different degrees and keeping the high one: o(x2)+o(x4)=o(x2).
Forgetting the alternating signs in log(1+x), sin, cos, arctan, or putting them in sinh, cosh.
Versione ripasso
All as x→0.
Function
Expansion
ex
1+x+2x2+6x3+24x4+o(x4)
sinx
x−6x3+120x5+o(x6)
cosx
1−2x2+24x4+o(x5)
log(1+x)
x−2x2+3x3−4x4+o(x4)
(1+x)α
1+αx+2α(α−1)x2+6α(α−1)(α−2)x3+o(x3)
1+x1
1−x+x2−x3+o(x3)
1+x
1+2x−8x2+16x3+o(x3)
arctanx
x−3x3+5x5+o(x6)
sinhx
x+6x3+120x5+o(x6)
coshx
1+2x2+24x4+o(x5)
tanx
x+3x3+152x5+o(x6)
Mnemonics. Odd functions: odd powers only; even: even only. log(1+x) and arctan have k (not k!) below. (kα)=k!α(α−1)⋯(α−k+1).
Little-o.o(xn)±o(xn)=o(xn); xmo(xn)=o(xm+n); o(xm)o(xn)=o(xm+n); o(xm)=o(xn) for m≥n; xm=o(xn) for m>n. The equality reads left to right only.
Sum and product. Sum: keep the lowest-degree little-o. Product: multiply termwise, discard high powers.
Compositions f(g(x)), g→0. Write f as a table function of y=g(x); expand y; if y∼cxp expand the outer function up to K with Kp≥n; substitute and truncate. Do not stop at log(1+y)∼y. For ab use ebloga.
At infinity. Factor out the dominant power: 3x+4=x1/3(1+x4)1/3=x1/3(1+34⋅x1+o(x1)).
Limits. Expand until the first non-cancelling term: x2ex−1−x→21.
Typical mistakes. Outer function expanded too little; argument not tending to 0; keeping the highest little-o in a sum; wrong signs.