This page allows you to practice some exercises on Differentiation. If you notice that you have difficulties, we advise you to go over the corresponding sections in the book.
These questions correspond to the following sections:
- Section 6.10 - Exponential Functions
- Section 6.11 - Logarithmic Functions
Question 25
Find the first-order derivatives w.r.t. x of:
(a) y=5ex−3x3+8
(b) y=exx
(c) y=ex+1x+x2
(d) y=x3ex
(e) y=(x+ex)2
(f) y=ex(ax+bx2)2, with a,b constants
Show answer
(a) y′=5ex−9x2.
(b) y′=(1⋅ex−xex)/e2x=(1−x)e−x
(c) y′=[(1+2x)(ex+1)−(x+x2)ex]/(ex+1)2
=[1+2x+ex(1+x−x2)]/(ex+1)2.
(d) y′=x3ex+3x2ex=x2ex(3+x).
(e) y′=2(x+ex)(1+ex).
(f) y′=[2(ax+bx2)(a+2bx)ex−(ax+bx2)2ex]/(ex)2
=[x(a+bx)(−bx2+(4b−a)x+2a)]e−x.
Question 26
Find the following derivatives:
(a) y′ and y′′ for y=e1/x
(b) y′ and y′′ for y=5e2x2−3x+1
(c) dxde(ex)
(d) dtd((et+e−t)1)
(e) dxdx2x
(f) y′ for y=x22x2
(g) y′ for y=ex10x
Show answer
(a) y′=−x−2e1/x and y′′=x−4e1/x(2x+1).
(b) y′=5(4x−3)e2x2−3x+1 and y′′=5e2x2−3x+1(16x2−24x+13).
(c) dxde(ex)=eex⋅ex=eex+1.
(d) dtd((et+e−t)1)=21(et/2−e−t/2).
(e) dxdx2x=2x+x2xln2=2x(1+xln2).
(f) y′=2x2x2(1+x2ln2).
(g) y′=ex10x+ex10xln10=ex10x(1+ln10).
Question 27
Find the intervals where the following functions are increasing:
(a) y=x3+e2x
(b) y=5x2e−4x
(c) y=ex−e3x
Show answer
(a) y′=3x2+2e2x. Since 3x2≥0 for all x and e2x>0 for all x, 2e2x>0 for all x, so y′>0 for all x, so y is increasing in (−∞,∞).
(b) y′=e−4x(10x−20x2)=10x(1−2x)e−4x. Since e−4x>0 for all x, the sign of y′ depends on 10x(1−2x). The critical points can be found by setting this expression equal to zero, which yields x=0 and x=1/2. From this, we can easily deduce that y is increasing in the interval [0,1/2].
(c) y′=ex(1−3e2x). Since ex>0 for all x, we need to solve for what values of x1−3e2x>0. This yields x<−21ln3. Thus, y is increasing in (−∞,−21ln3].
Question 28
Compute the first and second derivatives of:
(a) y=lnx+3x−2
(b) y=x3lnx
(c) y=xlnx
(d) y=x3(lnx)2
(e) y=lnxx2
Show answer
(a) y′=1/x+3 and y′′=−1/x2.
(b) y′=3x2lnx+x3⋅x−1=3x2lnx+x2, and the second derivative is given by y′′=6xlnx+3x2⋅x−1+2x=x(6lnx+5).
(c) y′=(1−lnx)/x2 and y′′=(2lnx−3)/x3 after applying the quotient rule.
(d) y′=3x2(lnx)2+2lnx⋅x−1⋅x3=x2lnx(3lnx+2) and y′′=6x(lnx)2+10xlnx+2x.
(e) y′=[lnx⋅2x−x2⋅x−1]/(lnx)2=x(2lnx−1)/(lnx)2 and y′′=(lnx)42(lnx)3−3(lnx)2+2lnx. (Getting the second derivative requires some tedious algebra).
Question 29
Find the derivative of:
(a) y=ln(lnx)
(b) y=ln1−x2
(c) y=ex3lnx2
Show answer
(a) y′=lnx1⋅(1/x)=xlnx1, using the chain rule.
(b) y=ln1−x2=21ln(1−x2). So, y′=21(1−x2)−1⋅−2x=−(1−x2)x, using the chain rule.
(c) We can apply the product and chain rule to obtain: y′=ex3⋅x2+lnx2⋅3x2ex3. This can be rewritten as y′=ex3(3x2lnx2+x2)=2ex3(3x2lnx+x1).
Remark: It is not done in this solution, but note that you can also rewrite y as y=2ex3lnx and then proceed to take the first derivative. You could verify that this yields the same solution.
Question 30
Determine the domains of the functions defined by:
(a) y=ln(x+1)
(b) y=ln(1−x3x−1)
(c) y=ln∣x∣
(d) y=ln(lnx)
(e) y=ln(lnx)−11
Show answer
Note that lnz is only defined for z>0. We can use this result to solve the following questions.
(a) y=ln(x+1), so x+1>0 for x>−1.
(b) The critical points can be found by solving 3x−1=0 and 1−x=0, which gives x=31 and x=1. For those values, the function is not defined. For x<31, we evaluate the ln function at a negative value, so the function is not defined. This is also the case for x>1. Thus, the function is only defined for 31<x<1.
(c) For all x=0, we ensure that the function argument is strictly positive.
(d) We need x>0 for the inner ln function to be defined. However, this is not enough. We also need the input of the outer ln function to be positive. Note that lnx>0 for x>1, which is the domain we seek.
(e) From (d) we know that we need x>1 for ln(lnx) to be defined. We only have to exclude the case in which the denominator reduces to zero. This happens for x=ee, which should thus be excluded. Thus, the domain is x>1,x=ee.
Question 31
Find the intervals where the following functions are increasing:
(a) y=ln(4−x2)
(b) y=x3lnx
(c) y=2x(1−lnx)2
Show answer
(a) y is defined only in (−2,2), where y′=−2x/(4−x2)>0 if and only if x<0. Thus, y is increasing in (−2,0].
(b) y is defined for x>0, where y′=x2(3lnx+1)>0 if and only if lnx>−1/3. Thus, y is increasing in [e−1/3,∞).
(c) y is defined for x>0. y′=(1−lnx)(lnx−3)/2x2>0 if and only if 1<lnx<3. Thus, y is increasing in [e,e3].
Question 32
Differentiate the following functions using logarithmic differentiation:
(a) y=(2x)x
(b) y=xx
(c) y=(x)x
Show answer
We provide an elaborate answer for (a). The remaining questions can be solved analogously.
(a) Note that lny=xln(2x). If we take the derivative w.r.t x on both sides, we obtain
y1dxdy=dxdxln(2x). The derivative on the righthand side reduces to the expression:
dxdxln(2x)=ln(2x)+x⋅2x1⋅2=ln(2x)+1. Now we should note that
dxdy=dxdyxln(2x). Since y=(2x)x, we obtain y′=(2x)x(1+ln2+lnx) by also noting ln(2x)=ln2+lnx.