Math Is Fun Forum

  Discussion about math, puzzles, games and fun.   Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ • π ƒ -¹ ² ³ °

You are not logged in.

#1 2013-06-12 13:57:26

Au101
Member
Registered: 2010-12-01
Posts: 353

Integration by substitution and natural logarithms

Hello again smile

I've been doing a bit of practice of integration by substitution and it was all going very well until I got to a question involving the natural logarithm and I got a bit stuck because it's been rather a long time...Anyway, i'm complaining again tongue Here's the question:

Well, this one wasn't that easy, but my working so far (which I think is on the right track, but maybe here's where my problem is after all) goes like this:

From which I get:

But the fact that I can't get the correct answer from here and that wolfram alpha tells me that:

Rather makes me suspect that I'm wrong about this tongue I'm sure it must have something to do with the fact that the natural logarithm isn't defined for z ≤ 0, but i just can't seem to work out why this is the correct answer and my textbook disperses it's calculus over the course of the book just a bit so it's not that easy to find this information, at least not without starting from page one and working through to the very end tongue

Last edited by Au101 (2013-06-12 14:00:07)

Offline

#2 2013-06-12 14:27:53

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Integration by substitution and natural logarithms

Hi;


Did you differentiate your answer and Wolframs?

I got

for both. Not worrying about the 1 / 2.


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#3 2013-06-12 14:51:30

Au101
Member
Registered: 2010-12-01
Posts: 353

Re: Integration by substitution and natural logarithms

I hadn't, but having done so, my answer:

Gives me:

And wolfram's gives:

Which, surely, is equivalent to:

Last edited by Au101 (2013-06-12 14:51:59)

Offline

#4 2013-06-12 14:52:32

Au101
Member
Registered: 2010-12-01
Posts: 353

Re: Integration by substitution and natural logarithms

Sorry bobbym, yes, i agree, i get the same for both.

Offline

#5 2013-06-12 14:56:18

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Integration by substitution and natural logarithms

An antiderivative is a class of functions, there can be more than one. In definite integration it all gets absorbed into the constant of integration. This is how I understand it.

Use your answer and working. Mathematica uses different algorithms than we use by hand. There will sometimes be differences.


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#6 2013-06-12 15:04:29

Au101
Member
Registered: 2010-12-01
Posts: 353

Re: Integration by substitution and natural logarithms

Okay, thanks a lot bobbym, i'll give it a try in the morning, perhaps i just made a mistake when i put:

Back into the equation, which is why I couldn't get the answer which the book has:

Offline

#7 2013-06-12 15:08:58

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Integration by substitution and natural logarithms

Hi;

When I differentiate that book answer it is correct. I check integrations by differentiating, use Wolfram if you need to. You could also use it to check every step of your solution.


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#8 2013-06-12 15:27:21

Au101
Member
Registered: 2010-12-01
Posts: 353

Re: Integration by substitution and natural logarithms

Hmmm...that's what i was trying to do, well, I really need to get off to bed, but for what it's worth, our old friend Wolfram gives, as its answer to

This:

Which I can get from my answer, so I guess it's just a question of laws of logs, I don't suppose anyone has any ideas?

Last edited by Au101 (2013-06-12 15:28:10)

Offline

#9 2013-06-12 15:31:53

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Integration by substitution and natural logarithms

They are all antiderivatives of that integrand. This can be proven by differentiation. I would do it the way you did.


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#10 2013-06-12 19:18:27

Bob
Administrator
Registered: 2010-06-20
Posts: 10,011

Re: Integration by substitution and natural logarithms

hi Au101

you wrote:

the natural logarithm isn't defined for z ≤ 0

Strictly, it is the expression within the log that isn't defined (eg. 1-z)  And log has been extended into complex numbers to allow for the log of a negative.  This is just as well in view of what I do below.  smile

Your expression and Wolfram's are the same except for a constant:


This may seem strange but (i) you are right to think it's all down to the laws of logs and (ii) logs still obey those laws even for values that are undefined in real numbers.  dizzy

For example

even though you might think those negative logs shouldn't 'exist'.  smile

And all this means that your first answer is correct.  smile smile

Bob


Children are not defined by school ...........The Fonz
You cannot teach a man anything;  you can only help him find it within himself..........Galileo Galilei
Sometimes I deliberately make mistakes, just to test you!  …………….Bob smile

Online

#11 2013-06-13 00:44:21

Au101
Member
Registered: 2010-12-01
Posts: 353

Re: Integration by substitution and natural logarithms

Thank you very much to both bobs, tehe, I only wonder if anybody knows how:

Could have been obtained. If only out of interest

Offline

#12 2013-06-13 02:18:14

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Integration by substitution and natural logarithms

I think those two answers are algebraically equal.


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#13 2013-06-13 02:26:29

Au101
Member
Registered: 2010-12-01
Posts: 353

Re: Integration by substitution and natural logarithms

i think you're right, thank you very much bobbym smile

Offline

#14 2013-06-13 02:27:47

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Integration by substitution and natural logarithms

Hi;

I filled in post #12 with the proof.


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#15 2013-06-15 07:38:51

zetafunc.
Guest

Re: Integration by substitution and natural logarithms

Au101 wrote:

As an aside, you can speed up the partial fractions bit by noting that

in other words, whenever the products in the denominator differ by one, you can do this. In general;

with x ≠ -a,-b and a ≠ b.

Board footer

Powered by FluxBB