A method that's equivalent to Kirill's integration by parts is to take the derivative of this integral equation, turning it into a differential equation:
∫ f(x) sinx dx = -f(x)cosx + ∫ 3x² cosx dx
f(x) sinx = -f'(x)cosx + f(x)sinx + 3x² cosx
0 = -f'(x)cosx + 3x² cosx
f'(x) = 3x²
f(x) = x³ + C.
Sun K.
01/08/14