Class 12 Maths, Worked in Full Past papersGet updates
CBSE Board Examination 2023 · Section A · 1 mark

Q5: f(x)f(x) when ddx(f(x))=log⁡x\frac{d}{dx}(f(x)) = \log x

The question

If ddx(f(x))=log⁡x\frac{d}{dx}(f(x)) = \log x⁠, then f(x)f(x) equals :

(a) −1x+C-\frac{1}{x} + C

(b) x(log⁡x−1)+Cx(\log x - 1) + C

(c) x(log⁡x+x)+Cx(\log x + x) + C

(d) 1x+C\frac{1}{x} + C

Exam answer

Since ddx(f(x))=log⁡x\frac{d}{dx}(f(x)) = \log x⁠,

f(x)=∫log⁡x dxf(x) = \int \log x\,dx
Why?

Integration undoes differentiation. If the derivative of f(x)f(x) is log⁡x\log x⁠, then f(x)f(x) is an integral of log⁡x\log x⁠, plus a constant CC⁠.

Integrating by parts, with log⁡x\log x as the first function and 1 as the second:

Why?

log⁡x\log x has no basic integral of its own, but it is easy to differentiate. So write it as log⁡x⋅1\log x \cdot 1 and use integration by parts:

∫u v dx=u∫v dx−∫(dudx∫v dx)dx\begin{aligned} \int u\,v\,dx &= u\int v\,dx \\ &\quad - \int\left(\frac{du}{dx}\int v\,dx\right)dx \end{aligned}

with u=log⁡xu = \log x and v=1v = 1⁠.

f(x)=∫log⁡x⋅1 dx=xlog⁡x−∫1x⋅x dx=xlog⁡x−x+C=x(log⁡x−1)+C\begin{aligned} f(x) &= \int \log x \cdot 1\,dx \\ &= x\log x - \int \frac{1}{x} \cdot x\,dx \\ &= x\log x - x + C \\ &= x(\log x - 1) + C \end{aligned}
Why?

The pieces: dudx=1x\frac{du}{dx} = \frac{1}{x} and ∫1 dx=x\int 1\,dx = x⁠. Then 1x⋅x=1\frac{1}{x} \cdot x = 1⁠, whose integral is xx⁠.

u∫v dx=(log⁡x)(x)=xlog⁡xdudx∫v dx=1x⋅x=1∫1 dx=x\begin{aligned} u\int v\,dx &= (\log x)(x) = x\log x \\[4pt] \frac{du}{dx}\int v\,dx &= \frac{1}{x} \cdot x = 1 \\[4pt] \int 1\,dx &= x \end{aligned}

Put them into the formula: xlog⁡x−x+Cx\log x - x + C⁠. Then take out the common factor xx⁠:

xlog⁡x−x=xlog⁡x−x(1)=x(log⁡x−1)\begin{aligned} x\log x - x &= x\log x - x(1) \\ &= x(\log x - 1) \end{aligned}

Check by differentiating, with the product rule:

ddx(xlog⁡x)=(1)(log⁡x)+(x)(1x)=log⁡x+1ddx(xlog⁡x−x)=log⁡x+1−1=log⁡x\begin{aligned} &\frac{d}{dx}\big(x\log x\big) \\ &= (1)(\log x) + (x)\left(\frac{1}{x}\right) \\ &= \log x + 1 \\[4pt] &\frac{d}{dx}\big(x\log x - x\big) \\ &= \log x + 1 - 1 = \log x \end{aligned}

Answer: (b) x(log⁡x−1)+Cx(\log x - 1) + C

Where this comes from

Chapter 7, Integrals: Integration by parts.

Question type: Integration by parts

How to spot it: click to see

Type 8. Integration by parts: a product of two different kinds

Spot it: a product such as xsin⁡xx\sin x⁠, xexxe^x or xlog⁡xx\log x⁠. A lone log⁡x\log x or tan⁡−1x\tan^{-1}x works too: take the other function as 1.

Here: Here f(x)=∫log⁡x dxf(x) = \int\log x\,dx⁠, and there is no card for log⁡x\log x⁠. Write it as log⁡x⋅1\log x \cdot 1⁠, with u=log⁡xu = \log x and v=1v = 1⁠.

Found an error?

Tell us if something on this page is wrong or unclear. Send feedback on this question →