I am taking the integral of a function that contains a discontinuity. So in order to do that, I first take the integral from 0 to 1, and from 1 to 2 and add the two integrals. Here's my problem: the function, once integrated, is ln|(x-1)|+x. So I have [ ln|(1-1)|+1 ] - [ ln|(0-1)|+0 .

ln(0) is - infinity? How do I evaluate the definite integral?