Should I have multiplied by -2 below?
I'm confused about something here. Why aren't you writing this as:
That, at least, would get rid of the pesky negative sign. Also, I don't know where you are getting the "ln" from. This can be done using integration by parts:
So let and
Then
and
So
and
Thus
(Don't forget the integration constant!)
-Dan
A couple of tips about the LaTeX coding:
First, I don't know what the \displaystyle tag is supposed to do, but it doesn't seem to be doing anything on this Forum.
Also, if you want to write an exponent with more than one character, enclose the exponent in { }. Example:
(No { }.)
(With the { }.)
Hint: You can see how others have coded their LaTeX by quoting the post. You will see the coding in the quote box.
-Dan