Integrals of Irrational Functions

Irrational integrals often use substitutions that remove radicals.

Substitution Method

Example

Example 1 ∫1xdx\int \dfrac{1}{\sqrt{x}} dx
Let u=xu=\sqrt{x}, x=u2x=u^2, dx=2u dudx=2u\,du → result 2x+C2\sqrt{x}+C.

Example 2 ∫1xx2−1dx\int \dfrac{1}{x\sqrt{x^2 - 1}} dx
Let x=sec⁡tx=\sec t, dx=sec⁡ttan⁡t dtdx=\sec t \tan t\,dt, x2−1=tan⁡t\sqrt{x^2-1}=\tan t → result t+C=arccos⁡1x+Ct+C = \arccos \tfrac{1}{x}+C.


Exercises

Exercise 1

Use the radical substitution u=xu = \sqrt{x} to compute the indefinite integral ∫dxx(1+x)\int \frac{dx}{\sqrt{x}(1+\sqrt{x})}.

integral of an irrational functionradical substitutionindefinite integralback substitution

Approach: The radical in the integrand is x\sqrt{x}, so put u=xu = \sqrt{x}; then x=u2x = u^2 and dx=2u dudx = 2u \, du, and the radical disappears completely. The factor x=u2x = u^2 cancels with the uu coming from dx=2u dudx = 2u \, du, leaving a simple rational integrand. Back-substitute u=xu = \sqrt{x} when the integration is done.

Steps:

  1. Let u=xu = \sqrt{x}, so x=u2x = u^2, dx=2u dudx = 2u \, du, and x=u\sqrt{x} = u.
  2. Substitute: ∫dxx(1+x)=∫2u duu(1+u)=∫21+u du\int \frac{dx}{\sqrt{x}(1+\sqrt{x})} = \int \frac{2u \, du}{u(1+u)} = \int \frac{2}{1+u} \, du.
  3. Integrate: ∫21+u du=2ln⁡∣1+u∣+C\int \frac{2}{1+u} \, du = 2\ln|1+u| + C.
  4. Back-substitute u=xu = \sqrt{x}: since 1+x>01+\sqrt{x} > 0 for x>0x > 0, the original integral is 2ln⁡(1+x)+C2\ln(1+\sqrt{x}) + C.
  5. Verify by differentiating: ddx[2ln⁡(1+x)]=2⋅11+x⋅12x=1x(1+x)\frac{d}{dx}\left[2\ln(1+\sqrt{x})\right] = 2 \cdot \frac{1}{1+\sqrt{x}} \cdot \frac{1}{2\sqrt{x}} = \frac{1}{\sqrt{x}(1+\sqrt{x})}, which matches the original integrand.

Answer: ∫dxx(1+x)=2ln⁡(1+x)+C\int \frac{dx}{\sqrt{x}(1+\sqrt{x})} = 2\ln(1+\sqrt{x}) + C.

Exercise 2

Use the trigonometric substitution x=2sin⁡tx = 2\sin t to compute the indefinite integral ∫dx4−x2\int \frac{dx}{\sqrt{4-x^2}}, and show the back-substitution step.

integral of an irrational functiontrigonometric substitutionindefinite integralinverse trigonometric function

Approach: The radical has the form a2−x2\sqrt{a^2-x^2}, so put x=asin⁡tx = a\sin t (here a=2a = 2) and use the identity 1−sin⁡2t=cos⁡2t1-\sin^2 t = \cos^2 t to turn the radical into a trigonometric function. Taking t∈(−π2,π2)t \in \left(-\frac{\pi}{2}, \frac{\pi}{2}\right) gives cos⁡t>0\cos t > 0, so 4−4sin⁡2t=2cos⁡t\sqrt{4-4\sin^2 t} = 2\cos t holds without an absolute value.

Steps:

  1. Let x=2sin⁡tx = 2\sin t with t∈(−π2,π2)t \in \left(-\frac{\pi}{2}, \frac{\pi}{2}\right), so dx=2cos⁡t dtdx = 2\cos t \, dt and 4−x2=4−4sin⁡2t=4cos⁡2t=2cos⁡t\sqrt{4-x^2} = \sqrt{4-4\sin^2 t} = \sqrt{4\cos^2 t} = 2\cos t.
  2. Substitute: ∫dx4−x2=∫2cos⁡t dt2cos⁡t=∫dt=t+C\int \frac{dx}{\sqrt{4-x^2}} = \int \frac{2\cos t \, dt}{2\cos t} = \int dt = t + C.
  3. Back-substitute: from x=2sin⁡tx = 2\sin t we get sin⁡t=x2\sin t = \frac{x}{2}, hence t=arcsin⁡x2t = \arcsin\frac{x}{2}.
  4. Verify by differentiating: ddxarcsin⁡x2=1/21−x2/4=14−x2\frac{d}{dx}\arcsin\frac{x}{2} = \frac{1/2}{\sqrt{1-x^2/4}} = \frac{1}{\sqrt{4-x^2}}, which matches the original integrand.

Answer: ∫dx4−x2=arcsin⁡x2+C\int \frac{dx}{\sqrt{4-x^2}} = \arcsin\frac{x}{2} + C.

Exercise 3

Compute the indefinite integral ∫x2+a2 dx\int \sqrt{x^2+a^2} \, dx (a>0a > 0), and verify your result by differentiating.

integral of an irrational functiontrigonometric substitutionindefinite integralintegration by parts

Approach: The radical has the form x2+a2\sqrt{x^2+a^2}, so put x=atan⁡tx = a\tan t, which gives x2+a2=asec⁡t\sqrt{x^2+a^2} = a\sec t and reduces the integral to ∫sec⁡3t dt\int \sec^3 t \, dt. That integral is obtained by integration by parts: ∫sec⁡3t dt=12(sec⁡ttan⁡t+ln⁡∣sec⁡t+tan⁡t∣)+C\int \sec^3 t \, dt = \frac{1}{2}\left(\sec t \tan t + \ln|\sec t + \tan t|\right) + C. Finally back-substitute and check the result by differentiating.

Steps:

  1. Let x=atan⁡tx = a\tan t with t∈(−π2,π2)t \in \left(-\frac{\pi}{2}, \frac{\pi}{2}\right), so dx=asec⁡2t dtdx = a\sec^2 t \, dt and x2+a2=a2tan⁡2t+a2=asec⁡t\sqrt{x^2+a^2} = \sqrt{a^2\tan^2 t + a^2} = a\sec t (here sec⁡t>0\sec t > 0).
  2. Substitute: ∫x2+a2 dx=a2∫sec⁡3t dt\int \sqrt{x^2+a^2} \, dx = a^2 \int \sec^3 t \, dt.
  3. Compute ∫sec⁡3t dt\int \sec^3 t \, dt by parts, with u=sec⁡tu = \sec t and dv=sec⁡2t dtdv = \sec^2 t \, dt: ∫sec⁡3t dt=sec⁡ttan⁡t−∫sec⁡ttan⁡2t dt=sec⁡ttan⁡t−∫sec⁡3t dt+∫sec⁡t dt\int \sec^3 t \, dt = \sec t \tan t - \int \sec t \tan^2 t \, dt = \sec t \tan t - \int \sec^3 t \, dt + \int \sec t \, dt, and rearranging gives ∫sec⁡3t dt=12(sec⁡ttan⁡t+ln⁡∣sec⁡t+tan⁡t∣)+C\int \sec^3 t \, dt = \frac{1}{2}\left(\sec t \tan t + \ln|\sec t + \tan t|\right) + C.
  4. Substituting back yields ∫x2+a2 dx=a22(sec⁡ttan⁡t+ln⁡∣sec⁡t+tan⁡t∣)+C\int \sqrt{x^2+a^2} \, dx = \frac{a^2}{2}\left(\sec t \tan t + \ln|\sec t + \tan t|\right) + C.
  5. Back-substitute: from tan⁡t=xa\tan t = \frac{x}{a} we get sec⁡t=x2+a2a\sec t = \frac{\sqrt{x^2+a^2}}{a}, so a22sec⁡ttan⁡t=x2x2+a2\frac{a^2}{2}\sec t \tan t = \frac{x}{2}\sqrt{x^2+a^2}; and ln⁡∣sec⁡t+tan⁡t∣=ln⁡∣x2+a2+xa∣=ln⁡∣x+x2+a2∣−ln⁡a\ln|\sec t + \tan t| = \ln\left|\frac{\sqrt{x^2+a^2}+x}{a}\right| = \ln|x+\sqrt{x^2+a^2}| - \ln a, where −ln⁡a-\ln a is a constant and is absorbed into CC.
  6. Verify by differentiating: write S=x2+a2S = \sqrt{x^2+a^2}, then ddx[xS2+a22ln⁡∣x+S∣]=S2+x22S+a22⋅1+x/Sx+S\frac{d}{dx}\left[\frac{xS}{2} + \frac{a^2}{2}\ln|x+S|\right] = \frac{S}{2} + \frac{x^2}{2S} + \frac{a^2}{2} \cdot \frac{1 + x/S}{x+S}. Since 1+x/Sx+S=S+xS(x+S)=1S\frac{1 + x/S}{x+S} = \frac{S+x}{S(x+S)} = \frac{1}{S}, this equals S2+x22S+a22S=S2+x2+a22S=S2+S2=S\frac{S}{2} + \frac{x^2}{2S} + \frac{a^2}{2S} = \frac{S}{2} + \frac{x^2+a^2}{2S} = \frac{S}{2} + \frac{S}{2} = S, which matches the original integrand.

Answer: ∫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.


Summary

Symbols Used in This Article

SymbolTypePronunciation/ExplanationMeaning in This Article
∫\intmathematical symbolintegralIndefinite/definite integral sign
x\sqrt{x}mathematical symbolsquare root of xThe radical in Example 1, removed by letting u=xu=\sqrt{x}
uuvariableyooThe substitution variable that eliminates the radical
x=u2x = u^2mathematical symbolx equals u squaredThe inverse relation that recovers xx after the substitution
dxdxmathematical symboldifferential of xThe differential element of the integration variable xx
dudumathematical symboldifferential of uThe new differential element produced by x=u2x = u^2
x=sec⁡tx = \sec tmathematical symbolx equals secant of tThe trigonometric substitution that removes x2−1\sqrt{x^2-1} in Example 2
ttvariableteeThe trigonometric variable in Example 2
sec⁡t,tan⁡t\sec t, \tan tmathematical symbolsecant of t, tangent of tThe trigonometric functions that reproduce the radical in Example 2
x2−1\sqrt{x^2 - 1}mathematical symbolsquare root of x squared minus oneThe radical that the secant substitution converts into tan⁡t\tan t
arccos⁡1x\arccos \tfrac{1}{x}mathematical symbolarc cosine of one over xThe final antiderivative of Example 2 written back in the original variable
CCconstantconstant of integrationThe arbitrary constant in every antiderivative

Found an issue with this content?

Tell us what could be improved.