What Mistakes Are in My Integral Calculations?

Physicsrapper
Messages
24
Reaction score
0
Find the value of the integral:
a) ∫0π(sinx + 2)dx

Formula I found:
integral.gif
sin x dx = -cos x + C

My calculation: F(x) = -cosx + 2x
=> (-cosπ + 2π)-(-cos0) = -1 + 2π + 1 = 2π , but the solution should be 2π +2

b) ∫0sin(x/2)dx

My calculation: F(x) = -cosx/2
=> -cosπ + cos0 = 0 ; but the solution should be 4

What did I wrong in those equations? Can anyone help?
 
Physics news on Phys.org
sin x + 2 ≠ sin x

You can't pretend the 2 doesn't exist and then ignore it when you integrate.
 
Take care: cos(0)=1, cos(pi)=-1
 
Physicsrapper said:
Find the value of the integral:
a) ∫0π(sinx + 2)dx

Formula I found:
integral.gif
sin x dx = -cos x + C

My calculation: F(x) = -cosx + 2x
=> (-cosπ + 2π)-(-cos0) = -1 + 2π + 1 = 2π , but the solution should be 2π +2

-\cos\pi = -(-1) = 1.

b) ∫0sin(x/2)dx

My calculation: F(x) = -cosx/2
=> -cosπ + cos0 = 0 ; but the solution should be 4

What did I wrong in those equations? Can anyone help?

The integral of \sin(x/2) is -2\cos(x/2) + C.
 

Similar threads

Back
Top