My goal is to integrate $$I = \int \sin(1-2x)\cos(1+2x)\mathrm dx.$$
First, I let $u = -x$ and $\mathrm du=-\mathrm dx,$ and note that $$I = -\int \sin(1+2u) \cos(1-2u)\mathrm du.$$
Next, I try to integrate $I = \int \sin(1-2x)\cos(1+2x)\mathrm dx$ by parts using $u = \sin(1-2x)$ and $\mathrm dv=\cos(1+2x)\mathrm dx,$ which gives $\mathrm du = -2\cos(1-2x)$ and $v=\frac{\sin(1+2x)}{2}$. So, $$I = \frac{\sin(1-2x)\sin(1+2x)}{2} - \int\frac{\sin(1+2x)}{2} (-2\cos(1-2x)) \mathrm dx\\= \frac{\sin(1-2x)\sin(1+2x)}{2} + \int\sin(1+2x)\cos(1-2x)\mathrm dx.$$
But $\int\sin(1+2x)\cos(1-2x)\mathrm dx = -I,$ so $$I= \frac{\sin(1-2x)\sin(1+2x)}{2} - I,$$ and so $$I = \frac{\sin(1-2x)\sin(1+2x)}{4} + C.$$
However, symbolab and and wolframalpha give different answers that don't seem to just differ by a constant. I'm having a hard time finding my mistake.
NO. What we have is $$\int\sin(1+2u)\cos(1-2u)\mathrm du = -I$$ and it is NOT equal to the previous integral. Actually, we have $$\int\sin(1+2u)\cos(1-2u)\mathrm du =\int\sin(1-2x)\cos(1+2x)\mathrm dx$$
The variables $u$ and $x$ can be interchanged freely for definite integrals, as long as the limits of integration remain the same; i.e. $$\int_{x=a}^b\sin(1+2x)\cos(1-2x)\mathrm dx=\int_{u=a}^b\sin(1+2u)\cos(1-2u)\mathrm du.$$