tahayassen said:
If we see the form \sqrt { { a }^{ 2 }-{ x }^{ 2 } }, we always set x=asinθ
How do we know that it will work in advance? Just trial & error?
The context here is integration using trig substitution. It's similar to ordinary substitution except that you are using a trig function.
Trig substitutions are used most often for the square roots of a sum of squares or a difference of squares. For ##\sqrt { a^2 - x^2 } ##, the idea is that you are using a right triangle with an acute angle θ. The hypotenuse is of length a, and the side opposite the acute angle is of length x. From these relationships, we get
sin θ = x/a, or x = a sin θ.
Taking differentials, we get dx = a cos θ dθ.
If the quantity under the radical is x
2 - a
2, label the hypotenuse as x and one of the other sides as a.
If the quantity under the radical is a
2 + x
2, label the legs of the triangle as a and x, and the hypotenuse as ##\sqrt{a^2 + x^2}##. With this arrangement, tan θ = x/a (assuming the side across from the angle is labelled x).