# Help with integral

1. Oct 7, 2008

### epkid08

I really have no idea how to do this, please show some steps.

$$\int arg(x^{ix} + x^{-ix}) dx$$

2. Oct 7, 2008

### Dick

If x is real the exp(ix)+exp(-ix) is real. Why? What is arg of a real number? Are you sure that's the whole problem?

3. Oct 7, 2008

### epkid08

I'm pretty sure that when x is real, the inside does not necessarily equal a real number. I'm looking at the graph right now and y = arg(...) is not zero, and also this isn't homework.

4. Oct 7, 2008

### Dick

Hmm. Ok, what is x? Do they give you a contour to integrate along? It's pretty tricky to define the general complex power of a complex number.