`int_1^2 (x/2 - 2/x) dx` Evaluate the integral

1 Answer

shumbm's profile pic

Borys Shumyatskiy | College Teacher | (Level 3) Associate Educator

Posted on

Hello!

First find the indefinite integral,

`int(x/(2)-2/x)dx=int(x/2)dx-int(2/x)dx=(x^2)/4-2ln(x).`

Then substitute x from 1 to 2:

`(2^2/4-2ln(2))-(1^2/4-2ln(1))=1-2ln(2)-1/4=3/4-2ln(2) approx -0.636.`