MatheramaMatherama
← Indefinite Integration
Indefinite Integration·Section 8·8 min read

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 ax2+bx+cax^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:

∫dxx2+a2=1atan⁡−1(xa)+C\int \frac{dx}{x^2 + a^2} = \frac{1}{a}\tan^{-1}\left(\frac{x}{a}\right) + C ∫dxx2−a2=12aln⁡∣x−ax+a∣+C(∣x∣>a)\int \frac{dx}{x^2 - a^2} = \frac{1}{2a}\ln\left|\frac{x - a}{x + a}\right| + C \qquad (|x| > a) ∫dxa2−x2=12aln⁡∣a+xa−x∣+C(∣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 ∫dxx2+a2\int \frac{dx}{x^2 + a^2}, use the trigonometric substitution:

x=atan⁡θ  ⟹  dx=asec⁡2θ dθx = a\tan\theta \implies dx = a\sec^2\theta\,d\theta

Substitute into the integral:

∫asec⁡2θ dθa2tan⁡2θ+a2=∫asec⁡2θ dθa2(tan⁡2θ+1)=1a∫sec⁡2θsec⁡2θ dθ=1a∫1 dθ\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 1aθ+C=1atan⁡−1(xa)+C\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:

1x2−a2=1(x−a)(x+a)\frac{1}{x^2 - a^2} = \frac{1}{(x - a)(x + a)}

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

1x2−a2=12a[(x+a)−(x−a)(x−a)(x+a)]=12a[1x−a−1x+a]\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:

∫dxx2−a2=12a∫(1x−a−1x+a)dx=12a(ln⁡∣x−a∣−ln⁡∣x+a∣)+C\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:

∫dxx2−a2=12aln⁡∣x−ax+a∣+C\int \frac{dx}{x^2 - a^2} = \frac{1}{2a}\ln\left|\frac{x - a}{x + a}\right| + C

Formula 3 follows identically:

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

Integrating yields 12a(ln⁡∣a+x∣−ln⁡∣a−x∣)+C=12aln⁡∣a+xa−x∣+C\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:

∫dxa2−x2=sin⁡−1(xa)+C(∣x∣<a)\int \frac{dx}{\sqrt{a^2 - x^2}} = \sin^{-1}\left(\frac{x}{a}\right) + C \qquad (|x| < a) ∫dxx2+a2=ln⁡∣x+x2+a2∣+C\int \frac{dx}{\sqrt{x^2 + a^2}} = \ln\left|x + \sqrt{x^2 + a^2}\right| + C ∫dxx2−a2=ln⁡∣x+x2−a2∣+C(∣x∣>a)\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=asin⁡θ  ⟹  dx=acos⁡θ dθx = a\sin\theta \implies dx = a\cos\theta\,d\theta:

∫acos⁡θ dθa2−a2sin⁡2θ=∫acos⁡θ dθacos⁡θ=∫1 dθ=θ+C=sin⁡−1(xa)+C\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=atan⁡θ  ⟹  dx=asec⁡2θ dθx = a\tan\theta \implies dx = a\sec^2\theta\,d\theta:

∫asec⁡2θ dθa2tan⁡2θ+a2=∫asec⁡2θ dθasec⁡θ=∫sec⁡θ dθ=ln⁡∣sec⁡θ+tan⁡θ∣+C1\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⁡θ=xa\tan\theta = \frac{x}{a} and sec⁡θ=x2+a2a\sec\theta = \frac{\sqrt{x^2 + a^2}}{a}:

ln⁡∣x2+a2a+xa∣+C1=ln⁡∣x+x2+a2∣−ln⁡a+C1\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-\ln a into CC gives:

∫dxx2+a2=ln⁡∣x+x2+a2∣+C\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=asec⁡θ  ⟹  dx=asec⁡θtan⁡θ dθx = a\sec\theta \implies dx = a\sec\theta\tan\theta\,d\theta, yielding ∫sec⁡θ dθ=ln⁡∣x+x2−a2∣+C\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:

∫a2−x2 dx=x2a2−x2+a22sin⁡−1(xa)+C\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 ∫x2+a2 dx=x2x2+a2+a22ln⁡∣x+x2+a2∣+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 ∫x2−a2 dx=x2x2−a2−a22ln⁡∣x+x2−a2∣+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:

Integral=x2(Original Radical)±a22(∫dxOriginal Radical)\text{Integral} = \frac{x}{2}(\text{Original Radical}) \pm \frac{a^2}{2} \left( \int \frac{dx}{\text{Original Radical}} \right)

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

Proof via Integration by Parts

Let I=∫x2+a2 dx=∫x2+a2⋅1 dxI = \int \sqrt{x^2 + a^2}\,dx = \int \sqrt{x^2 + a^2} \cdot 1\,dx.

Choose:

I=x2+a2  ⟹  ddx(x2+a2)=xx2+a2\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}} II=1  ⟹  ∫1 dx=x\text{II} = 1 \implies \int 1\,dx = x

Applying integration by parts:

I=xx2+a2−∫x2x2+a2 dxI = x\sqrt{x^2 + a^2} - \int \frac{x^2}{\sqrt{x^2 + a^2}}\,dx

Rewrite the numerator by adding and subtracting a2a^2:

x2x2+a2=(x2+a2)−a2x2+a2=x2+a2−a2x2+a2\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=xx2+a2−∫x2+a2 dx+a2∫dxx2+a2I = 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 II:

I=xx2+a2−I+a2ln⁡∣x+x2+a2∣I = x\sqrt{x^2 + a^2} - I + a^2\ln\left|x + \sqrt{x^2 + a^2}\right|

Add II to both sides:

2I=xx2+a2+a2ln⁡∣x+x2+a2∣2I = x\sqrt{x^2 + a^2} + a^2\ln\left|x + \sqrt{x^2 + a^2}\right|

Dividing by 22:

I=x2x2+a2+a22ln⁡∣x+x2+a2∣+CI = \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 a2−x2\sqrt{a^2 - x^2} and x2−a2\sqrt{x^2 - a^2} proceed identically.


General Quadratic Forms via Completing the Square§

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

ax2+bx+c=a[x2+bax+ca]=a[(x+b2a)2+(ca−b24a2)]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+b2a  ⟹  du=dxu = x + \frac{b}{2a} \implies du = dx, the expression reduces to one of:

u2+A2,u2−A2,A2−u2u^2 + A^2, \qquad u^2 - A^2, \qquad A^2 - u^2

Example 1§

Evaluate:

I=∫dxx2−6x+13I = \int \frac{dx}{x^2 - 6x + 13}

Solution:

Complete the square in the denominator:

x2−6x+13=(x2−6x+9)+4=(x−3)2+22x^2 - 6x + 13 = (x^2 - 6x + 9) + 4 = (x - 3)^2 + 2^2

Let:

u=x−3  ⟹  du=dxu = x - 3 \implies du = dx

Substitute into the integral:

I=∫duu2+22I = \int \frac{du}{u^2 + 2^2}

Using Formula 1 with a=2a = 2:

I=12tan⁡−1(u2)+C=12tan⁡−1(x−32)+CI = \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=∫dx3x2+12x+7I = \int \frac{dx}{3x^2 + 12x + 7}

Solution:

Factor out the leading coefficient 33:

3x2+12x+7=3(x2+4x)+7=3[(x+2)2−4]+7=3(x+2)2−12+7=3(x+2)2−53x^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 33 completely:

3[(x+2)2−53]=3[(x+2)2−(53)2]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=13∫dx(x+2)2−(5/3)2I = \frac{1}{3}\int \frac{dx}{(x + 2)^2 - (\sqrt{5/3})^2}

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

I=13⋅125/3ln⁡∣(x+2)−5/3(x+2)+5/3∣+CI = \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 13⋅25/3=1215\frac{1}{3 \cdot 2 \sqrt{5}/\sqrt{3}} = \frac{1}{2\sqrt{15}}, simplify the logarithm:

I=1215ln⁡∣3(x+2)−53(x+2)+5∣+CI = \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=∫dx5−4x−x2I = \int \frac{dx}{\sqrt{5 - 4x - x^2}}

Solution:

Notice that the coefficient of x2x^2 is negative. Group the xx-terms with a negative sign before completing the square:

5−4x−x2=5−(x2+4x)=5−[(x+2)2−4]=5−(x+2)2+4=9−(x+2)2=32−(x+2)25 - 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=∫dx32−(x+2)2I = \int \frac{dx}{\sqrt{3^2 - (x + 2)^2}}

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

I=sin⁡−1(x+23)+CI = \sin^{-1}\left(\frac{x + 2}{3}\right) + C

Example 4§

Evaluate:

I=∫x2+4x+1 dxI = \int \sqrt{x^2 + 4x + 1}\,dx

Solution:

Complete the square under the radical:

x2+4x+1=(x+2)2−4+1=(x+2)2−3=(x+2)2−(3)2x^2 + 4x + 1 = (x + 2)^2 - 4 + 1 = (x + 2)^2 - 3 = (x + 2)^2 - (\sqrt{3})^2

Let:

u=x+2  ⟹  du=dxu = x + 2 \implies du = dx

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

I=∫u2−(3)2 du=u2u2−3−32ln⁡∣u+u2−3∣+CI = \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+2u = x + 2:

I=x+22x2+4x+1−32ln⁡∣x+2+x2+4x+1∣+CI = \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 (ax2+bx+c)3/2(ax^2 + bx + c)^{3/2} or (ax2+bx+c)5/2(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=∫dx(x2−4x+13)3/2I = \int \frac{dx}{(x^2 - 4x + 13)^{3/2}}

Solution:

Complete the square in the quadratic base:

x2−4x+13=(x−2)2+9=(x−2)2+32x^2 - 4x + 13 = (x - 2)^2 + 9 = (x - 2)^2 + 3^2

The integral is:

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

The structure u2+a2u^2 + a^2 suggests the substitution u=atan⁡θu = a\tan\theta.

Let:

x−2=3tan⁡θ  ⟹  dx=3sec⁡2θ dθx - 2 = 3\tan\theta \implies dx = 3\sec^2\theta\,d\theta

Under this substitution:

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

Substitute into the integral:

I=∫3sec⁡2θ dθ27sec⁡3θ=19∫1sec⁡θ dθ=19∫cos⁡θ dθ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=19sin⁡θ+CI = \frac{1}{9}\sin\theta + C

From the substitution triangle with angle θ\theta, the opposite side is x−2x - 2 and the adjacent side is 33, giving:

sin⁡θ=x−2(x−2)2+9=x−2x2−4x+13\sin\theta = \frac{x - 2}{\sqrt{(x - 2)^2 + 9}} = \frac{x - 2}{\sqrt{x^2 - 4x + 13}}

Substituting this back gives:

I=x−29x2−4x+13+CI = \frac{x - 2}{9\sqrt{x^2 - 4x + 13}} + C

Linear Over Quadratic Forms§

When a linear polynomial appears in the numerator:

∫px+qax2+bx+c dx,∫px+qax2+bx+c dx,∫(px+q)ax2+bx+c dx\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⋅ddx(ax2+bx+c)+B=A(2ax+b)+Bpx + q = A \cdot \frac{d}{dx}(ax^2 + bx + c) + B = A(2ax + b) + B

Equating coefficients:

2aA=p  ⟹  A=p2a2aA = p \implies A = \frac{p}{2a} Ab+B=q  ⟹  B=q−bp2aAb + B = q \implies B = q - \frac{bp}{2a}

This splits the problem into two canonical integrals:

  1. An integral containing 2ax+bQuadratic\frac{2ax + b}{\text{Quadratic}}, which evaluates immediately via the substitution t=ax2+bx+ct = ax^2 + bx + c.
  2. An integral containing BQuadratic\frac{B}{\text{Quadratic}}, which is evaluated by completing the square.

Example 6§

Evaluate:

I=∫5x−2x2−2x+5 dxI = \int \frac{5x - 2}{x^2 - 2x + 5}\,dx

Solution:

Compute the derivative of the quadratic denominator:

ddx(x2−2x+5)=2x−2\frac{d}{dx}(x^2 - 2x + 5) = 2x - 2

Express the numerator 5x−25x - 2 in terms of 2x−22x - 2:

5x−2=52(2x−2)+5−2=52(2x−2)+35x - 2 = \frac{5}{2}(2x - 2) + 5 - 2 = \frac{5}{2}(2x - 2) + 3

Split the integral:

I=52∫2x−2x2−2x+5 dx+3∫dxx2−2x+5I = \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=x2−2x+5  ⟹  dt=(2x−2) dxt = x^2 - 2x + 5 \implies dt = (2x - 2)\,dx:

∫2x−2x2−2x+5 dx=ln⁡∣x2−2x+5∣\int \frac{2x - 2}{x^2 - 2x + 5}\,dx = \ln|x^2 - 2x + 5|

For the second integral, complete the square:

x2−2x+5=(x−1)2+4=(x−1)2+22x^2 - 2x + 5 = (x - 1)^2 + 4 = (x - 1)^2 + 2^2 ∫dx(x−1)2+22=12tan⁡−1(x−12)\int \frac{dx}{(x - 1)^2 + 2^2} = \frac{1}{2}\tan^{-1}\left(\frac{x - 1}{2}\right)

Combining both parts:

I=52ln⁡(x2−2x+5)+32tan⁡−1(x−12)+CI = \frac{5}{2}\ln(x^2 - 2x + 5) + \frac{3}{2}\tan^{-1}\left(\frac{x - 1}{2}\right) + C

Example 7§

Evaluate:

I=∫2x+3x2+4x+13 dxI = \int \frac{2x + 3}{\sqrt{x^2 + 4x + 13}}\,dx

Solution:

The derivative of the radicand is:

ddx(x2+4x+13)=2x+4\frac{d}{dx}(x^2 + 4x + 13) = 2x + 4

Decompose the numerator:

2x+3=(2x+4)−12x + 3 = (2x + 4) - 1

Split into two integrals:

I=∫2x+4x2+4x+13 dx−∫dxx2+4x+13I = \int \frac{2x + 4}{\sqrt{x^2 + 4x + 13}}\,dx - \int \frac{dx}{\sqrt{x^2 + 4x + 13}}

For the first integral, substitute t=x2+4x+13t = x^2 + 4x + 13:

∫dtt=2t=2x2+4x+13\int \frac{dt}{\sqrt{t}} = 2\sqrt{t} = 2\sqrt{x^2 + 4x + 13}

For the second integral, complete the square:

x2+4x+13=(x+2)2+9=(x+2)2+32x^2 + 4x + 13 = (x + 2)^2 + 9 = (x + 2)^2 + 3^2 ∫dx(x+2)2+32=ln⁡∣(x+2)+x2+4x+13∣\int \frac{dx}{\sqrt{(x + 2)^2 + 3^2}} = \ln\left| (x + 2) + \sqrt{x^2 + 4x + 13} \right|

Combining both results:

I=2x2+4x+13−ln⁡∣x+2+x2+4x+13∣+CI = 2\sqrt{x^2 + 4x + 13} - \ln\left| x + 2 + \sqrt{x^2 + 4x + 13} \right| + C

Example 8§

Evaluate:

I=∫(2x+1)x2+2x+5 dxI = \int (2x + 1)\sqrt{x^2 + 2x + 5}\,dx

Solution:

Compute the derivative of the quadratic under the radical:

ddx(x2+2x+5)=2x+2\frac{d}{dx}(x^2 + 2x + 5) = 2x + 2

Express the linear factor as:

2x+1=(2x+2)−12x + 1 = (2x + 2) - 1

Split the integral:

I=∫(2x+2)x2+2x+5 dx−∫x2+2x+5 dxI = \int (2x + 2)\sqrt{x^2 + 2x + 5}\,dx - \int \sqrt{x^2 + 2x + 5}\,dx

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

∫t1/2 dt=23t3/2=23(x2+2x+5)3/2\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:

x2+2x+5=(x+1)2+4=(x+1)2+22x^2 + 2x + 5 = (x + 1)^2 + 4 = (x + 1)^2 + 2^2

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

∫(x+1)2+22 dx=x+12x2+2x+5+42ln⁡∣x+1+x2+2x+5∣\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=23(x2+2x+5)3/2−x+12x2+2x+5−2ln⁡∣x+1+x2+2x+5∣+CI = \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 1L1L2\dfrac{1}{L_1 \sqrt{L_2}} Linear outside, linear inside
Type 2 1Q1L2\dfrac{1}{Q_1 \sqrt{L_2}} Quadratic outside, linear inside
Type 3 1L1Q2\dfrac{1}{L_1 \sqrt{Q_2}} Linear outside, quadratic inside
Type 4 1Q1Q2\dfrac{1}{Q_1 \sqrt{Q_2}} Pure quadratic outside, pure quadratic inside

Example 9§

Evaluate:

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

Solution:

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

2x+3=t2  ⟹  x=t2−32  ⟹  dx=t dt2x + 3 = t^2 \implies x = \frac{t^2 - 3}{2} \implies dx = t\,dt

Express the outside linear factor x+1x + 1 in terms of tt:

x+1=t2−32+1=t2−12x + 1 = \frac{t^2 - 3}{2} + 1 = \frac{t^2 - 1}{2}

Substitute into the integral:

I=∫t dt(t2−12)t=2∫dtt2−1I = \int \frac{t\,dt}{\left( \frac{t^2 - 1}{2} \right) t} = 2 \int \frac{dt}{t^2 - 1}

Using Formula 2 with a=1a = 1:

I=2⋅12(1)ln⁡∣t−1t+1∣+C=ln⁡∣2x+3−12x+3+1∣+CI = 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=∫dx(x2−1)x+2I = \int \frac{dx}{(x^2 - 1)\sqrt{x + 2}}

Solution:

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

x+2=t2  ⟹  x=t2−2  ⟹  dx=2t dtx + 2 = t^2 \implies x = t^2 - 2 \implies dx = 2t\,dt

Express the quadratic factor x2−1x^2 - 1 in terms of tt:

x2−1=(t2−2)2−1=t4−4t2+4−1=t4−4t2+3=(t2−1)(t2−3)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=∫2t dt(t2−1)(t2−3)t=2∫dt(t2−3)(t2−1)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 t2t^2:

1(t2−3)(t2−1)=12[1t2−3−1t2−1]\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=∫dtt2−(3)2−∫dtt2−12I = \int \frac{dt}{t^2 - (\sqrt{3})^2} - \int \frac{dt}{t^2 - 1^2}

Integrating both terms using Formula 2:

I=123ln⁡∣t−3t+3∣−12ln⁡∣t−1t+1∣+CI = \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=x+2t = \sqrt{x + 2}:

I=123ln⁡∣x+2−3x+2+3∣−12ln⁡∣x+2−1x+2+1∣+CI = \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=∫dx(x−1)x2+2x+2I = \int \frac{dx}{(x - 1)\sqrt{x^2 + 2x + 2}}

Solution:

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

x−1=1t  ⟹  x=1+1t  ⟹  dx=−dtt2x - 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 tt:

x2+2x+2=(1+1t)2+2(1+1t)+2x^2 + 2x + 2 = \left(1 + \frac{1}{t}\right)^2 + 2\left(1 + \frac{1}{t}\right) + 2 x2+2x+2=(1+2t+1t2)+(2+2t)+2=5+4t+1t2=5t2+4t+1t2x^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:

x2+2x+2=5t2+4t+1t\sqrt{x^2 + 2x + 2} = \frac{\sqrt{5t^2 + 4t + 1}}{t}

Substitute into the integral:

I=∫−dtt2(1t)(5t2+4t+1t)=−∫dt5t2+4t+1I = \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 t2t^2 factor cancels out completely. Complete the square in the radicand:

5t2+4t+1=5(t2+45t+15)=5[(t+25)2+15−425]=5[(t+25)2+(15)2]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=−15∫dt(t+25)2+(15)2I = -\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=−15ln⁡∣(t+25)+(t+25)2+(15)2∣+C1I = -\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=−15ln⁡∣5t+2+5(5t2+4t+1)5∣+C1I = -\frac{1}{\sqrt{5}}\ln\left| \frac{5t + 2 + \sqrt{5(5t^2 + 4t + 1)}}{5} \right| + C_1

Substitute t=1x−1t = \frac{1}{x - 1}:

5t+2=5x−1+2=2x+3x−15t + 2 = \frac{5}{x - 1} + 2 = \frac{2x + 3}{x - 1} 5(5t2+4t+1)=5⋅tx2+2x+2=5(x2+2x+2)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 CC:

I=−15ln⁡∣2x+3+5(x2+2x+2)x−1∣+CI = -\frac{1}{\sqrt{5}}\ln\left| \frac{2x + 3 + \sqrt{5(x^2 + 2x + 2)}}{x - 1} \right| + C

Example 12§

Evaluate:

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

Solution:

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

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

x=1t  ⟹  dx=−dtt2x = \frac{1}{t} \implies dx = -\frac{dt}{t^2}

Transform the factors:

x2+4=1t2+4=1+4t2t2x^2 + 4 = \frac{1}{t^2} + 4 = \frac{1 + 4t^2}{t^2} x2+1=1t2+1=1+t2t\sqrt{x^2 + 1} = \sqrt{\frac{1}{t^2} + 1} = \frac{\sqrt{1 + t^2}}{t}

Substitute into the integral:

I=∫−dtt2(1+4t2t2)(1+t2t)=−∫t dt(1+4t2)1+t2I = \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=1+t2u = \sqrt{1 + t^2}:

u2=1+t2  ⟹  2u du=2t dt  ⟹  t dt=u duu^2 = 1 + t^2 \implies 2u\,du = 2t\,dt \implies t\,dt = u\,du

Express 1+4t21 + 4t^2 in terms of uu:

t2=u2−1  ⟹  1+4t2=1+4(u2−1)=4u2−3t^2 = u^2 - 1 \implies 1 + 4t^2 = 1 + 4(u^2 - 1) = 4u^2 - 3

Substitute into the integral:

I=−∫u du(4u2−3)u=−∫du4u2−3=−14∫duu2−(32)2I = -\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=32a = \frac{\sqrt{3}}{2}:

I=−14⋅12(32)ln⁡∣u−32u+32∣+C=−143ln⁡∣2u−32u+3∣+CI = -\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=143ln⁡∣2u+32u−3∣+CI = \frac{1}{4\sqrt{3}}\ln\left| \frac{2u + \sqrt{3}}{2u - \sqrt{3}} \right| + C

Return to xx:

u=1+t2=1+1x2=x2+1xu = \sqrt{1 + t^2} = \sqrt{1 + \frac{1}{x^2}} = \frac{\sqrt{x^2 + 1}}{x}

Substituting this expression for uu:

I=143ln⁡∣2(x2+1x)+32(x2+1x)−3∣+CI = \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 xx:

I=143ln⁡∣2x2+1+3x2x2+1−3x∣+CI = \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
Section 8 of 10 · Indefinite Integration

Mark this section complete when you have worked through its proofs.