Hey guys, I'm having trouble solving this definite integral. I'm doing work with polar equations and I was led to this: which I simplified to And, using the trig identity cos(x)^2 = (1 + cos(2x))/2, I got this Which then simplifies down to 0. But that is the wrong answer. I know for a fact that the answer is 8. Even Mathematica says the answer is 8. I'm pretty sure my problem lies in the step where I removed the square root, but I don't see what exactly I did wrong. Why is it wrong, and what can I do to evaluate this integral correctly? Thankyou to anyone who helps.