You are Here: Home >< Maths

# ∫ arctan x watch

1. I just derived the integral of atan x in two different ways [by parts and by considering it as (log(1+ix)-log(1-ix))/(2i)], and after a bit of fiddling about got the same result, but there was a +1 in there when I did it using logarithms. I checked it on Wolfram, using atan x itself and its equivalent, and it came up with the same.
I know it doesn't really matter given that you're either going to add a constant anyway or it'll dissappear upon applying limits, but it bugged me. Can anyone explain why this is, or is it just a case of "that's just the way it is; don't worry about it"?
2. Nothing is ever a case of "that's just the way it is". Unfortunately, I don't know what you're talking about. When you integrate, try adding an arbitrary constant, and then set x equal to some specific value to work out that constant. Sounds like it might fix your problem.
3. the a + 1 is just part of the arbitary constant.
4. For clarification, this is what I did:

By parts

Using logs

But you could alternatively say that:

So

The two methods give the same result, except for the strange 1.
5. (Original post by matt2k8)
the a + 1 is just part of the arbitary constant.
I know, but why does it appear with one method and not the other?
7. (Original post by cconstant)
8. (Original post by meatball893)
I know, but why does it appear with one method and not the other?
If is an arbitrary constant, then is also an arbitrary constant, so it's still an arbitrary constant; the 1 doesn't matter (it emerged by using a different method). You could just as well let , where is an arbitrary constant, and then the two results are equivalent.
9. I thought it had something to do with satan too.
10. I know it doesn't matter but it just seems strange that there's a +1 in one and not in the other. Oh well.
11. A discussion about satan? In the maths forum?
13. (Original post by meatball893)
For clarification, this is what I did:

By parts

Using logs

But you could alternatively say that:

So

The two methods give the same result, except for the strange 1.
The constant C is just a number. So the C you achieved by substitution is +1 greater than the C you achieved by logs. So in fact the C+1 in your answer by logs can just go to C as it is again just a number.
14. I know it's just a constant, but when I did the two methods I fully expected them to come out with exactly the same result, and so when I saw a 1 it threw me. Don't know why.
15. (Original post by meatball893)
I know it's just a constant, but when I did the two methods I fully expected them to come out with exactly the same result, and so when I saw a 1 it threw me. Don't know why.
There is no need for it to throw you. C is just a number and all it means that the C in one method is not the same as the C in the other method(differing by 1) Thats all. I had to explain that to my maths teacher before, as the same occurred integrating something else, and caused quite a bit of confusion
16. It threw me too when I saw it. It appears more when integrating by parts because you get more than one term automatically.

For another example where it crops up, which should convince you that +C really can change absolutely as needed, try integrating ∫1/x dx by parts as x and x^-2.

Spoiler:
Show
∫1/x dx = ∫1/x dx +1 = ∫1/x dx +2 = ...

(=lnx +C)
17. Yes they are the same thing but he's asking does anyone know WHY that happens ?
18. (Original post by spex)
Yes they are the same thing but he's asking does anyone know WHY that happens ?
By parts, you put off adding the constant until right at the end. With the other method, you do the actual integration more or less straight away, and if you follow it you'll find that the 1 comes from writing as and the subsequent substitutions.

Take this as another example:

The differences occur in the method you use to get to the answer. It's not strange, and I can't understand why it would throw you.

### Related university courses

TSR Support Team

We have a brilliant team of more than 60 Support Team members looking after discussions on The Student Room, helping to make it a fun, safe and useful place to hang out.

This forum is supported by:
Updated: August 9, 2009
Today on TSR

### He lied about his age

Thought he was 19... really he's 14

### University open days

Wed, 25 Jul '18
2. University of Buckingham
Wed, 25 Jul '18
3. Bournemouth University
Wed, 1 Aug '18
Poll
Useful resources

### Maths Forum posting guidelines

Not sure where to post? Read the updated guidelines here

### How to use LaTex

Writing equations the easy way

### Study habits of A* students

Top tips from students who have already aced their exams