Logo
Published on

Conquering the Nasty Surd Integrals

Authors
  • avatar
    Name
    Vu Hung
    Twitter

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: 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: Complete the square in the denominator, then apply the formula directly (treat (x3)(x-3) as your xx): 1(x3)24dx=ln((x3)+(x3)24)+C\int \frac{1}{\sqrt{(x-3)^2 - 4}} \, dx = \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: Separate the variables and integrate both sides immediately: 1ylnydy=1x24dx\int \frac{1}{y \ln y} \, dy = \int \frac{1}{\sqrt{x^2 - 4}} \, dx 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) Substitute CC back and use log laws to combine the right-hand side: 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) Exponentiate to drop the outer logs: 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


Connect with me

If you found these cheat codes helpful, there's a lot more where that came from! Dive deeper into HSC Maths Extension 1 & 2 by checking out my YouTube channel for full video walkthroughs. You can also explore all my resources on Vu's Maths Hub or join the discussion by subscribing to my Substack. Feel free to connect with me professionally on LinkedIn!