Solution:
Concept: When dxdy is a function of x only, y=∫f(x)dx+c. We split the integral into I1=∫xsin2xdx (by parts) and I2=∫xlogxdx (by substitution). The second term needs x>0, x=1.
Step 1 — Write y as an integral.
We move xsin2x to the right, multiply by dx and integrate.
dxdy=xsin2x+xlogx1
y=I1+I2
Step 2 — Rewrite sin2x in I1.
We use sin2x=21−cos2x, so the integral splits into an easy part and a by-parts part.
I1=21∫xdx−21∫xcos2xdx
Step 3 — Integrate xcos2x by parts.
We take x as the first function and cos2x as the second.
∫xcos2xdx=2xsin2x−∫2sin2xdx
=2xsin2x+4cos2x
Step 4 — Finish I1.
We put this result back and multiply by 21.
I1=4x2−4xsin2x−8cos2x
Step 5 — Find I2.
We put logx=t, so xdx=dt.
I2=∫tdt
=log∣logx∣
Step 6 — Add the parts.
We add I1, I2 and one arbitrary constant c.
y=4x2−4xsin2x−8cos2x+log∣logx∣+c
Therefore, y=4x2−4xsin2x−8cos2x+log∣logx∣+c, for x>0, x=1.