Single-Variable-Calculus Ā· Unit 6 Ā· Video 3 Ā· Interactive Practice

M(a)=ln⁔aM(a) = \ln a: Differentiating axa^x and xxx^x

IKey Formulas

FormulaNameWhere it comes from
ax=exln⁔aa^x = e^{x\ln a}Convert to base eea=eln⁔aa = e^{\ln a}, then a power of a power multiplies exponents
ddx ax=(ln⁔a) ax\dfrac{d}{dx}\,a^x = (\ln a)\,a^xSo M(a)=ln⁔aM(a) = \ln aChain rule on e(ln⁔a)xe^{(\ln a)x}, exactly like e3xe^{3x}
(ln⁔u)′=u′u(\ln u)' = \dfrac{u'}{u}Logarithmic differentiationChain rule with dduln⁔u=1u\frac{d}{du}\ln u = \frac{1}{u}
ddx xx=xx(1+ln⁔x)\dfrac{d}{dx}\,x^x = x^x(1 + \ln x)Variable base and exponentln⁔v=xln⁔x\ln v = x\ln x, then the product rule

Key Insight: In e(ln⁔a)xe^{(\ln a)x} the letters ln⁔a\ln a name a fixed number, so they sit where the 33 sits in e3xe^{3x} and the chain rule brings them down: ddxe3x=3e3x\frac{d}{dx}e^{3x} = 3e^{3x}, Ā ddxe(ln⁔a)x=(ln⁔a) e(ln⁔a)x\ \frac{d}{dx}e^{(\ln a)x} = (\ln a)\,e^{(\ln a)x}.

IIVisualization 1 — The Mystery Number on the Graph

The slope of axa^x is its height times one fixed number, M(a)=ln⁔aM(a) = \ln a — the slope at x=0x = 0.

šŸ’” Only a=ea = e gives slope 11 at x=0x = 0, since ln⁔e=1\ln e = 1; bases below 11 have ln⁔a<0\ln a < 0 and a falling graph.

IIIVisualization 2 — Logarithmic Differentiation of xxx^x

Taking logs turns xxx^x into the product xln⁔xx\ln x, which the product rule can handle.

Step 1 — Base and exponent both vary
v=xx,x>0v = x^x,\qquad x > 0

šŸ’” Write 1+ln⁔x1 + \ln x with the 11 first: it is not ln⁔(x+1)\ln(x + 1).

IVVisualization 3 — Two Pieces of One Slope

The slope of xxx^x is the exponent piece xxln⁔xx^x\ln x plus the base piece xxx^x — neither rule alone.

Product rule, piece by piece
(xln⁔x)′=1ā‹…ln⁔xāŸfromĀ theĀ exponent+xā‹…1xāŸfromĀ theĀ base(x\ln x)' = \underbrace{1\cdot\ln x}_{\text{from the exponent}} + \underbrace{x\cdot\tfrac{1}{x}}_{\text{from the base}}
Multiply by xxx^x
ddx xx=xxln⁔xāŸexponentialĀ ruleĀ alone+xxāŸpowerĀ ruleĀ alone\frac{d}{dx}\,x^x = \underbrace{x^x\ln x}_{\text{exponential rule alone}} + \underbrace{x^x}_{\text{power rule alone}}
Check by base ee
ddx exln⁔x=exln⁔x (xln⁔x)′=xx(1+ln⁔x)\frac{d}{dx}\,e^{x\ln x} = e^{x\ln x}\,(x\ln x)' = x^x(1 + \ln x)

VQuiz Questions

Problem 1 Ā· Differentiate an Exponential

Find: ddx 3x\dfrac{d}{dx}\,3^x.

āœ… Correct! M(3)=ln⁔3ā‰ˆ1.099M(3) = \ln 3 \approx 1.099, so 3x3^x grows at about 1.11.1 times its own height.
āŒ That is the power rule. The power rule needs a fixed exponent; in 3x3^x the exponent varies and the base is fixed.
āŒ Only base ee reproduces itself. M(3)=ln⁔3M(3) = \ln 3, and ln⁔3≠1\ln 3 \neq 1.
āŒ Not quite. Write 3x=exln⁔33^x = e^{x\ln 3}; the chain rule multiplies by the constant ln⁔3\ln 3, it does not divide.
Show solution

Convert to base ee: 3=eln⁔33 = e^{\ln 3}, so 3x=e(ln⁔3)x3^x = e^{(\ln 3)x}. Since ln⁔3\ln 3 is a constant, the chain rule gives

ddx e(ln⁔3)x=(ln⁔3) e(ln⁔3)x=(ln⁔3) 3x.\frac{d}{dx}\,e^{(\ln 3)x} = (\ln 3)\,e^{(\ln 3)x} = (\ln 3)\,3^x.

So ddx3x=(ln⁔3) 3x\frac{d}{dx}3^x = (\ln 3)\,3^x, and M(3)=ln⁔3ā‰ˆ1.099M(3) = \ln 3 \approx 1.099.

Problem 2 Ā· Slope of x^x at x = 2

Find: the slope of y=xxy = x^x at x=2x = 2.

āœ… Correct! 4(1+ln⁔2)ā‰ˆ6.774(1 + \ln 2) \approx 6.77: the base piece 44 plus the exponent piece 4ln⁔2ā‰ˆ2.774\ln 2 \approx 2.77.
āŒ Power rule alone. xā‹…xxāˆ’1=xx=4x\cdot x^{x-1} = x^x = 4 treats the exponent as fixed, so it keeps only the base piece.
āŒ Exponential rule alone. xxln⁔x=4ln⁔2x^x\ln x = 4\ln 2 treats the base as fixed, so it keeps only the exponent piece.
āŒ That reads 1+ln⁔x1 + \ln x as ln⁔(x+1)\ln(x + 1). At x=2x = 2 the factor is 1+ln⁔21 + \ln 2, not ln⁔3\ln 3.
āŒ Not quite. Use ddxxx=xx(1+ln⁔x)\frac{d}{dx}x^x = x^x(1 + \ln x) at x=2x = 2.
Show solution

Let v=xxv = x^x. Then ln⁔v=xln⁔x\ln v = x\ln x, and the product rule gives

v′v=1ā‹…ln⁔x+xā‹…1x=1+ln⁔x⟹v′=xx(1+ln⁔x).\frac{v'}{v} = 1\cdot\ln x + x\cdot\frac{1}{x} = 1 + \ln x \quad\Longrightarrow\quad v' = x^x(1 + \ln x).

At x=2x = 2: v′=22(1+ln⁔2)=4(1+ln⁔2)ā‰ˆ4(1.693)ā‰ˆ6.77v' = 2^2(1 + \ln 2) = 4(1 + \ln 2) \approx 4(1.693) \approx 6.77.

Problem 3 Ā· Where x^(1/x) Levels Off

Given: y=x1/xy = x^{1/x} for x>0x > 0. Use logarithmic differentiation to find y′/yy'/y and the xx where the tangent line is horizontal.

What is y′/y?

Where is the tangent line horizontal?

āœ… Correct! y′=0y' = 0 exactly when 1āˆ’ln⁔x=01 - \ln x = 0, at x=ex = e, where the height is e1/eā‰ˆ1.445e^{1/e} \approx 1.445.
āŒ Check the order in the quotient rule. (ln⁔xx)′=1xā‹…xāˆ’ln⁔xā‹…1x2\left(\frac{\ln x}{x}\right)' = \frac{\frac{1}{x}\cdot x - \ln x\cdot 1}{x^2}: the 11 comes first.
āŒ Take logs first. ln⁔y=ln⁔xx\ln y = \frac{\ln x}{x}; differentiate that with the quotient rule, keeping both terms.
āŒ That solves 1+ln⁔x=01 + \ln x = 0. That was the xxx^x factor; here the factor is 1āˆ’ln⁔x1 - \ln x.
āŒ Not quite. Since y>0y > 0 and x2>0x^2 > 0, y′=0y' = 0 exactly when 1āˆ’ln⁔x=01 - \ln x = 0.
Show solution

Take logs: ln⁔y=1xln⁔x=ln⁔xx\ln y = \frac{1}{x}\ln x = \frac{\ln x}{x}. The quotient rule gives

y′y=1xā‹…xāˆ’ln⁔xā‹…1x2=1āˆ’ln⁔xx2.\frac{y'}{y} = \frac{\frac{1}{x}\cdot x - \ln x\cdot 1}{x^2} = \frac{1 - \ln x}{x^2}.

Multiply through by yy: y′=x1/x 1āˆ’ln⁔xx2y' = x^{1/x}\,\dfrac{1 - \ln x}{x^2}.

Both x1/xx^{1/x} and x2x^2 are positive, so y′=0y' = 0 only when ln⁔x=1\ln x = 1, that is x=ex = e. The height there is e1/eā‰ˆ1.445e^{1/e} \approx 1.445.

Problem 4 Ā· A Variable Exponent Inside

Find: ddx 2x2\dfrac{d}{dx}\,2^{x^2}.

āœ… Correct! Base ee turns it into e(ln⁔2)x2e^{(\ln 2)x^2}, and the chain rule brings down (ln⁔2)ā‹…2x(\ln 2)\cdot 2x.
āŒ Power rule on a fixed base. The base 22 is fixed and the exponent x2x^2 varies, so the power rule does not apply.
āŒ Missing the inner derivative. The exponent is x2x^2, not xx, so the chain rule also multiplies by 2x2x.
āŒ Missing ln⁔2\ln 2. 2u2^u has derivative (ln⁔2) 2u(\ln 2)\,2^u with respect to uu, not 2u2^u.
āŒ Not quite. Write 2x2=e(ln⁔2)x22^{x^2} = e^{(\ln 2)x^2} and differentiate the exponent.
Show solution

Convert to base ee: 2x2=e(ln⁔2) x22^{x^2} = e^{(\ln 2)\,x^2}. The chain rule multiplies by the derivative of the exponent, (ln⁔2)ā‹…2x(\ln 2)\cdot 2x:

ddx e(ln⁔2)x2=(ln⁔2)(2x) e(ln⁔2)x2=(2ln⁔2) x 2x2.\frac{d}{dx}\,e^{(\ln 2)x^2} = (\ln 2)(2x)\,e^{(\ln 2)x^2} = (2\ln 2)\,x\,2^{x^2}.

Check by logs: ln⁔y=x2ln⁔2\ln y = x^2\ln 2, so y′y=2xln⁔2\frac{y'}{y} = 2x\ln 2 and y′=(2ln⁔2) x 2x2y' = (2\ln 2)\,x\,2^{x^2}.

Solved: 0 / 4