Trigonometric Substitution

Making a square root vanish by deciding in advance that x is a sine, a tangent or a secant.