Solution The limit is of type 0/0. Moreover, we have
limx→0(ln(x+1))′(xx−1)′=limx→0(1/(x+1))xx(1+lnx)=limx→0(1+x)xx(1+lnx)=−∞.
By l’Hôpital’s rule, the limit is −∞.
Problem 2 Find limx→0(ex+e−x−cosx)x21.
Solution The limit is of type 1∞. Let f(x)=ex+e−x−cosx−1. We have
limx→0(ex+e−x−cosx)x21=limx→0[(1+f(x))f(x)1]x2f(x).
Since limx→0f(x)=0, limx→0(1+f(x))f(x)1=e. Moreover, limx→0f(x)/x2 is of type 0/0, and
limx→0(x2)′f′(x)=limx→02xex−e−x+sinx
is again of type 0/0, and
limx→0(x2)′′f′′(x)=limx→02ex+e−x+cosx=23.
By l’Hôpital’s rule, limx→0x2f(x)=23 and the limit is e3/2.
Problem 3limx→0+(ex−1)2esin(−1+cosx)sin(−1+cosx).
Solution If limx→0(ex−1)2sin(−1+cosx) exists, then
limx→0(ex−1)2esin(−1+cosx)sin(−1+cosx)=limx→0esin(−1+cosx)limx→0+(ex−1)2sin(−1+cosx)=limx→0(ex−1)2sin(−1+cosx).
Note that limx→0(ex−1)2sin(−1+cosx) is of type 0/0 and
x→0lim((ex−1)2)′(sin(−1+cosx))′=x→0lim2(ex−1)excos(−1+cosx)(−sinx)=x→0lim2ex−cos(−1+cosx)x→0limex−1sinx=−21x→0limex−1sinx
if limx→0ex−1sinx exists.
Finally, limx→0ex−1sinx=limx→0xsinxex−1x=1. The answer is thus 2−1.
Problem 4 Use Taylor’s theorem to calculate the following limit: limx→0x(sinx−x+3!x3)cosx−1+2x2−4!x4.
Solution The 6th order Taylor polynomial of cosx is
1−2!x2+4!x4−6!x6.
By Taylor’s theorem,
limx→0x6cosx−(1−2!x2+4!x4−6!x6)=0,
and so
limx→0x6cosx−1+2!x2−4!x4=−6!1.
The 5th order Taylor polynomial of sinx is
x−3!x3+5!x5.
By Taylor’s theorem,
limx→0x5sinx−(x−3!x3+5!x5)=0,
and so
limx→0x5sinx−x+3!x3=5!1.
Finally,
limx→0x(sinx−x+3!x3)cosx−1+2x2−4!x4=limx→0x6cosx−1+2!x2−4!x4limx→0sinx−x+3!x3x5=−61.
Problem 5 Use Taylor’s theorem to calculate 1.01 with precision of at least 10−6.
Solution Let f(x)=1+x. Note that
f′(x)=21(1+x)−1/2,f′′(x)=4−1(1+x)−3/2,f′′′(x)=83(1+x)−5/2.
The 2nd order Taylor polynomial of 1+x is
P(x)=f(0)+1!f′(0)x−2!f′′(0)x2=1+21x−81x2.
By Taylor’s theorem, for some 0<c<0.01∣f(0.01)−P(0.01)∣=3!f′′′(c)(0.01)3=3!(3/8)(1+c)−5/210−6<16110−6<10−7.
Therefore f(0.01) is approximately P(0.01) up to an error of 10−7.
Problem 6 Use Taylor’s theorem to prove the following inequality, for every x∈R:
ex≥1+x+x2/2!+x3/3!+x4/4!+x5/5!.
Solution The 5th order Taylor polynomial of ex is
P(x)=1+x+x2/2!+x3/3!+x4/4!+x5/5!,
and
f(6)(x)=ex.
By Taylor’s theorem, for some c between 0 and x,
ex−P(x)=6!ecx6,
which is always ≥0.
Definition If the graph of f lies above (below) all of its tangents on an interval I, then it’s called concave upward (downward) on I.
Concavity test How f′′ helps determine the intervals of concavity? If f′′(x)>0 for all x in I, then f is concave upward on I. If f′′(x)<0 for all x in I, then f is concave downward on I.
Definition A point P on curve y=f(x) is called an inflection point if f is continuous there and curve changes from concave upward to concave downward, or from concave downward to concave upward, at P.
Second derivative test Suppose f′′ is continuous near c. If f′(c)=0 and f′′(c)>0, then f has a local minimum at c. If f′(c)=0 and f′′(c)<0, then f has a local maximum at c.
Example Let’s discuss the curve y=f(x)=x4−4x3 with respect to concavity, points of inflection and local minima and local maxima. Note that f′(x)=4x3−12x2=4x2(x−3) and f′′(x)=12x2−24x=12x(x−2). The function is monotone decreasing on (−∞,3) and increasing on (3,∞). Second derivative f′′(x)=0 gives x=0,2. Thus (0,0) and (3,−27) are inflection points and f is concave upward on (−∞,0) and (2,∞), and it is concave downward on (0,2). First derivative f′(x)=0 gives x=0,3 are critical numbers. By the second derivative test, we know that x=3 is a local minimum. However x=0 is not local min/max because f is monotone decreasing on (−∞,3).