$\int \left(\frac{3}{x} - \cos x\right) \mathrm{dx}$

Apr 12, 2018

$= 3 \ln \left(| x |\right) - \sin x + C$

Explanation:

$\int \left(\frac{3}{x} - \cos x\right) \mathrm{dx}$
$= 3 \ln \left(| x |\right) - \sin x + C$

(integral of cosx is sinx because derivative of sinx is cosx)

(add the $+ C$ because this is an indefinite integral