Hi all,
I am stuck on trying to find
Unique solutions don't care how you find them. Good work, excepting the factor of 2 you missed.
Wonderful exercise: If you do it with the trig substitution, you get the sine, but squared. Can you demonstrate that BOTH are correct?
Hint: There's something about the solution of an indefinite integral that you probably think very little about that makes a difference.
Before using the excellent hint above try using the substitution u =(2x + pi/4). It's not mandatory to make this substitution but I've always told my students to let the angle equal U, unless the angle is just x or just t, etc or if there are two angles in the integrand (like your) and they are different angles (unlike yours). This make the integral look much nicer and gives you a better chance to see that the hint above is one way to go.
Good luck
Steven