Q.Write an anti derivative for each of the following functions using the method of inspection:
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
Inspection is only safe if you verify by differentiating your answer. If the derivative reproduces the integrand exactly, the antiderivative is correct — that check turns a guess into a proof.
Adjusting by a constant factor works, but you can never fix a mismatch by inserting or dividing by a function of x — that is where inspection ends and substitution or by-parts must take over.
"Integration by inspection method" and "guess and check integration class 12" are typical searches for this shortcut technique, which is grounded in the Integrals chapter of the NCERT/CBSE Class 12 Mathematics syllabus. It's a fast, high-value skill for objective-type questions in JEE Main and various state CETs.
Concept: Power Rule Integration — we reverse the derivative by asking: which function, when differentiated, gives the given expression?
(i) cos2x
We know dxdsin2x=2cos2x. To get cos2x, we multiply by 21:
dxd(21sin2x)=cos2x.
So an antiderivative is 21sin2x.
(ii) 3x2+4x3
Differentiate x3 to get 3x2, and x4 to get 4x3.
Thus dxd(x3+x4)=3x2+4x3.
So an antiderivative is x3+x4.
(iii) x1, x=0
We know dxdlog∣x∣=x1.
So an antiderivative is log∣x∣.
The antiderivatives are 21sin2x, x3+x4, and log∣x∣ respectively.
The method of inspection means guessing a function whose derivative gives the given function, then adjusting constants. The antiderivatives are: (i) 21sin2x+C,
(ii) x3+x4+C,
(iii) log∣x∣+C.
The idea behind "method of inspection" is simple: you look at the given function and ask yourself, "What function, when differentiated, gives me this?" It's reverse differentiation — you rely on your memory of standard derivatives and then adjust for constants. This is the most intuitive way to find antiderivatives, especially for simple functions.
Let's work through each one.
1. (i) cos2x
We know that dxd(sinx)=cosx. But here the argument is 2x, not x. So we need a function whose derivative brings out a factor of 2 from the chain rule.
Think: dxd(sin2x)=cos2x⋅2=2cos2x. That gives us 2cos2x, but we want just cos2x. So we need to divide by 2 to cancel the extra factor.
Therefore, dxd(21sin2x)=21⋅2cos2x=cos2x.
So the antiderivative is 21sin2x+C, where C is any constant (since derivative of a constant is zero).
A common mistake is to write sin2x directly, forgetting the chain rule factor of 2. Always check: differentiate your guess and see if it matches.
2. (ii) 3x2+4x3
This is a sum of two power functions. The power rule for differentiation says dxd(xn)=nxn−1. For antiderivatives, we reverse this: if the derivative gives nxn−1, then the antiderivative of xn−1 is nxn (for n=0).
Let's handle each term separately.
For 3x2: We need a function whose derivative is x2. Since dxd(x3)=3x2, we have exactly 3x2 as the derivative of x3. So the antiderivative of 3x2 is x3.
For 4x3: We need a function whose derivative is x3. Since dxd(x4)=4x3, the antiderivative of 4x3 is x4.
Adding them together: the antiderivative of 3x2+4x3 is x3+x4+C.
For a term axn, the antiderivative is n+1axn+1, provided n=−1. Check: differentiate n+1axn+1 and you get axn. This is the power rule for integration in reverse.
3. (iii) x1, x=0
This is the special case where the power rule fails (since n=−1 would give division by zero). We need a function whose derivative is x1.
From standard derivatives, we know dxd(logx)=x1 for x>0. But the domain here is x=0, which includes negative x as well. For x<0, logx is not defined, but log(−x) works. The clean way to handle both positive and negative x is to use log∣x∣.
Check: dxd(log∣x∣)=x1 for all x=0. (For x>0, it's logx; for x<0, it's log(−x), whose derivative is −x1⋅(−1)=x1.)
So the antiderivative is log∣x∣+C.
∫x1dx=log∣x∣+C,x=0
The antiderivatives are: (i) 21sin2x+C,
(ii) x3+x4+C,
(iii) log∣x∣+C.
Method: Antiderivative by Inspection (Reverse Differentiation)
Use this when the integrand is a standard function (a power, an exponential, a basic trig function, or a simple constant multiple of one) whose antiderivative you can recognise by asking "what did I differentiate to get this?"
Steps
Step 1: Recall the matching standard derivative.
Scan your table of standard results and find the function whose derivative has the same shape as the integrand. For example, dxd(sinkx)=kcoskx, dxd(xn+1)=(n+1)xn, and dxd(log∣x∣)=x1.
Step 2: Fix the constant multiple.
Differentiating a composite like sinkx pulls out a factor k (chain rule). To cancel it, divide your guess by that constant:
∫coskxdx=k1sinkx+C.
For a pure power, divide by the new exponent: ∫xndx=n+1xn+1+C (valid for n=−1).
Step 3: Handle the exceptional case n=−1.
The power rule fails for x1; instead use ∫x1dx=log∣x∣+C.
Step 4: Verify and add C.
Differentiate your answer mentally to confirm it returns the integrand, and always attach the arbitrary constant C because antiderivatives are unique only up to a constant.
Common Mistakes
Mistake 1: Writing ∫cos2xdx=sin2x+C without the 21.
Why it's wrong: differentiating sin2x gives 2cos2x, not cos2x, because of the chain-rule factor of 2. Correct approach: divide by the inner derivative, ∫cos2xdx=21sin2x+C.
Mistake 2: Applying the power rule to x1.
Why it's wrong: the rule ∫xndx=n+1xn+1 blows up at n=−1 (division by zero). Correct approach: ∫x1dx=log∣x∣+C, with the modulus so it is valid for x<0 too.
Mistake 3: Dropping the constant of integration.
Why it's wrong: every function of the form F(x)+C is an antiderivative, so an answer without C is incomplete. Correct approach: always append +C.
Showing the 12 most recent of 51 on this concept.
- AP EAPCET 2026Set eng-2026-05-12-FN1 markMCQQ.If ∫(1+2x4−5x8)2x7+x11dx=8(1+2x4−5x8)xn+c, then n= (A) 10 (B) 8 (C) 16 (D) 12
›Reveal solutionSolution
Differentiate the proposed antiderivative form with unknown power n, expand, and match coefficients against the given integrand (x7+x11)/D2 — this pins down n=8.
Concept and Intuition
When an integral is given already in "answer form" with an unknown parameter, the fastest and most reliable check is reverse engineering: differentiate the claimed antiderivative and see what power n makes it reproduce the original integrand exactly.
Step-by-Step Solution
- Let D(x)=1+2x4−5x8, so D′(x)=8x3−40x7.
- We're told ∫D(x)2x7+x11dx=8D(x)xn+c. Differentiate the RHS using the quotient rule: dxd[8Dxn]=81⋅D2nxn−1D−xnD′.
- This must equal D2x7+x11, so: nxn−1D−xnD′=8(x7+x11).
- Try n=8: 8x7⋅D−x8⋅D′=8x7(1+2x4−5x8)−x8(8x3−40x7) =8x7+16x11−40x15−8x11+40x15 =8x7+(16−8)x11+(−40+40)x15=8x7+8x11.
- This exactly matches the required 8(x7+x11)=8x7+8x11. So n=8 works perfectly (all higher-degree x15 terms cancel, as they must).
Common Mistakes
- Trying to integrate directly via substitution without first noticing that verifying the answer by differentiation (given the form is already stated) is far faster.
- Arithmetic slips in expanding the two products x7⋅D and x8⋅D′, especially tracking the x15 terms that must cancel.
✓Final answerThe correct option is (B) — 8.
ANSWER: B
- AP EAPCET 2026Set eng-2026-05-12-FN1 markMCQQ.If g(x) and f(x) are twice differentiable functions, then ∫(f′′(x)g(x)−g′′(x)f(x))dx= (A) g2(x)dxd(g(x)f(x)) (B) f2(x)dxd(g′(x)f′(x)) (C) dxd(g′′(x)f′′(x))g2(x) (D) dxd(g(x)f′(x))g2(x)
›Reveal solutionSolution
The integrand f′′g−g′′f is exactly the derivative of f′g−fg′, which in turn is g2 times the derivative of the quotient f/g — a classic "spot the exact derivative" integration trick.
Concept and Intuition
Rather than integrating term by term, recognize that many such expressions are secretly the derivative of a simpler combination. Here, differentiating f′g−fg′ reproduces the given integrand exactly, so no actual "integration" work is needed — just pattern recognition, followed by rewriting the result using the quotient rule identity.
Step-by-Step Solution
- Consider the candidate antiderivative h(x)=f′(x)g(x)−f(x)g′(x).
- Differentiate: h′(x)=[f′′(x)g(x)+f′(x)g′(x)]−[f′(x)g′(x)+f(x)g′′(x)] =f′′(x)g(x)−g′′(x)f(x) (the f′g′ terms cancel).
- This is exactly the given integrand! So ∫(f′′(x)g(x)−g′′(x)f(x))dx=f′(x)g(x)−f(x)g′(x)+c.
- Now recall the quotient rule: dxd(g(x)f(x))=g2(x)f′(x)g(x)−f(x)g′(x).
- So f′(x)g(x)−f(x)g′(x)=g2(x)⋅dxd(g(x)f(x)).
- Hence the integral equals g2(x)dxd(g(x)f(x))+c, matching option (A).
Common Mistakes
- Trying integration by parts twice (on f′′g and g′′f separately) instead of noticing the whole expression is already an exact derivative — much more work and more error-prone.
- Confusing this with the quotient f′/g′ (as in some distractor options) instead of the correct f/g.
✓Final answerThe correct option is (A) — g2(x)dxd(g(x)f(x)).
ANSWER: A
- AP EAPCET 2026Set eng-2026-05-13-FN1 markMCQQ.If ∫bsinx+4cosx2sinx+acosxdx=52x−51log(bsinx+4cosx)+c, then a+b= (A) 2 (B) 3 (C) 4 (D) 5
›Reveal solutionSolution
Split the numerator as A(denom)+B(denom′) so the integral becomes
Ax+Blog∣denom∣; matching this to the given A=2/5, B=−1/5 pins down
b=3 and a=1, so a+b=4.
Concept and Intuition
Any integral of the form ∫rsinx+scosxpsinx+qcosxdx can always be
written as Ax+Blog∣rsinx+scosx∣+c, because
psinx+qcosx can always be decomposed uniquely as A(rsinx+scosx)+B(rcosx−ssinx) — a multiple of the denominator plus a multiple of its derivative.
Step-by-Step Solution
- Let denom =bsinx+4cosx; its derivative is bcosx−4sinx.
- Write 2sinx+acosx=A(bsinx+4cosx)+B(bcosx−4sinx).
- Matching sinx: 2=Ab−4B. Matching cosx: a=4A+Bb.
- The integral of A+denomB⋅denom′ is Ax+Blog∣denom∣+c; comparing to the given 52x−51log(⋅)+c gives A=52, B=−51.
- From step 3's first equation: 2=52b+54⇒56=52b⇒b=3.
- From step 3's second equation: a=4(52)+(−51)(3)=58−53=1.
- a+b=1+3=4.
Common Mistakes
- Sign slip in the derivative of the denominator (bcosx−4sinx, not bcosx+4sinx).
- Mixing up which equation determines b vs a.
✓Final answerThe correct option is (C) — 4.
ANSWER: C
- AP EAPCET 2026Set eng-2026-05-14-AN1 markMCQQ.If ∫3cosx+4sinx2cosx+3sinxdx=Ax+Blog∣3cosx+4sinx∣+c, then A⋅B= (A) −62518 (B) 62518 (C) −2518 (D) 2518
›Reveal solutionSolution
This is the standard "express numerator as a·(denominator) + b·(derivative of denominator)" trick for ∫ccosx+dsinxacosx+bsinxdx; solving the linear system gives A⋅B=−62518.
Concept and Intuition
Whenever the integrand is a ratio of two linear combinations of sinx,cosx, the denominator's own derivative (also a combination of sinx,cosx) together with the denominator itself spans the same 2-D space as the numerator. So we can always write numerator =A⋅(denominator)+B⋅(denominator)′, turning the integral into Ax+Blog∣denominator∣+c directly.
Step-by-Step Solution
- Let D=3cosx+4sinx, so D′=−3sinx+4cosx.
- Write 2cosx+3sinx=AD+BD′=A(3cosx+4sinx)+B(−3sinx+4cosx).
- Match cosx coefficients: 3A+4B=2.
- Match sinx coefficients: 4A−3B=3.
- Solve: multiply the first by 3 and the second by 4: 9A+12B=6, 16A−12B=12. Adding, 25A=18⇒A=2518.
- Substitute back: 3⋅2518+4B=2⇒2554+4B=2⇒4B=−254⇒B=−251.
- Then ∫3cosx+4sinx2cosx+3sinxdx=Ax+Blog∣D∣+c, exactly the given form, so A⋅B=2518×(−251)=−62518.
Common Mistakes
- Sign errors when setting up D′ (mixing up which term is −sinx vs +sinx, since dxdcosx=−sinx).
- Solving the 2×2 system incorrectly by forgetting to eliminate one variable cleanly.
✓Final answerThe correct option is (A) — −62518.
ANSWER: A
- AP EAPCET 2026Set eng-2026-05-13-AN1 markMCQQ.∫(1+(logx)2logx−1)2dx= (A) 1+x2xex+c (B) 1+(logx)2x+c (C) (logx)2+1logx+c (D) x2+1x+c
›Reveal solutionSolution
The integrand is recognized as the derivative of 1+(logx)2x via the quotient rule, so the antiderivative is that expression directly.
Concept and Intuition
Many integrals involving logx in a rational combination are disguised derivatives of a simple quotient P(logx)x. The strategy is to guess a plausible antiderivative form (informed by the structure of the options) and verify by differentiating.
Step-by-Step Solution
- Guess g(x)=1+(logx)2x (matching option B's form).
- Differentiate using the quotient rule: g′(x)=(1+(logx)2)21⋅(1+(logx)2)−x⋅2logx⋅x1.
- Simplify numerator: (1+(logx)2)−2logx=1−2logx+(logx)2=(logx−1)2.
- So g′(x)=(1+(logx)2)2(logx−1)2=(1+(logx)2logx−1)2, exactly the integrand.
- Therefore ∫(1+(logx)2logx−1)2dx=1+(logx)2x+c.
Common Mistakes
- Attempting substitution u=logx directly without accounting for the extra factor of x that appears when converting dx to du — the quotient-rule verification approach avoids this trap entirely.
✓Final answerThe correct option is (B) — 1+(logx)2x+c.
ANSWER: B
- AP EAPCET 2026Set eng-2026-05-15-AN1 markMCQQ.∫(x+1)3x−1exdx= (A) (x+1)2ex+c (B) (x+1)2−ex+c (C) (x+1)2ex+c (D) (x+1)4−ex+c
›Reveal solutionSolution
The integrand fits the classic ∫ex[f(x)+f′(x)]dx=exf(x)+c pattern with f(x)=1/(x+1)2, giving the answer (x+1)2ex+c directly, with no further integration needed.
Concept and Intuition
Whenever an integrand has the shape ex times a sum of a function and its derivative, the antiderivative is simply ex times that function — because dxd[exf(x)]=exf(x)+exf′(x)=ex[f(x)+f′(x)]. Recognizing this pattern converts a seemingly hard rational-times-exponential integral into pure algebra: just guess f(x) and check.
Step-by-Step Solution
- Guess f(x)=(x+1)21, motivated by the (x+1)3 in the denominator (one power lower after differentiating).
- Compute f′(x)=dxd(x+1)−2=−2(x+1)−3=(x+1)3−2.
- Form f(x)+f′(x)=(x+1)21−(x+1)32=(x+1)3(x+1)−2=(x+1)3x−1.
- This exactly matches the given integrand (x+1)3x−1.
- So ∫ex[(x+1)21−(x+1)32]dx=ex⋅(x+1)21+c.
Common Mistakes
- Trying integration by parts directly on (x−1)ex/(x+1)3 instead of spotting the ex[f+f′] structure, leading to a much longer (and error-prone) computation.
- Sign slip when computing f′(x), flipping the final sign of the answer.
✓Final answerThe correct option is (A) — (x+1)2ex+c.
ANSWER: A
- AP EAPCET 2026Set eng-2026-05-18-FN1 markMCQQ.∫(x4+1)5/41dx= (A) −(x4+1)1/44 (B) (x4+1)1/41 (C) (x4+1)1/4x (D) −(x4+1)1/42
›Reveal solutionSolution
A power-pulling substitution (t=1+x−4) reduces this to a simple power-rule integral; the answer is (x4+1)1/4x+c.
Concept and Intuition
When an integrand is a power of (xn+1) with an awkward fractional exponent, factoring out xn from inside the bracket and substituting t=1+x−n often converts it into a clean power-rule integral in t.
Step-by-Step Solution
- Write x4+1=x4(1+x−4), so
(x4+1)5/4=x5(1+x−4)5/4.
- The integrand becomes
(x4+1)5/41=x−5(1+x−4)−5/4.
- Let t=1+x−4, so dt=−4x−5dx ⇒ x−5dx=−4dt.
- The integral becomes
∫−41t−5/4dt=−41⋅−1/4t−1/4+c=t−1/4+c.
- Substitute back: t−1/4=(1+x−4)−1/4=[x4x4+1]−1/4=(x4+1)1/4x.
- Verify by differentiating: dxd[x(x4+1)−1/4]=(x4+1)−1/4−x4(x4+1)−5/4=(x4+1)−5/4[(x4+1)−x4]=(x4+1)−5/4, which matches the original integrand.
Common Mistakes
- Trying a direct trig or algebraic substitution on x4+1 without factoring out x4 first, which leads nowhere clean.
- Sign error in the exponent when converting t−5/4 back via the power rule.
✓Final answerThe correct option is (C) — (x4+1)1/4x.
ANSWER: C
- AP EAPCET 2026Set eng-2026-05-18-FN1 markMCQQ.If ∫x2+1x2−x+1eCot−1xdx=A(x)eCot−1x+c, then A(x)= (A) −x (B) x (C) 1−x (D) 1+x
›Reveal solutionSolution
Match the integrand to the derivative pattern of A(x)eCot−1x; the function that works is A(x)=x.
Concept and Intuition
Integrals of the form ∫eθ(x)[⋯]dx=A(x)eθ(x)+c are recognized by reverse-engineering the product rule: dxd[A(x)eθ(x)]=A′(x)eθ(x)+A(x)θ′(x)eθ(x). Here θ(x)=Cot−1x has θ′(x)=−1+x21, so we need A′(x)−1+x2A(x) to equal the given coefficient.
Step-by-Step Solution
- Simplify the coefficient: x2+1x2−x+1=x2+1(x2+1)−x=1−x2+1x.
- We need A(x) with
A′(x)−1+x2A(x)=1−1+x2x.
- Try A(x)=x, so A′(x)=1:
1−1+x2x=1−1+x2x ✓
This matches exactly.
4. So ∫x2+1x2−x+1eCot−1xdx=xeCot−1x+c, giving A(x)=x.
Common Mistakes
- Trying A(x)=−x first by pattern-matching the sign of the −x in the numerator, without checking that the derivative condition (which involves subtracting, not adding, A(x)/(1+x2)) actually balances.
- Forgetting that dxdCot−1x=−1+x21 (the negative sign is essential here).
✓Final answerThe correct option is (B) — x.
ANSWER: B
- AP EAPCET 2025Set eng-2025-05-21-FN1 markMCQQ.∫2(sinx−3)2esinx(sin2x−8cosx)dx= (A) esinx(sinx−3)+c (B) (sinx−3)2esinx+c (C) esinx(sinx−3)2+c (D) sinx−3esinx+c
›Reveal solutionSolution
A "∫ef(x)[g(x)+g′(x)]"-style integral in disguise — substitute t=sinx and recognize the resulting rational-times-exponential as the derivative of t−3et. Answer: sinx−3esinx+c.
Concept and Intuition
The identity ∫eu[h(u)+h′(u)]du=euh(u)+c is the key trick behind many "exponential times trig" integrals. After substituting t=sinx, the goal is to spot the integrand as et[t−31−(t−3)21], which is precisely dtd[t−3et] by the quotient rule.
Step-by-Step Solution
- Expand sin2x=2sinxcosx in the numerator:
esinx(sin2x−8cosx)=esinxcosx(2sinx−8)=2esinxcosx(sinx−4).
- The integral becomes
∫2(sinx−3)22esinxcosx(sinx−4)dx=∫(sinx−3)2esinxcosx(sinx−4)dx.
- Substitute t=sinx⇒dt=cosxdx:
∫et(t−3)2t−4dt.
- Decompose (t−3)2t−4 via partial fractions: write t−4=A(t−3)+B. At t=3: B=−1. Matching the t-coefficient: A=1. So (t−3)2t−4=t−31−(t−3)21.
- Recognize the quotient-rule derivative: dtd[t−3et]=(t−3)2et(t−3)−et=et[t−31−(t−3)21] — exactly the integrand.
- Hence ∫et(t−3)2t−4dt=t−3et+c.
- Back-substitute t=sinx: the answer is sinx−3esinx+c.
Common Mistakes
- Missing the sin2x=2sinxcosx rewrite, which is essential to expose the t=sinx substitution.
- Sign slip in the partial-fraction split of (t−3)2t−4.
✓Final answerThe correct option is (D) — sinx−3esinx+c.
ANSWER: D
- AP EAPCET 2025Set eng-2025-05-21-FN1 markMCQQ.If ∫(3t2sint1−tcost1)dt=f(t)sin(t1)+c, then f(2)= (A) 2 (B) −12 (C) 8 (D) −16
›Reveal solutionSolution
Reverse-engineer f(t) by matching the product-rule expansion of f(t)sin(1/t) to the given integrand term by term. Answer: f(2)=8.
Concept and Intuition
If ∫g(t)dt=f(t)sin(t1)+c, then differentiating both sides must reproduce g(t) exactly:
g(t)=f′(t)sin(t1)+f(t)cos(t1)⋅(−t21).
Matching the sin(1/t)-coefficient and the cos(1/t)-coefficient of the given g(t)=3t2sint1−tcost1 to this template pins down f.
Step-by-Step Solution
- Assume the antiderivative has the stated form f(t)sin(1/t)+c; differentiate:
dtd[f(t)sint1]=f′(t)sint1−t2f(t)cost1.
- This must equal 3t2sint1−tcost1.
- Match the sin(1/t) terms: f′(t)=3t2⟹f(t)=t3+C0.
- Match the cos(1/t) terms: −t2f(t)=−t⟹f(t)=t3 — consistent with step 3 (so C0=0).
- Thus f(t)=t3, and f(2)=23=8.
- Verify directly: dtd[t3sint1]=3t2sint1+t3⋅cost1⋅(−t21)=3t2sint1−tcost1 ✓, matching the given integrand exactly.
Common Mistakes
- Trying to integrate the expression directly (by parts, twice) instead of the much faster "differentiate the proposed answer form and match coefficients" approach.
- Sign error when applying the chain rule to cos(1/t) — the derivative of 1/t is −1/t2.
✓Final answerThe correct option is (C) — 8.
ANSWER: C
- AP EAPCET 2025Set eng-2025-05-21-AN1 markMCQQ.If ∫esinx(1+secxtanx)dx=esinxf(x)+c, then in 0≤x≤2π, the number of solutions of f(x)=1 is (A) 4 (B) 0 (C) 2 (D) 3
›Reveal solutionSolution
Recognize the integrand as the derivative of esinxsecx, identify f(x)=secx, then count solutions of secx=1 on [0,2π]. Answer: 2.
Concept and Intuition
Many integrals of the form ∫eg(x)(g′(x)h(x)+h′(x))dx are exact derivatives of eg(x)h(x) via the product rule. Spotting this pattern converts the integration problem into recognizing a product-rule expansion, rather than grinding through substitution.
Step-by-Step Solution
- Try h(x)=secx with g(x)=sinx. Then
dxd[esinxsecx]=esinxcosx⋅secx+esinx⋅secxtanx=esinx⋅1+esinxsecxtanx=esinx(1+secxtanx).
- This exactly matches the given integrand, so
∫esinx(1+secxtanx)dx=esinxsecx+c⟹f(x)=secx.
- Solve f(x)=1: secx=1⟺cosx=1⟺x=2nπ.
- In the closed interval [0,2π], the values x=0 and x=2π both satisfy this (and secx is defined there, since cosx=0).
- So there are exactly 2 solutions in [0,2π].
Common Mistakes
- Missing that x=2π (the right endpoint) is a valid, distinct solution in the closed interval, and undercounting as 1.
- Confusing f(x)=secx with f(x)=cosx due to a sign/reciprocal slip while checking the product rule.
✓Final answerThe correct option is (C) — 2.
ANSWER: C
- AP EAPCET 2025Set eng-2025-05-22-FN1 markMCQQ.∫sinx−cosxsinx+cosxdx= (A) −x+log∣cosx−sinx∣+c (B) x−log∣cosx−sinx∣+c (C) −log∣cosx−sinx∣+c (D) log∣cosx−sinx∣+c
›Reveal solutionSolution
The numerator is exactly the derivative of the denominator, so this is a direct ∫f′(x)/f(x)dx=log∣f(x)∣ integral, giving log∣cosx−sinx∣+c.
Concept and Intuition
Whenever the numerator of a rational trigonometric integrand is (up to a constant) the derivative of the denominator, the integral is immediately a logarithm — no partial fractions or trig identities needed.
Step-by-Step Solution
- Let u=sinx−cosx. Then dxdu=cosx+sinx, which is exactly the numerator.
- So ∫sinx−cosxsinx+cosxdx=∫udu=log∣u∣+c=log∣sinx−cosx∣+c.
- Since ∣sinx−cosx∣=∣−(cosx−sinx)∣=∣cosx−sinx∣, this is the same as log∣cosx−sinx∣+c.
Common Mistakes
- Trying to split the fraction or use a Weierstrass substitution when a direct f′/f recognition is far faster.
- Thinking log∣sinx−cosx∣ and log∣cosx−sinx∣ are different — they're identical because of the absolute value.
✓Final answerThe correct option is (D) — log∣cosx−sinx∣+c.
ANSWER: D
🎓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.