Q.Integrate the following function: ex(1+cosx1+sinx)
🔒You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.
🔒 Start your 10-day free trial to unlock the full solution →Concept understanding — Antiderivative By Inspection
Antiderivatives by Inspection
The idea
Many integrals do not need a formal method at all. If you already know the derivative of some standard function, you can often recognise the answer just by looking — you spot which function differentiates to give the integrand, then adjust a constant if needed. This is finding an antiderivative by inspection: read the integrand backwards through your table of derivatives.
Integration is the reverse of differentiation, so a strong memory of standard derivatives is really a table of standard integrals read the other way.
Straight recognition
Because dxd(sinx)=cosx, you immediately write ∫cosxdx=sinx+C. No working — you inspect and recognise. The same holds for the standard list: ∫sec2xdx=tanx+C, ∫exdx=ex+C, ∫x1dx=log∣x∣+C, and so on.
Guess-and-adjust
Often the integrand is close to a known derivative but off by a constant factor. You guess the likely antiderivative, differentiate it mentally, and rescale so it matches.
Example: find ∫cos2xdx. Guess sin2x. Differentiating gives 2cos2x — twice too big — so divide the guess by 2:
∫cos2xdx=21sin2x+C.
Example: ∫(2x+1)5dx. Guess (2x+1)6; its derivative is 6(2x+1)5⋅2=12(2x+1)5, so divide by 12:
∫(2x+1)5dx=121(2x+1)6+C.
The one safeguard …
The key idea is to rewrite the integrand into a form that matches a known derivative — specifically, the derivative of exf(x) is ex(f(x)+f′(x)).
We want to express ex(1+cosx1+sinx) as ex(f(x)+f′(x)).
First, simplify the fraction:
1+cosx1+sinx=1+cosx1+sinx
A useful trick: multiply numerator and denominator by (1−cosx) or use half-angle identities. Using sinx=2sin2xcos2x and 1+cosx=2cos22x, we get:
1+cosx1+sinx=2cos22x1+2sin2xcos2x=2cos22x1+cos2xsin2x=21sec22x+tan2x …
The key idea is to rewrite the integrand as ex times a sum of a function and its derivative, so that the integral simplifies via the formula ∫ex[f(x)+f′(x)]dx=exf(x)+C. The final result is extan2x+C.
Why This Approach Works
When you see an integral of the form ∫ex⋅(something)dx, your first instinct should be to check if that "something" can be expressed as f(x)+f′(x). Why? Because there's a beautiful shortcut:
∫ex[f(x)+f′(x)]dx=exf(x)+C
This is a direct consequence of the product rule: dxd[exf(x)]=exf(x)+exf′(x). So if your integrand matches that pattern, the answer is simply exf(x).
Our integrand is ex(1+cosx1+sinx). The challenge is to rewrite 1+cosx1+sinx as f(x)+f′(x) for some cleverly chosen f(x).
Step-by-Step Solution
1. Simplify the trigonometric fraction using half-angle identities.
Recall the standard half-angle formulas:
- 1+cosx=2cos22x
- sinx=2sin2xcos2x
- 1+sinx=(sin2x+cos2x)2 (this is less common but useful)
Let's verify that last one: (sin2x+cos2x)2=sin22x+cos22x+2sin2xcos2x=1+sinx. Perfect.
So:
1+cosx1+sinx=2cos22x(sin2x+cos2x)2
2. Split the square into two terms.
2cos22x(sin2x+cos2x)2=21(cos2xsin2x+cos2x)2=21(tan2x+1)2
Now expand:
21(tan22x+2tan2x+1)
3. Use the identity tan2θ=sec2θ−1 to simplify.
21[(sec22x−1)+2tan2x+1]=21(sec22x+2tan2x)
The −1 and +1 cancel neatly. So:
1+cosx1+sinx=21sec22x+tan2x
4. Spot the f(x)+f′(x) pattern.
Let f(x)=tan2x. Then: …
Method: The ex(f(x)+f′(x)) shortcut
Whenever an integrand is ex times a bracket that is a function plus its own derivative, the answer is simply ex times that function:
∫ex(f(x)+f′(x))dx=exf(x)+C.
Steps
Step 1: Isolate the ex factor and look at what multiplies it.
Step 2: Try to split the multiplier as f(x)+f′(x).
Guess a candidate f(x) (often the "nicer" of the two pieces, or the part left after a x1-type term), then check that its derivative supplies the remaining piece. …
Common Mistakes
Mistake 1: Trying to integrate 1+cosx1+sinx without simplifying.
Why it's wrong: it looks intractable until you use half-angle identities 1+cosx=2cos22x and 1+sinx=(cos2x+sin2x)2. Correct approach: simplify to 21sec22x+tan2x, which is f+f′ with f=tan2x.
Mistake 2: Differentiating tan2x without the inner 21. …
Showing the 12 most recent of 24 on this concept.
- KEAM 2026Set eng-2026-04214 marksMCQQ.If ∫(3t2sin(t1)−tcos(t1))dt=f(t)sin(t1)+c then f(2) is equal to (A) −2 (B) 2 (C) 4 (D) 8 (E) 16
›Reveal solutionSolution
Differentiate the given antiderivative and match terms: f(t)=t3, so f(2)=8.
Given ∫(3t2sint1−tcost1)dt=f(t)sint1+c.
Differentiate the RHS: dtd[f(t)sint1]=f′(t)sint1+f(t)cost1⋅(−t21)=f′(t)sint1−t2f(t)cost1. …
- KEAM 2026Set eng-2026-04224 marksMCQQ.∫x2xcosx−sinxdx is equal to (A) xcosx+C (B) xsin2x+C (C) x2sinx+C (D) xsinx+C (E) xcos2x+C
›Reveal solutionSolution
The integrand is the quotient-rule derivative of sinx/x.
By the quotient rule, dxd(xsinx)=x2xcosx−sinx. …
- KEAM 2026Set eng-2026-04224 marksMCQQ.∫x(1+2logx)dx is equal to (A) xlogx+C (B) x2logx+C (C) x3logx+C (D) 2xlogx+C (E) 3xlogx+C
›Reveal solutionSolution
Recognise x(1+2logx) as the derivative of x2logx.
dxd(x2logx)=2xlogx+x2⋅x1=2xlogx+x=x(1+2logx). …
- KEAM 2025Set eng-2025-04264 marksMCQQ.If dxdy=8(16+25+x)(25+x)x1, then y= (A) 16+25+x+C (B) 16+25+x+x+C (C) 16+25+x+x2+C (D) x16+25+x+C (E) x216+25+x+C
›Reveal solutionSolution
Differentiate the nested radical (chain rule three times) and it reproduces the integrand.
Let y=16+25+x. Then …
- KEAM 2025Set eng-2025-04274 marksMCQQ.∫(sin−1x+cos−1x)dx= (A) 2π+C (B) 4πx+C (C) 3πx+C (D) 2πx+C (E) 2−πx+C
›Reveal solutionSolution
The identity sin−1x+cos−1x=2π makes the integrand constant, giving 2πx+C.
For any t∈[−1,1], sin−1t+cos−1t=2π. With t=x,
sin−1x+cos−1x=2π.
Hence …
- KEAM 2025Set eng-2025-04294 marksMCQQ.∫[logx1−(logx)21]dx= (A) logx+C (B) xlogx+C (C) xlogx+C (D) logxx+C (E) x+logx+C
›Reveal solutionSolution
The integrand is exactly the derivative of logxx, so the integral is logxx+C.
This is a form ∫e?... more directly, differentiate logxx by the quotient rule:
dxd(logxx)=(logx)2logx⋅1−x⋅x1=(logx)2logx−1=logx1−(logx)21. …
- JEE Main 2025Set 2025-01-22-s24 marksMCQQ.If ∫ e^x ( (x sin^{−1}x)/√(1−x^2) + sin^{−1}x/(1−x^2)^{3/2} + x/(1−x^2) ) dx = g(x) + C, where C is the constant of integration, then g(1/2) equals : (A) (π/6)√(e/3) (B) (π/6)√(e/2) (C) (π/4)√(e/3) (D) (π/4)√(e/2)
›Reveal solutionSolution
The integrand has the exact-derivative shape ex[h(x)+h′(x)] with h(x)=1−x2xsin−1x; this makes g(x)=exh(x), and g(1/2)=6πe/3.
Whenever an integral is built from ex times a messy sum, it's worth testing the pattern ∫ex[h(x)+h′(x)]dx=exh(x)+C — JEE problems are deliberately constructed this way so the three-term integrand is really just h+h′ for some single function h.
- Guess h(x)=xsin−1x(1−x2)−1/2 (matching the "leading" term 1−x2xsin−1x in the integrand) and differentiate using the product rule on three factors x, sin−1x, (1−x2)−1/2:
h′(x)=sin−1x(1−x2)−1/2+x(1−x2)−1+x2sin−1x(1−x2)−3/2.
- Simplify the last term using x2=1−(1−x2):
x2sin−1x(1−x2)−3/2=sin−1x(1−x2)−3/2−sin−1x(1−x2)−1/2.
- Substituting back, the sin−1x(1−x2)−1/2 pieces cancel, leaving h′(x)=1−x2x+(1−x2)3/2sin−1x. …
- JEE Main 2025Set 2025-01-23-s24 marksMCQQ.Let ∫x3sinxdx=g(x)+C, where C is the constant of integration. If 8(g(2π)+g′(2π))=απ3+βπ2+γ,α,β,γ∈Z, then α+β−γ equals : (A) 47 (B) 55 (C) 62 (D) 48
›Reveal solutionSolution
Integrating x3sinx by parts three times gives a closed-form g(x); plugging in x=π/2 for both g and g′=x3sinx and simplifying yields α+β−γ=55.
Rather than guessing the antiderivative, build it up systematically with integration by parts, reducing the power of x by one each time, since sinx and cosx just cycle under differentiation/integration.
- ∫x3sinxdx. Take u=x3 (differentiate down) and dv=sinxdx (integrate up):
∫x3sinxdx=−x3cosx+3∫x2cosxdx
-
∫x2cosxdx=x2sinx−2∫xsinxdx.
-
∫xsinxdx=−xcosx+sinx.
-
Assembling from the inside out:
∫x2cosxdx=x2sinx−2(−xcosx+sinx)=x2sinx+2xcosx−2sinx
∫x3sinxdx=−x3cosx+3(x2sinx+2xcosx−2sinx)=−x3cosx+3x2sinx+6xcosx−6sinx
So g(x)=−x3cosx+3x2sinx+6xcosx−6sinx (the constant C is absorbed into the stated form).
- By the Fundamental Theorem, g′(x) is just the original integrand: g′(x)=x3sinx. …
- JEE Main 2025Set 2025-04-04-s24 marksQ.If ∫ ((√(1+x²)+x)^10)/((√(1+x²)-x)^9) dx = (1/m) ((√(1+x²)+x)^n (n√(1+x²) - x)) + C where C is the constant of integration and m, n ∈ N, then m + n is equal to ________.
›Reveal solutionSolution
The conjugate identity (1+x2+x)(1+x2−x)=1 collapses the integrand to a single power, which integrates cleanly under u=1+x2+x.
Recognizing the conjugate-pair simplification first avoids a messy rational integrand.
- Since (1+x2+x)(1+x2−x)=1+x2−x2=1, we have 1+x2−x1=1+x2+x.
- So the integrand (1+x2−x)9(1+x2+x)10=(1+x2+x)10⋅(1+x2+x)9=(1+x2+x)19.
- Let u=1+x2+x. Then u1=1+x2−x, so 1+x2=2u+1/u and x=2u−1/u.
- dxdu=1+x2x+1=1+x2u, so dx=u1+x2du=2uu+1/udu=21(1+u21)du.
- Integral becomes ∫u19⋅21(1+u21)du=21∫(u19+u17)du=40u20+36u18+C. …
- JEE Main 2025Set 2025-04-07-s24 marksQ.If ∫ (1/x + 1/x^3) (²³√(3x^{-24} + x^{-26})) dx = −α/(3(α+1)) (3x^β + x^γ)^{(α+1)/α} + C, x > 0, (α, β, γ ∈ Z), where C is the constant of integration, then α + β + γ is equal to __________.
›Reveal solutionSolution
This antiderivative has the shape of the generalised power rule ∫h(x)1/αh′(x)dx=α+1αh(x)(α+1)/α+C with α=23 (the root index in the integrand); matching the constant and the base (3xβ+xγ) to the integrand is meant to pin down β,γ, giving α+β+γ=19.
- The integrand carries a 23rd root, (3x−24+x−26)1/23, and the claimed antiderivative is a single power (3xβ+xγ)(α+1)/α — this is the signature of the generalised power rule ∫h′(x)h(x)1/αdx=α+1αh(x)(α+1)/α+C, so α=23 (matching the root index on both sides), with the overall constant −3⋅2423=−7223 absorbing the chain-rule factor.
- The standard route is to write 3x−24+x−26=x−24(3+x−2) (or the symmetric factoring x−26(3x2+1)), substitute t=x−2 so dt=−2x−3dx, and match the (1/x+1/x3)dx piece in the integrand to a multiple of dt.
- Carrying this through algebraically, the (1/x+1/x3)dx factor does not collapse cleanly onto dt for the exponents exactly as printed, which suggests the printed radicand/exponents in this question have a transcription artefact (plausible given OCR of nested exponents like x−24, x−26 next to a 23rd root). I was not able to independently verify a unique split of β and γ from the stem with full confidence. …
- KEAM 2024Set eng-2024-06054 marksMCQQ.∫(x4−8x2+16x)(4x3−16x+16)dx= (A) x4+4x3−8x2+16x+7+C (B) 21(x4−8x2+16x+7)2+C (C) 21(x4−8x2+16x)2+C (D) 21(x4−8x2+7)2+C (E) 41(x4−8x2+16x)2+C
›Reveal solutionSolution
The second factor is exactly the derivative of the first, giving ∫udu=21u2.
Set u=x4−8x2+16x. Differentiate:
dxdu=4x3−16x+16,
which is precisely the second factor. Hence …
- JEE Main 2024Set 2024-01-27-s24 marksMCQQ.The integral ∫(x12+3x6+1)tan−1(x3+x31)(x8−x2)dx is equal to: (A) loge(tan−1(x3+x31))1/3+C (B) loge(tan−1(x3+x31))1/2+C (C) loge(tan−1(x3+x31))+C (D) loge(tan−1(x3+x31))3+C
›Reveal solutionSolution
Substitute t=tan−1(x3+x−3); the derivative matches the rational factor up to a constant 1/3, giving a logarithm.
- Let t=tan−1(x3+x31). Then
dxdt=1+(x3+x−3)21⋅(3x2−x43).
- Simplify: 1+(x3+x−3)2=x6x6+x12+2x6+1=x6x12+3x6+1, and 3x2−x43=x43(x6−1). Hence dt=x12+3x6+13(x6−1)dx. …
🎓Unlock everything free for 10 days
- ✓Full step-by-step solutions
- ✓Concept-first explanations
- ✓Methods, shortcuts & mistakes
- ✓PYQ mapping + timed mock tests
Full access for 10 days. No credit card required.