Evaluate: Integral of sec(x) with Complex Analysis
$begingroup$
I'm trying to better understand how Complex Analysis can offer real solutions. I had seen examples of this with trigonometric identities and I wanted to see how it might do with the integral of $mathbf{sec(x)}$, given how its solution involves more than trigonometric functions. I'd like to know if my reasoning is correct or if there are improvements that I could make to generate a better/ faster solution using this method.
To start, I began with the exponential form of $mathbf{sec(x)}$ and a u-substitution.
$$mathbf{int{sec(x)dx}=intfrac{2}{e^{ix}+e^{-ix}}dx}$$
$$mathbf{= frac{2}{i}tan^{-1}(e^{ix}) + z}$$
On the topic of $mathbf{tan^{-1}(x)}$ I supposed that I could try finding the inverse of the exponential form of $mathbf{tan(x)}$ to get my answer to be closer to what it looks like in real space. To do this I switched the x and y positions and solved for y.
$$mathbf{tan(x)=frac{1}{i}frac{e^{ix}-e^{-ix}}{e^{ix}+e^{-ix}}}$$
$$mathbf{tan^{-1}(x) = frac{1}{2i}ln(frac{i-x}{i+x})}$$
Plugging this definition back into what I had solved for earlier, I found that
$$mathbf{int{sec(x)dx}= -ln(frac{i-e^{ix}}{i+e^{ix}})+z=ln(frac{i+e^{ix}}{i-e^{ix}})+z}$$
At this point it felt like I was getting closer, so I multiplied the numerator and the denominator inside the natural logarithm by the complex conjugate of the denominator.
$$mathbf{int{sec(x)dx}=ln(frac{-e^{2ix}-2ie^{ix}+1}{e^{2ix}+1})+z}$$
Multiplying the numerator and denominator by
$$mathbf{e^{-ix}}$$
I get
$$mathbf{int{sec(x)dx}=ln(frac{-e^{ix}+e^{-ix}-2i}{e^{ix}+e^{-ix}})+z}$$
This looked familiar to a certain sum of two trigonometric functions, so I returned from exponential form to trigonometric form.
$$mathbf{int{sec(x)dx}=ln(-i*(tan(x)+sec(x)))+z}$$
Having -i within a natural logarithm didn't seem right, but the current form seemed too close to fail at this point since I just needed to the multiply inner expression by i to get the answer in real space. I then remembered the property that $mathbf{z = a + bi}$, and that if $mathbf{bi = ln(i)}$ and $mathbf{a = C}$ then I could use the property of natural logarithms to get to where I wanted to be.
I reasoned that if the real solution contains the point $$mathbf{(npi,C)}$$ where n is any positive odd integer then in the complex equation
$$ mathbf{z = ln(i^{n})=frac{inpi}{2}}$$
Recapping what I just did
$$mathbf{int{sec(x)dx}=ln(-i(tan(x)+sec(x)))+ln(i)+C}$$
$$mathbf{=ln(tan(x)+sec(x))+C}$$
To get to this point I needed to look at the actual answer to try to force the exponential form to "fit" into place. A lot of my time was spent trying to prove the integral solution rather than evaluate it. There had to have been a better way to think about this, if I'm not already wrong at some step.
I'm also not sure why I didn't get
$$mathbf{ln|tan(x)+sec(x)|+C}$$
rather than $$mathbf{ln{(tan(x)+sec(x))}+C}$$
Obviously you can't have a negative input for a natural logarithmic function but I don't think I can just claim that my answer involves an absolute value can I? Why is this integral dependent on a particular form of z when the integral of say $mathbf{cos(x)}$ leads directly to $mathbf{sin(x)+c}$ using the same method?
integration complex-analysis trigonometry
New contributor
$endgroup$
add a comment |
$begingroup$
I'm trying to better understand how Complex Analysis can offer real solutions. I had seen examples of this with trigonometric identities and I wanted to see how it might do with the integral of $mathbf{sec(x)}$, given how its solution involves more than trigonometric functions. I'd like to know if my reasoning is correct or if there are improvements that I could make to generate a better/ faster solution using this method.
To start, I began with the exponential form of $mathbf{sec(x)}$ and a u-substitution.
$$mathbf{int{sec(x)dx}=intfrac{2}{e^{ix}+e^{-ix}}dx}$$
$$mathbf{= frac{2}{i}tan^{-1}(e^{ix}) + z}$$
On the topic of $mathbf{tan^{-1}(x)}$ I supposed that I could try finding the inverse of the exponential form of $mathbf{tan(x)}$ to get my answer to be closer to what it looks like in real space. To do this I switched the x and y positions and solved for y.
$$mathbf{tan(x)=frac{1}{i}frac{e^{ix}-e^{-ix}}{e^{ix}+e^{-ix}}}$$
$$mathbf{tan^{-1}(x) = frac{1}{2i}ln(frac{i-x}{i+x})}$$
Plugging this definition back into what I had solved for earlier, I found that
$$mathbf{int{sec(x)dx}= -ln(frac{i-e^{ix}}{i+e^{ix}})+z=ln(frac{i+e^{ix}}{i-e^{ix}})+z}$$
At this point it felt like I was getting closer, so I multiplied the numerator and the denominator inside the natural logarithm by the complex conjugate of the denominator.
$$mathbf{int{sec(x)dx}=ln(frac{-e^{2ix}-2ie^{ix}+1}{e^{2ix}+1})+z}$$
Multiplying the numerator and denominator by
$$mathbf{e^{-ix}}$$
I get
$$mathbf{int{sec(x)dx}=ln(frac{-e^{ix}+e^{-ix}-2i}{e^{ix}+e^{-ix}})+z}$$
This looked familiar to a certain sum of two trigonometric functions, so I returned from exponential form to trigonometric form.
$$mathbf{int{sec(x)dx}=ln(-i*(tan(x)+sec(x)))+z}$$
Having -i within a natural logarithm didn't seem right, but the current form seemed too close to fail at this point since I just needed to the multiply inner expression by i to get the answer in real space. I then remembered the property that $mathbf{z = a + bi}$, and that if $mathbf{bi = ln(i)}$ and $mathbf{a = C}$ then I could use the property of natural logarithms to get to where I wanted to be.
I reasoned that if the real solution contains the point $$mathbf{(npi,C)}$$ where n is any positive odd integer then in the complex equation
$$ mathbf{z = ln(i^{n})=frac{inpi}{2}}$$
Recapping what I just did
$$mathbf{int{sec(x)dx}=ln(-i(tan(x)+sec(x)))+ln(i)+C}$$
$$mathbf{=ln(tan(x)+sec(x))+C}$$
To get to this point I needed to look at the actual answer to try to force the exponential form to "fit" into place. A lot of my time was spent trying to prove the integral solution rather than evaluate it. There had to have been a better way to think about this, if I'm not already wrong at some step.
I'm also not sure why I didn't get
$$mathbf{ln|tan(x)+sec(x)|+C}$$
rather than $$mathbf{ln{(tan(x)+sec(x))}+C}$$
Obviously you can't have a negative input for a natural logarithmic function but I don't think I can just claim that my answer involves an absolute value can I? Why is this integral dependent on a particular form of z when the integral of say $mathbf{cos(x)}$ leads directly to $mathbf{sin(x)+c}$ using the same method?
integration complex-analysis trigonometry
New contributor
$endgroup$
$begingroup$
$ln(tan x+sec x)+C$ is indeed a correct result in complex plane, while $ln|tan x+sec x|+C$ is only valid if we consider the integrand a real function.
$endgroup$
– Kemono Chen
Jan 5 at 7:35
add a comment |
$begingroup$
I'm trying to better understand how Complex Analysis can offer real solutions. I had seen examples of this with trigonometric identities and I wanted to see how it might do with the integral of $mathbf{sec(x)}$, given how its solution involves more than trigonometric functions. I'd like to know if my reasoning is correct or if there are improvements that I could make to generate a better/ faster solution using this method.
To start, I began with the exponential form of $mathbf{sec(x)}$ and a u-substitution.
$$mathbf{int{sec(x)dx}=intfrac{2}{e^{ix}+e^{-ix}}dx}$$
$$mathbf{= frac{2}{i}tan^{-1}(e^{ix}) + z}$$
On the topic of $mathbf{tan^{-1}(x)}$ I supposed that I could try finding the inverse of the exponential form of $mathbf{tan(x)}$ to get my answer to be closer to what it looks like in real space. To do this I switched the x and y positions and solved for y.
$$mathbf{tan(x)=frac{1}{i}frac{e^{ix}-e^{-ix}}{e^{ix}+e^{-ix}}}$$
$$mathbf{tan^{-1}(x) = frac{1}{2i}ln(frac{i-x}{i+x})}$$
Plugging this definition back into what I had solved for earlier, I found that
$$mathbf{int{sec(x)dx}= -ln(frac{i-e^{ix}}{i+e^{ix}})+z=ln(frac{i+e^{ix}}{i-e^{ix}})+z}$$
At this point it felt like I was getting closer, so I multiplied the numerator and the denominator inside the natural logarithm by the complex conjugate of the denominator.
$$mathbf{int{sec(x)dx}=ln(frac{-e^{2ix}-2ie^{ix}+1}{e^{2ix}+1})+z}$$
Multiplying the numerator and denominator by
$$mathbf{e^{-ix}}$$
I get
$$mathbf{int{sec(x)dx}=ln(frac{-e^{ix}+e^{-ix}-2i}{e^{ix}+e^{-ix}})+z}$$
This looked familiar to a certain sum of two trigonometric functions, so I returned from exponential form to trigonometric form.
$$mathbf{int{sec(x)dx}=ln(-i*(tan(x)+sec(x)))+z}$$
Having -i within a natural logarithm didn't seem right, but the current form seemed too close to fail at this point since I just needed to the multiply inner expression by i to get the answer in real space. I then remembered the property that $mathbf{z = a + bi}$, and that if $mathbf{bi = ln(i)}$ and $mathbf{a = C}$ then I could use the property of natural logarithms to get to where I wanted to be.
I reasoned that if the real solution contains the point $$mathbf{(npi,C)}$$ where n is any positive odd integer then in the complex equation
$$ mathbf{z = ln(i^{n})=frac{inpi}{2}}$$
Recapping what I just did
$$mathbf{int{sec(x)dx}=ln(-i(tan(x)+sec(x)))+ln(i)+C}$$
$$mathbf{=ln(tan(x)+sec(x))+C}$$
To get to this point I needed to look at the actual answer to try to force the exponential form to "fit" into place. A lot of my time was spent trying to prove the integral solution rather than evaluate it. There had to have been a better way to think about this, if I'm not already wrong at some step.
I'm also not sure why I didn't get
$$mathbf{ln|tan(x)+sec(x)|+C}$$
rather than $$mathbf{ln{(tan(x)+sec(x))}+C}$$
Obviously you can't have a negative input for a natural logarithmic function but I don't think I can just claim that my answer involves an absolute value can I? Why is this integral dependent on a particular form of z when the integral of say $mathbf{cos(x)}$ leads directly to $mathbf{sin(x)+c}$ using the same method?
integration complex-analysis trigonometry
New contributor
$endgroup$
I'm trying to better understand how Complex Analysis can offer real solutions. I had seen examples of this with trigonometric identities and I wanted to see how it might do with the integral of $mathbf{sec(x)}$, given how its solution involves more than trigonometric functions. I'd like to know if my reasoning is correct or if there are improvements that I could make to generate a better/ faster solution using this method.
To start, I began with the exponential form of $mathbf{sec(x)}$ and a u-substitution.
$$mathbf{int{sec(x)dx}=intfrac{2}{e^{ix}+e^{-ix}}dx}$$
$$mathbf{= frac{2}{i}tan^{-1}(e^{ix}) + z}$$
On the topic of $mathbf{tan^{-1}(x)}$ I supposed that I could try finding the inverse of the exponential form of $mathbf{tan(x)}$ to get my answer to be closer to what it looks like in real space. To do this I switched the x and y positions and solved for y.
$$mathbf{tan(x)=frac{1}{i}frac{e^{ix}-e^{-ix}}{e^{ix}+e^{-ix}}}$$
$$mathbf{tan^{-1}(x) = frac{1}{2i}ln(frac{i-x}{i+x})}$$
Plugging this definition back into what I had solved for earlier, I found that
$$mathbf{int{sec(x)dx}= -ln(frac{i-e^{ix}}{i+e^{ix}})+z=ln(frac{i+e^{ix}}{i-e^{ix}})+z}$$
At this point it felt like I was getting closer, so I multiplied the numerator and the denominator inside the natural logarithm by the complex conjugate of the denominator.
$$mathbf{int{sec(x)dx}=ln(frac{-e^{2ix}-2ie^{ix}+1}{e^{2ix}+1})+z}$$
Multiplying the numerator and denominator by
$$mathbf{e^{-ix}}$$
I get
$$mathbf{int{sec(x)dx}=ln(frac{-e^{ix}+e^{-ix}-2i}{e^{ix}+e^{-ix}})+z}$$
This looked familiar to a certain sum of two trigonometric functions, so I returned from exponential form to trigonometric form.
$$mathbf{int{sec(x)dx}=ln(-i*(tan(x)+sec(x)))+z}$$
Having -i within a natural logarithm didn't seem right, but the current form seemed too close to fail at this point since I just needed to the multiply inner expression by i to get the answer in real space. I then remembered the property that $mathbf{z = a + bi}$, and that if $mathbf{bi = ln(i)}$ and $mathbf{a = C}$ then I could use the property of natural logarithms to get to where I wanted to be.
I reasoned that if the real solution contains the point $$mathbf{(npi,C)}$$ where n is any positive odd integer then in the complex equation
$$ mathbf{z = ln(i^{n})=frac{inpi}{2}}$$
Recapping what I just did
$$mathbf{int{sec(x)dx}=ln(-i(tan(x)+sec(x)))+ln(i)+C}$$
$$mathbf{=ln(tan(x)+sec(x))+C}$$
To get to this point I needed to look at the actual answer to try to force the exponential form to "fit" into place. A lot of my time was spent trying to prove the integral solution rather than evaluate it. There had to have been a better way to think about this, if I'm not already wrong at some step.
I'm also not sure why I didn't get
$$mathbf{ln|tan(x)+sec(x)|+C}$$
rather than $$mathbf{ln{(tan(x)+sec(x))}+C}$$
Obviously you can't have a negative input for a natural logarithmic function but I don't think I can just claim that my answer involves an absolute value can I? Why is this integral dependent on a particular form of z when the integral of say $mathbf{cos(x)}$ leads directly to $mathbf{sin(x)+c}$ using the same method?
integration complex-analysis trigonometry
integration complex-analysis trigonometry
New contributor
New contributor
New contributor
asked Jan 5 at 7:32
C. JayC. Jay
61
61
New contributor
New contributor
$begingroup$
$ln(tan x+sec x)+C$ is indeed a correct result in complex plane, while $ln|tan x+sec x|+C$ is only valid if we consider the integrand a real function.
$endgroup$
– Kemono Chen
Jan 5 at 7:35
add a comment |
$begingroup$
$ln(tan x+sec x)+C$ is indeed a correct result in complex plane, while $ln|tan x+sec x|+C$ is only valid if we consider the integrand a real function.
$endgroup$
– Kemono Chen
Jan 5 at 7:35
$begingroup$
$ln(tan x+sec x)+C$ is indeed a correct result in complex plane, while $ln|tan x+sec x|+C$ is only valid if we consider the integrand a real function.
$endgroup$
– Kemono Chen
Jan 5 at 7:35
$begingroup$
$ln(tan x+sec x)+C$ is indeed a correct result in complex plane, while $ln|tan x+sec x|+C$ is only valid if we consider the integrand a real function.
$endgroup$
– Kemono Chen
Jan 5 at 7:35
add a comment |
1 Answer
1
active
oldest
votes
$begingroup$
Another way to look at that issue involving the logarithm? The most general antiderivative of $frac1u$ can be written as $ln(Au)$, where $A$ is a nonzero constant.
In $mathbb{R}$, we'll choose $A$ positive on intervals where $u$ is positve, and $A$ negative on intervals where $A$ is negative; this is often abbreviated with an absolute value sign. But that absolute value is deceptive; we can't cross between negative and positive values without going over a singularity, which will produce a divergent integral.
In $mathbb{C}$, we'll allow $A$ to be any nonzero complex number, and the only restriction is that we can't use the antiderivative to integrate on a path that circles a singularity. Think of it as a spiral staircase; by going around, we end up on a different level (branch) than we started on, and the integral won't be zero as a line integral around a loop normally should be. Because of this, we can't define that antiderivative as a globally continuous function, and instead we must make a "branch cut" somewhere where the values jump. Traditionally, for the logarithm, this cut is placed on the negative real axis.
Why is this integral dependent on a particular form of z when the integral of say $cos(x)$ leads directly to $sin(x)+c$ using the same method?
Differentiation is predictable. We have rules that always work, and produce an algorithm that can differentiate any elementary function. It's so easy, we can tell a computer how to do it. The inverse operation, integration, is unpredictable. We can write down simple expressions that have complicated antiderivatives, and other simple expressions that don't have elementary antiderivatives at all. This sort of messiness is utterly normal; we just got lucky with $sin$.
Also, there are a lot of names for trig functions, and a lot of identities. We could have written the answer in many ways, and that's always an option when trig is involved.
$endgroup$
add a comment |
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
});
}
});
C. Jay is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3062480%2fevaluate-integral-of-secx-with-complex-analysis%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
Another way to look at that issue involving the logarithm? The most general antiderivative of $frac1u$ can be written as $ln(Au)$, where $A$ is a nonzero constant.
In $mathbb{R}$, we'll choose $A$ positive on intervals where $u$ is positve, and $A$ negative on intervals where $A$ is negative; this is often abbreviated with an absolute value sign. But that absolute value is deceptive; we can't cross between negative and positive values without going over a singularity, which will produce a divergent integral.
In $mathbb{C}$, we'll allow $A$ to be any nonzero complex number, and the only restriction is that we can't use the antiderivative to integrate on a path that circles a singularity. Think of it as a spiral staircase; by going around, we end up on a different level (branch) than we started on, and the integral won't be zero as a line integral around a loop normally should be. Because of this, we can't define that antiderivative as a globally continuous function, and instead we must make a "branch cut" somewhere where the values jump. Traditionally, for the logarithm, this cut is placed on the negative real axis.
Why is this integral dependent on a particular form of z when the integral of say $cos(x)$ leads directly to $sin(x)+c$ using the same method?
Differentiation is predictable. We have rules that always work, and produce an algorithm that can differentiate any elementary function. It's so easy, we can tell a computer how to do it. The inverse operation, integration, is unpredictable. We can write down simple expressions that have complicated antiderivatives, and other simple expressions that don't have elementary antiderivatives at all. This sort of messiness is utterly normal; we just got lucky with $sin$.
Also, there are a lot of names for trig functions, and a lot of identities. We could have written the answer in many ways, and that's always an option when trig is involved.
$endgroup$
add a comment |
$begingroup$
Another way to look at that issue involving the logarithm? The most general antiderivative of $frac1u$ can be written as $ln(Au)$, where $A$ is a nonzero constant.
In $mathbb{R}$, we'll choose $A$ positive on intervals where $u$ is positve, and $A$ negative on intervals where $A$ is negative; this is often abbreviated with an absolute value sign. But that absolute value is deceptive; we can't cross between negative and positive values without going over a singularity, which will produce a divergent integral.
In $mathbb{C}$, we'll allow $A$ to be any nonzero complex number, and the only restriction is that we can't use the antiderivative to integrate on a path that circles a singularity. Think of it as a spiral staircase; by going around, we end up on a different level (branch) than we started on, and the integral won't be zero as a line integral around a loop normally should be. Because of this, we can't define that antiderivative as a globally continuous function, and instead we must make a "branch cut" somewhere where the values jump. Traditionally, for the logarithm, this cut is placed on the negative real axis.
Why is this integral dependent on a particular form of z when the integral of say $cos(x)$ leads directly to $sin(x)+c$ using the same method?
Differentiation is predictable. We have rules that always work, and produce an algorithm that can differentiate any elementary function. It's so easy, we can tell a computer how to do it. The inverse operation, integration, is unpredictable. We can write down simple expressions that have complicated antiderivatives, and other simple expressions that don't have elementary antiderivatives at all. This sort of messiness is utterly normal; we just got lucky with $sin$.
Also, there are a lot of names for trig functions, and a lot of identities. We could have written the answer in many ways, and that's always an option when trig is involved.
$endgroup$
add a comment |
$begingroup$
Another way to look at that issue involving the logarithm? The most general antiderivative of $frac1u$ can be written as $ln(Au)$, where $A$ is a nonzero constant.
In $mathbb{R}$, we'll choose $A$ positive on intervals where $u$ is positve, and $A$ negative on intervals where $A$ is negative; this is often abbreviated with an absolute value sign. But that absolute value is deceptive; we can't cross between negative and positive values without going over a singularity, which will produce a divergent integral.
In $mathbb{C}$, we'll allow $A$ to be any nonzero complex number, and the only restriction is that we can't use the antiderivative to integrate on a path that circles a singularity. Think of it as a spiral staircase; by going around, we end up on a different level (branch) than we started on, and the integral won't be zero as a line integral around a loop normally should be. Because of this, we can't define that antiderivative as a globally continuous function, and instead we must make a "branch cut" somewhere where the values jump. Traditionally, for the logarithm, this cut is placed on the negative real axis.
Why is this integral dependent on a particular form of z when the integral of say $cos(x)$ leads directly to $sin(x)+c$ using the same method?
Differentiation is predictable. We have rules that always work, and produce an algorithm that can differentiate any elementary function. It's so easy, we can tell a computer how to do it. The inverse operation, integration, is unpredictable. We can write down simple expressions that have complicated antiderivatives, and other simple expressions that don't have elementary antiderivatives at all. This sort of messiness is utterly normal; we just got lucky with $sin$.
Also, there are a lot of names for trig functions, and a lot of identities. We could have written the answer in many ways, and that's always an option when trig is involved.
$endgroup$
Another way to look at that issue involving the logarithm? The most general antiderivative of $frac1u$ can be written as $ln(Au)$, where $A$ is a nonzero constant.
In $mathbb{R}$, we'll choose $A$ positive on intervals where $u$ is positve, and $A$ negative on intervals where $A$ is negative; this is often abbreviated with an absolute value sign. But that absolute value is deceptive; we can't cross between negative and positive values without going over a singularity, which will produce a divergent integral.
In $mathbb{C}$, we'll allow $A$ to be any nonzero complex number, and the only restriction is that we can't use the antiderivative to integrate on a path that circles a singularity. Think of it as a spiral staircase; by going around, we end up on a different level (branch) than we started on, and the integral won't be zero as a line integral around a loop normally should be. Because of this, we can't define that antiderivative as a globally continuous function, and instead we must make a "branch cut" somewhere where the values jump. Traditionally, for the logarithm, this cut is placed on the negative real axis.
Why is this integral dependent on a particular form of z when the integral of say $cos(x)$ leads directly to $sin(x)+c$ using the same method?
Differentiation is predictable. We have rules that always work, and produce an algorithm that can differentiate any elementary function. It's so easy, we can tell a computer how to do it. The inverse operation, integration, is unpredictable. We can write down simple expressions that have complicated antiderivatives, and other simple expressions that don't have elementary antiderivatives at all. This sort of messiness is utterly normal; we just got lucky with $sin$.
Also, there are a lot of names for trig functions, and a lot of identities. We could have written the answer in many ways, and that's always an option when trig is involved.
answered Jan 5 at 7:56
jmerryjmerry
3,094412
3,094412
add a comment |
add a comment |
C. Jay is a new contributor. Be nice, and check out our Code of Conduct.
C. Jay is a new contributor. Be nice, and check out our Code of Conduct.
C. Jay is a new contributor. Be nice, and check out our Code of Conduct.
C. Jay is a new contributor. Be nice, and check out our Code of Conduct.
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3062480%2fevaluate-integral-of-secx-with-complex-analysis%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
$begingroup$
$ln(tan x+sec x)+C$ is indeed a correct result in complex plane, while $ln|tan x+sec x|+C$ is only valid if we consider the integrand a real function.
$endgroup$
– Kemono Chen
Jan 5 at 7:35