The integral of sinx is −cosx+C, and the integral of cosx is sinx+C.
∫sinxdx=−cosx+C,∫cosxdx=sinx+C
Read the derivative formulas backwards. Since cos differentiates to −sin,sin integrates to −cos. Since sin differentiates to cos,cos integrates to sin.
∫sinxdx=−cosx+C,∫cosxdx=sinx+C
The sign is the whole game: check by differentiating your answer.
Examples
01What is this?∫2cosxdxAnswerHide
Answer2sinx+C
Steps
cosx integrates to sinx, and a constant factor just comes along
f(x)=2sinxf′(x)=2cosx
Differentiating gets us back; no minus appears
02What goes in □?∫sinxdx=□cosx+CAnswerHide
Answer−1
Steps
cosx differentiates to −sinx, but we want +sinx, so put a minus in front
−(−sinx)=sinx
The two minus signs cancel, so □ is −1
03What is the value?∫02πsinxdxAnswerHide
Answer1
Steps
sinx integrates to −cosx; subtract the lower end from the upper
−cos2π−(−cos0)=0+1=1
04Which one gets a minus sign when integrated?AsinxBcosxCx1DexAnswerHide
Answersinx
Steps
Differentiating −cosx brings back sinx, so integrating sinx needs the minus
−(−sinx)=sinx
The others do not: cosx gives sinx,ex gives ex,x2 gives 3x3
05Find the value∫0π/3cosxdxAnswerHide
Answer23
06Integrate∫sinxdxAnswerHide
Answer−cosx+C
FAQ
QWhy does ∫sinxdx have a minus sign?
A
Because differentiating −cosx gives back sinx. Differentiating your answer to check it prevents sign mistakes.