Q.Find ∫logxdx
Concept understanding — Natural Logarithm Integration
Natural Logarithm Integration: From Intuition to Formula
You already know that integration is the reverse of differentiation. So the first question is: what function, when differentiated, gives x1?
You know dxd(xn)=nxn−1. Trying to find a function whose derivative is x−1, the power rule would give 0x0, which is undefined. That's the clue — x1 doesn't fit the power rule pattern.
The function that fills this gap is the natural logarithm, logx. Its derivative is exactly x1 (for x>0), so integration reverses this:
∫x1dx=log∣x∣+C
The absolute value ∣x∣ is crucial — it extends the formula to negative x, because logx is only defined for positive numbers, but x1 is defined for all x=0.
Why the absolute value?
For x>0, differentiating log∣x∣ gives x1. For x<0, log∣x∣=log(−x), and its derivative is −x1⋅(−1)=x1. Same result, so log∣x∣ works for both sides.
The generalised form
The real power comes when the numerator is the derivative of the denominator:
∫f(x)f′(x)dx=log∣f(x)∣+C
This is the logarithmic integration pattern.
Example to see it in action
Find ∫x2+12xdx. Here f(x)=x2+1, so f′(x)=2x — the numerator matches. Therefore:
∫x2+12xdx=log∣x2+1∣+C=log(x2+1)+C
(dropping the absolute value since x2+1 is always positive).
What if the numerator doesn't match exactly?
For ∫x2+1xdx, the derivative of the denominator is 2x but you only have x. Adjust by factoring:
∫x2+1xdx=21∫x2+12xdx=21log∣x2+1∣+C
When the numerator is a constant multiple of the derivative of the denominator, factor out that constant: ∫f(x)k⋅f′(x)dx=klog∣f(x)∣+C.
Common mistake to avoid
Do not apply this pattern when the numerator is unrelated to the derivative of the denominator. For example, ∫x2+11dx is not log∣x2+1∣ — it gives tan−1x+C, a completely different result.
The rule only works when the numerator is exactly (or a constant multiple of) the derivative of the denominator. If not, use another method (partial fractions, trigonometric substitution, etc.).
Final formula to remember:
∫f(x)f′(x)dx=log∣f(x)∣+C
And the simplest case: ∫x1dx=log∣x∣+C.
The ∫f'(x)/f(x) dx = log|f(x)| + C pattern is one of the most tested standard results in the NCERT Class 12 Integrals chapter, appearing constantly in CBSE board and JEE Main 'evaluate the integral' questions. Students searching 'integration of 1/x formula' or 'logarithmic integration examples class 12' will find this numerator-matches-derivative-of-denominator rule is exactly the shortcut those exam papers expect students to spot instantly.
The key idea is to treat logx as 1⋅logx and apply integration by parts (the reverse of the product rule).
Let u=logx and dv=dx. Then du=x1dx and v=x.
Using the formula ∫udv=uv−∫vdu:
∫logxdx=xlogx−∫x⋅x1dx=xlogx−∫1dx
=xlogx−x+C
The integral is xlogx−x+C.
The integral of logx is solved using integration by parts, treating logx as 1⋅logx. The result is xlogx−x+C.
The key insight here is that logx doesn't have an obvious antiderivative from the power rule or standard formulas. But we can rewrite it as a product: logx=1⋅logx. This lets us use integration by parts, which is the reverse of the product rule for derivatives.
Integration by parts says: ∫udv=uv−∫vdu. The trick is choosing u and dv so that the new integral ∫vdu is simpler than the original. For logx, we set u=logx because its derivative is x1, a simple rational function. Then dv=1dx, so v=x.
Let's work through it step by step.
-
Set up integration by parts.
We have ∫logxdx=∫(1)(logx)dx.
Choose:
u=logx
dv=1dx
-
Find du and v.
Differentiate u: du=x1dx
Integrate dv: v=∫1dx=x
-
Apply the integration by parts formula.
∫udv=uv−∫vdu
Substitute:
∫logxdx=(logx)(x)−∫x⋅x1dx
-
Simplify the new integral.
x⋅x1=1, so we get:
∫logxdx=xlogx−∫1dx
-
Integrate the remaining term.
∫1dx=x+C (don't forget the constant of integration)
Therefore:
∫logxdx=xlogx−x+C
A common mistake is to forget the constant of integration C or to misapply the formula by swapping u and dv. If you set u=1 and dv=logxdx, you'd need to know the integral of logx already — which is exactly what we're trying to find! Always choose u as the function that simplifies when differentiated.
This result is a classic and worth memorizing: ∫logxdx=xlogx−x+C. It also works for lnx (natural log) — same formula. For logax, use the change of base: logax=lnalnx, then integrate.
The integral is xlogx−x+C.
Method: Integration by Parts on a Lone Logarithm (the "1⋅" Trick)
Use this when the integrand is a single function with no obvious antiderivative, like logx: pair it with the invisible factor 1 and integrate by parts.
Steps
Step 1: Write the integrand as a product with 1.
logx=1⋅logx, so take u=logx and dv=1dx. This lets by-parts apply even though there is only one visible function.
Step 2: Compute du and v.
du=x1dx and v=x. Then
∫logxdx=xlogx−∫x⋅x1dx.
Step 3: Simplify the remaining integral.
The leftover ∫1dx=x, giving ∫logxdx=xlogx−x+C.
Common Mistakes
Mistake 1: Guessing ∫logxdx=x1 or 2(logx)2.
Why it's wrong: neither differentiates back to logx; the integral genuinely needs by-parts. Correct approach: use the 1⋅logx trick.
Mistake 2: Choosing dv=logxdx.
Why it's wrong: that requires already knowing ∫logxdx — circular. Correct approach: let u=logx, dv=dx.
Mistake 3: Not simplifying x⋅x1.
Why it's wrong: leaving ∫x⋅x1dx unsimplified stalls the solution. Correct approach: cancel to ∫1dx=x.
Showing the 12 most recent of 29 on this concept.
- AP EAPCET 2026Set eng-2026-05-12-FN1 markMCQQ.If fn(x)=∫xn1−logxdx, then f2(e)−f3(e)= (A) 4e21[4e−1]+c (B) e21−e2+c (C) e+1e−1+c (D) 2e1[e1+e]+c
›Reveal solutionSolution
This tests integration by parts on a family fn(x)=∫(1−logx)x−ndx and simplifying f2(e)−f3(e); the answer is 4e24e−1.
Concept and Intuition
The integrand (1−logx)x−n is exactly the derivative of xn−1logx type expressions once you notice the pattern: differentiating xklogx produces a xk+11 term and a −kxk+1logx term, which combine nicely for specific n. Rather than guess, integrating by parts systematically gives a general formula valid for every n=1.
Step-by-Step Solution
- Write fn(x)=∫(1−logx)x−ndx. Take u=1−logx, dv=x−ndx, so du=−x1dx, v=1−nx1−n.
- By parts: fn(x)=1−n(1−logx)x1−n−∫1−nx1−n(−x1)dx=1−n(1−logx)x1−n+1−n1∫x−ndx.
- ∫x−ndx=1−nx1−n, so fn(x)=1−nx1−n[(1−logx)+1−n1]+C.
- For n=2 (1−n=−1): f2(x)=−x−1[(1−logx)−1]=−x−1(−logx)=xlogx+C.
- For n=3 (1−n=−2): f3(x)=−2x−2[(1−logx)−21]=−2x−2(21−logx)=2x2logx−4x21+C.
- Evaluate at x=e: f2(e)=e1, f3(e)=2e21−4e21=4e21.
- f2(e)−f3(e)=e1−4e21=4e24e−1=4e21[4e−1].
Common Mistakes
- Forgetting the extra 1−n1 term generated from integrating x−n again during parts.
- Sign errors when 1−n is negative (as it is for both n=2,3).
✓Final answerThe correct option is (A) — 4e21[4e−1]+c.
ANSWER: A
- AP EAPCET 2026Set eng-2026-05-14-FN1 markMCQQ.∫e2x+ex+1e2x−1dx= (A) log(e2x+ex+1)+x+c (B) log(e2x+ex+1)−x+c (C) log(e2xe2x+ex+1)+c (D) loge2x−1e2x+ex+1+c
›Reveal solutionSolution
This tests recognizing a disguised ∫f(x)f′(x)dx form after dividing through by ex; the answer is log(e2x+ex+1)−x+c.
Concept and Intuition
Whenever an integrand is a ratio of exponentials, dividing numerator and denominator by the smallest power often reveals a udu structure, since exponential derivatives reproduce exponentials. Here e2x+ex+1 divided by ex becomes ex+1+e−x, and its derivative is ex−e−x — exactly the (rescaled) numerator.
Step-by-Step Solution
- Divide numerator and denominator of e2x+ex+1e2x−1 by ex:
e2x+ex+1e2x−1=ex+1+e−xex−e−x
- Let u=ex+e−x+1. Then dxdu=ex−e−x, which is exactly the numerator.
- So the integral becomes ∫udu=log∣u∣+c=log(ex+e−x+1)+c.
- Rewrite in terms of e2x: multiply inside the log by exex:
ex+e−x+1=exe2x+1+ex
- So log(ex+e−x+1)=log(e2x+ex+1)−log(ex)=log(e2x+ex+1)−x.
- Final result: log(e2x+ex+1)−x+c.
- Check by differentiating: dxd[log(e2x+ex+1)−x]=e2x+ex+12e2x+ex−1=e2x+ex+12e2x+ex−e2x−ex−1=e2x+ex+1e2x−1, which matches the original integrand exactly.
Common Mistakes
- Trying to integrate directly without dividing by ex first — the denominator's true derivative structure is hidden until this step.
- Forgetting the −x term that comes from converting log(ex+e−x+1) back into log(e2x+ex+1) form, which flips option (A) into the wrong sign.
✓Final answerThe correct option is (B) — log(e2x+ex+1)−x+c.
ANSWER: B
- AP EAPCET 2026Set eng-2026-05-13-AN1 markMCQQ.∫cosx+3sinxdx= (A) log(tan(2x+12π))+c (B) log(tan(2x−12π))+c (C) 21log(tan(2x+12π))+c (D) 21log(tan(2x−12π))+c
›Reveal solutionSolution
Rewriting cosx+3sinx as 2sin(x+π/6) turns the integral into the standard ∫cscθdθ form, giving 21logtan(2x+12π)+c.
Concept and Intuition
Any expression acosx+bsinx can be written as Rsin(x+ϕ) (or Rcos(x−ϕ)) where R=a2+b2. This is the key move that converts a linear combination of sine and cosine into the standard ∫cscθdθ=log∣tan(θ/2)∣+c form.
Step-by-Step Solution
- cosx+3sinx=2(21cosx+23sinx)=2(sinxcos6π+cosxsin6π)=2sin(x+6π).
- So ∫cosx+3sinxdx=21∫csc(x+6π)dx.
- Using ∫cscθdθ=logtan2θ+c with θ=x+6π: =21logtan(2x+12π)+c.
Common Mistakes
- Using Rcos(x−ϕ) form instead and mismatching the phase shift, leading to π/12 turning into a different fraction.
- Forgetting the leading factor of 21 that comes from R=2.
✓Final answerThe correct option is (C) — 21log(tan(2x+12π))+c.
ANSWER: C
- AP EAPCET 2026Set eng-2026-05-15-FN1 markMCQQ.∫22(x3−x2+x−1)(x+1)xdx= (A) 21log(49) (B) 41log(59) (C) 2log3 (D) 3log2
›Reveal solutionSolution
The cubic factors nicely, and the whole denominator collapses to x4−1, turning the integral into a standard u=x2 substitution followed by a log-of-ratio evaluation. Answer: 41log(59).
Concept and Intuition
Cubic factorisation by grouping (x3−x2+x−1=x2(x−1)+(x−1)=(x−1)(x2+1)) is the key simplification; once multiplied by the extra (x+1) factor, the denominator becomes the recognisable difference-of-squares product (x2−1)(x2+1)=x4−1, and ∫x/(x4−1)dx is a textbook u=x2 substitution leading to a partial-fraction log form.
Step-by-Step Solution
- Factor by grouping: x3−x2+x−1=x2(x−1)+1(x−1)=(x−1)(x2+1).
- Denominator =(x−1)(x2+1)(x+1)=(x−1)(x+1)(x2+1)=(x2−1)(x2+1)=x4−1.
- Integral =∫22x4−1xdx. Let u=x2, du=2xdx; limits x=2⇒u=2, x=2⇒u=4.
- =21∫24u2−1du=21⋅21logu+1u−124=41[log53−log31].
- =41log(1/33/5)=41log(59).
Common Mistakes
- Failing to spot the cubic factorisation and instead attempting a messy direct partial-fraction decomposition of a quartic-degree denominator.
- Sign/limit slip when substituting u=x2 and forgetting to convert the limits.
✓Final answerThe correct option is (B) — 41log(59).
ANSWER: B
- AP EAPCET 2025Set eng-2025-05-21-FN1 markMCQQ.∫0π/21+cosx+sinxsinxdx= (A) 2π+21log2 (B) 4π−21log2 (C) 4π (D) 43π+log2
›Reveal solutionSolution
This tests the classic I=J symmetry trick combined with the Weierstrass substitution; the answer is (B).
Concept and Intuition
When an integral is symmetric under x→π/2−x (swapping sine and cosine roles) but the numerator only has one of them, pairing it with its "partner" integral (numerator = the other function) lets you add the two to get something tractable, using I=J from the symmetry.
Step-by-Step Solution
- Let I=∫0π/21+sinx+cosxsinxdx, J=∫0π/21+sinx+cosxcosxdx.
- Substituting x→π/2−x in I turns it into J, so I=J.
- I+J=∫0π/21+sinx+cosxsinx+cosxdx=∫0π/2[1−1+sinx+cosx1]dx=2π−K, where K=∫0π/21+sinx+cosxdx.
- Compute K using the Weierstrass substitution t=tan(x/2): sinx=1+t22t, cosx=1+t21−t2, dx=1+t22dt. Then 1+sinx+cosx=1+t22(1+t), so the integrand simplifies to 1+tdt.
- Limits: x:0→π/2 gives t:0→1. So K=∫011+tdt=log2.
- Since I=J, 2I=2π−ln2, so I=4π−21ln2.
Common Mistakes
- Forgetting to check I=J before using 2I=I+J.
- Errors in the Weierstrass substitution algebra (sign of 1−t2).
✓Final answerThe correct option is (B) — 4π−21log2.
ANSWER: B
- AP EAPCET 2025Set eng-2025-05-21-AN1 markMCQQ.∫(1−x2)2−x2xdx= (A) log2−x2−12−x2+1+c (B) 21log1−x22−x2+c (C) 21log1−2−x21+2−x2+c (D) log2−x21−x2+c
›Reveal solutionSolution
Substitute u=2−x2, then w=u, reducing the integral to a standard ∫dw/(w2−1) logarithm form. Answer matches option (C) after an absolute-value sign adjustment.
Concept and Intuition
The presence of xdx alongside 2−x2 inside a square root strongly suggests the substitution u=2−x2 (its differential is exactly −2xdx). The remaining (1−x2) factor is then re-expressed in terms of u as well, turning the whole integral into a rational function of u (or of w=u), solvable by the standard ∫dw/(w2−1) log formula.
Step-by-Step Solution
- Let u=2−x2. Then du=−2xdx⇒xdx=−2du.
- Also x2=2−u, so 1−x2=1−(2−u)=u−1.
- The integral ∫(1−x2)2−x2xdx becomes ∫(u−1)u−du/2=−21∫(u−1)udu.
- Let w=u, so u=w2, du=2wdw:
−21∫(w2−1)w2wdw=−∫w2−1dw=−21logw+1w−1+c=21logw−1w+1+c.
- Substitute back w=2−x2:
21log2−x2−12−x2+1+c.
- Multiplying numerator and denominator inside the absolute value by −1 gives 1−2−x21+2−x2 with the same absolute value (sign flips in both places), matching option (C) exactly, including the 21 coefficient.
Common Mistakes
- Dropping the 21 factor picked up from xdx=−du/2 — this rules out option (A), which has the right log expression but no 21.
- Not noticing that a−1a+1=1−a1+a inside an absolute value, which is the key step that makes our derived form match option (C) rather than looking mismatched.
✓Final answerThe correct option is (C) — 21log1−2−x21+2−x2+c.
ANSWER: C
- AP EAPCET 2025Set eng-2025-05-21-AN1 markMCQQ.∫1/21/2(x+1−x2)(1−x2)1dx= (A) log(3+1) (B) log(3−1) (C) log(3+3) (D) log(3−3)
›Reveal solutionSolution
The substitution x=sinθ turns the awkward algebraic integrand into sec2θ/(1+tanθ), a direct log integral. Answer: log(3−3).
Concept and Intuition
Whenever 1−x2 appears together with x in a rational expression, the trigonometric substitution x=sinθ is the natural move — it turns 1−x2 into cosθ and dx into cosθdθ, often producing large cancellations.
Step-by-Step Solution
- Let x=sinθ, dx=cosθdθ, 1−x2=cosθ, 1−x2=cos2θ.
- Limits: x=21⇒θ=6π; x=21⇒θ=4π.
- The integral becomes
∫(sinθ+cosθ)cos2θcosθdθ=∫cosθ(sinθ+cosθ)dθ=∫sinθcosθ+cos2θdθ.
- Divide numerator and denominator by cos2θ: ∫tanθ+1sec2θdθ.
- Let t=tanθ, dt=sec2θdθ: ∫t+1dt=log∣t+1∣.
- Evaluate from θ=π/6 (t=1/3) to θ=π/4 (t=1):
log(1+1)−log(1+31)=log2−log(33+1)=ln2+log3−log(3+1)=log(3+123).
- Rationalize: 3+123⋅3−13−1=223(3−1)=3(3−1)=3−3.
- So the value is log(3−3).
Common Mistakes
- Forgetting to rationalize the final expression, leaving it in a form that doesn't visibly match any option.
- Losing track of the limits after the substitution t=tanθ (mixing up θ-limits with t-limits).
✓Final answerThe correct option is (D) — log(3−3).
ANSWER: D
- AP EAPCET 2025Set eng-2025-05-22-AN1 markMCQQ.∫3cos2x−4sin2x13cos2x−9sin2xdx= (A) 3x−21log∣3cos2x−4sin2x∣+c (B) 2x−3log∣3cos2x−4sin2x∣+c (C) 3x+21log∣3cos2x−4sin2x∣+c (D) x+23log∣3cos2x−4sin2x∣+c
›Reveal solutionSolution
Splitting the numerator into a multiple of the denominator plus a multiple of the denominator's derivative reduces the integral to 3x−21log∣3cos2x−4sin2x∣+c.
Concept and Intuition
For ∫acos2x+bsin2xpcos2x+qsin2xdx, write the numerator as A(acos2x+bsin2x)+Bdxd(acos2x+bsin2x). Then the integral splits into A∫dx (linear in x) plus B∫DD′dx=Blog∣D∣ — a logarithm.
Step-by-Step Solution
- Let D=3cos2x−4sin2x, so D′=−6sin2x−8cos2x.
- Write 13cos2x−9sin2x=AD+BD′:
- cos2x: 13=3A−8B
- sin2x: −9=−4A−6B
- Solving: from the second, 4A+6B=9. Substituting A=(13+8B)/3 gives 50B=−25⇒B=−21, then A=3.
- So the integrand =D3D−21D′=3−21DD′.
- Integrating: ∫(3−21DD′)dx=3x−21log∣D∣+c=3x−21log∣3cos2x−4sin2x∣+c.
Common Mistakes
- Sign errors when solving the two linear equations for A,B.
- Forgetting the 21 factor that comes from D′ having coefficients twice the "natural" ones (since D involves 2x).
✓Final answerThe correct option is (A) — 3x−21log∣3cos2x−4sin2x∣+c.
ANSWER: A
- AP EAPCET 2025Set eng-2025-05-22-AN1 markMCQQ.If k∈N then n→∞lim[n+11+n+21+n+31+…+kn1]= (A) log(k+1) (B) logk (C) log(k+5) (D) log(k+1)−log6
›Reveal solutionSolution
The sum telescopes into a Riemann sum that converges to ∫0k−11+xdx=logk.
Concept and Intuition
Sums of the form ∑n+j1 over a range proportional to n are classic Riemann-sum-in-disguise problems: factor out n1 and recognise nj as the sample point of a definite integral.
Step-by-Step Solution
- The sum runs over j=1 to (k−1)n terms: S=j=1∑(k−1)nn+j1=n1j=1∑(k−1)n1+nj1.
- As n→∞, this is the Riemann sum for ∫0k−11+xdx (sampling x=j/n with step 1/n, from just above 0 to k−1).
- ∫0k−11+xdx=log(1+x)0k−1=logk−log1=logk.
Common Mistakes
- Miscounting the upper limit of the Riemann sum as k instead of k−1 (the sum stops at kn, i.e. j=(k−1)n).
- Forgetting to check with a simple case, e.g. k=2: ∑n+12ni1→log2, confirming the formula.
✓Final answerThe correct option is (B) — logk.
ANSWER: B
- AP EAPCET 2025Set eng-2025-05-23-FN1 markMCQQ.∫cosx1[sinx1−sinx+3cosx1]dx= (A) 31logsinx+3cosxsinx+c (B) logsinx+3cosxcosx+c (C) 31logsinx+3cosxcosx+c (D) logsinx+3cosxsinx+c
›Reveal solutionSolution
Simplifying the bracket first collapses the integrand to a single rational trig fraction, which becomes an easy partial-fraction integral in tanx.
Concept and Intuition
Combining the two fractions inside the bracket over a common denominator cancels the sinx term neatly, leaving a cosx in the numerator that cancels the outer 1/cosx — a strong hint to simplify algebraically before attempting any substitution.
Step-by-Step Solution
- sinx1−sinx+3cosx1=sinx(sinx+3cosx)(sinx+3cosx)−sinx=sinx(sinx+3cosx)3cosx.
- Multiplying by the outer cosx1: integrand =sinx(sinx+3cosx)3.
- Divide numerator and denominator by cos2x: =tanx(tanx+3)3sec2x.
- Let u=tanx, du=sec2xdx: integral =∫u(u+3)3du.
- Partial fractions: u(u+3)3=u1−u+31, so the integral is log∣u∣−log∣u+3∣+c=logu+3u+c.
- Substituting back u=tanx: logtanx+3tanx+c=logsinx+3cosxsinx+c.
Common Mistakes
- Attempting substitution before simplifying the bracket, leading to an unnecessarily messy integral.
- Losing track of the factor from partial fractions and introducing a spurious 31.
✓Final answerThe correct option is (D) — logsinx+3cosxsinx+c.
ANSWER: D
- AP EAPCET 2025Set eng-2025-05-26-FN1 markMCQQ.∫sec(x−3π)sec(x+6π)dx= (A) logsec(x+6π)sec(x−3π)+c (B) logcos(x+6π)cos(x−3π)+c (C) logcosec(x+6π)cosec(x−3π)+c (D) logsin(x+6π)sin(x−3π)+c
›Reveal solutionSolution
Because the two angles differ by exactly π/2, secAsecB splits into tanB−tanA, and integrating gives logcos(x+π/6)cos(x−π/3)+c.
Concept and Intuition
Whenever you see sec(x−α)sec(x+β) where (x+β)−(x−α) is a constant, there's a standard trick: use sin((x+β)−(x−α))=sin(x+β)cos(x−α)−cos(x+β)sin(x−α), divide by cos(x−α)cos(x+β) to turn the product-of-secants into a difference of tangents, which integrates easily to logs of cosines.
Step-by-Step Solution
- Let A=x−3π, B=x+6π. Then B−A=6π+3π=2π, a constant.
- Use the identity sin(B−A)=sinBcosA−cosBsinA. Dividing both sides by cosAcosB:
cosAcosBsin(B−A)=tanB−tanA.
- Since sin(B−A)=sin(π/2)=1, we get cosAcosB1=tanB−tanA, i.e.
secAsecB=tanB−tanA=tan(x+6π)−tan(x−3π).
- Integrate term by term using ∫tanudu=−log∣cosu∣+c (coefficient of x in both angles is 1):
∫secAsecBdx=−logcos(x+6π)+logcos(x−3π)+c.
- Combine the logs: logcos(x+π/6)cos(x−π/3)+c.
Common Mistakes
- Mixing up which angle goes in the numerator vs denominator inside the log (a sign/order slip flips to the reciprocal, which is a different, wrong-looking but structurally similar option).
- Forgetting that the trick requires the angle-difference to come out to a constant, not a function of x.
✓Final answerThe correct option is (B) — logcos(x+6π)cos(x−3π)+c.
ANSWER: B
- AP EAPCET 2025Set eng-2025-05-27-FN1 markMCQQ.If ∫xtanx+1xdx=logf(x)+k, then f(4π)= (A) 42π (B) π+22π (C) 42π+4 (D) 42π−4
›Reveal solutionSolution
Recognising x/(xtanx+1) as dxdlog(xsinx+cosx) gives f(x)=xsinx+cosx, so f(π/4)=42π+4.
Concept and Intuition
Many "∫(…)=logf(x)+k" CET questions are really asking you to spot a function whose logarithmic derivative f′/f equals the integrand. Instead of integrating from scratch, guess a plausible f built from the pieces in the integrand (x, sinx, cosx) and check its derivative.
Step-by-Step Solution
- Guess f(x)=xsinx+cosx (a natural combination given the xtanx in the denominator).
- Differentiate: f′(x)=sinx+xcosx−sinx=xcosx.
- Form f(x)f′(x)=xsinx+cosxxcosx. Divide numerator and denominator by cosx:
f(x)f′(x)=xtanx+1x,
exactly the given integrand. So ∫xtanx+1xdx=log∣xsinx+cosx∣+k, confirming f(x)=xsinx+cosx.
4. Evaluate at x=π/4: sin(π/4)=cos(π/4)=22, so
f(π/4)=4π⋅22+22=22(4π+1)=22⋅4π+4=82(π+4)=42π+4.
Common Mistakes
- Trying to integrate x/(xtanx+1) directly by substitution rather than recognising the logarithmic-derivative shortcut — much slower and error-prone.
- Rationalising 82(π+4) incorrectly instead of simplifying to 42π+4.
✓Final answerThe correct option is (C) — 42π+4.
ANSWER: C
🎓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.