Key idea: The numerator sinx+cosx is the derivative of sinx−cosx, and (sinx−cosx)2=1−sin2x; so the substitution t=sinx−cosx works, and it leads to the special form ∫a2−t2dt, whose value is sin−1at.
Step 1 — Choose the substitution.
Put t=sinx−cosx, so dt=(cosx+sinx)dx.
Step 2 — Express sin 2x in terms of t.
We square t and use sin2x+cos2x=1.
t2=sin2x+cos2x−2sinxcosx
t2=1−sin2x
sin2x=1−t2
Step 3 — Rewrite the expression under the root.
We substitute sin2x=1−t2.
9+16sin2x=9+16(1−t2)
9+16sin2x=25−16t2
So the integral becomes I=∫25−16t2dt.
The integrand is defined only where 9+16sin2x>0, that is, where 16t2<25. Then 54t<1, so the inverse sine used below is defined.
Step 4 — Bring it to the special form.
We take 16 out of the root, so that the coefficient of t2 is 1.
I=∫41625−t2dt
I=41∫(45)2−t2dt
Step 5 — Integrate.
We use the special form with a=45. Dividing t by 45 gives 54t inside the inverse sine.