Skip to content

Standard Quadratic and Radical Forms

A major turning point in indefinite integration is the transition from ad-hoc algebraic manipulations to structured quadratic forms.

Whenever an integrand involves a quadratic polynomial \(ax^2 + bx + c\)—whether in the denominator, under a square root, or multiplied by a linear term—a sequence of algebraic steps reduces it to a small, universal table of standard integrals.

In this tutorial, we establish the nine fundamental quadratic formulas with complete proofs, develop the completing-the-square method, investigate non-standard powers, resolve linear-over-quadratic systems, and master the four canonical linear/quadratic radical forms.


The Nine Fundamental Quadratic Integrals

The nine standard integrals are organized into three natural families.

Group 1: Rational Quadratic Denominators

The three rational formulas without square roots are:

\[\int \frac{dx}{x^2 + a^2} = \frac{1}{a}\tan^{-1}\left(\frac{x}{a}\right) + C\]
\[\int \frac{dx}{x^2 - a^2} = \frac{1}{2a}\ln\left|\frac{x - a}{x + a}\right| + C \qquad (|x| > a)\]
\[\int \frac{dx}{a^2 - x^2} = \frac{1}{2a}\ln\left|\frac{a + x}{a - x}\right| + C \qquad (|x| < a)\]

Proof of Formula 1

To evaluate \(\int \frac{dx}{x^2 + a^2}\), use the trigonometric substitution:

\[x = a\tan\theta \implies dx = a\sec^2\theta\,d\theta\]

Substitute into the integral:

\[\int \frac{a\sec^2\theta\,d\theta}{a^2\tan^2\theta + a^2} = \int \frac{a\sec^2\theta\,d\theta}{a^2(\tan^2\theta + 1)} = \frac{1}{a}\int \frac{\sec^2\theta}{\sec^2\theta}\,d\theta = \frac{1}{a}\int 1\,d\theta\]
\[\frac{1}{a}\theta + C = \frac{1}{a}\tan^{-1}\left(\frac{x}{a}\right) + C\]

Proof of Formulas 2 and 3

Factor the denominator using the difference of squares:

\[\frac{1}{x^2 - a^2} = \frac{1}{(x - a)(x + a)}\]

Decompose into partial fractions by expressing the constant numerator \(1\) as \(\frac{(x + a) - (x - a)}{2a}\):

\[\frac{1}{x^2 - a^2} = \frac{1}{2a} \left[ \frac{(x + a) - (x - a)}{(x - a)(x + a)} \right] = \frac{1}{2a} \left[ \frac{1}{x - a} - \frac{1}{x + a} \right]\]

Integrating both terms:

\[\int \frac{dx}{x^2 - a^2} = \frac{1}{2a} \int \left( \frac{1}{x - a} - \frac{1}{x + a} \right) dx = \frac{1}{2a} (\ln|x - a| - \ln|x + a|) + C\]

Applying the logarithm quotient rule:

\[\int \frac{dx}{x^2 - a^2} = \frac{1}{2a}\ln\left|\frac{x - a}{x + a}\right| + C\]

Formula 3 follows identically:

\[\frac{1}{a^2 - x^2} = \frac{1}{2a} \left[ \frac{1}{a + x} + \frac{1}{a - x} \right]\]

Integrating yields \(\frac{1}{2a}(\ln|a + x| - \ln|a - x|) + C = \frac{1}{2a}\ln\left|\frac{a + x}{a - x}\right| + C\).


Group 2: Irrational Quadratic Denominators

The three formulas where the quadratic appears under a radical in the denominator are:

\[\int \frac{dx}{\sqrt{a^2 - x^2}} = \sin^{-1}\left(\frac{x}{a}\right) + C \qquad (|x| < a)\]
\[\int \frac{dx}{\sqrt{x^2 + a^2}} = \ln\left|x + \sqrt{x^2 + a^2}\right| + C\]
\[\int \frac{dx}{\sqrt{x^2 - a^2}} = \ln\left|x + \sqrt{x^2 - a^2}\right| + C \qquad (|x| > a)\]

Proof of Formula 4

Substitute \(x = a\sin\theta \implies dx = a\cos\theta\,d\theta\):

\[\int \frac{a\cos\theta\,d\theta}{\sqrt{a^2 - a^2\sin^2\theta}} = \int \frac{a\cos\theta\,d\theta}{a\cos\theta} = \int 1\,d\theta = \theta + C = \sin^{-1}\left(\frac{x}{a}\right) + C\]

Proof of Formulas 5 and 6

For Formula 5, substitute \(x = a\tan\theta \implies dx = a\sec^2\theta\,d\theta\):

\[\int \frac{a\sec^2\theta\,d\theta}{\sqrt{a^2\tan^2\theta + a^2}} = \int \frac{a\sec^2\theta\,d\theta}{a\sec\theta} = \int \sec\theta\,d\theta = \ln|\sec\theta + \tan\theta| + C_1\]

From the substitution triangle, \(\tan\theta = \frac{x}{a}\) and \(\sec\theta = \frac{\sqrt{x^2 + a^2}}{a}\):

\[\ln\left|\frac{\sqrt{x^2 + a^2}}{a} + \frac{x}{a}\right| + C_1 = \ln\left|x + \sqrt{x^2 + a^2}\right| - \ln a + C_1\]

Absorbing the constant \(-\ln a\) into \(C\) gives:

\[\int \frac{dx}{\sqrt{x^2 + a^2}} = \ln\left|x + \sqrt{x^2 + a^2}\right| + C\]

Formula 6 is proven identically using \(x = a\sec\theta \implies dx = a\sec\theta\tan\theta\,d\theta\), yielding \(\int \sec\theta\,d\theta = \ln\left|x + \sqrt{x^2 - a^2}\right| + C\).


Group 3: Irrational Quadratic Numerators

The three integrals containing square roots in the numerator are:

\[\int \sqrt{a^2 - x^2}\,dx = \frac{x}{2}\sqrt{a^2 - x^2} + \frac{a^2}{2}\sin^{-1}\left(\frac{x}{a}\right) + C\]
\[\int \sqrt{x^2 + a^2}\,dx = \frac{x}{2}\sqrt{x^2 + a^2} + \frac{a^2}{2}\ln\left|x + \sqrt{x^2 + a^2}\right| + C\]
\[\int \sqrt{x^2 - a^2}\,dx = \frac{x}{2}\sqrt{x^2 - a^2} - \frac{a^2}{2}\ln\left|x + \sqrt{x^2 - a^2}\right| + C\]

Notice the unified structure across all three formulas:

\[\text{Integral} = \frac{x}{2}(\text{Original Radical}) \pm \frac{a^2}{2} \left( \int \frac{dx}{\text{Original Radical}} \right)\]

The sign before \(\frac{a^2}{2}\) is negative only for \(\sqrt{x^2 - a^2}\), matching the negative constant \(-a^2\) inside the radical.

Proof via Integration by Parts

Let \(I = \int \sqrt{x^2 + a^2}\,dx = \int \sqrt{x^2 + a^2} \cdot 1\,dx\).

Choose:

\[\text{I} = \sqrt{x^2 + a^2} \implies \frac{d}{dx}\left(\sqrt{x^2 + a^2}\right) = \frac{x}{\sqrt{x^2 + a^2}}\]
\[\text{II} = 1 \implies \int 1\,dx = x\]

Applying integration by parts:

\[I = x\sqrt{x^2 + a^2} - \int \frac{x^2}{\sqrt{x^2 + a^2}}\,dx\]

Rewrite the numerator by adding and subtracting \(a^2\):

\[\frac{x^2}{\sqrt{x^2 + a^2}} = \frac{(x^2 + a^2) - a^2}{\sqrt{x^2 + a^2}} = \sqrt{x^2 + a^2} - \frac{a^2}{\sqrt{x^2 + a^2}}\]

Substitute this back into the equation:

\[I = x\sqrt{x^2 + a^2} - \int \sqrt{x^2 + a^2}\,dx + a^2\int \frac{dx}{\sqrt{x^2 + a^2}}\]

Notice that the first remaining integral is \(I\):

\[I = x\sqrt{x^2 + a^2} - I + a^2\ln\left|x + \sqrt{x^2 + a^2}\right|\]

Add \(I\) to both sides:

\[2I = x\sqrt{x^2 + a^2} + a^2\ln\left|x + \sqrt{x^2 + a^2}\right|\]

Dividing by \(2\):

\[I = \frac{x}{2}\sqrt{x^2 + a^2} + \frac{a^2}{2}\ln\left|x + \sqrt{x^2 + a^2}\right| + C\]

The proofs for \(\sqrt{a^2 - x^2}\) and \(\sqrt{x^2 - a^2}\) proceed identically.


General Quadratic Forms via Completing the Square

Every general quadratic polynomial \(ax^2 + bx + c\) can be converted into a shifted sum or difference of squares by completing the square:

\[ax^2 + bx + c = a \left[ x^2 + \frac{b}{a}x + \frac{c}{a} \right] = a \left[ \left(x + \frac{b}{2a}\right)^2 + \left(\frac{c}{a} - \frac{b^2}{4a^2}\right) \right]\]

Setting \(u = x + \frac{b}{2a} \implies du = dx\), the expression reduces to one of:

\[u^2 + A^2, \qquad u^2 - A^2, \qquad A^2 - u^2\]

Example 1

Evaluate:

\[I = \int \frac{dx}{x^2 - 6x + 13}\]

Solution:

Complete the square in the denominator:

\[x^2 - 6x + 13 = (x^2 - 6x + 9) + 4 = (x - 3)^2 + 2^2\]

Let:

\[u = x - 3 \implies du = dx\]

Substitute into the integral:

\[I = \int \frac{du}{u^2 + 2^2}\]

Using Formula 1 with \(a = 2\):

\[I = \frac{1}{2}\tan^{-1}\left(\frac{u}{2}\right) + C = \frac{1}{2}\tan^{-1}\left(\frac{x - 3}{2}\right) + C\]

Example 2

Evaluate:

\[I = \int \frac{dx}{3x^2 + 12x + 7}\]

Solution:

Factor out the leading coefficient \(3\):

\[3x^2 + 12x + 7 = 3(x^2 + 4x) + 7 = 3[(x + 2)^2 - 4] + 7 = 3(x + 2)^2 - 12 + 7 = 3(x + 2)^2 - 5\]

Factor \(3\) completely:

\[3\left[ (x + 2)^2 - \frac{5}{3} \right] = 3\left[ (x + 2)^2 - \left(\sqrt{\frac{5}{3}}\right)^2 \right]\]

Substitute into the integral:

\[I = \frac{1}{3}\int \frac{dx}{(x + 2)^2 - (\sqrt{5/3})^2}\]

Using Formula 2 with \(u = x + 2\) and \(a = \sqrt{5/3}\):

\[I = \frac{1}{3} \cdot \frac{1}{2\sqrt{5/3}} \ln\left| \frac{(x + 2) - \sqrt{5/3}}{(x + 2) + \sqrt{5/3}} \right| + C\]

Since \(\frac{1}{3 \cdot 2 \sqrt{5}/\sqrt{3}} = \frac{1}{2\sqrt{15}}\), simplify the logarithm:

\[I = \frac{1}{2\sqrt{15}}\ln\left| \frac{\sqrt{3}(x + 2) - \sqrt{5}}{\sqrt{3}(x + 2) + \sqrt{5}} \right| + C\]

Example 3

Evaluate:

\[I = \int \frac{dx}{\sqrt{5 - 4x - x^2}}\]

Solution:

Notice that the coefficient of \(x^2\) is negative. Group the \(x\)-terms with a negative sign before completing the square:

\[5 - 4x - x^2 = 5 - (x^2 + 4x) = 5 - [(x + 2)^2 - 4] = 5 - (x + 2)^2 + 4 = 9 - (x + 2)^2 = 3^2 - (x + 2)^2\]

Substitute into the integral:

\[I = \int \frac{dx}{\sqrt{3^2 - (x + 2)^2}}\]

Using Formula 4 with \(u = x + 2\) and \(a = 3\):

\[I = \sin^{-1}\left(\frac{x + 2}{3}\right) + C\]

Example 4

Evaluate:

\[I = \int \sqrt{x^2 + 4x + 1}\,dx\]

Solution:

Complete the square under the radical:

\[x^2 + 4x + 1 = (x + 2)^2 - 4 + 1 = (x + 2)^2 - 3 = (x + 2)^2 - (\sqrt{3})^2\]

Let:

\[u = x + 2 \implies du = dx\]

The integral matches Formula 9 with \(a = \sqrt{3}\):

\[I = \int \sqrt{u^2 - (\sqrt{3})^2}\,du = \frac{u}{2}\sqrt{u^2 - 3} - \frac{3}{2}\ln\left|u + \sqrt{u^2 - 3}\right| + C\]

Substitute \(u = x + 2\):

\[I = \frac{x + 2}{2}\sqrt{x^2 + 4x + 1} - \frac{3}{2}\ln\left|x + 2 + \sqrt{x^2 + 4x + 1}\right| + C\]

Non-Standard Powers via Perfect Square Trigonometric Substitution

When an expression of the form \((ax^2 + bx + c)^{3/2}\) or \((ax^2 + bx + c)^{5/2}\) appears in the denominator, completing the square followed by a trigonometric substitution dissolves the fractional power directly.


Example 5

Evaluate:

\[I = \int \frac{dx}{(x^2 - 4x + 13)^{3/2}}\]

Solution:

Complete the square in the quadratic base:

\[x^2 - 4x + 13 = (x - 2)^2 + 9 = (x - 2)^2 + 3^2\]

The integral is:

\[I = \int \frac{dx}{[(x - 2)^2 + 3^2]^{3/2}}\]

The structure \(u^2 + a^2\) suggests the substitution \(u = a\tan\theta\).

Let:

\[x - 2 = 3\tan\theta \implies dx = 3\sec^2\theta\,d\theta\]

Under this substitution:

\[(x - 2)^2 + 9 = 9\tan^2\theta + 9 = 9(\tan^2\theta + 1) = 9\sec^2\theta\]
\[[(x - 2)^2 + 9]^{3/2} = (9\sec^2\theta)^{3/2} = 27\sec^3\theta\]

Substitute into the integral:

\[I = \int \frac{3\sec^2\theta\,d\theta}{27\sec^3\theta} = \frac{1}{9}\int \frac{1}{\sec\theta}\,d\theta = \frac{1}{9}\int \cos\theta\,d\theta\]
\[I = \frac{1}{9}\sin\theta + C\]

From the substitution triangle with angle \(\theta\), the opposite side is \(x - 2\) and the adjacent side is \(3\), giving:

\[\sin\theta = \frac{x - 2}{\sqrt{(x - 2)^2 + 9}} = \frac{x - 2}{\sqrt{x^2 - 4x + 13}}\]

Substituting this back gives:

\[I = \frac{x - 2}{9\sqrt{x^2 - 4x + 13}} + C\]

Linear Over Quadratic Forms

When a linear polynomial appears in the numerator:

\[\int \frac{px + q}{ax^2 + bx + c}\,dx, \qquad \int \frac{px + q}{\sqrt{ax^2 + bx + c}}\,dx, \qquad \int (px + q)\sqrt{ax^2 + bx + c}\,dx\]

we express the linear numerator as a linear combination of the derivative of the quadratic and a constant:

\[px + q = A \cdot \frac{d}{dx}(ax^2 + bx + c) + B = A(2ax + b) + B\]

Equating coefficients:

\[2aA = p \implies A = \frac{p}{2a}\]
\[Ab + B = q \implies B = q - \frac{bp}{2a}\]

This splits the problem into two canonical integrals: 1. An integral containing \(\frac{2ax + b}{\text{Quadratic}}\), which evaluates immediately via the substitution \(t = ax^2 + bx + c\). 2. An integral containing \(\frac{B}{\text{Quadratic}}\), which is evaluated by completing the square.


Example 6

Evaluate:

\[I = \int \frac{5x - 2}{x^2 - 2x + 5}\,dx\]

Solution:

Compute the derivative of the quadratic denominator:

\[\frac{d}{dx}(x^2 - 2x + 5) = 2x - 2\]

Express the numerator \(5x - 2\) in terms of \(2x - 2\):

\[5x - 2 = \frac{5}{2}(2x - 2) + 5 - 2 = \frac{5}{2}(2x - 2) + 3\]

Split the integral:

\[I = \frac{5}{2}\int \frac{2x - 2}{x^2 - 2x + 5}\,dx + 3\int \frac{dx}{x^2 - 2x + 5}\]

For the first integral, let \(t = x^2 - 2x + 5 \implies dt = (2x - 2)\,dx\):

\[\int \frac{2x - 2}{x^2 - 2x + 5}\,dx = \ln|x^2 - 2x + 5|\]

For the second integral, complete the square:

\[x^2 - 2x + 5 = (x - 1)^2 + 4 = (x - 1)^2 + 2^2\]
\[\int \frac{dx}{(x - 1)^2 + 2^2} = \frac{1}{2}\tan^{-1}\left(\frac{x - 1}{2}\right)\]

Combining both parts:

\[I = \frac{5}{2}\ln(x^2 - 2x + 5) + \frac{3}{2}\tan^{-1}\left(\frac{x - 1}{2}\right) + C\]

Example 7

Evaluate:

\[I = \int \frac{2x + 3}{\sqrt{x^2 + 4x + 13}}\,dx\]

Solution:

The derivative of the radicand is:

\[\frac{d}{dx}(x^2 + 4x + 13) = 2x + 4\]

Decompose the numerator:

\[2x + 3 = (2x + 4) - 1\]

Split into two integrals:

\[I = \int \frac{2x + 4}{\sqrt{x^2 + 4x + 13}}\,dx - \int \frac{dx}{\sqrt{x^2 + 4x + 13}}\]

For the first integral, substitute \(t = x^2 + 4x + 13\):

\[\int \frac{dt}{\sqrt{t}} = 2\sqrt{t} = 2\sqrt{x^2 + 4x + 13}\]

For the second integral, complete the square:

\[x^2 + 4x + 13 = (x + 2)^2 + 9 = (x + 2)^2 + 3^2\]
\[\int \frac{dx}{\sqrt{(x + 2)^2 + 3^2}} = \ln\left| (x + 2) + \sqrt{x^2 + 4x + 13} \right|\]

Combining both results:

\[I = 2\sqrt{x^2 + 4x + 13} - \ln\left| x + 2 + \sqrt{x^2 + 4x + 13} \right| + C\]

Example 8

Evaluate:

\[I = \int (2x + 1)\sqrt{x^2 + 2x + 5}\,dx\]

Solution:

Compute the derivative of the quadratic under the radical:

\[\frac{d}{dx}(x^2 + 2x + 5) = 2x + 2\]

Express the linear factor as:

\[2x + 1 = (2x + 2) - 1\]

Split the integral:

\[I = \int (2x + 2)\sqrt{x^2 + 2x + 5}\,dx - \int \sqrt{x^2 + 2x + 5}\,dx\]

For the first integral, let \(t = x^2 + 2x + 5 \implies dt = (2x + 2)\,dx\):

\[\int t^{1/2}\,dt = \frac{2}{3}t^{3/2} = \frac{2}{3}(x^2 + 2x + 5)^{3/2}\]

For the second integral, complete the square:

\[x^2 + 2x + 5 = (x + 1)^2 + 4 = (x + 1)^2 + 2^2\]

Using Formula 8 with \(u = x + 1\) and \(a = 2\):

\[\int \sqrt{(x + 1)^2 + 2^2}\,dx = \frac{x + 1}{2}\sqrt{x^2 + 2x + 5} + \frac{4}{2}\ln\left| x + 1 + \sqrt{x^2 + 2x + 5} \right|\]

Combining both parts:

\[I = \frac{2}{3}(x^2 + 2x + 5)^{3/2} - \frac{x + 1}{2}\sqrt{x^2 + 2x + 5} - 2\ln\left| x + 1 + \sqrt{x^2 + 2x + 5} \right| + C\]

The Four Canonical Linear and Quadratic Radical Forms

When an integrand consists of a polynomial factor outside multiplied by a radical factor in the denominator, the choices of substitution are classified into four distinct types:

Form Structure Recommended Substitution
Type 1 \(\dfrac{1}{L_1 \sqrt{L_2}}\) Linear outside, linear inside
Type 2 \(\dfrac{1}{Q_1 \sqrt{L_2}}\) Quadratic outside, linear inside
Type 3 \(\dfrac{1}{L_1 \sqrt{Q_2}}\) Linear outside, quadratic inside
Type 4 \(\dfrac{1}{Q_1 \sqrt{Q_2}}\) Pure quadratic outside, pure quadratic inside

Example 9

Evaluate:

\[I = \int \frac{dx}{(x + 1)\sqrt{2x + 3}}\]

Solution:

This is Type 1 (\(L_1 \sqrt{L_2}\)). Substitute the linear radicand:

\[2x + 3 = t^2 \implies x = \frac{t^2 - 3}{2} \implies dx = t\,dt\]

Express the outside linear factor \(x + 1\) in terms of \(t\):

\[x + 1 = \frac{t^2 - 3}{2} + 1 = \frac{t^2 - 1}{2}\]

Substitute into the integral:

\[I = \int \frac{t\,dt}{\left( \frac{t^2 - 1}{2} \right) t} = 2 \int \frac{dt}{t^2 - 1}\]

Using Formula 2 with \(a = 1\):

\[I = 2 \cdot \frac{1}{2(1)} \ln\left| \frac{t - 1}{t + 1} \right| + C = \ln\left| \frac{\sqrt{2x + 3} - 1}{\sqrt{2x + 3} + 1} \right| + C\]

Example 10

Evaluate:

\[I = \int \frac{dx}{(x^2 - 1)\sqrt{x + 2}}\]

Solution:

This is Type 2 (\(Q_1 \sqrt{L_2}\)). Substitute the linear radicand:

\[x + 2 = t^2 \implies x = t^2 - 2 \implies dx = 2t\,dt\]

Express the quadratic factor \(x^2 - 1\) in terms of \(t\):

\[x^2 - 1 = (t^2 - 2)^2 - 1 = t^4 - 4t^2 + 4 - 1 = t^4 - 4t^2 + 3 = (t^2 - 1)(t^2 - 3)\]

Substitute into the integral:

\[I = \int \frac{2t\,dt}{(t^2 - 1)(t^2 - 3)t} = 2\int \frac{dt}{(t^2 - 3)(t^2 - 1)}\]

Decompose into partial fractions with respect to \(t^2\):

\[\frac{1}{(t^2 - 3)(t^2 - 1)} = \frac{1}{2} \left[ \frac{1}{t^2 - 3} - \frac{1}{t^2 - 1} \right]\]

Thus:

\[I = \int \frac{dt}{t^2 - (\sqrt{3})^2} - \int \frac{dt}{t^2 - 1^2}\]

Integrating both terms using Formula 2:

\[I = \frac{1}{2\sqrt{3}}\ln\left| \frac{t - \sqrt{3}}{t + \sqrt{3}} \right| - \frac{1}{2}\ln\left| \frac{t - 1}{t + 1} \right| + C\]

Substitute \(t = \sqrt{x + 2}\):

\[I = \frac{1}{2\sqrt{3}}\ln\left| \frac{\sqrt{x + 2} - \sqrt{3}}{\sqrt{x + 2} + \sqrt{3}} \right| - \frac{1}{2}\ln\left| \frac{\sqrt{x + 2} - 1}{\sqrt{x + 2} + 1} \right| + C\]

Example 11

Evaluate:

\[I = \int \frac{dx}{(x - 1)\sqrt{x^2 + 2x + 2}}\]

Solution:

This is Type 3 (\(L_1 \sqrt{Q_2}\)). Apply the reciprocal substitution to the outside linear factor:

\[x - 1 = \frac{1}{t} \implies x = 1 + \frac{1}{t} \implies dx = -\frac{dt}{t^2}\]

Express the quadratic polynomial under the radical in terms of \(t\):

\[x^2 + 2x + 2 = \left(1 + \frac{1}{t}\right)^2 + 2\left(1 + \frac{1}{t}\right) + 2\]
\[x^2 + 2x + 2 = \left(1 + \frac{2}{t} + \frac{1}{t^2}\right) + \left(2 + \frac{2}{t}\right) + 2 = 5 + \frac{4}{t} + \frac{1}{t^2} = \frac{5t^2 + 4t + 1}{t^2}\]

Taking the square root:

\[\sqrt{x^2 + 2x + 2} = \frac{\sqrt{5t^2 + 4t + 1}}{t}\]

Substitute into the integral:

\[I = \int \frac{-\frac{dt}{t^2}}{\left(\frac{1}{t}\right) \left(\frac{\sqrt{5t^2 + 4t + 1}}{t}\right)} = -\int \frac{dt}{\sqrt{5t^2 + 4t + 1}}\]

The \(t^2\) factor cancels out completely. Complete the square in the radicand:

\[5t^2 + 4t + 1 = 5\left(t^2 + \frac{4}{5}t + \frac{1}{5}\right) = 5\left[ \left(t + \frac{2}{5}\right)^2 + \frac{1}{5} - \frac{4}{25} \right] = 5\left[ \left(t + \frac{2}{5}\right)^2 + \left(\frac{1}{5}\right)^2 \right]\]

Substitute back:

\[I = -\frac{1}{\sqrt{5}}\int \frac{dt}{\sqrt{\left(t + \frac{2}{5}\right)^2 + \left(\frac{1}{5}\right)^2}}\]

Using Formula 5:

\[I = -\frac{1}{\sqrt{5}}\ln\left| \left(t + \frac{2}{5}\right) + \sqrt{\left(t + \frac{2}{5}\right)^2 + \left(\frac{1}{5}\right)^2} \right| + C_1\]
\[I = -\frac{1}{\sqrt{5}}\ln\left| \frac{5t + 2 + \sqrt{5(5t^2 + 4t + 1)}}{5} \right| + C_1\]

Substitute \(t = \frac{1}{x - 1}\):

\[5t + 2 = \frac{5}{x - 1} + 2 = \frac{2x + 3}{x - 1}\]
\[\sqrt{5(5t^2 + 4t + 1)} = \sqrt{5} \cdot t\sqrt{x^2 + 2x + 2} = \frac{\sqrt{5(x^2 + 2x + 2)}}{x - 1}\]

Absorbing constants into \(C\):

\[I = -\frac{1}{\sqrt{5}}\ln\left| \frac{2x + 3 + \sqrt{5(x^2 + 2x + 2)}}{x - 1} \right| + C\]

Example 12

Evaluate:

\[I = \int \frac{dx}{(x^2 + 4)\sqrt{x^2 + 1}}\]

Solution:

This is Type 4 (\(Q_1 \sqrt{Q_2}\)), where both polynomials are pure quadratics containing only even powers of \(x\).

Step 1: Apply the substitution \(x = \frac{1}{t}\):

\[x = \frac{1}{t} \implies dx = -\frac{dt}{t^2}\]

Transform the factors:

\[x^2 + 4 = \frac{1}{t^2} + 4 = \frac{1 + 4t^2}{t^2}\]
\[\sqrt{x^2 + 1} = \sqrt{\frac{1}{t^2} + 1} = \frac{\sqrt{1 + t^2}}{t}\]

Substitute into the integral:

\[I = \int \frac{-\frac{dt}{t^2}}{\left(\frac{1 + 4t^2}{t^2}\right) \left(\frac{\sqrt{1 + t^2}}{t}\right)} = -\int \frac{t\,dt}{(1 + 4t^2)\sqrt{1 + t^2}}\]

Step 2: Substitute for the radical \(u = \sqrt{1 + t^2}\):

\[u^2 = 1 + t^2 \implies 2u\,du = 2t\,dt \implies t\,dt = u\,du\]

Express \(1 + 4t^2\) in terms of \(u\):

\[t^2 = u^2 - 1 \implies 1 + 4t^2 = 1 + 4(u^2 - 1) = 4u^2 - 3\]

Substitute into the integral:

\[I = -\int \frac{u\,du}{(4u^2 - 3)u} = -\int \frac{du}{4u^2 - 3} = -\frac{1}{4}\int \frac{du}{u^2 - \left(\frac{\sqrt{3}}{2}\right)^2}\]

Using Formula 2 with \(a = \frac{\sqrt{3}}{2}\):

\[I = -\frac{1}{4} \cdot \frac{1}{2\left(\frac{\sqrt{3}}{2}\right)} \ln\left| \frac{u - \frac{\sqrt{3}}{2}}{u + \frac{\sqrt{3}}{2}} \right| + C = -\frac{1}{4\sqrt{3}}\ln\left| \frac{2u - \sqrt{3}}{2u + \sqrt{3}} \right| + C\]

Inverting the fraction to absorb the negative sign:

\[I = \frac{1}{4\sqrt{3}}\ln\left| \frac{2u + \sqrt{3}}{2u - \sqrt{3}} \right| + C\]

Return to \(x\):

\[u = \sqrt{1 + t^2} = \sqrt{1 + \frac{1}{x^2}} = \frac{\sqrt{x^2 + 1}}{x}\]

Substituting this expression for \(u\):

\[I = \frac{1}{4\sqrt{3}}\ln\left| \frac{2\left(\frac{\sqrt{x^2 + 1}}{x}\right) + \sqrt{3}}{2\left(\frac{\sqrt{x^2 + 1}}{x}\right) - \sqrt{3}} \right| + C\]

Multiplying numerator and denominator by \(x\):

\[I = \frac{1}{4\sqrt{3}}\ln\left| \frac{2\sqrt{x^2 + 1} + \sqrt{3}x}{2\sqrt{x^2 + 1} - \sqrt{3}x} \right| + C\]