Roots of quadratics in x are tamed by hyperbolic substitutions, just as a2−x2
Lesson 3 of 3Show all lessonsHide
Try the code and the simulations beside the lesson.
What you will be able to do
integrate x2+a21 and x2−a21 with inverse hyperbolic functions;
integrate x2+a2 and 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
∫x2+a2dx=lnx+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, put x=asinhu. Then dx=acoshudu and x2+a2=acoshu. So
∫x2+a2dx=∫du=u+C,
that is sinh−1ax+C. The logarithmic form, ln(ax+x2+a2), differs from the old one only by the constant lna.
For x2−a2, with x≥a, put x=acoshu. Then dx=asinhudu and x2−a2=asinhu. So
∫x2−a2dx=cosh−1ax+C.
Compare ∫a2−x2dx=sin−1ax+C, by x=asinu. One sign under the root decides which family you use.
Roots on top
For ∫x2+a2dx, the same substitution gives a2∫cosh2udu. With cosh2u=21(1+cosh2u),
∫x2+a2dx=2xx2+a2
+2a2sinh−1ax+C.
In the same way, with sinh2u=21(cosh2u−1),
∫x2−a2dx=2xx2−a2
−2a2cosh−1ax+C.
To get back to x, use sinh2u=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
∫−12x2+2x+10dx.
Complete the square.x2+2x+10=(x+1)2+9.
Shift. Put t=x+1, so t runs from 0 to 3.
Integrate.[sinh−13t]03=sinh−11=ln(1+2).
A worked example: the length of a parabola
Find the length of y=21x2 from x=0 to x=1.
The arc length.y′=x, so L=∫011+x2dx.
The formula with a=1.L=[2x1+x2+21sinh−1x]01.
The value.L=21(2+ln(1+2))≈1.1478.
Check. The chord from (0,0) to (1,21) has length ≈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+a2dx against Simpson's rule from the last lesson.
Common mistakes
The wrong family. Plus under the root: sinh. Minus, with x2 first: cosh. Minus, with a2 first: sin.
Forgetting dx. With x=asinhu, dx=acoshudu.
Leaving out the shift after completing the square: the limits change too.
A domain slip.cosh−1ax needs x≥a.
Remember these
∫x2+a2dx=sinh−1ax+C, by x=asinhu.
∫x2−a2dx=cosh−1ax+C, by x=acoshu.
∫x2+a2dx=2xx2+a2+2a2sinh−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.
Find ∫x2+25dx.
Which substitution suits ∫4x2−9dx?
Evaluate ∫04x2+9dx as a single logarithm.
Complete the square in x2−6x+13, and name the substitution for ∫x2−6x+13dx.
With x=asinhu, show that x2+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.