Skip to content
Exercise 7.6 · Q4

Q.Integrate the following function: xlog⁡xx \log x

Punjab PsebTextbookSubjective· 3mImportance★★★★★
43% · 161/373 Questions
🔒 Locked · start free trial →

You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.

Start your 14-day free trial to unlock the full solution →

The integral of xlog⁡xx \log x is solved using integration by parts, treating log⁡x\log x as the first function and xx as the second. The result is x22log⁡x−x24+C\frac{x^2}{2} \log x - \frac{x^2}{4} + C.

Why integration by parts?

When you see a product of two different kinds of functions — here, a polynomial (xx) and a logarithm (log⁡x\log x) — the standard tool is integration by parts. The formula is:

∫u dv=uv−∫v du\int u \, dv = uv - \int v \, du

The trick is choosing which part to call uu and which to call dvdv. For products involving log⁡x\log x, a reliable rule of thumb is: let uu be the logarithmic function, because its derivative is simpler (1x\frac{1}{x}), while the polynomial part becomes easy to integrate repeatedly.

If we instead set u=xu = x and dv=log⁡x dxdv = \log x \, dx, we'd need to integrate log⁡x\log x — which is doable, but then vv would be xlog⁡x−xx \log x - x, and the resulting integral becomes messier. The first choice is cleaner.


Step-by-step solution

1. Set up the parts.

Let

u=log⁡x,dv=x dxu = \log x, \quad dv = x \, dx

Then differentiate uu and integrate dvdv:

du=1x dx,v=x22du = \frac{1}{x} \, dx, \quad v = \frac{x^2}{2}

2. Apply the integration by parts formula.

∫xlog⁡x dx=uv−∫v du=(log⁡x)⋅x22−∫x22⋅1x dx\int x \log x \, dx = u v - \int v \, du = (\log x) \cdot \frac{x^2}{2} - \int \frac{x^2}{2} \cdot \frac{1}{x} \, dx

3. Simplify the new integral.

The xx cancels:

x22⋅1x=x2\frac{x^2}{2} \cdot \frac{1}{x} = \frac{x}{2}

So we have:

x22log⁡x−∫x2 dx\frac{x^2}{2} \log x - \int \frac{x}{2} \, dx

4. Integrate the remaining term. …

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.