Calculus I Limits, Derivatives, and Integrals

2.8 Practice — Logarithmic Differentiation

Problem 1

Use logarithmic differentiation to find \(y'\).

\[y=x^{2x}\quad (x>0)\]
Show solution

Take the natural log of both sides.

Differentiate implicitly with respect to x.

Multiply by y = x^(2x).

Answer:
\(\boxed{y'=2x^{2x}(\ln x+1)}\)

Problem 2

Differentiate using logarithmic differentiation.

\[y=x^{\sin x}\quad (x>0)\]
Show solution

Take the natural log of both sides.

Differentiate using the Product Rule.

Multiply by y = x^(sin x).

Answer:
\(\boxed{y'=x^{\sin x}\left(\cos x\ln x+\frac{\sin x}{x}\right)}\)

Problem 3

Find the derivative.

\[y=x^{\ln x}\quad (x>0)\]
Show solution

Take the natural logarithm of both sides.

Differentiate both sides.

Multiply by y.

Answer:
\(\boxed{y'=\frac{2\ln x}{x}\,x^{\ln x}}\)

Problem 4

Use logarithmic differentiation to find \(y'\).

\[y=(x+1)^3(2x-1)^4\]
Show solution

Take ln of both sides and expand.

Differentiate with respect to x.

Multiply by y.

Answer:
\(\boxed{y'=(x+1)^3(2x-1)^4\left(\frac{3}{x+1}+\frac{8}{2x-1}\right)}\)

Problem 5

Differentiate.

\[y=(\sin x)^x\quad (0<x<\pi)\]
Show solution

Take ln of both sides: ln y = x ln(sin x).

Multiply by y.

Answer:
\(\boxed{y'=(\sin x)^x\big(\ln(\sin x)+x\cot x\big)}\)

Problem 6

Use logarithmic differentiation.

\[y=\frac{x^2\sqrt{x+3}}{(x-1)^5}\]
Show solution

Expand ln y using logarithm properties.

Differentiate and multiply by y.

Answer:
\(\boxed{y'=\frac{x^2\sqrt{x+3}}{(x-1)^5}\left(\frac{2}{x}+\frac{1}{2(x+3)}-\frac{5}{x-1}\right)}\)

Problem 7

Differentiate.

\[y=x^{e^x}\quad (x>0)\]
Show solution

Take ln of both sides: ln y = e^x ln x.

Multiply by y.

Answer:
\(\boxed{y'=x^{e^x}e^x\left(\ln x+\frac{1}{x}\right)}\)

Problem 8

Find the slope of the tangent line to \(y=x^x\) at \(x=1\).

\[y'(1)\]
Show solution

From y' = x^x(ln x + 1), evaluate at x = 1.

Answer:
\(\boxed{y'(1)=1}\)

Problem 9

Use logarithmic differentiation to find \(y'\) for \(x>0\).

\[y=x^{3x}\]
Show solution

Take ln of both sides: ln(y) = 3x ln(x).

Answer:
\(\boxed{y'=3x^{3x}(\ln x+1)}\)

Problem 10

Differentiate using logarithmic differentiation.

\[y=x^{\cos x}\quad(x>0)\]
Show solution

Take the natural log: ln(y) = cos(x) ln(x).

Answer:
\(\boxed{y'=x^{\cos x}\left(\frac{\cos x}{x}-\sin x\ln x\right)}\)

Problem 11

Use logarithmic differentiation to find \(\frac{dy}{dx}\).

\[y=(x^2+1)^x\]
Show solution

Write ln(y) = x ln(x^2 + 1) and differentiate implicitly.

Answer:
\(\boxed{y'=(x^2+1)^x\left(\ln(x^2+1)+\frac{2x^2}{x^2+1}\right)}\)

Problem 12

Use logarithmic differentiation to differentiate the quotient.

\[y=\frac{(x+1)^4(x-2)^3}{(x^2+1)^2}\]
Show solution

Expand ln(y) using logarithm laws.

Differentiate and multiply by y.

Answer:
\(\boxed{y'=\frac{(x+1)^4(x-2)^3}{(x^2+1)^2}\left(\frac{4}{x+1}+\frac{3}{x-2}-\frac{4x}{x^2+1}\right)}\)

Problem 13

Differentiate for \(x>0\).

\[y=(\ln x)^x\]
Show solution

Take ln of both sides: ln(y) = x ln(ln x).

Answer:
\(\boxed{y'=(\ln x)^x\left(\ln(\ln x)+\frac{1}{\ln x}\right)}\)

Problem 14

Find the slope of the tangent line to \(y=x^{2x}\) at \(x=1\).

\[y=x^{2x},\quad x=1\]
Show solution

Since ln(y) = 2x ln(x), differentiate to get y' = 2x^(2x)(ln x + 1).

Answer:
\(\boxed{2}\)

Problem 15

Use logarithmic differentiation to find \(y'\).

\[y=x^{\sqrt{x}}\quad(x>0)\]
Show solution

Take ln of both sides: ln(y) = x^(1/2) ln(x).

Answer:
\(\boxed{y'=x^{\sqrt{x}}\left(\frac{\ln x+2}{2\sqrt{x}}\right)}\)