Integral of complex number over a contour












0














I have
$$int_{-1}^1 |z|dz$$



I need to calculate the integral where the integration contour is the upper semi-circle with unit radius. I calculated the integral in $(-1; 1)$ section; the answer is 1, but I'm not sure how to calculate for the upper semi-circle.










share|cite|improve this question
























  • What is the upper semi-sphere? We're on a plane here.
    – José Carlos Santos
    Nov 28 '18 at 19:00










  • Are you looking for $intlimits_gamma |z| dz$ where $gamma$ is semicircle in the upper half-plane?
    – J. Pistachio
    Nov 28 '18 at 19:01










  • Do you mean semi circle?
    – Cloud JR
    Nov 28 '18 at 19:01










  • Yes, sorry, semi circle. Will update the post now. @Josh, yes
    – user3132457
    Nov 28 '18 at 19:02


















0














I have
$$int_{-1}^1 |z|dz$$



I need to calculate the integral where the integration contour is the upper semi-circle with unit radius. I calculated the integral in $(-1; 1)$ section; the answer is 1, but I'm not sure how to calculate for the upper semi-circle.










share|cite|improve this question
























  • What is the upper semi-sphere? We're on a plane here.
    – José Carlos Santos
    Nov 28 '18 at 19:00










  • Are you looking for $intlimits_gamma |z| dz$ where $gamma$ is semicircle in the upper half-plane?
    – J. Pistachio
    Nov 28 '18 at 19:01










  • Do you mean semi circle?
    – Cloud JR
    Nov 28 '18 at 19:01










  • Yes, sorry, semi circle. Will update the post now. @Josh, yes
    – user3132457
    Nov 28 '18 at 19:02
















0












0








0







I have
$$int_{-1}^1 |z|dz$$



I need to calculate the integral where the integration contour is the upper semi-circle with unit radius. I calculated the integral in $(-1; 1)$ section; the answer is 1, but I'm not sure how to calculate for the upper semi-circle.










share|cite|improve this question















I have
$$int_{-1}^1 |z|dz$$



I need to calculate the integral where the integration contour is the upper semi-circle with unit radius. I calculated the integral in $(-1; 1)$ section; the answer is 1, but I'm not sure how to calculate for the upper semi-circle.







contour-integration complex-integration






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Nov 28 '18 at 19:02

























asked Nov 28 '18 at 18:53









user3132457

1336




1336












  • What is the upper semi-sphere? We're on a plane here.
    – José Carlos Santos
    Nov 28 '18 at 19:00










  • Are you looking for $intlimits_gamma |z| dz$ where $gamma$ is semicircle in the upper half-plane?
    – J. Pistachio
    Nov 28 '18 at 19:01










  • Do you mean semi circle?
    – Cloud JR
    Nov 28 '18 at 19:01










  • Yes, sorry, semi circle. Will update the post now. @Josh, yes
    – user3132457
    Nov 28 '18 at 19:02




















  • What is the upper semi-sphere? We're on a plane here.
    – José Carlos Santos
    Nov 28 '18 at 19:00










  • Are you looking for $intlimits_gamma |z| dz$ where $gamma$ is semicircle in the upper half-plane?
    – J. Pistachio
    Nov 28 '18 at 19:01










  • Do you mean semi circle?
    – Cloud JR
    Nov 28 '18 at 19:01










  • Yes, sorry, semi circle. Will update the post now. @Josh, yes
    – user3132457
    Nov 28 '18 at 19:02


















What is the upper semi-sphere? We're on a plane here.
– José Carlos Santos
Nov 28 '18 at 19:00




What is the upper semi-sphere? We're on a plane here.
– José Carlos Santos
Nov 28 '18 at 19:00












Are you looking for $intlimits_gamma |z| dz$ where $gamma$ is semicircle in the upper half-plane?
– J. Pistachio
Nov 28 '18 at 19:01




Are you looking for $intlimits_gamma |z| dz$ where $gamma$ is semicircle in the upper half-plane?
– J. Pistachio
Nov 28 '18 at 19:01












Do you mean semi circle?
– Cloud JR
Nov 28 '18 at 19:01




Do you mean semi circle?
– Cloud JR
Nov 28 '18 at 19:01












Yes, sorry, semi circle. Will update the post now. @Josh, yes
– user3132457
Nov 28 '18 at 19:02






Yes, sorry, semi circle. Will update the post now. @Josh, yes
– user3132457
Nov 28 '18 at 19:02












2 Answers
2






active

oldest

votes


















1














Note: I think I may have been considering a different contour, since the original poster asked what they could do after finding $intlimits_{-1}^1 |z|dz$. I am thinking of a contour like this: enter image description here



where $R=1$. If OP only requires the upper half, then we can disregard the $1$ in the final sum.



If you're taking $gamma$ to be this contour, note that $gamma$ is formed by two curves: $gamma_1$ and $gamma_2$ where $gamma_1$ is the interval $[-1,1]$ and $gamma_2$ is the upper arc of the semicircle. Thus we have that $$ intlimits_gamma |z| dz = intlimits_{gamma_1} |z|dz + intlimits_{gamma_2}|z|dz$$
You already found that $$ intlimits_{gamma_1} |z|dz = intlimits_{-1}^1 |z| dz = 1$$
We have to find $intlimits_{gamma_2}|z|dz$. Note that for all $z$ on $gamma_2$, $|z|=1$ because $z$ lies on the arc of the unit circle. So begin{align*}intlimits_{gamma_2}|z|dz = intlimits_{gamma_2}1dz = intlimits_0^pi ie^{itheta}dtheta = -2
end{align*}

So $$ intlimits_gamma |z| dz = -1$$






share|cite|improve this answer























  • That's the contour I meant.
    – user3132457
    Nov 28 '18 at 19:17










  • Apologies, I made a dumb error, let me fix that
    – J. Pistachio
    Nov 28 '18 at 19:23










  • I just don't understand how you get the π. Isn't $int_{gamma}1dz=z$, which is just 1?
    – user3132457
    Nov 29 '18 at 5:28





















0














Are you integrating clockwise or anti-clockwise?



Assuming you're integrating anti-clockwise, use a substitution of $z=mathrm e^{mathrm i theta}$, where $0 le theta le pi$.



It follows that $mathrm dz = mathrm{ie}^{mathrm i theta}~mathrm dtheta$.



Hence $$int_C |z|~mathrm dz = int_0^{pi} |mathrm e^{mathrm i theta}| ~mathrm{ie}^{mathrm i theta}~mathrm dtheta = mathrm iint_0^{pi}mathrm e^{mathrm itheta}~mathrm dtheta$$






share|cite|improve this answer























  • Given that the original integral is $int_{-1}^1$, I suspect the semicircle is actually supposed to be parametrized clockwise. (Also because your parametrization gives an answer of $-2$.)
    – André 3000
    Nov 28 '18 at 19:11












  • @André3000 I'm not sure. It's not clear from the OP. Most students, when integrating along the real line, have the lower limit less than the upper limit. (They don't realise that we're integrating along an oriented path.)
    – Fly by Night
    Nov 28 '18 at 19:13













Your Answer





StackExchange.ifUsing("editor", function () {
return StackExchange.using("mathjaxEditing", function () {
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
});
});
}, "mathjax-editing");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "69"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3017545%2fintegral-of-complex-number-over-a-contour%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes









1














Note: I think I may have been considering a different contour, since the original poster asked what they could do after finding $intlimits_{-1}^1 |z|dz$. I am thinking of a contour like this: enter image description here



where $R=1$. If OP only requires the upper half, then we can disregard the $1$ in the final sum.



If you're taking $gamma$ to be this contour, note that $gamma$ is formed by two curves: $gamma_1$ and $gamma_2$ where $gamma_1$ is the interval $[-1,1]$ and $gamma_2$ is the upper arc of the semicircle. Thus we have that $$ intlimits_gamma |z| dz = intlimits_{gamma_1} |z|dz + intlimits_{gamma_2}|z|dz$$
You already found that $$ intlimits_{gamma_1} |z|dz = intlimits_{-1}^1 |z| dz = 1$$
We have to find $intlimits_{gamma_2}|z|dz$. Note that for all $z$ on $gamma_2$, $|z|=1$ because $z$ lies on the arc of the unit circle. So begin{align*}intlimits_{gamma_2}|z|dz = intlimits_{gamma_2}1dz = intlimits_0^pi ie^{itheta}dtheta = -2
end{align*}

So $$ intlimits_gamma |z| dz = -1$$






share|cite|improve this answer























  • That's the contour I meant.
    – user3132457
    Nov 28 '18 at 19:17










  • Apologies, I made a dumb error, let me fix that
    – J. Pistachio
    Nov 28 '18 at 19:23










  • I just don't understand how you get the π. Isn't $int_{gamma}1dz=z$, which is just 1?
    – user3132457
    Nov 29 '18 at 5:28


















1














Note: I think I may have been considering a different contour, since the original poster asked what they could do after finding $intlimits_{-1}^1 |z|dz$. I am thinking of a contour like this: enter image description here



where $R=1$. If OP only requires the upper half, then we can disregard the $1$ in the final sum.



If you're taking $gamma$ to be this contour, note that $gamma$ is formed by two curves: $gamma_1$ and $gamma_2$ where $gamma_1$ is the interval $[-1,1]$ and $gamma_2$ is the upper arc of the semicircle. Thus we have that $$ intlimits_gamma |z| dz = intlimits_{gamma_1} |z|dz + intlimits_{gamma_2}|z|dz$$
You already found that $$ intlimits_{gamma_1} |z|dz = intlimits_{-1}^1 |z| dz = 1$$
We have to find $intlimits_{gamma_2}|z|dz$. Note that for all $z$ on $gamma_2$, $|z|=1$ because $z$ lies on the arc of the unit circle. So begin{align*}intlimits_{gamma_2}|z|dz = intlimits_{gamma_2}1dz = intlimits_0^pi ie^{itheta}dtheta = -2
end{align*}

So $$ intlimits_gamma |z| dz = -1$$






share|cite|improve this answer























  • That's the contour I meant.
    – user3132457
    Nov 28 '18 at 19:17










  • Apologies, I made a dumb error, let me fix that
    – J. Pistachio
    Nov 28 '18 at 19:23










  • I just don't understand how you get the π. Isn't $int_{gamma}1dz=z$, which is just 1?
    – user3132457
    Nov 29 '18 at 5:28
















1












1








1






Note: I think I may have been considering a different contour, since the original poster asked what they could do after finding $intlimits_{-1}^1 |z|dz$. I am thinking of a contour like this: enter image description here



where $R=1$. If OP only requires the upper half, then we can disregard the $1$ in the final sum.



If you're taking $gamma$ to be this contour, note that $gamma$ is formed by two curves: $gamma_1$ and $gamma_2$ where $gamma_1$ is the interval $[-1,1]$ and $gamma_2$ is the upper arc of the semicircle. Thus we have that $$ intlimits_gamma |z| dz = intlimits_{gamma_1} |z|dz + intlimits_{gamma_2}|z|dz$$
You already found that $$ intlimits_{gamma_1} |z|dz = intlimits_{-1}^1 |z| dz = 1$$
We have to find $intlimits_{gamma_2}|z|dz$. Note that for all $z$ on $gamma_2$, $|z|=1$ because $z$ lies on the arc of the unit circle. So begin{align*}intlimits_{gamma_2}|z|dz = intlimits_{gamma_2}1dz = intlimits_0^pi ie^{itheta}dtheta = -2
end{align*}

So $$ intlimits_gamma |z| dz = -1$$






share|cite|improve this answer














Note: I think I may have been considering a different contour, since the original poster asked what they could do after finding $intlimits_{-1}^1 |z|dz$. I am thinking of a contour like this: enter image description here



where $R=1$. If OP only requires the upper half, then we can disregard the $1$ in the final sum.



If you're taking $gamma$ to be this contour, note that $gamma$ is formed by two curves: $gamma_1$ and $gamma_2$ where $gamma_1$ is the interval $[-1,1]$ and $gamma_2$ is the upper arc of the semicircle. Thus we have that $$ intlimits_gamma |z| dz = intlimits_{gamma_1} |z|dz + intlimits_{gamma_2}|z|dz$$
You already found that $$ intlimits_{gamma_1} |z|dz = intlimits_{-1}^1 |z| dz = 1$$
We have to find $intlimits_{gamma_2}|z|dz$. Note that for all $z$ on $gamma_2$, $|z|=1$ because $z$ lies on the arc of the unit circle. So begin{align*}intlimits_{gamma_2}|z|dz = intlimits_{gamma_2}1dz = intlimits_0^pi ie^{itheta}dtheta = -2
end{align*}

So $$ intlimits_gamma |z| dz = -1$$







share|cite|improve this answer














share|cite|improve this answer



share|cite|improve this answer








edited Nov 28 '18 at 19:26

























answered Nov 28 '18 at 19:06









J. Pistachio

477212




477212












  • That's the contour I meant.
    – user3132457
    Nov 28 '18 at 19:17










  • Apologies, I made a dumb error, let me fix that
    – J. Pistachio
    Nov 28 '18 at 19:23










  • I just don't understand how you get the π. Isn't $int_{gamma}1dz=z$, which is just 1?
    – user3132457
    Nov 29 '18 at 5:28




















  • That's the contour I meant.
    – user3132457
    Nov 28 '18 at 19:17










  • Apologies, I made a dumb error, let me fix that
    – J. Pistachio
    Nov 28 '18 at 19:23










  • I just don't understand how you get the π. Isn't $int_{gamma}1dz=z$, which is just 1?
    – user3132457
    Nov 29 '18 at 5:28


















That's the contour I meant.
– user3132457
Nov 28 '18 at 19:17




That's the contour I meant.
– user3132457
Nov 28 '18 at 19:17












Apologies, I made a dumb error, let me fix that
– J. Pistachio
Nov 28 '18 at 19:23




Apologies, I made a dumb error, let me fix that
– J. Pistachio
Nov 28 '18 at 19:23












I just don't understand how you get the π. Isn't $int_{gamma}1dz=z$, which is just 1?
– user3132457
Nov 29 '18 at 5:28






I just don't understand how you get the π. Isn't $int_{gamma}1dz=z$, which is just 1?
– user3132457
Nov 29 '18 at 5:28













0














Are you integrating clockwise or anti-clockwise?



Assuming you're integrating anti-clockwise, use a substitution of $z=mathrm e^{mathrm i theta}$, where $0 le theta le pi$.



It follows that $mathrm dz = mathrm{ie}^{mathrm i theta}~mathrm dtheta$.



Hence $$int_C |z|~mathrm dz = int_0^{pi} |mathrm e^{mathrm i theta}| ~mathrm{ie}^{mathrm i theta}~mathrm dtheta = mathrm iint_0^{pi}mathrm e^{mathrm itheta}~mathrm dtheta$$






share|cite|improve this answer























  • Given that the original integral is $int_{-1}^1$, I suspect the semicircle is actually supposed to be parametrized clockwise. (Also because your parametrization gives an answer of $-2$.)
    – André 3000
    Nov 28 '18 at 19:11












  • @André3000 I'm not sure. It's not clear from the OP. Most students, when integrating along the real line, have the lower limit less than the upper limit. (They don't realise that we're integrating along an oriented path.)
    – Fly by Night
    Nov 28 '18 at 19:13


















0














Are you integrating clockwise or anti-clockwise?



Assuming you're integrating anti-clockwise, use a substitution of $z=mathrm e^{mathrm i theta}$, where $0 le theta le pi$.



It follows that $mathrm dz = mathrm{ie}^{mathrm i theta}~mathrm dtheta$.



Hence $$int_C |z|~mathrm dz = int_0^{pi} |mathrm e^{mathrm i theta}| ~mathrm{ie}^{mathrm i theta}~mathrm dtheta = mathrm iint_0^{pi}mathrm e^{mathrm itheta}~mathrm dtheta$$






share|cite|improve this answer























  • Given that the original integral is $int_{-1}^1$, I suspect the semicircle is actually supposed to be parametrized clockwise. (Also because your parametrization gives an answer of $-2$.)
    – André 3000
    Nov 28 '18 at 19:11












  • @André3000 I'm not sure. It's not clear from the OP. Most students, when integrating along the real line, have the lower limit less than the upper limit. (They don't realise that we're integrating along an oriented path.)
    – Fly by Night
    Nov 28 '18 at 19:13
















0












0








0






Are you integrating clockwise or anti-clockwise?



Assuming you're integrating anti-clockwise, use a substitution of $z=mathrm e^{mathrm i theta}$, where $0 le theta le pi$.



It follows that $mathrm dz = mathrm{ie}^{mathrm i theta}~mathrm dtheta$.



Hence $$int_C |z|~mathrm dz = int_0^{pi} |mathrm e^{mathrm i theta}| ~mathrm{ie}^{mathrm i theta}~mathrm dtheta = mathrm iint_0^{pi}mathrm e^{mathrm itheta}~mathrm dtheta$$






share|cite|improve this answer














Are you integrating clockwise or anti-clockwise?



Assuming you're integrating anti-clockwise, use a substitution of $z=mathrm e^{mathrm i theta}$, where $0 le theta le pi$.



It follows that $mathrm dz = mathrm{ie}^{mathrm i theta}~mathrm dtheta$.



Hence $$int_C |z|~mathrm dz = int_0^{pi} |mathrm e^{mathrm i theta}| ~mathrm{ie}^{mathrm i theta}~mathrm dtheta = mathrm iint_0^{pi}mathrm e^{mathrm itheta}~mathrm dtheta$$







share|cite|improve this answer














share|cite|improve this answer



share|cite|improve this answer








edited Nov 28 '18 at 19:16

























answered Nov 28 '18 at 19:08









Fly by Night

25.7k32978




25.7k32978












  • Given that the original integral is $int_{-1}^1$, I suspect the semicircle is actually supposed to be parametrized clockwise. (Also because your parametrization gives an answer of $-2$.)
    – André 3000
    Nov 28 '18 at 19:11












  • @André3000 I'm not sure. It's not clear from the OP. Most students, when integrating along the real line, have the lower limit less than the upper limit. (They don't realise that we're integrating along an oriented path.)
    – Fly by Night
    Nov 28 '18 at 19:13




















  • Given that the original integral is $int_{-1}^1$, I suspect the semicircle is actually supposed to be parametrized clockwise. (Also because your parametrization gives an answer of $-2$.)
    – André 3000
    Nov 28 '18 at 19:11












  • @André3000 I'm not sure. It's not clear from the OP. Most students, when integrating along the real line, have the lower limit less than the upper limit. (They don't realise that we're integrating along an oriented path.)
    – Fly by Night
    Nov 28 '18 at 19:13


















Given that the original integral is $int_{-1}^1$, I suspect the semicircle is actually supposed to be parametrized clockwise. (Also because your parametrization gives an answer of $-2$.)
– André 3000
Nov 28 '18 at 19:11






Given that the original integral is $int_{-1}^1$, I suspect the semicircle is actually supposed to be parametrized clockwise. (Also because your parametrization gives an answer of $-2$.)
– André 3000
Nov 28 '18 at 19:11














@André3000 I'm not sure. It's not clear from the OP. Most students, when integrating along the real line, have the lower limit less than the upper limit. (They don't realise that we're integrating along an oriented path.)
– Fly by Night
Nov 28 '18 at 19:13






@André3000 I'm not sure. It's not clear from the OP. Most students, when integrating along the real line, have the lower limit less than the upper limit. (They don't realise that we're integrating along an oriented path.)
– Fly by Night
Nov 28 '18 at 19:13




















draft saved

draft discarded




















































Thanks for contributing an answer to Mathematics Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


Use MathJax to format equations. MathJax reference.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3017545%2fintegral-of-complex-number-over-a-contour%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Probability when a professor distributes a quiz and homework assignment to a class of n students.

Aardman Animations

Are they similar matrix