PYQ Vault

NDA Maths · Indefinite Integration

Foundations & Standard Forms

Integration is differentiation run backwards: given a rate of change, recover the function — plus an unknown constant C that no derivative can pin down.

Why this matters

Before any technique, three reflexes carry the whole chapter: an indefinite integral is a FAMILY of functions (the +C), the standard-formula table must be instant recall, and most NDA integrands are simplified with exponent/log laws BEFORE a formula applies. 13 PYQs sit directly here — exponential bases, the eˡⁿ-collapse trick, completing the square, the eˣ[f+f′] pattern, and the paired eˣ·trig integrals — and these reflexes underpin all 40 questions in the chapter.

Test yourself — a quick 13-question Indefinite Integration recall quiz, instant score.

Concept 1 of 10: Antiderivative and the Constant of Integration

Differentiation turns a function into its slope. Integration runs that backwards — given the slope everywhere, find the function. But a constant has zero slope, so ANY vertical shift of a correct answer is also correct. That unknown shift is the +C.

Definition

A function FF is an antiderivative of ff if F′(x)=f(x)F'(x) = f(x). The indefinite integral ∫f(x) dx=F(x)+C\int f(x)\,dx = F(x) + C denotes the whole family of antiderivatives, where CC is an arbitrary constant. Because ddx[F(x)+C]=f(x)\dfrac{d}{dx}[F(x) + C] = f(x) for every constant CC, the constant can never be recovered from ff alone — an extra condition (a boundary value) is needed to fix it.

Indefinite integral

∫f(x) dx=F(x)+CwhereF′(x)=f(x)\int f(x)\,dx = F(x) + C \quad\text{where}\quad F'(x) = f(x)
  • F(x)any one antiderivative of ff
  • Carbitrary constant of integration

Visualization · the +C family of antiderivatives

xyy = x²/2 + C

Every curve is an antiderivative of f(x) = x. They differ only by the constant C — a vertical shift. At x = 1 the red tangents are all parallel (slope = f(1) = 1): same derivative, infinitely many curves. That is why every indefinite integral carries a + C.

Worked example

Verify that both sin⁡x+7\sin x + 7 and sin⁡x−2\sin x - 2 are antiderivatives of cos⁡x\cos x, and write the indefinite integral.

Never drop the +C on an indefinite integral

An indefinite integral with no +C+C is incomplete. NDA options are written so the 'no constant' version and a wrong-constant version both appear — only the form carrying +C+C (or +k+k) is correct.

Concept 2 of 10: The Standard-Formula Table

About a dozen integrals are the alphabet of the whole chapter. Every technique — substitution, parts, partial fractions — exists only to REDUCE a hard integral to one of these. Know them as reflexes, not look-ups.

Definition

The integrals you must recall instantly:

  • ∫xn dx=xn+1n+1+C\int x^n\,dx = \dfrac{x^{n+1}}{n+1} + C for n≠−1n \neq -1
  • ∫1x dx=ln⁡∣x∣+C\int \dfrac{1}{x}\,dx = \ln|x| + C
  • ∫ex dx=ex+C\int e^x\,dx = e^x + C, and ∫ax dx=axln⁡a+C\int a^x\,dx = \dfrac{a^x}{\ln a} + C
  • ∫sin⁡x dx=−cos⁡x+C\int \sin x\,dx = -\cos x + C, ∫cos⁡x dx=sin⁡x+C\int \cos x\,dx = \sin x + C
  • ∫sec⁡2x dx=tan⁡x+C\int \sec^2 x\,dx = \tan x + C, ∫csc⁡2x dx=−cot⁡x+C\int \csc^2 x\,dx = -\cot x + C
  • ∫sec⁡xtan⁡x dx=sec⁡x+C\int \sec x\tan x\,dx = \sec x + C, ∫tan⁡x dx=ln⁡∣sec⁡x∣+C\int \tan x\,dx = \ln|\sec x| + C
  • ∫dx1+x2=tan⁡−1x+C\int \dfrac{dx}{1+x^2} = \tan^{-1}x + C, ∫dx1−x2=sin⁡−1x+C\int \dfrac{dx}{\sqrt{1-x^2}} = \sin^{-1}x + C

The second dozen — the rows the PYQs quote as "standard form" without proof:

  • ∫sec⁡x dx=ln⁡∣sec⁡x+tan⁡x∣+C\int \sec x\,dx = \ln|\sec x + \tan x| + C, ∫csc⁡x dx=ln⁡∣csc⁡x−cot⁡x∣+C\int \csc x\,dx = \ln|\csc x - \cot x| + C, ∫cot⁡x dx=ln⁡∣sin⁡x∣+C\int \cot x\,dx = \ln|\sin x| + C
  • ∫dxx2+a2=1atan⁡−1xa+C\int \dfrac{dx}{x^2+a^2} = \dfrac1a\tan^{-1}\dfrac xa + C, ∫dxa2−x2=sin⁡−1xa+C\int \dfrac{dx}{\sqrt{a^2-x^2}} = \sin^{-1}\dfrac xa + C, ∫dxx2−a2=12aln⁡∣x−ax+a∣+C\int \dfrac{dx}{x^2-a^2} = \dfrac{1}{2a}\ln\left|\dfrac{x-a}{x+a}\right| + C
  • ∫dxx2+a2=ln⁡∣x+x2+a2∣+C\int \dfrac{dx}{\sqrt{x^2+a^2}} = \ln\big|x+\sqrt{x^2+a^2}\big| + C, ∫dxx2−a2=ln⁡∣x+x2−a2∣+C\int \dfrac{dx}{\sqrt{x^2-a^2}} = \ln\big|x+\sqrt{x^2-a^2}\big| + C
  • ∫x2+a2 dx=x2x2+a2+a22ln⁡∣x+x2+a2∣+C\int \sqrt{x^2+a^2}\,dx = \dfrac x2\sqrt{x^2+a^2} + \dfrac{a^2}{2}\ln\big|x+\sqrt{x^2+a^2}\big| + C; ∫x2−a2 dx=x2x2−a2−a22ln⁡∣x+x2−a2∣+C\int \sqrt{x^2-a^2}\,dx = \dfrac x2\sqrt{x^2-a^2} - \dfrac{a^2}{2}\ln\big|x+\sqrt{x^2-a^2}\big| + C; ∫a2−x2 dx=x2a2−x2+a22sin⁡−1xa+C\int \sqrt{a^2-x^2}\,dx = \dfrac x2\sqrt{a^2-x^2} + \dfrac{a^2}{2}\sin^{-1}\dfrac xa + C
  • And for every row, ∫f(ax+b) dx=1aF(ax+b)+C\int f(ax+b)\,dx = \dfrac1a F(ax+b) + C — the 1a\tfrac1a is the most-forgotten factor in the chapter.

Power rule (the most-used row)

∫xn dx=xn+1n+1+C(n≠−1)\int x^n\,dx = \dfrac{x^{n+1}}{n+1} + C \quad (n \neq -1)
  • n≠−1n \neq -1the exclusion that makes ∫x−1=ln⁡∣x∣\int x^{-1} = \ln|x| a separate row

Worked example

Evaluate ∫(x+sec⁡2x)dx\displaystyle\int\left(\sqrt{x} + \sec^2 x\right)dx.
Practice this concept3 quick reps

The power rule excludes n=−1n=-1

∫x−1 dx\int x^{-1}\,dx is NOT x00\dfrac{x^0}{0} — that is undefined. It is the special row ∫1x dx=ln⁡∣x∣+C\int \dfrac{1}{x}\,dx = \ln|x| + C.

Concept 3 of 10: Linearity — Integrate Term by Term

Integration is linear: a constant multiplier slides out, and a sum integrates piece by piece. This lets you break any polynomial or sum into table look-ups.

Definition

For constants a,ba, b:

∫(a f(x)+b g(x)) dx=a∫f(x) dx+b∫g(x) dx.\int\big(a\,f(x) + b\,g(x)\big)\,dx = a\int f(x)\,dx + b\int g(x)\,dx.
Only ONE constant of integration is needed for the whole expression — collect the separate constants into a single CC at the end. Linearity does NOT extend to products or quotients: ∫fg≠∫f⋅∫g\int f g \neq \int f \cdot \int g.

Linearity of the integral

∫(a f(x)+b g(x)) dx=a ⁣∫ ⁣f(x) dx+b ⁣∫ ⁣g(x) dx\int\big(a\,f(x)+b\,g(x)\big)\,dx = a\!\int\! f(x)\,dx + b\!\int\! g(x)\,dx

Worked example

Evaluate ∫2x2−3x dx\displaystyle\int\dfrac{2x^2 - 3}{x}\,dx.

You cannot split a product or a quotient like a sum

∫1x(x2+1) dx≠∫1x dx⋅∫1x2+1 dx\int \dfrac{1}{x(x^2+1)}\,dx \neq \int\dfrac{1}{x}\,dx \cdot \int\dfrac{1}{x^2+1}\,dx. Linearity is for SUMS only — products need substitution or partial fractions.

Concept 4 of 10: Simplify the Integrand First

Many NDA integrals look terrifying until you apply one exponent or log law — then they collapse to a table form. Before reaching for a method, ask: can algebra make this a standard integral?

Definition

The collapsing identities the NDA tests most:

  • eln⁡u=ue^{\ln u} = u — the exponential and natural log undo each other, so ∫eln⁡(tan⁡x) dx=∫tan⁡x dx\int e^{\ln(\tan x)}\,dx = \int \tan x\,dx.
  • ln⁡(uk)=kln⁡u\ln(u^k) = k\ln u, so ekln⁡x=xke^{k\ln x} = x^k — a stacked log/exponent becomes a power.
  • ln⁡(ab)=ln⁡a+ln⁡b\ln(ab)=\ln a+\ln b and ln⁡ab=ln⁡a−ln⁡b\ln\tfrac ab=\ln a-\ln b — so ln⁡(10e)=1+ln⁡10\ln(10e)=1+\ln10, and ∫dxxln⁡(10e)\int\dfrac{dx}{x\ln(10e)} is ln⁡∣x∣1+ln⁡10\dfrac{\ln|x|}{1+\ln10}, a constant divisor, not a new function.
  • A quotient like P(x)x\dfrac{P(x)}{x} splits into powers (linearity), and the 1x\dfrac{1}{x} term is exactly what forces a ln⁡\ln (or must vanish for a rational answer).

The collapse identity

eln⁡u=uekln⁡x=xke^{\ln u} = u \qquad e^{k\ln x} = x^{k}

Worked example

Evaluate ∫e3ln⁡x dx\displaystyle\int e^{3\ln x}\,dx.

The same idea in a real exam question:

NDA · Sep 2018 · Q84Easy

Example 4 · Indefinite Integration · Standard Forms — Exponential, Logarithmic, and Paired Trigonometric Integrals

What is ∫eln⁡(tan⁡x) dx\int e^{\ln(\tan x)}\,dx equal to?

Resolve the exponent/log BEFORE you integrate

Students who integrate eln⁡(tan⁡x)e^{\ln(\tan x)} as if the exponent were a variable get nonsense. eln⁡(tan⁡x)e^{\ln(\tan x)} is just tan⁡x\tan x — simplify, then integrate.

Concept 5 of 10: Exponential Bases — a to the x

Any constant raised to the x integrates with the same a-to-the-x on top and a ln of the base on the bottom. The whole skill is recognising the base, even when it is disguised as e to the (x ln a) or as a product like (4e) to the 2x.

Definition

The base-aa rule:

∫ax dx=axln⁡a+C(a>0, a≠1).\int a^x\,dx = \dfrac{a^x}{\ln a} + C \quad (a>0,\ a\neq 1).
Disguises to unmask: exln⁡a=axe^{x\ln a} = a^x; and (kc)mx=((kc)m)x(kc)^{mx} = \big((kc)^m\big)^x, so (4e)2x=(16e2)x(4e)^{2x} = \big(16e^2\big)^x integrates as a base-16e216e^2 exponential.

Exponential base rule

∫ax dx=axln⁡a+C\int a^x\,dx = \dfrac{a^x}{\ln a} + C
  • athe constant base, a>0, a≠1a>0,\ a\neq 1
  • ln⁡a\ln anatural log of the base — the divisor

Worked example

Evaluate ∫5x dx\displaystyle\int 5^{x}\,dx and ∫exln⁡7 dx\displaystyle\int e^{x\ln 7}\,dx.

The same idea in a real exam question:

NDA · Apr 2019 · Q94Easy

Example 5 · Indefinite Integration · Standard Forms — Exponential, Logarithmic, and Paired Trigonometric Integrals

What is ∫exln⁡a dx\displaystyle\int e^{x\ln a}\,dx equal to?

Divide by ln⁡a\ln a, not by aa

∫ax dx=axln⁡a\int a^x\,dx = \dfrac{a^x}{\ln a}, never axa\dfrac{a^x}{a} and never axln⁡aa^x\ln a (that is the derivative). The ln⁡a\ln a lives in the denominator.

Concept 6 of 10: Completing the Square for Quadratic Denominators

When the denominator is an irreducible quadratic with no helpful numerator, force it into the (something)-squared-plus-constant shape. That instantly matches the arctan standard form.

Definition

Drive any ax2+bx+cax^2+bx+c into the form (x−h)2+k2(x-h)^2 + k^2 by completing the square, then use:

∫dxx2+k2=1ktan⁡−1 ⁣(xk)+C.\int \dfrac{dx}{x^2 + k^2} = \dfrac{1}{k}\tan^{-1}\!\Big(\dfrac{x}{k}\Big) + C.
If the leading coefficient is not 1, factor it out of the whole denominator first so the x2x^2 coefficient is 1 before completing the square.

Arctan standard form

∫dxx2+k2=1ktan⁡−1 ⁣(xk)+C\int \dfrac{dx}{x^2+k^2} = \dfrac{1}{k}\tan^{-1}\!\Big(\dfrac{x}{k}\Big) + C

Worked example

Evaluate ∫dxx2+4x+13\displaystyle\int \dfrac{dx}{x^2 + 4x + 13}.
Practice this concept2 quick reps

The same idea in a real exam question:

NDA · Sep 2019 · Q81Moderate

Example 6 · Indefinite Integration · Standard Forms — Exponential, Logarithmic, and Paired Trigonometric Integrals

What is ∫dx2x2−2x+1\displaystyle\int \dfrac{dx}{2x^{2} - 2x + 1} equal to ?

Factor out the leading coefficient first

For ∫dx2x2−2x+1\int\dfrac{dx}{2x^2-2x+1}, pull the 2 out: 2(x2−x+12)2\big(x^2 - x + \tfrac12\big), THEN complete the square inside. Skipping this gives the wrong kk and a wrong coefficient.

Concept 7 of 10: The e-to-the-x Times f-plus-f-prime Pattern

Whenever an integrand is e to the x multiplied by a function PLUS its own derivative, the answer is simply e to the x times that function. It is the product rule run backwards, and the NDA hides it inside long bracketed expressions.

Definition

The pattern:

∫ex(f(x)+f′(x)) dx=exf(x)+C.\int e^x\big(f(x) + f'(x)\big)\,dx = e^x f(x) + C.
It works because ddx(exf(x))=exf(x)+exf′(x)=ex(f+f′)\dfrac{d}{dx}\big(e^x f(x)\big) = e^x f(x) + e^x f'(x) = e^x\big(f + f'\big). The skill is spotting the split — group the bracket into a function and its derivative. A related trick: when two integrals are easier to ADD than to do alone (I1+I2I_1 + I_2), combine the integrands first.

Reverse product rule

∫ex(f(x)+f′(x)) dx=exf(x)+C\int e^x\big(f(x)+f'(x)\big)\,dx = e^x f(x) + C

Worked example

Evaluate ∫ex(tan⁡x+sec⁡2x) dx\displaystyle\int e^x\big(\tan x + \sec^2 x\big)\,dx.

The same idea in a real exam question:

NDA · Sep 2022 · Q75Moderate

Example 7 · Indefinite Integration · Standard Forms — Exponential, Logarithmic, and Paired Trigonometric Integrals

What is ∫ex{1+ln⁡x+xln⁡x} dx\int e^x\{1+\ln x + x\ln x\}\,dx equal to?

The whole bracket must be f+f′f + f'

Identify ff so that the LEFTOVER terms are exactly f′f'. If they are not, the shortcut does not apply and you fall back to substitution or parts. Check by differentiating your proposed exf(x)e^x f(x).

Concept 8 of 10: Cyclic and Paired Integrals of e-to-the-x Times Trig

Integrals of e to the x times sine or cosine come back to themselves after two by-parts steps, so they are best memorised as a matched pair. NDA passages then ask you to ADD, SUBTRACT, or READ these results rather than re-derive them.

Definition

The two standard results (each provable by parts — see Integration by Parts):

∫excos⁡x dx=ex(cos⁡x+sin⁡x)2+C,\int e^x\cos x\,dx = \dfrac{e^x(\cos x + \sin x)}{2} + C,
∫exsin⁡x dx=ex(sin⁡x−cos⁡x)2+C.\int e^x\sin x\,dx = \dfrac{e^x(\sin x - \cos x)}{2} + C.
Verify either by differentiating the right side — a tool you already have. With u=∫excos⁡x dxu = \int e^x\cos x\,dx and v=∫exsin⁡x dxv = \int e^x\sin x\,dx, note dudx=excos⁡x\dfrac{du}{dx} = e^x\cos x and dvdx=exsin⁡x\dfrac{dv}{dx} = e^x\sin x by the fundamental theorem — so u+v=exsin⁡x=dvdxu+v = e^x\sin x = \dfrac{dv}{dx}. Passages on a given antiderivative form (e.g. U(x)V(x)−3ln⁡∣U+V∣)\big(\text{e.g. } U(x)V(x) - 3\ln|U+V|\big) are solved by integrating, then matching the result piece-by-piece to read off UU and VV.

The matched pair

∫excos⁡x dx=ex(cos⁡x+sin⁡x)2+C,∫exsin⁡x dx=ex(sin⁡x−cos⁡x)2+C\int e^x\cos x\,dx = \tfrac{e^x(\cos x+\sin x)}{2}+C,\quad \int e^x\sin x\,dx = \tfrac{e^x(\sin x-\cos x)}{2}+C

Worked example

Using the standard pair, find ∫ex(cos⁡x−sin⁡x) dx\displaystyle\int e^x(\cos x - \sin x)\,dx.

The same idea in a real exam question:

NDA · Sep 2025 · Q85Moderate

Example 8 · Indefinite Integration · Standard Forms — Exponential, Logarithmic, and Paired Trigonometric Integrals

For the following two (02) items: Let u=∫excos⁡x dxu=\int e^x\cos x\,dx and v=∫exsin⁡x dxv=\int e^x\sin x\,dx.
What is u+vu+v equal to?

du/dx is the integrand, not the other integral

If u=∫excos⁡x dxu = \int e^x\cos x\,dx, then dudx=excos⁡x\dfrac{du}{dx} = e^x\cos x (you undo the integral), NOT −v-v or any other integral. Differentiation cancels the integral sign directly.

Concept 9 of 10: Properties of an Antiderivative

Some NDA items are reasoning questions: they ask whether an antiderivative inherits a property of its integrand — most often periodicity. The key fact is that integrating ADDS a linear term, which can destroy periodicity even when the integrand is periodic.

Definition

A function gg is periodic with period pp if g(x+p)=g(x)g(x+p) = g(x). Integrating a periodic function need NOT give a periodic result. Example: sin⁡2x=1−cos⁡2x2\sin^2 x = \dfrac{1-\cos 2x}{2} is periodic, but ∫sin⁡2x dx=x2−sin⁡2x4+C\int \sin^2 x\,dx = \dfrac{x}{2} - \dfrac{\sin 2x}{4} + C carries a x2\dfrac{x}{2} term that grows without bound. So 'the integrand is periodic' is true, while 'the antiderivative is periodic' is false — two statements that look linked but are not. Two inverse relations underpin all of this: integrating a derivative returns the function (up to +C+C), and differentiating an integral returns the integrand.

Integration and differentiation are inverse

∫F′(x) dx=F(x)+Cddx ⁣∫f(x) dx=f(x)\int F'(x)\,dx = F(x) + C \qquad \dfrac{d}{dx}\!\int f(x)\,dx = f(x)
  • F'(x)a derivative; integrating it recovers FF up to a constant

Worked example

Is ∫(1+cos⁡2x) dx\displaystyle\int(1+\cos 2x)\,dx a periodic function of xx?

The same idea in a real exam question:

NDA · Apr 2017 · Q85Moderate

Example 9 · Indefinite Integration · Standard Forms — Exponential, Logarithmic, and Paired Trigonometric Integrals

Let f(x)f(x) be an indefinite integral of sin⁡2x\sin^2 x. Consider the following statements: Statement 1: The function f(x)f(x) satisfies f(x+π)=f(x)f(x+\pi)=f(x) for all real xx. Statement 2: sin⁡2(x+π)=sin⁡2x\sin^2(x+\pi)=\sin^2 x for all real xx. Which one of the following is correct in respect of the above statements?

Two true facts can still give a false link

'sin⁡2(x+π)=sin⁡2x\sin^2(x+\pi)=\sin^2 x' is true and 'the integrand is periodic' is true — but neither makes the ANTIDERIVATIVE periodic. Judge the statement about f(x)f(x), not the one about the integrand, on its own.

Concept 10 of 10: Trigonometric Simplification Toolkit

Across calculus a 'hard' integral is often just an unsimplified trig expression. Before reaching for a method, scan for these standard forms and collapse them first — a root disappears, a quotient becomes a single tangent, a product becomes one angle.

Definition

Keep these collapses in reflex memory:

  • Half-angle of 1±cos⁡x1\pm\cos x: 1−cos⁡x=2sin⁡2x21-\cos x = 2\sin^2\tfrac{x}{2}, 1+cos⁡x=2cos⁡2x21+\cos x = 2\cos^2\tfrac{x}{2}; so 1−cos⁡x1+cos⁡x=tan⁡2x2\dfrac{1-\cos x}{1+\cos x}=\tan^2\tfrac{x}{2}, 11−cos⁡x=12csc⁡2x2\dfrac{1}{1-\cos x}=\tfrac12\csc^2\tfrac{x}{2}, 11+cos⁡x=12sec⁡2x2\dfrac{1}{1+\cos x}=\tfrac12\sec^2\tfrac{x}{2}.
  • Power-reduction (double angle): 1−cos⁡2x=2sin⁡2x1-\cos 2x = 2\sin^2 x, 1+cos⁡2x=2cos⁡2x1+\cos 2x = 2\cos^2 x, sin⁡2x=2sin⁡xcos⁡x\sin 2x = 2\sin x\cos x.
  • Perfect square under a root: 1±sin⁡2x=(sin⁡x±cos⁡x)21\pm\sin 2x=(\sin x\pm\cos x)^2 and 1±sin⁡θ=(cos⁡θ2±sin⁡θ2)21\pm\sin\theta=\left(\cos\tfrac\theta2\pm\sin\tfrac\theta2\right)^2, so 1±sin⁡2x=∣sin⁡x±cos⁡x∣\sqrt{1\pm\sin 2x}=|\sin x\pm\cos x| — keep the modulus; its sign depends on the interval.
  • sec⁡±tan⁡\sec\pm\tan: sec⁡x+tan⁡x=1+sin⁡xcos⁡x=tan⁡ ⁣(π4+x2)\sec x+\tan x=\dfrac{1+\sin x}{\cos x}=\tan\!\left(\tfrac\pi4+\tfrac x2\right), sec⁡x−tan⁡x=tan⁡ ⁣(π4−x2)\sec x-\tan x=\tan\!\left(\tfrac\pi4-\tfrac x2\right).
  • Harmonic form: asin⁡x+bcos⁡x=a2+b2 sin⁡(x+α)a\sin x+b\cos x=\sqrt{a^2+b^2}\,\sin(x+\alpha), so its extreme values are ±a2+b2\pm\sqrt{a^2+b^2}.
  • Weierstrass t=tan⁡x2t=\tan\tfrac{x}{2}: sin⁡x=2t1+t2\sin x=\dfrac{2t}{1+t^2}, cos⁡x=1−t21+t2\cos x=\dfrac{1-t^2}{1+t^2}, dx=2 dt1+t2dx=\dfrac{2\,dt}{1+t^2} — turns any rational function of sin⁡x,cos⁡x\sin x,\cos x into a rational function of tt.
  • The Pythagorean pair as named identities: sec⁡2x=1+tan⁡2x\sec^2x=1+\tan^2x and csc⁡2x=1+cot⁡2x\csc^2x=1+\cot^2x — they are what make ∫sec⁡2x dx=tan⁡x\int\sec^2x\,dx=\tan x and the divide-by-cos⁡2x\cos^2x move work, and ∫tan⁡2x dx=tan⁡x−x\int\tan^2x\,dx=\tan x-x, ∫cot⁡2x dx=−cot⁡x−x\int\cot^2x\,dx=-\cot x-x follow from them.
  • Stripping an inverse: tan⁡−1(tan⁡θ)=θ\tan^{-1}(\tan\theta)=\theta only for θ∈(−π2,π2)\theta\in(-\tfrac\pi2,\tfrac\pi2), so tan⁡−1(sec⁡x+tan⁡x)=tan⁡−1tan⁡(π4+x2)=π4+x2\tan^{-1}(\sec x+\tan x)=\tan^{-1}\tan(\tfrac\pi4+\tfrac x2)=\tfrac\pi4+\tfrac x2 on −3π2<x<π2-\tfrac{3\pi}{2}<x<\tfrac\pi2, and its integral is πx4+x24+C\tfrac{\pi x}{4}+\tfrac{x^2}{4}+C.

The collapses you reach for most

1+cos⁡x=2cos⁡2x2,1−cos⁡x=2sin⁡2x2,1±sin⁡2x=∣sin⁡x±cos⁡x∣1+\cos x = 2\cos^2\tfrac{x}{2},\quad 1-\cos x = 2\sin^2\tfrac{x}{2},\quad \sqrt{1\pm\sin 2x}=|\sin x\pm\cos x|
  • x2\tfrac{x}{2}half-angle — appears whenever you collapse 1±cos⁡x1\pm\cos x
  • ∣⋯∣|\cdots|the root of a perfect square is a MODULUS; fix the sign on the given interval

Worked example

Evaluate ∫dx1+cos⁡x\displaystyle\int \dfrac{dx}{1+\cos x}.
Practice this conceptself-check · 4 quick reps

1±cos⁡x1\pm\cos x (half-angle) vs 1±cos⁡2x1\pm\cos 2x (power-reduction)

Different collapses: 1−cos⁡x=2sin⁡2x21-\cos x = 2\sin^2\tfrac{x}{2} but 1−cos⁡2x=2sin⁡2x1-\cos 2x = 2\sin^2 x. Read the angle inside the cosine before choosing the factor — the wrong one halves or doubles the argument.

The root of a perfect square is a MODULUS

(sin⁡x−cos⁡x)2=∣sin⁡x−cos⁡x∣\sqrt{(\sin x-\cos x)^2} = |\sin x-\cos x|, not sin⁡x−cos⁡x\sin x-\cos x. Resolve the sign on the given interval: on (π4,π2)(\tfrac\pi4,\tfrac\pi2) it is +(sin⁡x−cos⁡x)+(\sin x-\cos x); on (0,π4)(0,\tfrac\pi4) it is −(sin⁡x−cos⁡x)-(\sin x-\cos x). Dropping the modulus is the most common error on 1±sin⁡2x\sqrt{1\pm\sin 2x} problems.

sec⁡±tan⁡\sec\pm\tan — mind which way the half-angle shifts

sec⁡x+tan⁡x=tan⁡ ⁣(π4+x2)\sec x+\tan x=\tan\!\left(\tfrac\pi4+\tfrac x2\right) but sec⁡x−tan⁡x=tan⁡ ⁣(π4−x2)\sec x-\tan x=\tan\!\left(\tfrac\pi4-\tfrac x2\right). Useful check: (sec⁡x+tan⁡x)(sec⁡x−tan⁡x)=sec⁡2x−tan⁡2x=1(\sec x+\tan x)(\sec x-\tan x)=\sec^2x-\tan^2x=1.

Summary — formulas & gotchas at a glance

A revision cheat-sheet for the formulas and gotchas above. Click any concept name to jump back to its full explanation.

Formulas (10)

  • Antiderivative and the Constant of Integration

    Indefinite integral

    ∫f(x) dx=F(x)+CwhereF′(x)=f(x)\int f(x)\,dx = F(x) + C \quad\text{where}\quad F'(x) = f(x)
  • The Standard-Formula Table

    Power rule (the most-used row)

    ∫xn dx=xn+1n+1+C(n≠−1)\int x^n\,dx = \dfrac{x^{n+1}}{n+1} + C \quad (n \neq -1)
  • Linearity — Integrate Term by Term

    Linearity of the integral

    ∫(a f(x)+b g(x)) dx=a ⁣∫ ⁣f(x) dx+b ⁣∫ ⁣g(x) dx\int\big(a\,f(x)+b\,g(x)\big)\,dx = a\!\int\! f(x)\,dx + b\!\int\! g(x)\,dx
  • Simplify the Integrand First

    The collapse identity

    eln⁡u=uekln⁡x=xke^{\ln u} = u \qquad e^{k\ln x} = x^{k}
  • Exponential Bases — a to the x

    Exponential base rule

    ∫ax dx=axln⁡a+C\int a^x\,dx = \dfrac{a^x}{\ln a} + C
  • Completing the Square for Quadratic Denominators

    Arctan standard form

    ∫dxx2+k2=1ktan⁡−1 ⁣(xk)+C\int \dfrac{dx}{x^2+k^2} = \dfrac{1}{k}\tan^{-1}\!\Big(\dfrac{x}{k}\Big) + C
  • The e-to-the-x Times f-plus-f-prime Pattern

    Reverse product rule

    ∫ex(f(x)+f′(x)) dx=exf(x)+C\int e^x\big(f(x)+f'(x)\big)\,dx = e^x f(x) + C
  • Cyclic and Paired Integrals of e-to-the-x Times Trig

    The matched pair

    ∫excos⁡x dx=ex(cos⁡x+sin⁡x)2+C,∫exsin⁡x dx=ex(sin⁡x−cos⁡x)2+C\int e^x\cos x\,dx = \tfrac{e^x(\cos x+\sin x)}{2}+C,\quad \int e^x\sin x\,dx = \tfrac{e^x(\sin x-\cos x)}{2}+C
  • Properties of an Antiderivative

    Integration and differentiation are inverse

    ∫F′(x) dx=F(x)+Cddx ⁣∫f(x) dx=f(x)\int F'(x)\,dx = F(x) + C \qquad \dfrac{d}{dx}\!\int f(x)\,dx = f(x)
  • Trigonometric Simplification Toolkit

    The collapses you reach for most

    1+cos⁡x=2cos⁡2x2,1−cos⁡x=2sin⁡2x2,1±sin⁡2x=∣sin⁡x±cos⁡x∣1+\cos x = 2\cos^2\tfrac{x}{2},\quad 1-\cos x = 2\sin^2\tfrac{x}{2},\quad \sqrt{1\pm\sin 2x}=|\sin x\pm\cos x|

Watch out for (12)

Test yourself on Indefinite Integration

15 past NDA questions from this chapter, timed at 19 minutes and marked the way the exam marks it. You see your score and every answer the moment you finish. Free to start.

Related notes