Derivative of Logarithmic Functions (Bonus)

Review of Logarithmic Functions
Converting between Logarithmic and Exponential Forms
y=bx ↔ x=logby
Natural Log
lnx=logex, where e≈2.71...
Log Rules
- logbx+logby=logb(xy) & lnx+lny=ln(xy)
- logbx−logby=logb(yx) & lnx−lny=ln(yx)
- logb(xn)=nlogbx & ln(xn)=nlnx

Derivative of ln x
If f(x)=lnx, then the derivative is f′(x)=x1.
(i.e. dxd(lnx)=x1)
Example
Find the derivative of the following:
a) y=(3x−x2)lnx
We need to use product rule:
y′=Derivative of the first×Second+First×Derivative of the second
y′=(3x−x2)′(lnx)+(3x−x2)(lnx)′
y′=(3−2x)(lnx)+(3x−x2)(x1)
y′=(3−2x)(lnx)+(3−x)
b) y=exlnx
We need to use quotient rule:
y′=Second2Derivative of the first×Second−First×Derivative of the second
y′=(ex)2(lnx)′(ex)−(lnx)(ex)′
y′=(ex)2(x1)(ex)−(lnx)(ex)
y′=exx1−(lnx)
c) y=ln(2−ex)
We need to use chain rule:
y′=Derivative of the ouside×Derivative of the inside
y′=(ln...)′×(2−ex)′
y′=2−ex1×(−ex)
y′=−2−exex
d) y=ln(1+xx2)
We need to use chain rule, then quotient rule.
Chain rule:
y′=Derivative of the outside×Derivative of the inside
y′=(ln...)′×(1+xx2)′
Quotient rule for the derivative of the inside:
y′=(1+xx21)×((1+x)2(x2)′(1+x)−(x2)(1+x)′)
y′=(x21+x)×((x+1)2(2x)(1+x)−(x2)(1))
y′=(x21+x)×((x+1)22x+x2)
y′=(x1)×((x+1)2+x)
y′=x(x+1)2x+1

Derivative of logbx
If f(x)=logbx, then the derivative is f′(x)=x(lnb)1.
(i.e. dxd(logbx)=x(lnb)1)
Example
Find the derivatives of the following functions.
a) y=(3x−x2)log2x
We need to use product rule:
y′=Derivative of the first×Second+First×Derivative of the second
y′=(3x−x2)′(log2x)+(3x−x2)(log2x)′
y′=(3−2x)(log2x)+(3x−x2)(x(ln2)1)
y′=(3−2x)(log2x)+ln2(3−x)
b) y=exlog2x
We need to use quotient rule:
y′=Second2Derivative of the first×Second−First×Derivative of the second
y′=(ex)2(log2x)′(ex)−(log2x)(ex)′
y′=(ex)2(x(ln2)1)(ex)−(log2x)(ex)
y′=exx(ln2)1−(log2x)
c) y=log2(2−ex)
We need to use chain rule:
y′=Derivative of the ouside×Derivative of the inside
y′=(log2...)′×(2−ex)′
y′=(2−ex)(ln2)1×(−ex)
y′=−(2−ex)(ln2)ex
d) y=log2(1+xx2)
We need to use chain rule, then quotient rule.
Chain rule:
y′=Derivative of the outside×Derivative of the inside
y′=(log2...)′×(1+xx2)′
Quotient rule for the derivative of the inside:
y′=(1+xx2(ln2)1)×((1+x)2(x2)′(1+x)−(x2)(1+x)′)
y′=(x2(ln2)1+x)×((x+1)2(2x)(1+x)−(x2)(1))
y′=(x2(ln2)1+x)×((x+1)22x+x2)
y′=(x(ln2)1)×((x+1)2+x)
y′=x(ln2)(x+1)2+x