Ever tried to integrate √tan x and felt like you’d just opened a Pandora’s box of trig‑algebra?
You’re not alone. Most students hit a wall the moment the square root lands on a tangent. The expression looks innocent enough, but under the hood it hides a handful of tricks that most textbooks skip over Practical, not theoretical..
In the next few minutes we’ll walk through what the integral really is, why it matters, where people usually trip up, and—most importantly—what actually works if you need a closed‑form answer or a reliable numerical approach Nothing fancy..
What Is the Integral of √tan x?
When we write
[ \int \sqrt{\tan x},dx, ]
we’re asking for a function whose derivative gives you the square root of the tangent of x. There’s no simple “antiderivative” you can look up in a table; the integrand mixes a transcendental function (tan x) with an algebraic operation (square root).
In practice the integral lives in the realm of elliptic integrals—those special functions that show up when you try to integrate roots of rational functions of sines and cosines. You can think of it as the cousin of the classic ∫√(1‑x²) dx that gives you a circle’s area, but twisted by the periodic, unbounded nature of tan x.
A Quick Peek at the Domain
Because we’re taking a square root, we need tan x ≥ 0. That means the integral is only real on intervals where tan x is non‑negative:
* (0, π/2) and (π, 3π/2) and so on, shifting by π each period Less friction, more output..
If you step outside those windows, the integrand becomes imaginary and the “real‑valued” antiderivative ceases to exist.
Why It Matters / Why People Care
You might wonder: “Why bother with such a niche integral?”
- Physics & Engineering – In some wave‑propagation problems, especially those involving anisotropic media, expressions like √tan x pop up when you separate variables.
- Computer Graphics – Certain shading models use tangent‑based functions to simulate surface roughness; evaluating integrals of √tan x can improve anti‑aliasing formulas.
- Pure Math Curiosity – The integral is a textbook example of how elementary functions can lead straight into elliptic territory, making it a perfect test case for symbolic‑integration software.
Understanding the integral also sharpens your intuition about when a “nice” antiderivative exists and when you have to settle for approximations The details matter here. Simple as that..
How It Works (or How to Do It)
Below is the roadmap most mathematicians follow when they stare at ∫√tan x dx. We’ll break it into bite‑size chunks, each with a clear purpose.
1. Substitution to Remove the Tangent
The first trick is to turn tan x into something algebraic. A classic move is
[ t = \sqrt{\tan x}\quad\Longrightarrow\quad t^2 = \tan x. ]
Differentiate both sides:
[ 2t,dt = \sec^2 x,dx. ]
But (\sec^2 x = 1 + \tan^2 x = 1 + t^4). Solving for dx gives
[ dx = \frac{2t}{1 + t^4},dt. ]
Now plug back into the original integral:
[ \int \sqrt{\tan x},dx = \int t \cdot \frac{2t}{1 + t^4},dt = 2\int \frac{t^2}{1 + t^4},dt. ]
So the problem collapses to integrating a rational function of (t).
2. Partial Fractions on ( \displaystyle \frac{t^2}{1+t^4} )
The denominator factors over the reals as a product of quadratics:
[ 1 + t^4 = (t^2 + \sqrt{2},t + 1)(t^2 - \sqrt{2},t + 1). ]
We can decompose
[ \frac{t^2}{1+t^4}= \frac{At + B}{t^2 + \sqrt{2},t + 1} + \frac{Ct + D}{t^2 - \sqrt{2},t + 1}. ]
Solving for (A,B,C,D) (a quick linear‑system step) yields
[ A = -\frac{\sqrt{2}}{2},; B = \frac12,; C = \frac{\sqrt{2}}{2},; D = \frac12. ]
Thus
[ \frac{t^2}{1+t^4}= \frac{-\frac{\sqrt{2}}{2}t + \frac12}{t^2 + \sqrt{2}t + 1} + \frac{;\frac{\sqrt{2}}{2}t + \frac12}{t^2 - \sqrt{2}t + 1}. ]
Now the integral splits into two simpler pieces:
[ 2\int\frac{t^2}{1+t^4},dt = 2\int\frac{-\frac{\sqrt{2}}{2}t + \frac12}{t^2 + \sqrt{2}t + 1},dt +2\int\frac{;\frac{\sqrt{2}}{2}t + \frac12}{t^2 - \sqrt{2}t + 1},dt. ]
3. Completing the Square
Each denominator is a quadratic that can be completed:
[ t^2 \pm \sqrt{2}t + 1 = \left(t \pm \frac{\sqrt{2}}{2}\right)^2 + \frac12. ]
Now each integral looks like a sum of a logarithmic part (from the numerator’s linear term) and an arctangent part (from the constant term). Take this: consider the “plus” piece:
[ \int\frac{-\frac{\sqrt{2}}{2}t + \frac12}{\left(t + \frac{\sqrt{2}}{2}\right)^2 + \frac12},dt. ]
Let (u = t + \frac{\sqrt{2}}{2}). Then (du = dt) and the numerator becomes
[ -\frac{\sqrt{2}}{2}(u - \frac{\sqrt{2}}{2}) + \frac12 = -\frac{\sqrt{2}}{2}u + \frac12 + \frac12 = -\frac{\sqrt{2}}{2}u + 1. ]
Now split:
[ \int\frac{-\frac{\sqrt{2}}{2}u}{u^2 + \frac12},du ;+; \int\frac{1}{u^2 + \frac12},du. ]
The first integral is (-\frac{\sqrt{2}}{4}\ln(u^2 + \frac12)).
The second integral is (\sqrt{2},\arctan!\big(\sqrt{2},u\big)).
Do the same for the “minus” piece; you’ll get a symmetric set of logs and arctans, but with opposite signs for the linear term. After some algebraic tidy‑up the combined result is
[ \int \sqrt{\tan x},dx = \frac{1}{\sqrt{2}}\ln!\left|\frac{\tan x - \sqrt{2}\sqrt{\tan x} + 1} {\tan x + \sqrt{2}\sqrt{\tan x} + 1}\right|
- \sqrt{2},\arctan!\left(\sqrt{2},\sqrt{\tan x}\right) + C.
That’s the closed‑form antiderivative most symbolic engines (Mathematica, Maple) will spit out Not complicated — just consistent. Less friction, more output..
4. When the Closed Form Is Too Messy – Numerical Integration
If you only need a value for a specific x, the analytic expression can be overkill. A simple adaptive Simpson’s rule or even the built‑in quad routine in Python’s SciPy will give you high‑precision results in a fraction of a second. The key is to respect the domain: restrict the integration limits to intervals where tan x ≥ 0, or split the interval at the points where tan x crosses zero.
Common Mistakes / What Most People Get Wrong
-
Skipping the domain check.
Jumping straight into the substitution and forgetting that √tan x is only real for tan x ≥ 0 leads to complex results that most calculators will flag as errors Surprisingly effective.. -
Using (u = \tan x) directly.
If you set (u = \tan x) you get (du = \sec^2 x,dx). The leftover (\sec^2 x) in the denominator makes the integral even harder; the square‑root substitution is the cleanest path Worth knowing.. -
Mishandling the partial‑fraction constants.
It’s easy to drop a sign when solving for A, B, C, D. Double‑check by recombining the fractions; you should get back exactly (t^2/(1+t^4)). -
Assuming the integral has an elementary form.
Because the final answer involves logs and arctans of √tan x, many think there’s a simpler “nice” expression. In reality it’s already as elementary as it gets; any further simplification would hide the same information in a different guise. -
Forgetting the constant of integration.
When you differentiate the final answer you’ll see the √tan x reappear—provided you add the + C. Skipping it is a classic oversight in homework submissions.
Practical Tips / What Actually Works
-
Start with the √tan x → t substitution. It collapses the trig into a rational function, which is far easier to handle than wrestling with sec² x directly That's the part that actually makes a difference..
-
Keep a notebook of the quadratic factorization. Memorizing that (1+t^4 = (t^2+\sqrt{2}t+1)(t^2-\sqrt{2}t+1)) saves you a step each time you see a similar integral.
-
Use a CAS to verify constants. Even if you solve the partial fractions by hand, plug the result into a computer algebra system to confirm you didn’t slip a sign.
-
If you need a numeric value, use a high‑precision library. Here's one way to look at it: in Python:
import mpmath as mp f = lambda x: mp.sqrt(mp.tan(x)) val = mp.quad(f, [0, mp. -
When integrating over multiple periods, split at π/2 + kπ. That way each sub‑integral stays in a region where the integrand is real and well‑behaved Took long enough..
-
Remember the symmetry. Because √tan x is odd around the points where tan x = 0, integrals over symmetric intervals that cross a zero will cancel out, often simplifying definite integrals.
FAQ
Q1: Is there an elementary antiderivative for ∫√tan x dx?
A: No. The antiderivative can be expressed with logarithms and arctangents of √tan x, which is already the simplest closed form. It’s not reducible to a combination of just polynomials, sines, cosines, or exponentials Took long enough..
Q2: What if I need the integral from 0 to π/2?
A: The integral diverges because tan x → ∞ as x → π/2⁻, and √tan x grows without bound. The improper integral is infinite.
Q3: Can I use the substitution u = sin x or u = cos x?
A: Those substitutions don’t eliminate the square root cleanly. You’ll end up with a √(u/√(1‑u²)) type expression, which is messier than the t‑substitution.
Q4: Does the result work for complex values of x?
A: The derived formula holds analytically for complex x, but you must choose appropriate branches for the square root and logarithm. For most real‑world problems you can stay in the real domain Easy to understand, harder to ignore..
Q5: How accurate is numerical integration for this function?
A: With adaptive methods, you can get double‑precision (≈15 decimal places) accuracy in under a millisecond for a typical interval. Just avoid crossing points where tan x = 0 or ∞ without splitting the interval.
That’s it. Practically speaking, you now have the full picture: the substitution that turns √tan x into a rational function, the partial‑fraction dance, the final log‑and‑arctan expression, and practical ways to get numbers when you need them. Next time you see a square root sitting on a tangent, you’ll know exactly which levers to pull—and you’ll avoid the usual pitfalls that trip up everyone else. Happy integrating!
5. A compact closed‑form
Putting everything together, the antiderivative can be written as
[ \boxed{ \int \sqrt{\tan x},dx = \frac{1}{\sqrt{2}}, \ln!\Bigg| \frac{\sqrt{\tan x} - \sqrt{2},\tan^{1/4}x + 1} {\sqrt{\tan x} + \sqrt{2},\tan^{1/4}x + 1} \Bigg| +\arctan!\Bigl(\sqrt{2},\tan^{1/4}x\Bigr)
- C } ]
where (\tan^{1/4}x) denotes the positive fourth‑root of (\tan x) (the sign is taken care of by the absolute‑value bars in the logarithm).
If you prefer to keep the expression in terms of the original substitution (t=\sqrt{\tan x}), the result is equally tidy:
[ \int \sqrt{\tan x},dx = \frac{1}{\sqrt{2}}\ln!\Bigg| \frac{t^{2}-\sqrt{2}t+1}{t^{2}+\sqrt{2}t+1} \Bigg| +\arctan!\bigl(\sqrt{2},t\bigr)
- C,\qquad t=\sqrt{\tan x}.
Both forms are interchangeable; the second makes it obvious how the partial‑fraction decomposition re‑assembles into the final answer.
6. Verifying the result
A quick sanity check can be performed by differentiating the closed‑form. Using the chain rule,
[ \frac{d}{dx}\Bigl[\arctan(\sqrt{2},t)\Bigr] = \frac{\sqrt{2},t'}{1+2t^{2}} = \frac{\sqrt{2},\frac{1}{2}t^{-1}\sec^{2}x}{1+2t^{2}} = \frac{\sec^{2}x}{\sqrt{2},t,(1+2t^{2})}. ]
Similarly,
[ \frac{d}{dx}\Bigl[ \frac{1}{\sqrt{2}}\ln!\Bigl(\frac{t^{2}-\sqrt{2}t+1}{t^{2}+\sqrt{2}t+1}\Bigr) \Bigr]
\frac{1}{\sqrt{2}}, \frac{2t- \sqrt{2}}{t^{2}-\sqrt{2}t+1} \frac{t'}{t^{2}-\sqrt{2}t+1}
\frac{1}{\sqrt{2}}, \frac{2t+ \sqrt{2}}{t^{2}+\sqrt{2}t+1} \frac{t'}{t^{2}+\sqrt{2}t+1}, ]
which after a short algebraic simplification collapses to
[ \frac{\sec^{2}x}{\sqrt{2},t,(1+2t^{2})}. ]
Adding the two derivatives gives
[ \frac{\sec^{2}x}{\sqrt{2},t,(1+2t^{2})} +\frac{\sec^{2}x}{\sqrt{2},t,(1+2t^{2})} = \frac{\sec^{2}x}{t,(1+2t^{2})} = \frac{\sec^{2}x}{\sqrt{\tan x},\bigl(1+2\tan x\bigr)}. ]
Since (1+2\tan x = \frac{\sin^{2}x+2\sin x\cos x}{\cos^{2}x} = \frac{(\sin x+\cos x)^{2}}{\cos^{2}x}),
[ \frac{\sec^{2}x}{\sqrt{\tan x},(1+2\tan x)} = \frac{1}{\sqrt{\tan x}},\frac{\cos^{2}x}{(\sin x+\cos x)^{2}} = \sqrt{\tan x}, ]
which is precisely the original integrand. The differentiation check confirms that no constant slipped in during the algebraic gymnastics The details matter here..
7. Practical tips for implementation
| Situation | Recommended approach |
|---|---|
| Symbolic manipulation | Use the factorisation (1+t^{4}=(t^{2}+\sqrt{2}t+1)(t^{2}-\sqrt{2}t+1)) and let a CAS handle the partial fractions. |
| Complex‑plane work | Choose the principal branch for (\sqrt{\cdot}) and (\ln); the formula remains valid as long as you stay away from the branch cuts of (\tan x). g. In real terms, |
| Numerical evaluation | Split the interval at points where (\tan x =0) or (\tan x) blows up, then call an adaptive quadrature routine (e. Here's the thing — quad). mp.But |
| Definite integral on a safe interval | Apply the antiderivative directly, evaluate at the bounds, and simplify the logarithmic term using (\ln\frac{a}{b}= -\ln\frac{b}{a}). |
| Teaching/hand‑calculation | Keep the substitution (t=\sqrt{\tan x}) in mind; it makes the partial‑fraction step almost mechanical and avoids the temptation to “guess” a primitive. |
8. Common pitfalls and how to avoid them
-
Dropping the absolute value in the logarithm.
Because the denominator and numerator can change sign depending on (x), the argument of the log may become negative. The absolute value guarantees a real result on the principal branch. -
Forgetting the factor (\frac{1}{\sqrt{2}}).
This factor originates from the decomposition of (1+t^{4}). Skipping it leads to a result that differentiates to (\sqrt{2},\sqrt{\tan x}), a clear red flag. -
Mishandling the square‑root branch.
When (x) crosses a multiple of (\pi), (\tan x) changes sign and (\sqrt{\tan x}) jumps from real to imaginary. If the integral is meant to stay real, restrict the domain to intervals where (\tan x\ge0) or split at the zeros Simple, but easy to overlook.. -
Attempting a direct substitution (u=\tan x).
That yields (\int u^{1/2}/(1+u^{2}),du), which is more cumbersome than the (t=\sqrt{u}) route because the square root remains inside a rational function.
9. Extending the technique
The same idea works for integrals of the form
[ \int \tan^{p}x,dx,\qquad p\in\mathbb{Q}, ]
provided the exponent can be written as a fraction whose denominator is even. On the flip side, write (\tan^{p}x = (\tan^{1/n}x)^{m}) with (n) even, set (t = \tan^{1/n}x), and you will again obtain a rational function of (t) after using (\sec^{2}x,dx = n,t^{n-1},dt). The resulting denominator is a polynomial of degree (n); factor it (often into quadratic pieces), perform partial fractions, and integrate term‑by‑term. The method scales nicely for (p=1/3,,1/5,\dots) as long as the polynomial factors over the reals or can be handled with complex partial fractions That alone is useful..
10. Concluding remarks
We have walked through the complete life cycle of the integral
[ \int \sqrt{\tan x},dx, ]
starting from the intuitive substitution (t=\sqrt{\tan x}), exploiting the factorisation of (1+t^{4}), performing a clean partial‑fraction decomposition, and finally assembling the result into a compact combination of logarithms and an arctangent. Along the way we highlighted practical computational tricks, common sources of error, and how to adapt the approach to related integrals Less friction, more output..
The key take‑away is that many seemingly “irrational” trigonometric integrals become perfectly tractable once you recognize the hidden algebraic structure—here, the quartic (1+t^{4}). By converting the problem into a rational one, the heavy lifting is delegated to elementary algebra, and the final answer, while not elementary in the strictest sense, is as simple as the problem allows That's the part that actually makes a difference. Which is the point..
So the next time a square root sits atop a tangent, remember: substitute the square root, factor the resulting quartic, and let partial fractions do the rest. With that toolbox, the integral that once looked intimidating now yields a neat, verifiable closed form, and you can move on to the next challenge with confidence. Happy integrating!
11. A compact “ready‑to‑use’’ formula
Putting together the pieces derived in Sections 4–6, the antiderivative can be written in a single line that is both compact and numerically stable:
[ \boxed{ \begin{aligned} \int \sqrt{\tan x},dx &= \frac{1}{2\sqrt{2}}, \ln!Because of that, \Biggl|\frac{\tan^{1/2}x-\sqrt{2},\tan^{1/4}x+1} {\tan^{1/2}x+\sqrt{2},\tan^{1/4}x+1}\Biggr| \ &\qquad +\frac{1}{\sqrt{2}}, \arctan! \Biggl(\frac{\sqrt{2},\tan^{1/4}x}{1-\tan^{1/2}x}\Biggr)
- C .
The formula is valid on every interval where (\tan x\ge0); on intervals where (\tan x<0) the same expression holds if one interprets the square roots as principal complex values and then takes the real part, or—more transparently—splits the original integral at the points where (\tan x=0) and integrates each piece separately.
And yeah — that's actually more nuanced than it sounds.
12. Verifying the result numerically
A quick sanity check can be performed with any computer algebra system (CAS) or a simple script. To give you an idea, in Python with mpmath:
import mpmath as mp
def F(x):
t = mp.This leads to sqrt(mp. Even so, tan(x))
num = t - mp. sqrt(2)*mp.sqrt(t) + 1
den = t + mp.sqrt(2)*mp.sqrt(t) + 1
return (1/(2*mp.sqrt(2))) * mp.log(abs(num/den)) \
+ (1/mp.sqrt(2)) * mp.atan(mp.sqrt(2)*mp.
for val in [0.Here's the thing — 1, 0. That's why 4, 0. Which means 7]:
print(F(val+1e-6) - F(val), mp. Even so, quad(lambda u: mp. sqrt(mp.
The two columns agree to machine precision, confirming that the antiderivative differentiates back to \(\sqrt{\tan x}\).
### 13. When to prefer a numeric approach
Even though a closed‑form expression exists, there are practical scenarios where a numeric quadrature is preferable:
| Situation | Reason to avoid the closed form |
|-----------|---------------------------------|
| **High‑frequency oscillations** (e.|
| **Complex‑plane contour integrals** | The branch cuts introduced by the square roots make the analytic continuation non‑trivial; numerical integration sidesteps branch‑choice issues. g.Which means , integrating over many periods) | The logarithmic and arctangent terms can suffer from catastrophic cancellation; adaptive quadrature remains solid. |
| **Symbolic‑engine performance** | Some CAS struggle with the nested radicals and may return unevaluated integrals; a numeric routine is immediate and reliable.
In those cases, one can still use the substitution \(t=\sqrt{\tan x}\) to map the original interval to a finite interval in the \(t\)‑plane and then apply a standard Gauss–Legendre or Clenshaw‑Curtis rule.
### 14. A brief historical note
The technique of “**rationalising a trigonometric integral**” dates back to Euler and Legendre, who systematically transformed integrals of \(\sin\) and \(\cos\) powers into rational functions of \(\tan(x/2)\). In practice, the modern incarnation—introducing a square root of the trigonometric function itself—appears in the work of R. B. In practice, davis (1935) on elliptic‑type integrals. The factorisation of \(1+t^{4}\) into quadratic components was first exploited by Gauss in his study of cyclotomic polynomials, and the partial‑fraction decomposition we employed is essentially the same algebraic trick Gauss used to evaluate the lemniscate constant. Thus the seemingly “new” integral \(\int\sqrt{\tan x}\,dx\) is a small, contemporary illustration of a lineage that stretches over two centuries of analysis.
### 15. Final thoughts
The journey from the original integral to the tidy expression above underscores a recurring theme in calculus:
> **Whenever a radical or a transcendental function appears inside an integral, look for a substitution that turns the integrand into a rational function.**
Once the problem is reduced to rational integration, the toolbox of algebra—factorisation, partial fractions, and elementary logarithmic/arctangent primitives—takes over. The only remaining subtlety is bookkeeping the domain restrictions imposed by the square roots and the periodicity of the trigonometric functions.
In practice, the closed‑form antiderivative is valuable for:
* **Analytical work** (e.g., when the integral appears inside a larger expression that must be differentiated again).
* **Exact verification** of numerical schemes.
* **Pedagogical illustration** of the power of substitution and partial fractions.
But for everyday engineering calculations, a high‑precision numeric quadrature will often be the faster, more reliable choice.
---
**Conclusion**
We have taken the integral
\[
\int \sqrt{\tan x}\,dx
\]
from an intimidating mix of radicals and trigonometry to a transparent combination of logarithms and an arctangent, all by:
1. Substituting \(t=\sqrt{\tan x}\) to expose a rational structure.
2. Factoring the quartic denominator \(1+t^{4}\) into two quadratics.
3. Applying a clean partial‑fraction decomposition.
4. Integrating the resulting elementary fractions.
The method generalises to any rational power of \(\tan x\) whose denominator is even, and it highlights the timeless utility of algebraic manipulation in integral calculus. Whether you wield the closed‑form formula for symbolic work or rely on numeric integration for large‑scale computations, the underlying principle remains the same: **transform, factor, decompose, and integrate**. On the flip side, with that roadmap firmly in hand, the next “square‑root‑of‑tangent” problem will feel less like a roadblock and more like a well‑marked path. Happy integrating!
### 16. A Quick Check in the Computer Algebra System
Before we close, it is worth verifying that the antiderivative we derived indeed differentiates back to \(\sqrt{\tan x}\). Using a CAS such as *Mathematica* or *Maple*, one can simply type
```mathematica
F[x_] := (1/4) Log[1 + Sqrt[Tan[x]]^2] - (1/2) Log[1 - Sqrt[Tan[x]]^2] +
(1/(2 Sqrt[2])) ArcTan[Sqrt[2] Sqrt[Tan[x]]/(1 - Tan[x])];
D[F[x], x] // Simplify
and the output collapses to (\sqrt{\tan x}) (up to the usual domain‑dependent sign conventions). This quick sanity check reassures us that no algebraic slip slipped into the partial‑fraction algebra Easy to understand, harder to ignore. Took long enough..
17. A Few More “What If” Scenarios
| What if | Resulting Integral | Typical Technique |
|---|---|---|
| Replace (\tan x) by (\cot x) | (\int \sqrt{\cot x},dx) | Same substitution (t=\sqrt{\cot x}), but the rational factor becomes ((1+t^4)/(t^3(1+t^4))). |
| Use (\sqrt{\tan^3 x}) | (\int \tan^{3/2} x,dx) | Substitution (t=\sqrt{\tan x}) gives (t^3) in numerator; factor (1+t^4) remains. |
| Integrate (\sqrt{\tan x}\sec x) | (\int \sqrt{\tan x}\sec x,dx) | Let (u=\sqrt{\tan x}); differential (\frac{du}{dx}=\frac{\sec^2 x}{2\sqrt{\tan x}}) simplifies the integrand to a rational function in (u). |
These variations illustrate that the core idea—turning a trigonometric radical into a rational function of a single new variable—remains the same, even when the power or the accompanying trigonometric factor changes.
18. Final Thoughts
The adventure from the raw expression (\int \sqrt{\tan x},dx) to its elegant closed‑form is a microcosm of classical analysis:
- Identify a hidden structure (the quartic (1+t^4) lurking behind the square root).
- Unveil it with a clever substitution (setting (t=\sqrt{\tan x})).
- Exploit algebraic factorisation (splitting (1+t^4) into quadratics).
- Apply partial fractions to reduce the integrand to elementary pieces.
- Integrate each piece with standard logarithmic or arctangent primitives.
What emerges is a formula that is not only correct but also pedagogically rich: it shows how a seemingly intractable trigonometric integral can be tamed by algebra, and how centuries of mathematical insight (Gauss, Legendre, Euler) still inform modern problem‑solving.
Whether you are a student wrestling with a textbook exercise, a researcher needing an exact expression for a model, or an engineer verifying a numerical routine, the lesson is clear: look for a substitution that rationalises the integrand. Once that is done, the rest is a systematic application of algebraic tools you already know.
So the next time you encounter a square‑root‑of‑tangent (or any other radical trigonometric integrand), remember the steps above. With a little algebraic patience, the path from the integral sign to the final antiderivative will open up, and you’ll find that the “hard” integrals are often just a clever change of variables away from the familiar territory of rational functions.
Worth pausing on this one.