Standard algebraic integrals

Some integrals show up so often, in so many disguises, that memorising them outright is faster than re-deriving them every time — the way you memorise ddxsin⁡x=cos⁡x\frac{d}{dx}\sin x = \cos x rather than re-running first principles each time. This is exactly that situation for a family of integrands built from x2±a2x^2\pm a^2 and x2±a2\sqrt{x^2\pm a^2}. This section belongs to the Integrals (Indefinite) section of the ISC Class 12 Calculus unit. Beyond ordinary power-rule and substitution integrals, the syllabus explicitly lists a short table of standard algebraic forms — and, crucially, the skill of recognising when a given integral is secretly one of these forms in disguise, usually after completing the square or splitting a linear numerator. That recognition step, more than the memorised formulae themselves, is what exam questions actually test.

The core insight

A handful of memorised standard forms for ∫dx/(x2±a2)\int dx/(x^2\pm a^2), ∫dx/a2−x2\int dx/\sqrt{a^2-x^2}, ∫dx/x2±a2\int dx/\sqrt{x^2\pm a^2} and their square-root counterparts solve most quadratic-under-a-root integrals once a general quadratic is reshaped into t2±a2t^2\pm a^2 by completing the square, or a linear numerator is split into a derivative-matching piece plus a constant.

The core idea

The six standard results. Each is provable by a trigonometric or hyperbolic substitution, but in practice they are used as ready-made formulae, looked up the way you would look up a derivative:

∫dxx2+a2=1atan⁡−1xa+C,∫dxx2−a2=12alog⁡∣x−ax+a∣+C\int\frac{dx}{x^2+a^2} = \frac{1}{a}\tan^{-1}\frac{x}{a}+C, \qquad \int\frac{dx}{x^2-a^2} = \frac{1}{2a}\log\left|\frac{x-a}{x+a}\right|+C

where: aa is a fixed positive constant and xx the variable of integration; the sign in the denominator (plus or minus a2a^2) decides which of the two formulae applies.

∫dxa2−x2=sin⁡−1xa+C,∫dxx2+a2=log⁡∣x+x2+a2∣+C,∫dxx2−a2=log⁡∣x+x2−a2∣+C\int\frac{dx}{\sqrt{a^2-x^2}} = \sin^{-1}\frac{x}{a}+C, \qquad \int\frac{dx}{\sqrt{x^2+a^2}} = \log\left|x+\sqrt{x^2+a^2}\right|+C, \qquad \int\frac{dx}{\sqrt{x^2-a^2}} = \log\left|x+\sqrt{x^2-a^2}\right|+C
∫a2−x2 dx=x2a2−x2+a22sin⁡−1xa+C,∫x2±a2 dx=x2x2±a2±a22log⁡∣x+x2±a2∣+C\int\sqrt{a^2-x^2}\,dx = \frac{x}{2}\sqrt{a^2-x^2}+\frac{a^2}{2}\sin^{-1}\frac{x}{a}+C, \qquad \int\sqrt{x^2\pm a^2}\,dx = \frac{x}{2}\sqrt{x^2\pm a^2}\pm\frac{a^2}{2}\log\left|x+\sqrt{x^2\pm a^2}\right|+C

Two recognition moves make the table usable on a general quadratic. First, for ax2+bx+cax^2+bx+c that is not already a perfect t2±a2t^2\pm a^2 shape, complete the square: ax2+bx+c=a[(x+k)2±m2]ax^2+bx+c = a\left[(x+k)^2 \pm m^2\right], and match the bracket against the table. Second, for a linear-over-quadratic integrand ∫px+qax2+bx+c dx\int\dfrac{px+q}{ax^2+bx+c}\,dx, split the numerator against the denominator's own derivative,

px+q=λ⋅ddx(ax2+bx+c)+μ,px+q = \lambda\cdot\frac{d}{dx}(ax^2+bx+c) + \mu,

where: λ\lambda and μ\mu are constants chosen so the equation holds identically in xx. This turns one integral into two: an f′(x)/f(x)f'(x)/f(x) piece that integrates to a logarithm, and a μ\mu-weighted standard form from the table above.

The same split extends to square roots. For ∫(px+q)ax2+bx+c dx\int(px+q)\sqrt{ax^2+bx+c}\,dx, the identical split px+q=λ⋅ddx(ax2+bx+c)+μpx+q = \lambda\cdot\frac{d}{dx}(ax^2+bx+c)+\mu separates the integral into λ∫(2ax+b)ax2+bx+c dx\lambda\int(2ax+b)\sqrt{ax^2+bx+c}\,dx — solved by the substitution t=ax2+bx+ct = ax^2+bx+c, collapsing to the power rule ∫t dt\int\sqrt{t}\,dt — plus μ∫ax2+bx+c dx\mu\int\sqrt{ax^2+bx+c}\,dx, solved by completing the square and matching one of the ∫x2±a2 dx\int\sqrt{x^2\pm a^2}\,dx forms. This "one derivative-matching piece, one standard-form piece" pattern is the single most reusable idea in this entire topic, and it resurfaces later in trigonometric-rational integrals with a linear numerator, so it is worth internalising here rather than treating it as a one-off trick.

Why memorise instead of re-derive every time. Each of the six results can, in principle, be obtained fresh with a trigonometric substitution (x=atan⁡θx=a\tan\theta, x=asin⁡θx=a\sin\theta, or x=asec⁡θx=a\sec\theta) or, for the log forms, by partial fractions. But under exam time pressure, re-deriving a result from scratch for every single integral is slow and error-prone. The efficient exam strategy is therefore two-layered: know the table cold as a fast lookup, but also keep one derivation (shown below) fresh enough in memory to reconstruct any forgotten entry, and to justify a result if a question explicitly asks you to derive rather than merely evaluate.

Figure
A decision flow from a quadratic integrand to complete the square or split the numerator ending at a standard form lookup
From a messy quadratic integrand to a standard form integrand with ax squared plus bx plus c numerator only x to power 0 complete the square numerator has an x term split into lambda f prime plus mu match t squared plus or minus a squared to the six standard results table Every route in this family ends at the same six-formula table. The choice of route depends only on whether the numerator carries an x term.

Building the log-form result

The goal is to derive the logarithmic standard result ∫dxx2−a2=12alog⁡∣x−ax+a∣+C\int\frac{dx}{x^2-a^2}=\frac{1}{2a}\log\left|\frac{x-a}{x+a}\right|+C from scratch using partial fractions rather than quoting it, so that the formula's origin — and the reason the 12a\frac{1}{2a} factor sits exactly where it does — is understood well enough to reconstruct under exam pressure even if the memorised table is forgotten.

Step 1. Factor the denominator as a difference of squares: x2−a2=(x−a)(x+a)x^2-a^2=(x-a)(x+a). This is the algebraic fact that unlocks the whole derivation — a fraction with this denominator can be split into two simpler fractions, one for each factor.

Step 2. Set up the partial-fraction decomposition 1x2−a2=Ax−a+Bx+a\dfrac{1}{x^2-a^2}=\dfrac{A}{x-a}+\dfrac{B}{x+a} and clear denominators: 1=A(x+a)+B(x−a)1 = A(x+a)+B(x-a). Substituting x=ax=a gives 1=A(2a)1=A(2a), so A=12aA=\dfrac{1}{2a}; substituting x=−ax=-a gives 1=B(−2a)1=B(-2a), so B=−12aB=-\dfrac{1}{2a}.

Step 3. Integrate the two simple fractions separately: ∫dxx2−a2=12a∫dxx−a−12a∫dxx+a=12alog⁡∣x−a∣−12alog⁡∣x+a∣+C\displaystyle\int\frac{dx}{x^2-a^2}=\frac{1}{2a}\int\frac{dx}{x-a}-\frac{1}{2a}\int\frac{dx}{x+a}=\frac{1}{2a}\log|x-a|-\frac{1}{2a}\log|x+a|+C.

Step 4. Combine the two logarithms using log⁡m−log⁡n=log⁡(m/n)\log m-\log n=\log(m/n) to reach the standard form: ∫dxx2−a2=12alog⁡∣x−ax+a∣+C\displaystyle\int\frac{dx}{x^2-a^2}=\frac{1}{2a}\log\left|\frac{x-a}{x+a}\right|+C. This matches the memorised table exactly, and the same steps, run in reverse, are how you would verify the result by differentiating back.

Worked example

Evaluate ∫2x+3x2+4x+5 dx\displaystyle\int \frac{2x+3}{x^2+4x+5}\,dx.

Step 1. Compute the denominator's derivative: ddx(x2+4x+5)=2x+4\dfrac{d}{dx}(x^2+4x+5)=2x+4. Compare it with the numerator 2x+32x+3 to find λ\lambda and μ\mu such that 2x+3=λ(2x+4)+μ2x+3=\lambda(2x+4)+\mu. Matching the xx-coefficient gives λ=1\lambda=1, and matching constants gives 4+μ=34+\mu=3, so μ=−1\mu=-1: 2x+3=1⋅(2x+4)−12x+3=1\cdot(2x+4)-1.

Step 2. Split the integral using that identity:

∫2x+3x2+4x+5dx=∫2x+4x2+4x+5dx−∫dxx2+4x+5.\int\frac{2x+3}{x^2+4x+5}dx = \int\frac{2x+4}{x^2+4x+5}dx - \int\frac{dx}{x^2+4x+5}.

Step 3. The first piece is exactly the f′(x)/f(x)f'(x)/f(x) form, which integrates directly to a logarithm: ∫2x+4x2+4x+5dx=log⁡∣x2+4x+5∣+C1\displaystyle\int\frac{2x+4}{x^2+4x+5}dx = \log\left|x^2+4x+5\right|+C_1.

Step 4. For the second piece, complete the square: x2+4x+5=(x+2)2+12x^2+4x+5=(x+2)^2+1^2, matching the ∫dx/(t2+a2)\int dx/(t^2+a^2) standard form with t=x+2t=x+2, a=1a=1: ∫dx(x+2)2+12=tan⁡−1(x+2)+C2\displaystyle\int\frac{dx}{(x+2)^2+1^2} = \tan^{-1}(x+2)+C_2.

Step 5. Combine both pieces into the final answer: ∫2x+3x2+4x+5dx=log⁡∣x2+4x+5∣−tan⁡−1(x+2)+C\displaystyle\int\frac{2x+3}{x^2+4x+5}dx = \boxed{\log\left|x^2+4x+5\right| - \tan^{-1}(x+2) + C}.

Competitive stretch

A quick square-root check on the same table entry, with no splitting needed: ∫4−x2 dx\displaystyle\int\sqrt{4-x^2}\,dx matches ∫a2−x2 dx\int\sqrt{a^2-x^2}\,dx directly with a=2a=2 (since 4−x24-x^2 is already a perfect a2−x2a^2-x^2 shape), giving x24−x2+2sin⁡−1x2+C\dfrac{x}{2}\sqrt{4-x^2}+2\sin^{-1}\dfrac{x}{2}+C — no completing the square or splitting is needed once the integrand is already in the exact table shape.

Common traps

  • Mixing up the tan⁡−1\tan^{-1} and log forms — the sign inside the denominator (x2+a2x^2+a^2 versus x2−a2x^2-a^2) decides which formula applies; check it before reaching for either.
  • Forgetting to complete the square on a general quadratic like x2+6x+13x^2+6x+13 before applying a table formula — the formulae apply only to the exact shape t2±a2t^2\pm a^2.
  • Splitting px+qpx+q incorrectly — the coefficient λ\lambda must exactly reproduce the xx-term via λ⋅f′(x)\lambda\cdot f'(x); get λ\lambda wrong and the leftover constant μ\mu is wrong too.
  • Dropping the 1a\frac{1}{a} or 12a\frac{1}{2a} scaling factor in front of tan⁡−1\tan^{-1} or log⁡\log — these come from the chain rule and are easy to omit under time pressure.
  • Choosing the wrong square-root formula among the three ∫⋯ dx\int\sqrt{\cdots}\,dx variants — ∫a2−x2 dx\int\sqrt{a^2-x^2}\,dx gives a sin⁡−1\sin^{-1} term, while ∫x2±a2 dx\int\sqrt{x^2\pm a^2}\,dx give logarithmic terms; match the exact sign pattern under the root before substituting values of aa.

Ask the tutor: Want a step-by-step walkthrough of splitting a trickier linear-over-quadratic integral into its log and standard-form pieces? Ask the AI tutor for a guided example.

How do I know whether to complete the square or split the numerator first

Look at the numerator. If it is just a constant (or the integral is purely ∫dx/(ax2+bx+c)\int dx/(ax^2+bx+c) or ∫dx/ax2+bx+c\int dx/\sqrt{ax^2+bx+c} with no xx multiplying anything on top), go straight to completing the square. If the numerator has an xx term, like ∫(px+q)/(ax2+bx+c) dx\int(px+q)/(ax^2+bx+c)\,dx, split it first into the f′(x)/f(x)f'(x)/f(x) piece plus a constant piece — the constant piece is then the one you complete the square on.

Why does completing the square work here but not for a cubic denominator

Completing the square converts any quadratic ax2+bx+cax^2+bx+c exactly into a[(x+k)2±m2]a[(x+k)^2\pm m^2], because a quadratic has only one turning point and its graph is always a shifted, scaled parabola — the substitution t=x+kt=x+k removes the linear term completely. A cubic has no such universal shifted-square form, so this trick is specific to quadratics; cubic and higher denominators generally need full partial fractions with more terms instead.

Do I need to memorise all six standard forms, or can I derive them in the exam

Memorising them is faster and safer under time pressure, but knowing the derivations protects you if you misremember one. The tan⁡−1\tan^{-1} and sin⁡−1\sin^{-1} forms come from the substitutions x=atan⁡θx=a\tan\theta and x=asin⁡θx=a\sin\theta respectively; the log forms for x2−a2x^2-a^2 come from partial fractions, as shown above. If you blank on a formula, five minutes rebuilding it from these substitutions is safer than guessing.

Before this

Where this leads