a) \(f\left(x\right)=\sin^3x.\sin3x=\sin3x\left(\frac{3\sin x-\sin3x}{4}\right)=\frac{3}{4}\sin3x.\sin x-\frac{1}{4}\sin^23x\)
= \(\frac{3}{8}\left(\cos2x-\cos4x\right)-\frac{1}{8}\left(1-\cos6x\right)=\frac{3}{8}\cos2x+\frac{1}{8}\cos6x-\frac{3}{8}\cos4x-\frac{1}{8}\)
Do đó :
\(I=\int f\left(x\right)dx=\int\left(\frac{3}{8}\cos2x+\frac{1}{8}\cos6x-\frac{3}{8}\cos4x-\frac{1}{8}\right)dx=\frac{3}{16}\sin2x+\frac{1}{48}\sin6x-\frac{3}{32}\sin4x-\frac{1}{8}x+C\)
b) Ta biến đổi :
\(f\left(x\right)=\sin^3x.\cos3x+\cos^3x.\sin3x=\cos3x\left(\frac{3\sin x-\sin3x}{4}\right)+\sin3x\left(\frac{\cos3x+3\cos x}{4}\right)\)
\(=\frac{3}{4}\left(\cos3x\sin x+\sin3x\cos x\right)=\frac{3}{4}\sin4x\)
Do đó : \(I=\int f\left(x\right)dx=\frac{3}{4}\int\sin4xdx=-\frac{3}{16}\cos4x+C\)