← Back to learning objective

Product rule with a logarithm

Let f(x)=x2ln⁡(x)f(x) = x^2 \ln(x). Find f′(x)f'(x).

Hint

Write f(x)f(x) as a product of u(x)=x2u(x) = x^2 and v(x)=ln⁡(x)v(x) = \ln(x), then apply the product rule f′=u′v+uv′f' = u'v + uv', using ddx[ln⁡x]=1x\frac{d}{dx}[\ln x] = \frac{1}{x}.

Step-by-step solution

Identify the two factors: u(x)=x2u(x) = x^2 and v(x)=ln⁡(x)v(x) = \ln(x). Their derivatives are u′(x)=2xu'(x) = 2x and v′(x)=1xv'(x) = \frac{1}{x}, using the power rule and the known derivative of ln⁡(x)\ln(x).

Apply the product rule: f′(x)=u′(x)v(x)+u(x)v′(x)=2xln⁡(x)+x2⋅1xf'(x) = u'(x)v(x) + u(x)v'(x) = 2x\ln(x) + x^2\cdot\frac{1}{x}. Simplifying the second term gives x2⋅1x=xx^2 \cdot \frac{1}{x} = x, so f′(x)=2xln⁡(x)+xf'(x) = 2x\ln(x) + x.

Simplification in the product rule result

In the derivative f′(x)=2xln⁡(x)+xf'(x) = 2x\ln(x) + x, which term came from the simplification of x2⋅1xx^2 \cdot \frac{1}{x}?

Hint
Step-by-step solution

The term that simplified was the second one, x2x^2 times 1x\frac{1}{x}. Multiplying x2x^2 by the derivative of natural log of xx, which is 1x\frac{1}{x}, cancels one factor of xx, leaving just xx. The other term, 2xln⁡(x)2x\ln(x), involved no such cancellation.

Related problems

Practice similar Calculus problems interactively.

Start Closing the Gap