0:00 / 0:00

Review of Logarithmic Functions

Converting between Logarithmic and Exponential Forms
y=bx    ↔    x=log⁡byy=b^x\ \ \ \ \leftrightarrow\ \ \ \ x=\log_by

Natural Log
ln⁡x=log⁡ex\ln x=\log_ex, where e≈2.71...e\approx2.71...

Log Rules
  • log⁡bx+log⁡by=log⁡b(xy)\displaystyle \log_bx+\log_by=\log_b\left(xy\right) & ln⁡x+ln⁡y=ln⁡(xy)\ln x+\ln y=\ln\left(xy\right)
  • log⁡bx−log⁡by=log⁡b(xy)\displaystyle \log_bx-\log_by=\log_b\left(\frac{x}{y}\right) & ln⁡x−ln⁡y=ln⁡(xy)\displaystyle \ln x-\ln y=\ln\left(\frac{x}{y}\right)
  • log⁡b(xn)=nlog⁡bx\log_b\left(x^n\right)=n\log_bx & ln⁡(xn)=nln⁡x\ln\left(x^n\right)=n\ln x
Wize Tip
Using log in your calculator:
  • Most calculators have the log⁡\log button, this represents log⁡10\log_{10}
  • If we want to calculate log⁡bx\log_bx for base b≠10b\ne10, we can use the formula log⁡10xlog⁡10b  or  ln⁡xln⁡b\displaystyle \frac{\log_{10}x}{\log_{10}b}\ \ or\ \ \frac{\ln x}{\ln b}

Practice: Logarithmic Functions

Use the graph of the logarithmic function to evaluate the following limits.

Enter the ∞\infty or −∞-\infty symbols when needed instead of DNE.
0:00 / 0:00

Derivative of ln x

If f(x)=ln⁡xf(x)=\ln x, then the derivative is f′(x)=1xf'(x)=\frac{1}{x}.
(i.e. ddx(ln⁡x)=1x\frac{d}{dx}\left(\ln x\right)=\frac{1}{x})

Wize Tip
The product, quotient, and chain rules all still apply with the ln function.


PAGE BREAK
Example
Find the derivative of the following:
a) y=(3x−x2)ln⁡xy=\left(3x-x^2\right)\ln x
We need to use product rule:
y′=Derivative of the first×Second+First×Derivative of the secondy'=\orange{\text{Derivative of the first}}\times\text{Second}+\text{First}\times\green{\text{Derivative of the second}}
y′=(3x−x2)′(ln⁡x)+(3x−x2)(ln⁡x)′y'=\orange{\left(3x-x^2\right)'}\left(\ln x\right)+\left(3x-x^2\right)\green{\left(\ln x\right)'}
y′=(3−2x)(ln⁡x)+(3x−x2)(1x)\displaystyle y'=\orange{\left(3-2x\right)}\left(\ln x\right)+\left(3x-x^2\right)\green{\left(\frac{1}{x}\right)}
y′=(3−2x)(ln⁡x)+(3−x)y'=\left(3-2x\right)\left(\ln x\right)+\left(3-x\right)

b) y=ln⁡xex\displaystyle y=\frac{\ln x}{e^x}
We need to use quotient rule:
y′=Derivative of the first×Second−First×Derivative of the secondSecond2\displaystyle y'=\frac{\orange{\text{Derivative of the first}}\times \text{Second}-\text{First}\times\green{\text{Derivative of the second}}}{\text{Second}^2}
y′=(ln⁡x)′(ex)−(ln⁡x)(ex)′(ex)2\displaystyle y'=\frac{\orange{\left(\ln x\right)'}\left(e^x\right)-\left(\ln x\right)\green{\left(e^x\right)'}}{\left(e^x\right)^2}
y′=(1x)(ex)−(ln⁡x)(ex)(ex)2\displaystyle y'=\frac{\orange{\left(\frac{1}{x}\right)}\left(e^x\right)-\left(\ln x\right)\green{\left(e^x\right)}}{\left(e^x\right)^2}
y′=1x−(ln⁡x)ex\displaystyle y'=\frac{\frac{1}{x}-\left(\ln x\right)}{e^x}


PAGE BREAK
c) y=ln⁡(2−ex)y=\ln\left(2-e^x\right)
We need to use chain rule:
y′=Derivative of the ouside×Derivative of the insidey'=\orange{\text{Derivative of the ouside}}\times\green{\text{Derivative of the inside}}
y′=(ln⁡...)′×(2−ex)′y'=\orange{\left(\ln...\right)'}\times\green{\left(2-e^x\right)'}
y′=12−ex×(−ex)\displaystyle y'=\orange{\frac{1}{2-e^x}}\times\green{\left(-e^x\right)}
y′=−ex2−ex\displaystyle y'=-\frac{e^x}{2-e^x}

d) y=ln⁡(x21+x)\displaystyle y=\ln\left(\frac{x^2}{1+x}\right)
We need to use chain rule, then quotient rule.
Chain rule:
y′=Derivative of the outside×Derivative of the insidey'=\orange{\text{Derivative of the outside}}\times\green{\text{Derivative of the inside}}
y′=(ln⁡...)′×(x21+x)′\displaystyle y'=\orange{\left(\ln...\right)'}\times\green{\left(\frac{x^2}{1+x}\right)'}
Quotient rule for the derivative of the inside:
y′=(1x21+x)×((x2)′(1+x)−(x2)(1+x)′(1+x)2)\displaystyle y'=\orange{\left(\frac{1}{\frac{x^2}{1+x}}\right)}\times\green{\left(\frac{\purple{\left(x^2\right)'}\left(1+x\right)-\left(x^2\right)\blue{\left(1+x\right)'}}{\left(1+x\right)^2}\right)}
y′=(1+xx2)×((2x)(1+x)−(x2)(1)(x+1)2)\displaystyle y'=\orange{\left(\frac{1+x}{x^2}\right)}\times\green{\left(\frac{\purple{(2x)}\left(1+x\right)-\left(x^2\right)\blue{\left(1\right)}}{\left(x+1\right)^2}\right)}
y′=(1+xx2)×(2x+x2(x+1)2)\displaystyle y'=\left(\frac{1+x}{x^2}\right)\times\left(\frac{2x+x^2}{\left(x+1\right)^2}\right)
y′=(1x)×(2+x(x+1))\displaystyle y'=\left(\frac{1}{x}\right)\times\left(\frac{2+x}{\left(x+1\right)}\right)
y′=2x+1x(x+1)\displaystyle y'=\frac{2x+1}{x\left(x+1\right)}
0:00 / 0:00

Derivative of logbx

If f(x)=log⁡bxf(x)=\log_bx, then the derivative is f′(x)=1x(ln⁡b)\displaystyle f'\left(x\right)=\frac{1}{x\left(\ln b\right)}.
(i.e. ddx(log⁡bx)=1x(ln⁡b)\displaystyle \frac{d}{dx}\left(\log_bx\right)=\frac{1}{x\left(\ln b\right)})

Wize Tip
The product, quotient, and chain rules all still apply with the log function.


PAGE BREAK
Example
Find the derivatives of the following functions.
a) y=(3x−x2)log⁡2xy=\left(3x-x^2\right)\log_2x
We need to use product rule:
y′=Derivative of the first×Second+First×Derivative of the secondy'=\orange{\text{Derivative of the first}}\times\text{Second}+\text{First}\times\green{\text{Derivative of the second}}
y′=(3x−x2)′(log⁡2x)+(3x−x2)(log⁡2x)′y'=\orange{\left(3x-x^2\right)'}\left(\log_2x\right)+\left(3x-x^2\right)\green{\left(\log_2 x\right)'}
y′=(3−2x)(log⁡2x)+(3x−x2)(1x(ln⁡2))\displaystyle y'=\orange{\left(3-2x\right)}\left(\log_2 x\right)+\left(3x-x^2\right)\green{\left(\frac{1}{x(\ln2)}\right)}
y′=(3−2x)(log⁡2x)+(3−x)ln⁡2y'=\left(3-2x\right)\left(\log_2x\right)+\frac{\left(3-x\right)}{\ln2}

b) y=log⁡2xex\displaystyle y=\frac{\log_2 x}{e^x}
We need to use quotient rule:
y′=Derivative of the first×Second−First×Derivative of the secondSecond2\displaystyle y'=\frac{\orange{\text{Derivative of the first}}\times \text{Second}-\text{First}\times\green{\text{Derivative of the second}}}{\text{Second}^2}
y′=(log⁡2x)′(ex)−(log⁡2x)(ex)′(ex)2\displaystyle y'=\frac{\orange{\left(\log_2 x\right)'}\left(e^x\right)-\left(\log_2 x\right)\green{\left(e^x\right)'}}{\left(e^x\right)^2}
y′=(1x(ln⁡2))(ex)−(log⁡2x)(ex)(ex)2\displaystyle y'=\frac{\orange{\left(\frac{1}{x(\ln2)}\right)}\left(e^x\right)-\left(\log_2 x\right)\green{\left(e^x\right)}}{\left(e^x\right)^2}
y′=1x(ln⁡2)−(log⁡2x)ex\displaystyle y'=\frac{\frac{1}{x(\ln2)}-\left(\log_2 x\right)}{e^x}


PAGE BREAK
c) y=log⁡2(2−ex)y=\log_2\left(2-e^x\right)
We need to use chain rule:
y′=Derivative of the ouside×Derivative of the insidey'=\orange{\text{Derivative of the ouside}}\times\green{\text{Derivative of the inside}}
y′=(log⁡2...)′×(2−ex)′y'=\orange{\left(\log_2...\right)'}\times\green{\left(2-e^x\right)'}
y′=1(2−ex)(ln⁡2)×(−ex)\displaystyle y'=\orange{\frac{1}{(2-e^x)(\ln2)}}\times\green{\left(-e^x\right)}
y′=−ex(2−ex)(ln⁡2)\displaystyle y'=-\frac{e^x}{(2-e^x)(\ln2)}

d) y=log⁡2(x21+x)\displaystyle y=\log_2\left(\frac{x^2}{1+x}\right)
We need to use chain rule, then quotient rule.
Chain rule:
y′=Derivative of the outside×Derivative of the insidey'=\orange{\text{Derivative of the outside}}\times\green{\text{Derivative of the inside}}
y′=(log⁡2...)′×(x21+x)′\displaystyle y'=\orange{\left(\log_2...\right)'}\times\green{\left(\frac{x^2}{1+x}\right)'}
Quotient rule for the derivative of the inside:
y′=(1x21+x(ln⁡2))×((x2)′(1+x)−(x2)(1+x)′(1+x)2)\displaystyle y'=\orange{\left(\frac{1}{\frac{x^2}{1+x}(\ln2)}\right)}\times\green{\left(\frac{\purple{\left(x^2\right)'}\left(1+x\right)-\left(x^2\right)\blue{\left(1+x\right)'}}{\left(1+x\right)^2}\right)}
y′=(1+xx2(ln⁡2))×((2x)(1+x)−(x2)(1)(x+1)2)\displaystyle y'=\orange{\left(\frac{1+x}{x^2(\ln2)}\right)}\times\green{\left(\frac{\purple{(2x)}\left(1+x\right)-\left(x^2\right)\blue{\left(1\right)}}{\left(x+1\right)^2}\right)}
y′=(1+xx2(ln⁡2))×(2x+x2(x+1)2)\displaystyle y'=\left(\frac{1+x}{x^2(\ln2)}\right)\times\left(\frac{2x+x^2}{\left(x+1\right)^2}\right)
y′=(1x(ln⁡2))×(2+x(x+1))\displaystyle y'=\left(\frac{1}{x(\ln2)}\right)\times\left(\frac{2+x}{\left(x+1\right)}\right)
y′=2+xx(ln⁡2)(x+1)\displaystyle y'=\frac{2+x}{x(\ln2)\left(x+1\right)}