HelpContactFor teachers and institutes
>_StemPy Lab
Mock TestsClasses

>_StemPy Lab

Learn. Solve. Code the solutions. Test yourself.

Live examsFree mock exams, timed and rankedEveryone starts together, and your score and rank come the moment it ends.See the exams →
Live examsInternational live exams are comingTell us which exam you want first. Timed practice papers are open now.See what is coming →

Learn

  • Physics
  • Chemistry
  • Mathematics
  • Biology
  • Python Programming
  • Statistics & Data Science
  • Computer Science
  • Space Science and Astronomy
  • Earth and Environmental Science
  • Classes
  • Groups

Practice

  • Problems
  • Quizzes
  • Mock Tests
  • Prepare for an Exam
  • Question Sets
  • Exams
  • Certificates
  • Python Labs
  • AI Practice Generator
  • Student-Created Tests

Community

  • Discussions
  • Resources
  • Notes
  • Glossary
  • Blog

Account

  • Log in
© 2026 senLearn. All rights reserved.HelpFor SchoolsAboutContactPrivacy PolicyTerms of UseRefund Policy
Numerical Integration and Hyperbolic Substitutions
  1. 1The trapezium and mid-ordinate rules
  2. 2Simpson's rule and error estimates
  3. 3Integrals by hyperbolic substitution
  1. Mathematics
  2. /Numerical Integration and Hyperbolic Substitutions
  3. /Integrals by hyperbolic substitution

Course 34.3·Lesson 3 of 3

Integrals by hyperbolic substitution

Roots of quadratics in xxx are tamed by hyperbolic substitutions, just as a2−x2\sqrt{a^2 - x^2}a2−x2​

Lesson 3 of 3Show all lessonsHide
Numerical Integration and Hyperbolic Substitutions
  1. 1The trapezium and mid-ordinate rules
  2. 2Simpson's rule and error estimates
  3. 3Integrals by hyperbolic substitution

Try the code and the simulations beside the lesson.

What you will be able to do

  • integrate 1x2+a2\dfrac{1}{\sqrt{x^2 + a^2}}x2+a2​1​ and 1x2−a2\dfrac{1}{\sqrt{x^2 - a^2}}x2−a2​1​ with inverse hyperbolic functions;
  • integrate x2+a2\sqrt{x^2 + a^2}x2+a2​ and x2−a2\sqrt{x^2 - a^2}x2−a2​ by substitution;
  • complete the square first, and use the results for lengths and areas.

An integral you have met in another form

In the chapter on integrals you met

∫dxx2+a2=ln⁡∣x+x2+a2∣+C.\displaystyle \int\dfrac{dx}{\sqrt{x^2 + a^2}} = \ln\left|x + \sqrt{x^2 + a^2}\right| + C.∫x2+a2​dx​=ln​x+x2+a2​​+C.

It came with no explanation of where the logarithm comes from. Now we can see it: it is an inverse sinh.

The two basic substitutions

For x2+a2\sqrt{x^2 + a^2}x2+a2​, put x=asinh⁡ux = a\sinh ux=asinhu. Then dx=acosh⁡u dudx = a\cosh u\,dudx=acoshudu and x2+a2=acosh⁡u\sqrt{x^2 + a^2} = a\cosh ux2+a2​=acoshu. So

∫dxx2+a2=∫du=u+C,\displaystyle \int\dfrac{dx}{\sqrt{x^2 + a^2}} = \int du = u + C,∫x2+a2​dx​=∫du=u+C,

that is sinh⁡−1xa+C\sinh^{-1}\dfrac{x}{a} + Csinh−1ax​+C. The logarithmic form, ln⁡(x+x2+a2a)\ln\left(\dfrac{x + \sqrt{x^2 + a^2}}{a}\right)ln(ax+x2+a2​​), differs from the old one only by the constant ln⁡a\ln alna.

For x2−a2\sqrt{x^2 - a^2}x2−a2​, with x≥ax \ge ax≥a, put x=acosh⁡ux = a\cosh ux=acoshu. Then dx=asinh⁡u dudx = a\sinh u\,dudx=asinhudu and x2−a2=asinh⁡u\sqrt{x^2 - a^2} = a\sinh ux2−a2​=asinhu. So

∫dxx2−a2=cosh⁡−1xa+C.\displaystyle \int\dfrac{dx}{\sqrt{x^2 - a^2}} = \cosh^{-1}\dfrac{x}{a} + C.∫x2−a2​dx​=cosh−1ax​+C.

Compare ∫dxa2−x2=sin⁡−1xa+C\int\dfrac{dx}{\sqrt{a^2 - x^2}} = \sin^{-1}\dfrac{x}{a} + C∫a2−x2​dx​=sin−1ax​+C, by x=asin⁡ux = a\sin ux=asinu. One sign under the root decides which family you use.

Roots on top

For ∫x2+a2 dx\int\sqrt{x^2 + a^2}\,dx∫x2+a2​dx, the same substitution gives a2∫cosh⁡2u dua^2\int\cosh^2 u\,dua2∫cosh2udu. With cosh⁡2u=12(1+cosh⁡2u)\cosh^2 u = \tfrac{1}{2}(1 + \cosh 2u)cosh2u=21​(1+cosh2u),

∫x2+a2 dx=x2x2+a2\displaystyle \int\sqrt{x^2 + a^2}\,dx = \dfrac{x}{2}\sqrt{x^2 + a^2}∫x2+a2​dx=2x​x2+a2​
+a22sinh⁡−1xa+C.\displaystyle \qquad + \dfrac{a^2}{2}\sinh^{-1}\dfrac{x}{a} + C.+2a2​sinh−1ax​+C.

In the same way, with sinh⁡2u=12(cosh⁡2u−1)\sinh^2 u = \tfrac{1}{2}(\cosh 2u - 1)sinh2u=21​(cosh2u−1),

∫x2−a2 dx=x2x2−a2\displaystyle \int\sqrt{x^2 - a^2}\,dx = \dfrac{x}{2}\sqrt{x^2 - a^2}∫x2−a2​dx=2x​x2−a2​
−a22cosh⁡−1xa+C.\displaystyle \qquad - \dfrac{a^2}{2}\cosh^{-1}\dfrac{x}{a} + C.−2a2​cosh−1ax​+C.

To get back to xxx, use sinh⁡2u=2sinh⁡ucosh⁡u\sinh 2u = 2\sinh u\cosh usinh2u=2sinhucoshu.

Two panels. On the left, the curve y = 1 over the root of x squared plus 4 for x from 0 to 5, with the area from 0 to 3 shaded and labelled sinh inverse of 3 over 2. On the right, the right branch of the hyperbola x squared minus y squared equals 1 with the point (cosh u, sinh u), showing why x = a cosh u and the root of x squared minus a squared equals a sinh u.

Complete the square first

A quadratic with a first-degree term needs one more step. Take

∫−12dxx2+2x+10.\displaystyle \int_{-1}^{2}\dfrac{dx}{\sqrt{x^2 + 2x + 10}}.∫−12​x2+2x+10​dx​.
  1. Complete the square. x2+2x+10=(x+1)2+9x^2 + 2x + 10 = (x + 1)^2 + 9x2+2x+10=(x+1)2+9.
  2. Shift. Put t=x+1t = x + 1t=x+1, so ttt runs from 000 to 333.
  3. Integrate. [sinh⁡−1t3]03=sinh⁡−11=ln⁡(1+2)\left[\sinh^{-1}\dfrac{t}{3}\right]_0^3 = \sinh^{-1} 1 = \ln\left(1 + \sqrt{2}\right)[sinh−13t​]03​=sinh−11=ln(1+2​).

A worked example: the length of a parabola

Find the length of y=12x2y = \tfrac{1}{2}x^2y=21​x2 from x=0x = 0x=0 to x=1x = 1x=1.

  1. The arc length. y′=xy' = xy′=x, so L=∫011+x2 dxL = \int_0^1\sqrt{1 + x^2}\,dxL=∫01​1+x2​dx.
  2. The formula with a=1a = 1a=1. L=[x21+x2+12sinh⁡−1x]01L = \left[\dfrac{x}{2}\sqrt{1 + x^2} + \dfrac{1}{2}\sinh^{-1} x\right]_0^1L=[2x​1+x2​+21​sinh−1x]01​.
  3. The value. L=12(2+ln⁡(1+2))≈1.1478L = \tfrac{1}{2}\left(\sqrt{2} + \ln\left(1 + \sqrt{2}\right)\right) \approx 1.1478L=21​(2​+ln(1+2​))≈1.1478.
  4. Check. The chord from (0,0)(0, 0)(0,0) to (1,12)\left(1, \tfrac{1}{2}\right)(1,21​) has length ≈1.118\approx 1.118≈1.118. The curve is a little longer, as it must be.

Practise with new numbers

Try it in Python

The program checks the formula for ∫x2+a2 dx\int\sqrt{x^2 + a^2}\,dx∫x2+a2​dx against Simpson's rule from the last lesson.

Read it first. Then run it. Do the formula and Simpson's rule agree?

1. Change a = 1 to a = 3. Predict whether the length grows or shrinks.

2. Replace the formula by the one for x2−a2\sqrt{x^2 - a^2}x2−a2​, with limits from a to 2 * a. Do the values still agree?

Common mistakes

  • The wrong family. Plus under the root: sinh. Minus, with x2x^2x2 first: cosh. Minus, with a2a^2a2 first: sin.
  • Forgetting dxdxdx. With x=asinh⁡ux = a\sinh ux=asinhu, dx=acosh⁡u dudx = a\cosh u\,dudx=acoshudu.
  • Leaving out the shift after completing the square: the limits change too.
  • A domain slip. cosh⁡−1xa\cosh^{-1}\dfrac{x}{a}cosh−1ax​ needs x≥ax \ge ax≥a.

Remember these

  • ∫dxx2+a2=sinh⁡−1xa+C\int\dfrac{dx}{\sqrt{x^2 + a^2}} = \sinh^{-1}\dfrac{x}{a} + C∫x2+a2​dx​=sinh−1ax​+C, by x=asinh⁡ux = a\sinh ux=asinhu.
  • ∫dxx2−a2=cosh⁡−1xa+C\int\dfrac{dx}{\sqrt{x^2 - a^2}} = \cosh^{-1}\dfrac{x}{a} + C∫x2−a2​dx​=cosh−1ax​+C, by x=acosh⁡ux = a\cosh ux=acoshu.
  • ∫x2+a2 dx=x2x2+a2+a22sinh⁡−1xa+C\int\sqrt{x^2 + a^2}\,dx = \tfrac{x}{2}\sqrt{x^2 + a^2} + \tfrac{a^2}{2}\sinh^{-1}\tfrac{x}{a} + C∫x2+a2​dx=2x​x2+a2​+2a2​sinh−1ax​+C.
  • Complete the square, shift, then substitute.

Check yourself

Try each one on your own first. If you are stuck, open a hint. Then check with Show the answer.

  1. Find ∫dxx2+25\int\dfrac{dx}{\sqrt{x^2 + 25}}∫x2+25​dx​.
  1. Which substitution suits ∫dx4x2−9\int\dfrac{dx}{\sqrt{4x^2 - 9}}∫4x2−9​dx​?
  1. Evaluate ∫04dxx2+9\int_0^4\dfrac{dx}{\sqrt{x^2 + 9}}∫04​x2+9​dx​ as a single logarithm.
  1. Complete the square in x2−6x+13x^2 - 6x + 13x2−6x+13, and name the substitution for ∫dxx2−6x+13\int\dfrac{dx}{\sqrt{x^2 - 6x + 13}}∫x2−6x+13​dx​.
  1. With x=asinh⁡ux = a\sinh ux=asinhu, show that x2+a2=acosh⁡u\sqrt{x^2 + a^2} = a\cosh ux2+a2​=acoshu.

References

  • OpenStax, Calculus Volume 1, Section 6.9, Calculus of the Hyperbolic Functions.
  • K. A. Stroud, Engineering Mathematics, the programme on hyperbolic functions.

Enroll free in Numerical Integration and Hyperbolic Substitutions

Every lesson is open to read. Enrolling also lets you:

  • Mark lessons done and carry on where you stopped.
  • Take the tests of this lesson and its course.
  • Count the course towards the certificate for its chapter.
No payment. You can leave at any time.

Problems (4)

Use the substitution x = 3 sinh u to find ∫₀⁴ dx/(√(x² + 9))…Hard · High School (11–12) · by StemPy Lab
A footbridge has a parabolic arch y = 1/4x² between x = 0 and x = 4, in metres, on one side of its…Advanced · High School (11–12) · by StemPy Lab
Find the exact value of ∫₁⁵ dx/(√(x² - 2x + 5)).…Hard · High School (11–12) · by StemPy Lab
That was the last lessonBack to the course: take the test
← Numerical Integration and Hyperbolic Substitutions
← Simpson's rule and error estimatesNext →

Discussion (0)

Log in to join the discussion.

Loading…

is tamed by
x=asin⁡ux = a\sin ux=asinu
. Put
x=asinh⁡ux = a\sinh ux=asinhu
for
x2+a2\sqrt{x^2 + a^2}x2+a2​
and
x=acosh⁡ux = a\cosh ux=acoshu
for
x2−a2\sqrt{x^2 - a^2}x2−a2​
: the identity
cosh⁡2−sinh⁡2=1\cosh^2 - \sinh^2 = 1cosh2−sinh2=1
removes the root. The standard results are
∫dxx2+a2=sinh⁡−1xa+C\int\dfrac{dx}{\sqrt{x^2 + a^2}} = \sinh^{-1}\dfrac{x}{a} + C∫x2+a2​dx​=sinh−1ax​+C
and
∫dxx2−a2=cosh⁡−1xa+C\int\dfrac{dx}{\sqrt{x^2 - a^2}} = \cosh^{-1}\dfrac{x}{a} + C∫x2−a2​dx​=cosh−1ax​+C
.
about 25 min1 simulation2 practice questions1 Python program5 questions to check yourself

This lesson is free to read. Enroll free to keep your place and take the tests.

The hyperbola x²/9 - y²/4 = 1 and the line x = 5 enclose a region on the right of the vertex (3, 0)…Advanced · High School (11–12) · by StemPy Lab

Question Sets (1)

Numerical Integration: Test Yourself10 questions · by StemPy Lab

Notes (1)

Numerical Integration: Quick RevisionNote · by StemPy Lab