The left side requires cos2x=2cos2x−1 and right side is in the form f′(y)ef(y). It may be a good time to say that abc=a(bc)=(ab)c
LHS=∫(21cos2x+21)dx=41sin2x+21x+C
RHS=∫(dydey⋅eey)dy=eey+D
The general solution is
41sin2x+21x=eey+E
where C,D,E are constants, you could also use C1,C2,C3 but it gets messy under time pressure. It’s entirely acceptable to make up new constants, as opposed to propagating them. Though constants of integration aren’t always added, as we’ll see in integrating factor.
We are not done yet. It passes through (π,0), so
41sin(2π)+21(π)0+2π2π−e=ee0+E=e1+E=E
Final answer:
41sin2x+2x=eey+2π−e■
The original markscheme accepted equivalent forms, though often it will ask you to evaluate it at a particular value of x, just to make the grading easier.