10th Lecture

Derivative of Natural Log

The derivative of the natural log function is given by: ddxln(x)=1x\frac{d}{dx} \ln(x) = \frac{1}{x}

Constant Rule Example

If f(x)=5ln(x)f(x) = 5 \ln(x), then f(x)=51x=5xf'(x) = 5 \cdot \frac{1}{x} = \frac{5}{x}.

Product Rule Example

Given f(x)=x2ln(x)f(x) = x^2 \ln(x), apply the product rule:

ddx(x2ln(x))=2xln(x)+x21x=2xln(x)+x=x(2ln(x)+1)\frac{d}{dx} (x^2 \ln(x)) = 2x \ln(x) + x^2 \cdot \frac{1}{x} = 2x \ln(x) + x = x(2\ln(x) + 1)

Derivative of Log Base b

The derivative of a logarithm with base b is:

ddxlogb(x)=1xln(b)\frac{d}{dx} \log_b(x) = \frac{1}{x \ln(b)}

Conversion Formula

logb(x)=ln(x)ln(b)\log_b(x) = \frac{\ln(x)}{\ln(b)}

Example

ddxlog<em>2(x4)=ddx(4log</em>2(x))=4xln(2)\frac{d}{dx} \log<em>2(x^4) = \frac{d}{dx} (4 \log</em>2(x)) = \frac{4}{x \ln(2)}

Chain Rule with Natural Log

ddxln(u(x))=u(x)u(x)\frac{d}{dx} \ln(u(x)) = \frac{u'(x)}{u(x)}

Example

ddxln(x2+1)=2xx2+1\frac{d}{dx} \ln(x^2 + 1) = \frac{2x}{x^2 + 1}

ddxlog2(x3+x)=3x2+1(x3+x)ln(2)\frac{d}{dx} \log_2(x^3 + x) = \frac{3x^2 + 1}{(x^3 + x) \ln(2)}

ddxln((x+2)(x2+x))=(x+2)(x2+x)+(x+2)(x2+x)(x+2)(x2+x)=(x2+x)+(x+2)(2x+1)(x+2)(x2+x)\frac{d}{dx} \ln((x + 2)(x^2 + x)) = \frac{(x + 2)'(x^2 + x) + (x + 2)(x^2 + x)'}{(x + 2)(x^2 + x)} = \frac{(x^2 + x) + (x + 2)(2x + 1)}{(x + 2)(x^2 + x)}

Derivative of Exponential Function

ddxex=ex\frac{d}{dx} e^x = e^x

Example

ddxexx=exxex1x2=ex(x1)x2\frac{d}{dx} \frac{e^x}{x} = \frac{e^x \cdot x - e^x \cdot 1}{x^2} = \frac{e^x(x - 1)}{x^2}

Derivative of b^x

ddxbx=bxln(b)\frac{d}{dx} b^x = b^x \ln(b)

Example

ddx3x=3xln(3)\frac{d}{dx} 3^x = 3^x \ln(3)

Chain Rule Example

ddxex2+1=ex2+1(2x)=2xex2+1\frac{d}{dx} e^{x^2 + 1} = e^{x^2 + 1} \cdot (2x) = 2x \cdot e^{x^2 + 1}

ddx23x=23xln(2)3=3ln(2)23x\frac{d}{dx} 2^{3x} = 2^{3x} \ln(2) \cdot 3 = 3 \ln(2) \cdot 2^{3x}

Application

Exponential growth model: A(t)=A0btA(t) = A_0 \cdot b^t

Where:

  • A0A_0 is the initial quantity.

  • bb is the growth factor.

  • tt is time.

AIDS Epidemic Example

Given A(t)=16002.25tA(t) = 1600 \cdot 2.25^t, the rate of new cases per year is:

A(t)=16002.25tln(2.25)A'(t) = 1600 \cdot 2.25^t \cdot \ln(2.25)

For 1993 (t = 10):

A(10)=16002.2510ln(2.25)4,300,000A'(10) = 1600 \cdot 2.25^{10} \cdot \ln(2.25) \approx 4,300,000