I just got back from a Calc II test.

There was one question which seemed bizarre; I copied it down and searched the textbook but couldn't find a match.

It's the integral from [0,2] of x^2 + x^-1 + 3^x. (We solve by the Fundamental Theorem of Calculus).

Am I correct in saying that the integral of x^-1 is ln|x|?

If I am, then the resulting evaluation for 0 gives me an undefined answer, correct?