Conquering the Nasty Surd Integrals

#hsc-maths#extension-2#calculus#advanced

Integrals that involve x2±a2\sqrt{x^2\pm a^2} are a notorious time‑sink because they usually demand a trigonometric substitution, but the HSC syllabus actually permits you to memorise the resulting logarithmic forms. By internalising these shortcuts, you can leap straight to the answer. In this post we’ll see how to use the formulas on simple plug‑and‑play problems, on quadratics that need completing the square, and even on a differential equation that separates into these same surd integrals.

Problem Statement

Let's be real: integration can be brutal. You're in the middle of a high-pressure HSC exam, you spot an integral with a x2±a2\sqrt{x^2 \pm a^2} in the denominator, and your heart sinks. You know what's coming: a messy trigonometric substitution (like x=atanθx = a \tan \theta) and a nasty secθ\sec \theta integration.

But what if I told you there's a legal cheat code built right into the syllabus?

Syllabus Secret "Students may benefit from, but are not expected to, recognise and use the results dxx2+a2=ln(x+x2+a2)+c\int \frac{dx}{\sqrt{x^2+a^2}} = \ln(x + \sqrt{x^2+a^2}) + c and dxx2a2=ln(x+x2a2)+c\int \frac{dx}{\sqrt{x^2-a^2}} = \ln(x + \sqrt{x^2-a^2}) + c (where x>ax > a). These results can be shown using a trigonometric substitution, however, the result for secθdθ\int \sec \theta d\theta is required."

Translation: You are absolutely allowed to just memorize these logarithmic forms. By keeping these in your mental toolkit, you bypass the entire trig derivation. Let's look at how fast this is in practice.

Level 1: The Plug-and-Play (Easy)

The Problem:

1x2+16dx\int \frac{1}{\sqrt{x^2 + 16}} \, dx

Level 2: The Classic 'Complete the Square' (Medium-Hard)

The Problem:

1x26x+5dx,for x>5\int \frac{1}{\sqrt{x^2 - 6x + 5}} \, dx, \quad \text{for } x > 5

Level 3: The Q16 Boss Battle (Hard / Ext 2 Enrichment)

The Problem: Find the explicit function y(x)y(x) that satisfies:

dydx=yln(y)x24\frac{dy}{dx} = \frac{y \ln(y)}{\sqrt{x^2 - 4}}

given y(22)=e2y(2\sqrt{2}) = e^2, for x>2x > 2 and y>1y > 1.


Hints

  • Instead of using a full trigonometric substitution, try to match the integrand to the standard logarithmic forms.
  • If the denominator has a quadratic that isn't a perfect sum/difference of squares, try completing the square first.
  • For the differential equation, separate the variables xx and yy on different sides of the equation before integrating.

Solutions

Level 1 Solution: We can see that the integrand is exactly of the form 1x2+a2\frac{1}{\sqrt{x^2+a^2}} with a=4a = 4. Match to the standard form dxx2+a2\int \frac{dx}{\sqrt{x^2+a^2}} where a2=16a^2 = 16. Just write the answer:

1x2+16dx=ln(x+x2+16)+C\int \frac{1}{\sqrt{x^2 + 16}} \, dx = \ln\left(x + \sqrt{x^2 + 16}\right) + C

Pro Tip: For the x2+a2x^2 + a^2 case, x+x2+a2x + \sqrt{x^2+a^2} is always positive, so standard brackets are perfectly fine!

Level 2 Solution: The quadratic x26x+5x^2-6x+5 is not yet a difference of squares, so we complete the square: x26x+5=(x3)24x^2-6x+5 = (x-3)^2 - 4. The integral therefore becomes

1(x3)24dx\int \frac{1}{\sqrt{(x-3)^2 - 4}} \, dx

which matches the standard form duu2a2\int \frac{du}{\sqrt{u^2-a^2}} with u=x3u = x-3 and a=2a = 2. Applying the logarithmic result directly gives

=ln((x3)+(x3)24)+C= \ln\left((x-3) + \sqrt{(x-3)^2 - 4}\right) + C

Expand the surd back to its original form to clean it up:

=ln(x3+x26x+5)+C= \ln\left(x - 3 + \sqrt{x^2 - 6x + 5}\right) + C

Level 3 Solution: The differential equation is separable. Rearranging puts all yy terms on the left and all xx terms on the right:

dyylny=dxx24\frac{dy}{y \ln y} = \frac{dx}{\sqrt{x^2 - 4}}

Now we integrate both sides. On the left, the substitution u=lnyu = \ln y gives 1udu=lnu\int \frac{1}{u}\,du = \ln|u|; since y>1y > 1, lny>0\ln y > 0 and we may drop the absolute value to obtain ln(lny)\ln(\ln y). On the right, dxx24\int \frac{dx}{\sqrt{x^2-4}} matches the standard form with a=2a=2, so we get ln(x+x24)\ln(x + \sqrt{x^2-4}). Hence

ln(lny)=ln(x+x24)+C\ln(\ln y) = \ln\left(x + \sqrt{x^2 - 4}\right) + C

Sub in the initial condition (x=22,y=e2x = 2\sqrt{2}, y = e^2) to find CC:

ln(lne2)=ln(22+84)+C\ln(\ln e^2) = \ln\left(2\sqrt{2} + \sqrt{8 - 4}\right) + C

ln(2)=ln(22+2)+C\ln(2) = \ln(2\sqrt{2} + 2) + C

C=ln(2)ln(22+2)=ln(12+1)=ln(21)C = \ln(2) - \ln(2\sqrt{2} + 2) = \ln\left(\frac{1}{\sqrt{2} + 1}\right) = \ln(\sqrt{2} - 1)

Now we substitute CC back and use log laws to combine the right‑hand side into a single logarithm:

ln(lny)=ln(x+x24)+ln(21)\ln(\ln y) = \ln\left(x + \sqrt{x^2 - 4}\right) + \ln(\sqrt{2} - 1)

ln(lny)=ln((21)(x+x24))\ln(\ln y) = \ln\left((\sqrt{2} - 1)(x + \sqrt{x^2 - 4})\right)

Exponentiating both sides removes the outer logarithm (since the natural log is one‑to‑one):

lny=(21)(x+x24)\ln y = (\sqrt{2} - 1)\left(x + \sqrt{x^2 - 4}\right)

y=e(21)(x+x24)y = e^{(\sqrt{2} - 1)\left(x + \sqrt{x^2 - 4}\right)}


Takeaways

  • Memorizing the logarithmic integrals for x2±a2\sqrt{x^2 \pm a^2} is a massive time-saver and perfectly valid in HSC exams.
  • Completing the square is an essential technique for reducing complex quadratics into standard integrable forms.
  • Don't forget that log laws can elegantly simplify ugly constants of integration into exact, clean expressions.

Further Readings

HSC Integrals, HSC Differential Equations

Written by Vu Hung Nguyen

Mathematics Educator · LinkedIn · About