Contour Integral with Branch Cut

In summary, the conversation discusses a problem involving the integral of a complex function and the use of Mathematica to obtain numerical results. The speaker has noticed that taking the absolute value of the generally complex answer gives the correct result, and is seeking an explanation for this. The expert responds by identifying the most likely error and explaining that it is related to the use of branch values in the definition of the log function. The expert also provides a solution to the problem and offers a hint for the speaker to better understand the concept of branch cuts.
  • #1
cjellison
18
0
Hi, I've typed up my work. Please see the attached pdf.

Basically, I am trying to sovle this problem.

[tex]
\int_0^\infty \frac{x^\alpha}{x^2+b^2} \mathrm{d}x
[/tex]

for [itex]0 <\alpha < 1[/itex]. I follow the procedure given in Boas pg 608 (2nd edition)...and everything seems to work. However, when I check my results, with mathematica for various values of [itex]\alpha[/itex] and [itex]b[/itex], I get incorrect results.

Something I noticed: If I take the absolute value of my generally complex answer, I always get the correct (Mathematica) answer.

So, I would like someone to explain why this happens. What mistake have I made in my solution, and why doesn't this mistake effect Boas in her solution to:

[tex]
\int_0^\infty \frac{r^{p-1}}{1+r} \mathrm{d}r
[/tex]


Both problems are solved in the same way...yet her solution [itex] \pi / \sin(\pi p)[/itex] is valid and does not require you to take the absolute value of it.

Thanks so much.
 

Attachments

  • 2003practice.pdf
    34 KB · Views: 401
Physics news on Phys.org
  • #2
The most likely error is that somewhere you use a wrong branch.
The log you define has
0<=Im(log(z))<=2pi
the principle value has
-pi<=Im(log(z))<=pi
Mathematica uses principle values
remeber for your log
log(-i)=3pi*i/2
 
  • #3
So all shown work was right up to this the error comes after
[tex]I=i\pi\frac{[(ib)^{\alpha-1}+(-ib)^{\alpha-1}]}{1-e^{2\pi i \alpha}}[/tex]
Just recall that the powers are not principle values
[tex]I=\pi b^{\alpha-1}\frac{[(i)^{\alpha}-(-i)^{\alpha}]}{1-e^{2\pi i \alpha}}[/tex]
using -i=exp(3pi i/2) per nonprinciple roots
[tex]I=\pi b^{\alpha-1}\frac{exp(\frac{\pi\alpha i}{2})-exp(\frac{3\pi\alpha i}{2})}{1-exp(2\pi i \alpha)}=\frac{\pi}{2}b^{\alpha-1}\sec(\frac{\pi\alpha}{2})[/tex]
thus your answer agrees with mine which is
(pi/2)(b^(a-1))sec(pi a/2)
also a substitution u=(x/b)^2
reduces this integral to your other example.
 
Last edited:
  • #4
Thanks.

So the error was in the way I instructed Mathematica to obtain a numerical answer...yet another lesson that Mathematica must be used carefully.

Can you explain a little more about your comments with the log? I don't understand how that comes into play...since I wasn't using logs at all (at least, I was not aware of it). Does it come from:

[tex]
z^\alpha := e^{\alpha \log z}
[/itex]

Even so, why do we say that we are restricting [itex]\log z[/itex] to (0,2pi) rather than restricting z?
 
  • #5
I think I got it...we are trying to restrict our numbers between 0 and 2 pi...so the log z must be restricted to 0 and 2 pi (since alpha is less than 1).
 
  • #6
cjellison said:
Thanks.

So the error was in the way I instructed Mathematica to obtain a numerical answer...yet another lesson that Mathematica must be used carefully.

Can you explain a little more about your comments with the log? I don't understand how that comes into play...since I wasn't using logs at all (at least, I was not aware of it). Does it come from:

[tex]
z^\alpha := e^{\alpha \log z}
[/itex]

Even so, why do we say that we are restricting [itex]\log z[/itex] to (0,2pi) rather than restricting z?
yep that's it mathematica uses the principle value of log so
log(-i)=-pi/2
your log has
log(-i)=3pi/2
the log comes in indirectly as you showed through the raising to a power.
the restriction is really
[tex]\Im(\log(z))[/tex] to (0,2pi)
it just has to do with which branch of log is used
remeber that since mathematica used the principle branch you must convert before the calculation
 
  • #7
Thanks again. Sorry for so many questions...I'm still trying to get a handle on this...in my classes (physics) we learned contour integration without really discussing branch points.

So, is it still true that
[tex]
\cos \left( \frac{\pi a}{2}\right) = \frac{1}{2} \left( \mathrm{e}^{\mathrm{i} \pi a/2} + \mathrm{e}^{-\mathrm{i} \pi a/2} \right)
[/tex]

with my branch cut...it seems like the answer is no (since the minus sign puts the angle out of the range). It seems like it should become:


[tex]
\cos \left( \theta\right) = \frac{1}{2} \left( \mathrm{e}^{\mathrm{i} \theta} + \mathrm{e}^{\mathrm{i} (2\pi - \theta)}\right)
[/tex]

If so, then I am having "trouble" converting

[tex]
\frac{\exp(\frac{\pi\alpha i}{2})-\exp(\frac{3\pi\alpha i}{2})}{1-\exp(2\pi i \alpha)} = \frac{1}{2} \sec\left(\frac{\pi\alpha}{2}\right)
[/tex]

When I factor, I get an exponent which is negative...but this is not allowed (right?) since I must keep angles within (0,2pi). Can you comment on this and spell it out for me (a hint is fine too)?

I hope I don't slap myself after I see the responses to this.
 
  • #8
cjellison said:
So, is it still true that
[tex]
\cos \left( \frac{\pi a}{2}\right) = \frac{1}{2} \left( \mathrm{e}^{\mathrm{i} \pi a/2} + \mathrm{e}^{-\mathrm{i} \pi a/2} \right)
[/tex]

with my branch cut...it seems like the answer is no (since the minus sign puts the angle out of the range). It seems like it should become:

The answer is yes. Here you have cos in terms of exp. It is usual to retain the usual exp and let all the multibranch matters be delt with in the log. In any case in the above the correction was made in passing from
(-i)^a=exp(3pi*i*a/2) and the branch cut matters are now resolved

cjellison said:
If so, then I am having "trouble" converting

[tex]
\frac{\exp(\frac{\pi\alpha i}{2})-\exp(\frac{3\pi\alpha i}{2})}{1-\exp(2\pi i \alpha)} = \frac{1}{2} \sec\left(\frac{\pi\alpha}{2}\right)
[/tex]

When I factor, I get an exponent which is negative...but this is not allowed (right?) since I must keep angles within (0,2pi). Can you comment on this and spell it out for me (a hint is fine too)?

I hope I don't slap myself after I see the responses to this.
I tried to make clear that by this step we are back to principle values, and even if we were not we take exp to be single valued. Thus from this point we need not worry about branch cuts. A hint is to multiply the numerator and denominator of the left hand side by exp(-pi*alpha). Negative exponents are not a problem. This will give familar looking results since
2i*sin(z)=exp(i z)-exp(-i z)
some simple trig will then finish things
 
Last edited:

1. What is a contour integral with a branch cut?

A contour integral with a branch cut is a type of complex integral that involves integrating a function along a path that crosses a branch cut, which is a discontinuity in the function's values. This type of integral is often used in complex analysis to evaluate functions with multiple branches.

2. How is a branch cut related to a branch point?

A branch cut is a line or curve on the complex plane where a function is discontinuous. This is often associated with a branch point, which is a point on the complex plane where the function takes on multiple values. The branch cut is typically chosen to avoid the branch point and allow for a well-defined branch of the function.

3. What is the purpose of using a contour integral with a branch cut?

The purpose of using a contour integral with a branch cut is to evaluate functions that are not single-valued on the complex plane. By carefully choosing the path of integration to cross the branch cut, we can obtain a well-defined value for the integral. This is particularly useful when dealing with functions with multiple branches, such as logarithmic or trigonometric functions.

4. How is a contour integral with a branch cut calculated?

To calculate a contour integral with a branch cut, we first choose a path of integration that crosses the branch cut. Then, we break the integral into smaller segments, each of which can be evaluated using standard integration techniques. Finally, we combine the results from each segment to obtain the overall value of the integral.

5. What are some applications of contour integrals with branch cuts?

Contour integrals with branch cuts have various applications in mathematics and physics. They are commonly used in complex analysis to evaluate functions with multiple branches, such as the Riemann zeta function. In physics, they are used in the calculation of certain physical quantities, such as the Casimir energy. They are also used in the field of computational electromagnetics to calculate the electric and magnetic fields of objects with sharp edges or corners.

Similar threads

Replies
1
Views
908
Replies
1
Views
2K
Replies
3
Views
623
Replies
8
Views
400
  • Calculus
Replies
2
Views
2K
Replies
4
Views
725
Replies
2
Views
264
Replies
3
Views
3K
Replies
3
Views
1K
Replies
4
Views
321
Back
Top