Concept of contour integration and integration along a square

In summary, contour integration involves integrating along a curve instead of the real axis, requiring parametrization. Common shapes used for integration include squares, rectangles, circles, semi-circles, and key-holes. Infinite series can also be solved using contour integration, but this requires an understanding of concepts like residues, Laurent expansion, and Cauchy integral formula. To evaluate an integral from $-\infty$ to $+\infty$, a closed circular contour is used and the integral along the whole curve can be solved using the theory of residues. There are infinitely many parametrizations for a single function, and the solution can also be found using complex numbers by using the fact that $|z| = \sqrt{x^2+y^
  • #1
Amad27
412
1
Hello,

My question is, there is a concept of contour integration. Which is choosing a circular contour space sort of, and integrating along that.

How do you do contour integration?

Secondly, there is something going around called integrating along a square. I tried searching only, a lot, will anybody mind explaining this to me?

Also, what would it mean to integrate along an infinite square?

Thanks a lot =)

How is it possible to evaluate a series using complex methods?
 
Physics news on Phys.org
  • #2
You have to go through complex analysis first. I will give you a brief description.

Contour integration means that we are integrating a long a curve not along the real axis as we do with the usual integration. This requires Parametrization to be done in the first place.

There are common shapes that you integrate along to solve many integrals. For example , square , rectangle , circle , semi-circle , key-hole etc .. .

You can solve infinite series using contour integration but that requires an understanding many concepts like residues , Laurent expansion and Cauchy integral formula.
 
  • #3
ZaidAlyafey said:
You have to go through complex analysis first. I will give you a brief description.

Contour integration means that we are integrating a long a curve not along the real axis as we do with the usual integration. This requires Parametrization to be done in the first place.

There are common shapes that you integrate along to solve many integrals. For example , square , rectangle , circle , semi-circle , key-hole etc .. .

You can solve infinite series using contour integration but that requires an understanding many concepts like residues , Laurent expansion and Cauchy integral formula.

Okay.

But, how do you convert an integral from $-\infty$ to $+\infty$ to a closed circular contour?

How can the contour represent the whole interval from $-\infty$ to $\infty$

Also, what does it mean for an integral to vanish, and then it's residue sum $=0$?

Thanks ;D
 
  • #4
Ok , I will try to explain the idea.

Suppose that you want to find a certain integral

$$\int^{\infty}_{-\infty} f(x) \,dx$$

The integral might be difficult to solve using real methods.

Assume that if we integrated the function $f$ along a closed curve we get a finite value.

For example if we integrate the function $f$ on the semi-circle below

View attachment 3525

Assume ,first, that the integral along the whole semi-circle is finite. The diameter of the circle (on the x-axis) is the integral we have to evaluate by taking $R \to \infty$. It remains to evaluate the integral along the curved part. Sometimes it is easy and evaluates to 0.

Integration Along the whole semi-circle = Integration along the diameter + Integration along the curved part = Integration along the diameter.

So we can write it as

$$\int^\infty_{-\infty} f(x) \,dx = \text{ Integration along the whole curve}$$

To evaluate the integration along the whole curve we have to use Residue theorem.
 

Attachments

  • IntegralsTrigImproperMod_gr_492.gif
    IntegralsTrigImproperMod_gr_492.gif
    1.4 KB · Views: 82
  • #5
... Also, can you also help me through some complex analysis, and contour integration? I am quite interested, but I don't have means to learn it except MHB. Help will be appreciated! =)

You asked this question on the other thread. First , you need an introduction to complex numbers , if you haven't already studied it , you can take a look at this http://classes.soe.ucsc.edu/ams010/Spring11/complex_numbers_intro.pdf.
 
  • #6
ZaidAlyafey said:
You asked this question on the other thread. First , you need an introduction to complex numbers , if you haven't already studied it , you can take a look at this http://classes.soe.ucsc.edu/ams010/Spring11/complex_numbers_intro.pdf.

I have studied complex numbers, De Movire, Euler's Formula, etc.. before, but just not complex integration, which is by far the most interesting.

But why do you integrate along the whole curve?

The whole diameter is already from $-\infty \to \infty$ then why is the curved part needed??
 
  • #7
Olok said:
I have studied complex numbers, De Movire, Euler's Formula, etc.. before, but just not complex integration, which is by far the most interesting.

Ok, let us then start with parameterization of curves. We know that the equation of circle is $x^2+y^2 = r^2$

How can I write it in terms of just one variable $t$.

But why do you integrate along the whole curve?

The whole diameter is already from $-\infty \to \infty$ then why is the curved part needed??

I will use symbols

$I_{\text{whole curve}} = I_{1}+I_{2} +\cdots +I_{n}$

It reads "The integration along the whole curve is equal to the integration of the sectors that form the whole curve".

Suppose we want to find $I_n$ and we can prove that $I_1 = I_2 = \cdots =I_{n-1} =0$ then

$I_{n} = I_{\text{whole curve}} $

We can find $I_{\text{whole curve}}$ using theory of residues.
 
  • #8
ZaidAlyafey said:
Ok, let us then start with parameterization of curves. We know that the equation of circle is $x^2+y^2 = r^2$

How can I write it in terms of just one variable $t$.
I will use symbols

$I_{\text{whole curve}} = I_{1}+I_{2} +\cdots +I_{n}$

It reads "The integration along the whole curve is equal to the integration of the sectors that form the whole curve".

Suppose we want to find $I_n$ and we can prove that $I_1 = I_2 = \cdots =I_{n-1} =0$ then

$I_{n} = I_{\text{whole curve}} $

We can find $I_{\text{whole curve}}$ using theory of residues.

There are infinitely many parametrizations for a single function.

$$x^2 + y^2 = r^2$$
$$y = \pm\sqrt{r^2 - x^2}$$

Let $x = \frac{t}{n}$ where $n \ge 1$

But from what I read you subtract the CURVE. So

$P = curve + diamater$

The integral on the entire real axis, negative infinity to infinity is

$I = P - Curve$

??
 
  • #9
Olok said:
There are infinitely many parametrizations for a single function.

$$x^2 + y^2 = r^2$$
$$y = \pm\sqrt{r^2 - x^2}$$

Let $x = \frac{t}{n}$ where $n \ge 1$

I want the solution using complex numbers. You can use the fact that

$|z| = \sqrt{x^2+y^2}$

But from what I read you subtract the CURVE. So

$P = curve + diamater$

The integral on the entire real axis, negative infinity to infinity is

$I = P - Curve$

??
Yes , Now if we can prove that Curve=0 then it remains to evaluate $P$.
 
  • #10
ZaidAlyafey said:
I want the solution using complex numbers. You can use the fact that

$|z| = \sqrt{x^2+y^2}$

Now you have me stumped.

What this means is that:

$|z| = \sqrt{x^2+y^2} = r^2$

$a + bi = \cos(\theta) + i\sin(\theta)$

I am not quite sure.

How do you parametrize something with complex numbers?
 
  • #11
Olok said:
Now you have me stumped.

What this means is that:

$|z| = \sqrt{x^2+y^2} = r^2$

$a + bi = \cos(\theta) + i\sin(\theta)$

I am not quite sure.

How do you parametrize something with complex numbers?

We know that we can write any complex number using the form

$$z = \sigma e^{i\theta}$$

Hence we have $|z|=\sigma$

So the definition of the circle is $x^2+y^2 = r^2$

$$|z| = \sqrt{x^2+y^2}=r $$

Hence we have

$$z = re^{i\theta} $$

So if $r=1$ the unit circle can be written as

$$z=e^{i\theta}$$

Now we want to parametrize the circle of radius 2 and centre (0,1). How can we do that ?
 
  • #12
ZaidAlyafey said:
We know that we can write any complex number using the form

$$z = \sigma e^{i\theta}$$

Hence we have $|z|=\sigma$

So the definition of the circle is $x^2+y^2 = r^2$

$$|z| = \sqrt{x^2+y^2}=r $$

Hence we have

$$z = re^{i\theta} $$

So if $r=1$ the unit circle can be written as

$$z=e^{i\theta}$$

Now we want to parametrize the circle of radius 2 and centre (0,1). How can we do that ?

I don't understand a few things.

How is $|z| = \sigma$?

If $z = \sigma e^{i\theta}$ then

$\sigma e^{i\theta} = \sigma\cos(\theta) + i\sigma \sin(\theta)$
$|\sigma e^{i\theta}| = |\sigma\cos(\theta) + i\sigma\sin(\theta)| = |\sigma (a) + \sigma (b)(i) = \sigma\cdot\sqrt{a^2 + b^2}$

So your assumption is that $a,b = 1$? But why?
 
  • #13
Olok said:
I don't understand a few things.

How is $|z| = \sigma$?

If $z = \sigma e^{i\theta}$ then

$\sigma e^{i\theta} = \sigma\cos(\theta) + i\sigma \sin(\theta)$
$|\sigma e^{i\theta}| = |\sigma\cos(\theta) + i\sigma\sin(\theta)| = |\sigma (a) + \sigma (b)(i) = \sigma\cdot\sqrt{a^2 + b^2}$

So your assumption is that $a,b = 1$? But why?

No , use the equality

$$\sqrt{\sin^2+\cos^2 } = 1$$
 
  • #14
ZaidAlyafey said:
No , use the equality

$$\sqrt{\sin^2+\cos^2 } = 1$$

Actually, I think there's a simpler way.

$|z| = \sqrt{x^2 + y^2} = r$

$\sigma |z| = r\sigma$

Is that the result we are looking for?
 
  • #15
Olok said:
Actually, I think there's a simpler way.

$|z| = \sqrt{x^2 + y^2} = r$

$\sigma |z| = r\sigma$

Is that the result we are looking for?

No, we want to find the parametrization of circle. We want to prove that

$$z = e^{it}$$

is a parametrization of the unit circle. By taking the absolute value

$|z| = 1$

hence that represents all points on the plain that are of the same distance =1 from the origin. This is actually the definition of circle.

I suggest you review complex numbers before continuing the discussion.
 
  • #16
ZaidAlyafey said:
No, we want to find the parametrization of circle. We want to prove that

$$z = e^{it}$$

is a parametrization of the unit circle. By taking the absolute value

$|z| = 1$

hence that represents all points on the plain that are of the same distance =1 from the origin. This is actually the definition of circle.

I suggest you review complex numbers before continuing the discussion.
I though you wanted it for a general radius?

So I am confused, what am I supposed to parametrize?
 
  • #17
I am just providing an example to make it easier. The question is find the parametrization of the circle of radius $r$ and centre (0,0).
 
  • #18
ZaidAlyafey said:
I am just providing an example to make it easier. The question is find the parametrization of the circle of radius $r$ and centre (0,0).

I think we should do what we did for the other thread.

Can you perhaps show me step-by-step for radius $1$ ? I can then try radius $r$ by myself??
 
  • #19
Any complex number can be written using

$$z = x+iy= \sigma e^{i\theta}$$

where $|z|= \sigma = \sqrt{x^2+y^2} $

Now, for the unit circle we know that $x^2+y^2 = 1$. This can be written as $ \sqrt{x^2+y^2} = 1$. So $\sigma = 1 $. Hence the unit circle can be written as

$$z = e^{i\theta} $$
 
  • #20
ZaidAlyafey said:
Any complex number can be written using

$$z = x+iy= \sigma e^{i\theta}$$

where $|z|= \sigma = \sqrt{x^2+y^2} $

Now, for the unit circle we know that $x^2+y^2 = 1$. This can be written as $ \sqrt{x^2+y^2} = 1$. So $\sigma = 1 $. Hence the unit circle can be written as

$$z = e^{i\theta} $$

I still have the same question.

How is $|z| = \sigma$?

Because it is the "hypotenuse" of the right triangle?
 
  • #21
$$|z| = |\sigma||e^{i\theta}| = \sigma |\sin \theta +i\cos \theta | = \sigma\sqrt{\cos^2 \theta +\sin^2 \theta} = \sigma$$
 
  • #22
ZaidAlyafey said:
$$|z| = |\sigma||e^{i\theta}| = \sigma |\sin \theta +i\cos \theta | = \sigma\sqrt{\cos^2 \theta +\sin^2 \theta} = \sigma$$

So we have to deal with $x^2 + y^2 = r^2$

In the form $z= ge^{it}$

This is actually just euler's formula isn't it?

$z = g(e^{it}) = g(\cos(t) + i\sin(t))$

Geometrically, how is the absolute value $\sqrt{\sin^2(t) + \cos^2(t)}$?Plotting a point assuming $\sin(t), \cos(t) \ne 0$

We get the "y" point as $i\sin(t)$
We get the "x" point as $\cos(t)$

The pythagorean theorem says,

$(i\sin(t))^2 + (\cos(t))^2 = |z|^2$

$\sqrt{-\sin^2(t) + \cos^2(t)} = |z| \ne 1$
 
  • #23
Olok said:
We get the "y" point as $i\sin(t)$
We get the "x" point as $\cos(t)$

No , the $y$ point is $\sin(t)$. $y$ is the imaginary part of the complex number $z = x+iy$.

Please read this article.
 
  • #24
ZaidAlyafey said:
No , the $y$ point is $\sin(t)$. $y$ is the imaginary part of the complex number $z = x+iy$.

Please read this article.

I understand.

QUESTION:
Is this because distance is just a positive number, so in imaginary terms, "distance," is equal to $i\sin(t)/i$ because distance is a REAL-SCALAR number?

Thanks
 
  • #25
Olok said:
I understand.

QUESTION:
Is this because distance is just a positive number, so in imaginary terms, "distance," is equal to $i\sin(t)/i$ because distance is a REAL-SCALAR number?

Thanks

Yeah , you can think about it like that. Actually any point $(x,y)$ can be written as $x+iy$. So we know that the distance between the origin and $(x,y)$ is $\sqrt{x^2+y^2}$. The same is done when we have $cos t+i\sin t = (\cos t,\sin t)$.

PS: I hope you had time to read the whole article. It is very nice and will help you in the future.
 
  • #26
ZaidAlyafey said:
Yeah , you can think about it like that. Actually any point $(x,y)$ can be written as $x+iy$. So we know that the distance between the origin and $(x,y)$ is $\sqrt{x^2+y^2}$. The same is done when we have $cos t+i\sin t = (\cos t,\sin t)$.

PS: I hope you had time to read the whole article. It is very nice and will help you in the future.

Let's say we have$r(z^{it}) = r(\cos(t) + i\sin(t))$

$|r(z^{it})| = r$

$|z^{it}| = 1$

I am severely confused, how should I do this? Can you show me?
 
  • #27
Olok said:
Let's say we have$r(z^{it}) = r(\cos(t) + i\sin(t))$

$|r(z^{it})| = r$

$|z^{it}| = 1$

I am severely confused, how should I do this? Can you show me?

I suppose you mean $e^{it}$ not $z^{it}$ ?
 
  • #28
ZaidAlyafey said:
I suppose you mean $e^{it}$ not $z^{it}$ ?

Yes
 

FAQ: Concept of contour integration and integration along a square

What is contour integration?

Contour integration is a mathematical technique used to evaluate integrals along a path or curve in the complex plane. It involves breaking down a complex integral into simpler integrals and then using the Cauchy-Riemann equations to solve them.

What is the concept of integration along a square?

Integration along a square refers to the process of evaluating an integral along the four sides of a square in the complex plane. This is done by breaking down the integral into four simpler integrals and then using the Cauchy's integral theorem to evaluate them.

How is contour integration related to integration along a square?

Contour integration and integration along a square are closely related as both involve breaking down complex integrals into simpler ones and using Cauchy's integral theorem to evaluate them. In fact, integration along a square can be seen as a special case of contour integration where the contour is a square.

What are some applications of contour integration and integration along a square?

Contour integration and integration along a square have various applications in physics, engineering, and other fields. They are commonly used in solving problems related to electric fields, fluid mechanics, and quantum mechanics, among others.

Are there any limitations to using contour integration and integration along a square?

Like any mathematical technique, contour integration and integration along a square have their limitations. They can only be used to evaluate integrals with certain properties, such as being analytic within a region, and may not always give accurate results for highly complex integrals.

Back
Top