There is no rule that you must move constants in front of the integral sign.I have the following integral:
View attachment 31115
My question is that in the second line, r^2 is a constant. Why wasn't it taken out and moved before the integral sign along with 2pi? I understand that r^2-x^2 = y^2, but this seems to violate the rule of moving constants in front of the integral sign.