Derivatives of Exponential and Logarithmic Functions (Base ≠ e)

Derivative Rules for Bases aea \neq e - Exponential Rule

• For f(x)=axf(x)=a^x, f(x)=(lna)ax\displaystyle f'(x)= (\ln a)\,a^x

• Chain-rule extension: if f(x)=au(x)f(x)=a^{u(x)} then f(x)=(lna)au(x)u(x)\displaystyle f'(x)= (\ln a)\,a^{u(x)}\,u'(x) - Logarithmic Rule

• For g(x)=logaxg(x)=\log_a x, g(x)=1(lna)x\displaystyle g'(x)=\frac1{(\ln a)\,x} • Chain-rule extension: if g(x)=logau(x)g(x)=\log_a u(x) then g(x)=u(x)(lna)u(x)\displaystyle g'(x)=\frac{u'(x)}{(\ln a)\,u(x)} ### Proof Sketches - Derivative of axa^x

• Rewrite: ax=exlnaa^x = e^{x\ln a} (log property).

• Differentiate using ddxeu=euu\frac{d}{dx}e^{u}=e^{u}u':

ddxax=exlna(lna)=axlna\frac{d}{dx}a^x = e^{x\ln a}(\ln a)=a^x\ln a. - Derivative of logax\log_a x • Change of base: logax=lnxlna\log_a x = \frac{\ln x}{\ln a}.

• Differentiate: 1lna1x\frac{1}{\ln a}\,\frac{1}{x} (since lna\ln a is constant wrt xx).

• Result: 1(lna)x\frac1{(\ln a)\,x}. ### Worked Examples #### Example 1\ Derivative of f(x)=5x34f(x)=5^{x^3-4} - Identify parameters: a=5,  u=x34,  u=3x2a=5,\;u=x^3-4,\;u'=3x^2. - Apply chain rule form:

f(x)=(ln5)5x34(3x2)=3(ln5)x25x34f'(x)=(\ln 5)\,5^{x^3-4}\,(3x^2)=3(\ln 5)\,x^2\,5^{x^3-4}. - Algebra tip: constants like 3ln53\ln5 usually front-loaded. #### Example 2\ Derivative of g(x)=log3(2x25x)g(x)=\log_3(2x^2-5x) - Parameters: a=3,  u=2x25x,  u=4x5a=3,\;u=2x^2-5x,\;u'=4x-5. - Rule: g(x)=u(lna)ug'(x)=\frac{u'}{(\ln a)\,u}

g(x)=4x5(ln3)(2x25x)\displaystyle g'(x)=\frac{4x-5}{(\ln 3)\,(2x^2-5x)}. - Factor note: denominator has a common factor xx but does not cancel with numerator. #### Example 3\ Product h(x)=8xlog9xh(x)=8^x\,\log_9 x - Write as f(x)g(x)f(x)g(x) with

f(x)=8x,  f(x)=(ln8)8xf(x)=8^x,\;f'(x)=(\ln8)8^x

g(x)=log9x,  g(x)=1(ln9)xg(x)=\log_9 x,\;g'(x)=\frac1{(\ln9)x}. - Product rule: h=fg+fgh' = f'g + fg'

h(x)=(ln8)8xlog9x+8x1(ln9)xh'(x)=(\ln8)8^x\log_9 x + 8^x\frac1{(\ln9)x}. - Factor 8x8^x:

h(x)=8x[(ln8)log9x+1(ln9)x]h'(x)=8^x\Big[(\ln8)\log_9 x + \frac1{(\ln9)x}\Big]. - Log simplifications:

ln9=ln(32)=2ln3\ln9 = \ln(3^2)=2\ln3, ln8=ln(23)=3ln2\ln8 = \ln(2^3)=3\ln2.

Final compact form:

h(x)=8x[3(ln2)log9x+12(ln3)x]h'(x)=8^x\Big[3(\ln2)\,\log_9 x + \frac1{2(\ln3)x}\Big]. #### Example 4\ Quotient q(x)=2x3x1q(x)=\dfrac{2^x}{3x-1} - f(x)=2x,  f(x)=(ln2)2xf(x)=2^x,\;f'(x)=(\ln2)2^x

g(x)=3x1,  g(x)=3g(x)=3x-1,\;g'(x)=3. - Quotient rule: q=fgfgg2q'=\frac{f'g-fg'}{g^2}

q(x)=(ln2)2x(3x1)2x(3)(3x1)2q'(x)=\frac{(\ln2)2^x(3x-1)-2^x(3)}{(3x-1)^2}. - Factor 2x2^x in numerator:

q(x)=2x[(ln2)(3x1)3](3x1)2q'(x)=\frac{2^x[(\ln2)(3x-1)-3]}{(3x-1)^2}. ### Application: Double-Declining Balance Depreciation #### Model - Purchase price $4,600\$4,600. - Salvage value function: V(t)=4600(0.85)t\displaystyle V(t)=4600\,(0.85)^t where tt = years. #### (a) Value After 2 Years - Evaluate: V(2)=4600(0.85)2=$3,325.50V(2)=4600\,(0.85)^2 = \$3,325.50. - Interpretation: machine is worth about $3,325.50\$3,325.50 after 2 years. #### (b) Instantaneous Rate of Change - Derivative:

V(t)=4600(ln0.85)(0.85)t\displaystyle V'(t)=4600\,(\ln0.85)\,(0.85)^t (since a=0.85a=0.85). #### (c) Rate After 3 Years - Evaluate: V(3)=4600(ln0.85)(0.85)3$459.11V'(3)=4600\,(\ln0.85)\,(0.85)^3 \approx -\$459.11 per year. - Interpretation: at t=3t=3 the machine’s value is decreasing by about $459.11\$459.11 each year.

• Negative sign \Rightarrow decline.

• Rate is instantaneous—will change for $$t \neq 3$