Solution:
Key idea: We first lower the power with sin2θ=21−cos2θ, so sin23x=21−cos6x. Then we integrate xcos6x by parts, ∫uvdx=u∫vdx−∫(dxdu∫vdx)dx.
Step 1 — Lower the power and split.
We replace sin23x and split the integral into two.
I=∫x⋅21−cos6xdx
I=21∫xdx−21∫xcos6xdx
I=4x2−21∫xcos6xdx
Step 2 — Integrate xcos6x by parts.
We take u=x and v=cos6x, so dxdu=1 and ∫cos6xdx=6sin6x.
∫xcos6xdx=6xsin6x−∫6sin6xdx
∫xcos6xdx=6xsin6x+36cos6x
Step 3 — Combine.
We multiply the result of Step 2 by −21 and add the constant.
I=4x2−12xsin6x−72cos6x+C
Therefore, ∫xsin23xdx=41x2−121xsin6x−721cos6x+C.