Determing if a function with integral within it is even/odd

  • Thread starter Thread starter mr.tea
  • Start date Start date
  • Tags Tags
    Function Integral
mr.tea
Messages
101
Reaction score
12

Homework Statement


Determine if the function is even/odd/neither without solving the integral

Homework Equations


f(x)=\arctan (x)-2\int_0 ^x{\frac{1}{(1+t^2)^2}}

The Attempt at a Solution


I tried to do f(-x)-f(x). I know that if f is odd, I should get -2f(x) and if even, 0. I got that f is odd(-2f(x)), but I don't know if this is a correct answer, since wolfram alpha says that this is not an odd function. I didn't assume anything on the function while checking this. I am a bit confused.
Is there any way to check things like that?

Thank you,
Thomas
 
Physics news on Phys.org
When the limits of the integration are 0 to x, the integral of an even function is odd and the integral of an odd function is even.
Look at each term in the equation. If each part is even, then the whole thing is even. Same with odd. But if you add an even and odd function (that are not 0) then you get neither.
 
  • Like
Likes mr.tea
First you know that arctan(x) is an odd function, right? Further, making the change of variable, u= -t in the integral, so that dt= -du
\int_0^x \frac{dt}{(1+ t^2)^2}
becomes
\int_0^{-x}\frac{-du}{(1+ (-u)^2)^2}= -\int_0^{-x} \frac{du}{(1+ u^2)^2}
changing the "dummy variable", u, in that integral to t,
\int_0^x \frac{dt}{(1+ t^2)^2}= -\int_0^{-x} \frac{dt}{(1+ t^2)^2}
 
  • Like
Likes mr.tea
Khashishi said:
When the limits of the integration are 0 to x, the integral of an even function is odd and the integral of an odd function is even.
Look at each term in the equation. If each part is even, then the whole thing is even. Same with odd. But if you add an even and odd function (that are not 0) then you get neither.

Hi,
First, thank you for the answer.
How do we know that the integral of an odd function is even and the same with even function? Maybe I will try to prove it, but expect to a question about that :)

Second, since the integrand is even, that means(according to you, but I am still not convinced about it) that the integral is odd. And since arctan is odd, that means that the whole function is odd. Right?
 
mr.tea said:
Hi,
First, thank you for the answer.
How do we know that the integral of an odd function is even and the same with even function? Maybe I will try to prove it, but expect to a question about that :)

Second, since the integrand is even, that means(according to you, but I am still not convinced about it) that the integral is odd. And since arctan is odd, that means that the whole function is odd. Right?

HoI essentially just answered your question in #4. He did it for the particular function, but you could write out the proof again for integral of any function f which satisfies the condition of evenness which you should write out. The key point which you may have missed in the detail is, and may even disbelieve till you think about it :oldsmile: is, to say it crudely

ab = - ∫ba
 
HallsofIvy said:
First you know that arctan(x) is an odd function, right? Further, making the change of variable, u= -t in the integral, so that dt= -du
\int_0^x \frac{dt}{(1+ t^2)^2}
becomes
\int_0^{-x}\frac{-du}{(1+ (-u)^2)^2}= -\int_0^{-x} \frac{du}{(1+ u^2)^2}
changing the "dummy variable", u, in that integral to t,
\int_0^x \frac{dt}{(1+ t^2)^2}= -\int_0^{-x} \frac{dt}{(1+ t^2)^2}

Thank you. I did something similar with the function but without changing the variable.

epenguin said:
HoI essentially just answered your question in #4. He did it for the particular function, but you could write out the proof again for integral of any function f which satisfies the condition of evenness which you should write out. The key point which you may have missed in the detail is, and may even disbelieve till you think about it :oldsmile: is, to say it crudely

ab = - ∫ba

As I said to HallsofIvy, I did the same thing. I just assumed that without loss of generality, x is positive then -x is negative and you flip the limits of the integral and you add minus.

I cannot see those things/"proofs" in my head without write them. That might be the reason I was( well, and still a bit) sceptical(Well, I am studying mathematics, I guess I should be sceptical).

So, I understand that my answer is correct :)

Thank you all.
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top