Calculus with indefinite integral
$begingroup$
Any other solutions(advice) are welcome
calculus
$endgroup$
add a comment |
$begingroup$
Any other solutions(advice) are welcome
calculus
$endgroup$
1
$begingroup$
It is not necessary to demand $cos xneq0$ apartly. The presence of term $tan x$ in the expression already indicates that.
$endgroup$
– drhab
Jan 23 at 9:52
add a comment |
$begingroup$
Any other solutions(advice) are welcome
calculus
$endgroup$
Any other solutions(advice) are welcome
calculus
calculus
edited Jan 23 at 14:23
mina_world
asked Jan 23 at 9:43
mina_worldmina_world
1799
1799
1
$begingroup$
It is not necessary to demand $cos xneq0$ apartly. The presence of term $tan x$ in the expression already indicates that.
$endgroup$
– drhab
Jan 23 at 9:52
add a comment |
1
$begingroup$
It is not necessary to demand $cos xneq0$ apartly. The presence of term $tan x$ in the expression already indicates that.
$endgroup$
– drhab
Jan 23 at 9:52
1
1
$begingroup$
It is not necessary to demand $cos xneq0$ apartly. The presence of term $tan x$ in the expression already indicates that.
$endgroup$
– drhab
Jan 23 at 9:52
$begingroup$
It is not necessary to demand $cos xneq0$ apartly. The presence of term $tan x$ in the expression already indicates that.
$endgroup$
– drhab
Jan 23 at 9:52
add a comment |
2 Answers
2
active
oldest
votes
$begingroup$
First of all, there is a mistake in the computation from the second to the third line. The correct answer therefore should be $sec(x) + tan(x) - x$.
Usually in these exercises, it is generally understood that the antiderivative (or the derivative for that matter) is only to be taken where it makes sense. However, you have a point here in the sense that the solution $sec(x) + tan(x) - x$ is incomplete. In fact, the antiderivative of $frac{sin(x)}{1-sin(x)}$ is perfectly well defined in $sin(x) = -1$. Therefore a complete solution would be $$begin{cases} sec(x) + tan(x) - x & text{for } sin(x) notin{pm 1} \ frac{pi}{2} & text{for } sin(x) = -1end{cases}$$
and of course undefined for $sin(x) = 1$. The case $sin(x) = -1$ is just an artefact of the computation method.
$endgroup$
$begingroup$
Yes, I corrected the wrong part you said. Thank you.
$endgroup$
– mina_world
Jan 23 at 11:04
add a comment |
$begingroup$
When you dual with indefinite integral, you always assume implicitly that the function is on a valid interval. For example, in this question, you may assume the function is on $(frac{-3pi}{2},frac{pi}{2})$.
Your arguments about the condition $Sin(x)neq-1$ is correct, the final result obviously does not hold for $Sin(x)=-1$. You can get the complete solution as in Klaus answer. Here I give another solution which can avoid this situation:
begin{align}
int frac{sin(x)}{1-sin(x)}dx
&=int (-1+frac{1}{1-sin(x)})dx \
&=-x+int frac{1}{1-2 sin(frac{x}{2})cos(frac{x}{2})}dx \
&=-x+int frac{1}{(sin(frac{x}{2})-cos(frac{x}{2}))^2}dx \
&=-x+int frac{1}{2 sin^2(frac{x}{2}-frac{pi}{4})}dx \
&=-x- cot(frac{x}{2}-frac{pi}{4})+C
end{align}
Auxiliary angle formula $asin(x)+bcos(x)=sin(x+arctan(frac{b}{a}))$ has been used in second last line
$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
});
}
});
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%2f3084272%2fcalculus-with-indefinite-integral%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
$begingroup$
First of all, there is a mistake in the computation from the second to the third line. The correct answer therefore should be $sec(x) + tan(x) - x$.
Usually in these exercises, it is generally understood that the antiderivative (or the derivative for that matter) is only to be taken where it makes sense. However, you have a point here in the sense that the solution $sec(x) + tan(x) - x$ is incomplete. In fact, the antiderivative of $frac{sin(x)}{1-sin(x)}$ is perfectly well defined in $sin(x) = -1$. Therefore a complete solution would be $$begin{cases} sec(x) + tan(x) - x & text{for } sin(x) notin{pm 1} \ frac{pi}{2} & text{for } sin(x) = -1end{cases}$$
and of course undefined for $sin(x) = 1$. The case $sin(x) = -1$ is just an artefact of the computation method.
$endgroup$
$begingroup$
Yes, I corrected the wrong part you said. Thank you.
$endgroup$
– mina_world
Jan 23 at 11:04
add a comment |
$begingroup$
First of all, there is a mistake in the computation from the second to the third line. The correct answer therefore should be $sec(x) + tan(x) - x$.
Usually in these exercises, it is generally understood that the antiderivative (or the derivative for that matter) is only to be taken where it makes sense. However, you have a point here in the sense that the solution $sec(x) + tan(x) - x$ is incomplete. In fact, the antiderivative of $frac{sin(x)}{1-sin(x)}$ is perfectly well defined in $sin(x) = -1$. Therefore a complete solution would be $$begin{cases} sec(x) + tan(x) - x & text{for } sin(x) notin{pm 1} \ frac{pi}{2} & text{for } sin(x) = -1end{cases}$$
and of course undefined for $sin(x) = 1$. The case $sin(x) = -1$ is just an artefact of the computation method.
$endgroup$
$begingroup$
Yes, I corrected the wrong part you said. Thank you.
$endgroup$
– mina_world
Jan 23 at 11:04
add a comment |
$begingroup$
First of all, there is a mistake in the computation from the second to the third line. The correct answer therefore should be $sec(x) + tan(x) - x$.
Usually in these exercises, it is generally understood that the antiderivative (or the derivative for that matter) is only to be taken where it makes sense. However, you have a point here in the sense that the solution $sec(x) + tan(x) - x$ is incomplete. In fact, the antiderivative of $frac{sin(x)}{1-sin(x)}$ is perfectly well defined in $sin(x) = -1$. Therefore a complete solution would be $$begin{cases} sec(x) + tan(x) - x & text{for } sin(x) notin{pm 1} \ frac{pi}{2} & text{for } sin(x) = -1end{cases}$$
and of course undefined for $sin(x) = 1$. The case $sin(x) = -1$ is just an artefact of the computation method.
$endgroup$
First of all, there is a mistake in the computation from the second to the third line. The correct answer therefore should be $sec(x) + tan(x) - x$.
Usually in these exercises, it is generally understood that the antiderivative (or the derivative for that matter) is only to be taken where it makes sense. However, you have a point here in the sense that the solution $sec(x) + tan(x) - x$ is incomplete. In fact, the antiderivative of $frac{sin(x)}{1-sin(x)}$ is perfectly well defined in $sin(x) = -1$. Therefore a complete solution would be $$begin{cases} sec(x) + tan(x) - x & text{for } sin(x) notin{pm 1} \ frac{pi}{2} & text{for } sin(x) = -1end{cases}$$
and of course undefined for $sin(x) = 1$. The case $sin(x) = -1$ is just an artefact of the computation method.
answered Jan 23 at 10:42
KlausKlaus
2,30712
2,30712
$begingroup$
Yes, I corrected the wrong part you said. Thank you.
$endgroup$
– mina_world
Jan 23 at 11:04
add a comment |
$begingroup$
Yes, I corrected the wrong part you said. Thank you.
$endgroup$
– mina_world
Jan 23 at 11:04
$begingroup$
Yes, I corrected the wrong part you said. Thank you.
$endgroup$
– mina_world
Jan 23 at 11:04
$begingroup$
Yes, I corrected the wrong part you said. Thank you.
$endgroup$
– mina_world
Jan 23 at 11:04
add a comment |
$begingroup$
When you dual with indefinite integral, you always assume implicitly that the function is on a valid interval. For example, in this question, you may assume the function is on $(frac{-3pi}{2},frac{pi}{2})$.
Your arguments about the condition $Sin(x)neq-1$ is correct, the final result obviously does not hold for $Sin(x)=-1$. You can get the complete solution as in Klaus answer. Here I give another solution which can avoid this situation:
begin{align}
int frac{sin(x)}{1-sin(x)}dx
&=int (-1+frac{1}{1-sin(x)})dx \
&=-x+int frac{1}{1-2 sin(frac{x}{2})cos(frac{x}{2})}dx \
&=-x+int frac{1}{(sin(frac{x}{2})-cos(frac{x}{2}))^2}dx \
&=-x+int frac{1}{2 sin^2(frac{x}{2}-frac{pi}{4})}dx \
&=-x- cot(frac{x}{2}-frac{pi}{4})+C
end{align}
Auxiliary angle formula $asin(x)+bcos(x)=sin(x+arctan(frac{b}{a}))$ has been used in second last line
$endgroup$
add a comment |
$begingroup$
When you dual with indefinite integral, you always assume implicitly that the function is on a valid interval. For example, in this question, you may assume the function is on $(frac{-3pi}{2},frac{pi}{2})$.
Your arguments about the condition $Sin(x)neq-1$ is correct, the final result obviously does not hold for $Sin(x)=-1$. You can get the complete solution as in Klaus answer. Here I give another solution which can avoid this situation:
begin{align}
int frac{sin(x)}{1-sin(x)}dx
&=int (-1+frac{1}{1-sin(x)})dx \
&=-x+int frac{1}{1-2 sin(frac{x}{2})cos(frac{x}{2})}dx \
&=-x+int frac{1}{(sin(frac{x}{2})-cos(frac{x}{2}))^2}dx \
&=-x+int frac{1}{2 sin^2(frac{x}{2}-frac{pi}{4})}dx \
&=-x- cot(frac{x}{2}-frac{pi}{4})+C
end{align}
Auxiliary angle formula $asin(x)+bcos(x)=sin(x+arctan(frac{b}{a}))$ has been used in second last line
$endgroup$
add a comment |
$begingroup$
When you dual with indefinite integral, you always assume implicitly that the function is on a valid interval. For example, in this question, you may assume the function is on $(frac{-3pi}{2},frac{pi}{2})$.
Your arguments about the condition $Sin(x)neq-1$ is correct, the final result obviously does not hold for $Sin(x)=-1$. You can get the complete solution as in Klaus answer. Here I give another solution which can avoid this situation:
begin{align}
int frac{sin(x)}{1-sin(x)}dx
&=int (-1+frac{1}{1-sin(x)})dx \
&=-x+int frac{1}{1-2 sin(frac{x}{2})cos(frac{x}{2})}dx \
&=-x+int frac{1}{(sin(frac{x}{2})-cos(frac{x}{2}))^2}dx \
&=-x+int frac{1}{2 sin^2(frac{x}{2}-frac{pi}{4})}dx \
&=-x- cot(frac{x}{2}-frac{pi}{4})+C
end{align}
Auxiliary angle formula $asin(x)+bcos(x)=sin(x+arctan(frac{b}{a}))$ has been used in second last line
$endgroup$
When you dual with indefinite integral, you always assume implicitly that the function is on a valid interval. For example, in this question, you may assume the function is on $(frac{-3pi}{2},frac{pi}{2})$.
Your arguments about the condition $Sin(x)neq-1$ is correct, the final result obviously does not hold for $Sin(x)=-1$. You can get the complete solution as in Klaus answer. Here I give another solution which can avoid this situation:
begin{align}
int frac{sin(x)}{1-sin(x)}dx
&=int (-1+frac{1}{1-sin(x)})dx \
&=-x+int frac{1}{1-2 sin(frac{x}{2})cos(frac{x}{2})}dx \
&=-x+int frac{1}{(sin(frac{x}{2})-cos(frac{x}{2}))^2}dx \
&=-x+int frac{1}{2 sin^2(frac{x}{2}-frac{pi}{4})}dx \
&=-x- cot(frac{x}{2}-frac{pi}{4})+C
end{align}
Auxiliary angle formula $asin(x)+bcos(x)=sin(x+arctan(frac{b}{a}))$ has been used in second last line
edited Jan 23 at 13:28
answered Jan 23 at 13:10


DragunityMAXDragunityMAX
1618
1618
add a comment |
add a comment |
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%2f3084272%2fcalculus-with-indefinite-integral%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
1
$begingroup$
It is not necessary to demand $cos xneq0$ apartly. The presence of term $tan x$ in the expression already indicates that.
$endgroup$
– drhab
Jan 23 at 9:52