Doubt about splitting a definite trigonometric integral
$begingroup$
I was studying some already solved trigonometric integrals with absolute value.
I do not understand why this integral:
$$int_0^sqrt3|x-1|arctan(x),mathrm dx=int_0^1-(x-1)arctan(x),mathrm dx+int_1^sqrt3(x-1)arctan(x),mathrm dx$$
has to be split in two integrals, where the first one goes from $0$ to $1$. Does it have to be $1$ or can it be any number less than $sqrt3$?
Same things with this other one, why the does the first integral hast to end with $dfracπ2$?
$$int_{-pi/2}^{3pi/2}(x+1)^2|cos x|,mathrm dx=int_{-pi/2}^{pi/2}(x+1)^2|cos x|,mathrm dx-int_{pi/2}^{3pi/2}(x+1)^2|cos x|,mathrm dx.$$
calculus definite-integrals
$endgroup$
add a comment |
$begingroup$
I was studying some already solved trigonometric integrals with absolute value.
I do not understand why this integral:
$$int_0^sqrt3|x-1|arctan(x),mathrm dx=int_0^1-(x-1)arctan(x),mathrm dx+int_1^sqrt3(x-1)arctan(x),mathrm dx$$
has to be split in two integrals, where the first one goes from $0$ to $1$. Does it have to be $1$ or can it be any number less than $sqrt3$?
Same things with this other one, why the does the first integral hast to end with $dfracπ2$?
$$int_{-pi/2}^{3pi/2}(x+1)^2|cos x|,mathrm dx=int_{-pi/2}^{pi/2}(x+1)^2|cos x|,mathrm dx-int_{pi/2}^{3pi/2}(x+1)^2|cos x|,mathrm dx.$$
calculus definite-integrals
$endgroup$
add a comment |
$begingroup$
I was studying some already solved trigonometric integrals with absolute value.
I do not understand why this integral:
$$int_0^sqrt3|x-1|arctan(x),mathrm dx=int_0^1-(x-1)arctan(x),mathrm dx+int_1^sqrt3(x-1)arctan(x),mathrm dx$$
has to be split in two integrals, where the first one goes from $0$ to $1$. Does it have to be $1$ or can it be any number less than $sqrt3$?
Same things with this other one, why the does the first integral hast to end with $dfracπ2$?
$$int_{-pi/2}^{3pi/2}(x+1)^2|cos x|,mathrm dx=int_{-pi/2}^{pi/2}(x+1)^2|cos x|,mathrm dx-int_{pi/2}^{3pi/2}(x+1)^2|cos x|,mathrm dx.$$
calculus definite-integrals
$endgroup$
I was studying some already solved trigonometric integrals with absolute value.
I do not understand why this integral:
$$int_0^sqrt3|x-1|arctan(x),mathrm dx=int_0^1-(x-1)arctan(x),mathrm dx+int_1^sqrt3(x-1)arctan(x),mathrm dx$$
has to be split in two integrals, where the first one goes from $0$ to $1$. Does it have to be $1$ or can it be any number less than $sqrt3$?
Same things with this other one, why the does the first integral hast to end with $dfracπ2$?
$$int_{-pi/2}^{3pi/2}(x+1)^2|cos x|,mathrm dx=int_{-pi/2}^{pi/2}(x+1)^2|cos x|,mathrm dx-int_{pi/2}^{3pi/2}(x+1)^2|cos x|,mathrm dx.$$
calculus definite-integrals
calculus definite-integrals
edited Jan 3 at 12:19
Saad
20.3k92352
20.3k92352
asked Jan 3 at 11:08
El BryanEl Bryan
417
417
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
$begingroup$
The absolute value function $lvert x rvert$ is defined as $$lvert x rvert=begin{cases}
x,&text{if $xgeq 0 $}\
-x,&text{if $xlt 0 $}
end{cases}.$$ As you can see from the definition, the function takes different values(but,always non-negative) on different intervals. So when you calculate $lvert x-1 rvert$, you have to check the intervals.
Note that $$lvert x-1 rvert=begin{cases}
x-1,&text{if $x-1geq 0 $}\
-(x-1),&text{if $x-1lt 0 $}
end{cases}.$$
So your integral
$$int_0^sqrt3 |x-1|operatorname{arctan}(x)mathrm{d}x$$ becomes $$int_0^1 -(x-1)operatorname{arctan}(x)mathrm{d}x + int_1^sqrt3 (x-1)operatorname{arctan}(x)mathrm{d}x$$ because $lvert x-1 rvert=-(x-1)$ on the interval $(-infty,1) $.
The function $lvert cos x rvert$ always gives non-negative values. But
$cos xge0$ for $-dfracpi2le xledfracpi2$
and $cos x<0$ for $dfracpi2lt xltdfrac{3pi}2$.
So we define $$lvert cos x rvert=begin{cases}
cos x,&text{if $-dfracpi2le xledfracpi2$}\
-cos x,&text{if $dfracpi2lt xltdfrac{3pi}2$}
end{cases}.$$
$endgroup$
$begingroup$
How can I check that |cosx| changes on pi/2
$endgroup$
– El Bryan
Jan 3 at 11:29
$begingroup$
@ElBryan Do you know the quadrants on which $cos x $ is negative?
$endgroup$
– Thomas Shelby
Jan 3 at 11:34
$begingroup$
Now I do, but I still can't figure it out how does it work with cosx
$endgroup$
– El Bryan
Jan 3 at 11:37
$begingroup$
@ElBryan Can you recall the identity $cos (pi/2 +x)=-sin x $?
$endgroup$
– Thomas Shelby
Jan 3 at 11:37
1
$begingroup$
Now I get it, thanks a lot
$endgroup$
– El Bryan
Jan 3 at 12:05
|
show 1 more comment
$begingroup$
The function $|x-1|$ is equal to $-(x-1)$ on $(-infty, 1]$ and is equal to $x-1$ on $[1,infty)$. So you split the integral at $1$ because that way, the two remaining integrals do not have an absolute value you would otherwise need to deal with. The split must be at $1$, otherwise you do not lose the absolute values.
The same reason goes for the second integral you list: you split the integral there because that's where the function under the absolute value changes its sign.
$endgroup$
add a comment |
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%2f3060459%2fdoubt-about-splitting-a-definite-trigonometric-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$
The absolute value function $lvert x rvert$ is defined as $$lvert x rvert=begin{cases}
x,&text{if $xgeq 0 $}\
-x,&text{if $xlt 0 $}
end{cases}.$$ As you can see from the definition, the function takes different values(but,always non-negative) on different intervals. So when you calculate $lvert x-1 rvert$, you have to check the intervals.
Note that $$lvert x-1 rvert=begin{cases}
x-1,&text{if $x-1geq 0 $}\
-(x-1),&text{if $x-1lt 0 $}
end{cases}.$$
So your integral
$$int_0^sqrt3 |x-1|operatorname{arctan}(x)mathrm{d}x$$ becomes $$int_0^1 -(x-1)operatorname{arctan}(x)mathrm{d}x + int_1^sqrt3 (x-1)operatorname{arctan}(x)mathrm{d}x$$ because $lvert x-1 rvert=-(x-1)$ on the interval $(-infty,1) $.
The function $lvert cos x rvert$ always gives non-negative values. But
$cos xge0$ for $-dfracpi2le xledfracpi2$
and $cos x<0$ for $dfracpi2lt xltdfrac{3pi}2$.
So we define $$lvert cos x rvert=begin{cases}
cos x,&text{if $-dfracpi2le xledfracpi2$}\
-cos x,&text{if $dfracpi2lt xltdfrac{3pi}2$}
end{cases}.$$
$endgroup$
$begingroup$
How can I check that |cosx| changes on pi/2
$endgroup$
– El Bryan
Jan 3 at 11:29
$begingroup$
@ElBryan Do you know the quadrants on which $cos x $ is negative?
$endgroup$
– Thomas Shelby
Jan 3 at 11:34
$begingroup$
Now I do, but I still can't figure it out how does it work with cosx
$endgroup$
– El Bryan
Jan 3 at 11:37
$begingroup$
@ElBryan Can you recall the identity $cos (pi/2 +x)=-sin x $?
$endgroup$
– Thomas Shelby
Jan 3 at 11:37
1
$begingroup$
Now I get it, thanks a lot
$endgroup$
– El Bryan
Jan 3 at 12:05
|
show 1 more comment
$begingroup$
The absolute value function $lvert x rvert$ is defined as $$lvert x rvert=begin{cases}
x,&text{if $xgeq 0 $}\
-x,&text{if $xlt 0 $}
end{cases}.$$ As you can see from the definition, the function takes different values(but,always non-negative) on different intervals. So when you calculate $lvert x-1 rvert$, you have to check the intervals.
Note that $$lvert x-1 rvert=begin{cases}
x-1,&text{if $x-1geq 0 $}\
-(x-1),&text{if $x-1lt 0 $}
end{cases}.$$
So your integral
$$int_0^sqrt3 |x-1|operatorname{arctan}(x)mathrm{d}x$$ becomes $$int_0^1 -(x-1)operatorname{arctan}(x)mathrm{d}x + int_1^sqrt3 (x-1)operatorname{arctan}(x)mathrm{d}x$$ because $lvert x-1 rvert=-(x-1)$ on the interval $(-infty,1) $.
The function $lvert cos x rvert$ always gives non-negative values. But
$cos xge0$ for $-dfracpi2le xledfracpi2$
and $cos x<0$ for $dfracpi2lt xltdfrac{3pi}2$.
So we define $$lvert cos x rvert=begin{cases}
cos x,&text{if $-dfracpi2le xledfracpi2$}\
-cos x,&text{if $dfracpi2lt xltdfrac{3pi}2$}
end{cases}.$$
$endgroup$
$begingroup$
How can I check that |cosx| changes on pi/2
$endgroup$
– El Bryan
Jan 3 at 11:29
$begingroup$
@ElBryan Do you know the quadrants on which $cos x $ is negative?
$endgroup$
– Thomas Shelby
Jan 3 at 11:34
$begingroup$
Now I do, but I still can't figure it out how does it work with cosx
$endgroup$
– El Bryan
Jan 3 at 11:37
$begingroup$
@ElBryan Can you recall the identity $cos (pi/2 +x)=-sin x $?
$endgroup$
– Thomas Shelby
Jan 3 at 11:37
1
$begingroup$
Now I get it, thanks a lot
$endgroup$
– El Bryan
Jan 3 at 12:05
|
show 1 more comment
$begingroup$
The absolute value function $lvert x rvert$ is defined as $$lvert x rvert=begin{cases}
x,&text{if $xgeq 0 $}\
-x,&text{if $xlt 0 $}
end{cases}.$$ As you can see from the definition, the function takes different values(but,always non-negative) on different intervals. So when you calculate $lvert x-1 rvert$, you have to check the intervals.
Note that $$lvert x-1 rvert=begin{cases}
x-1,&text{if $x-1geq 0 $}\
-(x-1),&text{if $x-1lt 0 $}
end{cases}.$$
So your integral
$$int_0^sqrt3 |x-1|operatorname{arctan}(x)mathrm{d}x$$ becomes $$int_0^1 -(x-1)operatorname{arctan}(x)mathrm{d}x + int_1^sqrt3 (x-1)operatorname{arctan}(x)mathrm{d}x$$ because $lvert x-1 rvert=-(x-1)$ on the interval $(-infty,1) $.
The function $lvert cos x rvert$ always gives non-negative values. But
$cos xge0$ for $-dfracpi2le xledfracpi2$
and $cos x<0$ for $dfracpi2lt xltdfrac{3pi}2$.
So we define $$lvert cos x rvert=begin{cases}
cos x,&text{if $-dfracpi2le xledfracpi2$}\
-cos x,&text{if $dfracpi2lt xltdfrac{3pi}2$}
end{cases}.$$
$endgroup$
The absolute value function $lvert x rvert$ is defined as $$lvert x rvert=begin{cases}
x,&text{if $xgeq 0 $}\
-x,&text{if $xlt 0 $}
end{cases}.$$ As you can see from the definition, the function takes different values(but,always non-negative) on different intervals. So when you calculate $lvert x-1 rvert$, you have to check the intervals.
Note that $$lvert x-1 rvert=begin{cases}
x-1,&text{if $x-1geq 0 $}\
-(x-1),&text{if $x-1lt 0 $}
end{cases}.$$
So your integral
$$int_0^sqrt3 |x-1|operatorname{arctan}(x)mathrm{d}x$$ becomes $$int_0^1 -(x-1)operatorname{arctan}(x)mathrm{d}x + int_1^sqrt3 (x-1)operatorname{arctan}(x)mathrm{d}x$$ because $lvert x-1 rvert=-(x-1)$ on the interval $(-infty,1) $.
The function $lvert cos x rvert$ always gives non-negative values. But
$cos xge0$ for $-dfracpi2le xledfracpi2$
and $cos x<0$ for $dfracpi2lt xltdfrac{3pi}2$.
So we define $$lvert cos x rvert=begin{cases}
cos x,&text{if $-dfracpi2le xledfracpi2$}\
-cos x,&text{if $dfracpi2lt xltdfrac{3pi}2$}
end{cases}.$$
edited Jan 3 at 12:47
answered Jan 3 at 11:25
Thomas ShelbyThomas Shelby
4,6012727
4,6012727
$begingroup$
How can I check that |cosx| changes on pi/2
$endgroup$
– El Bryan
Jan 3 at 11:29
$begingroup$
@ElBryan Do you know the quadrants on which $cos x $ is negative?
$endgroup$
– Thomas Shelby
Jan 3 at 11:34
$begingroup$
Now I do, but I still can't figure it out how does it work with cosx
$endgroup$
– El Bryan
Jan 3 at 11:37
$begingroup$
@ElBryan Can you recall the identity $cos (pi/2 +x)=-sin x $?
$endgroup$
– Thomas Shelby
Jan 3 at 11:37
1
$begingroup$
Now I get it, thanks a lot
$endgroup$
– El Bryan
Jan 3 at 12:05
|
show 1 more comment
$begingroup$
How can I check that |cosx| changes on pi/2
$endgroup$
– El Bryan
Jan 3 at 11:29
$begingroup$
@ElBryan Do you know the quadrants on which $cos x $ is negative?
$endgroup$
– Thomas Shelby
Jan 3 at 11:34
$begingroup$
Now I do, but I still can't figure it out how does it work with cosx
$endgroup$
– El Bryan
Jan 3 at 11:37
$begingroup$
@ElBryan Can you recall the identity $cos (pi/2 +x)=-sin x $?
$endgroup$
– Thomas Shelby
Jan 3 at 11:37
1
$begingroup$
Now I get it, thanks a lot
$endgroup$
– El Bryan
Jan 3 at 12:05
$begingroup$
How can I check that |cosx| changes on pi/2
$endgroup$
– El Bryan
Jan 3 at 11:29
$begingroup$
How can I check that |cosx| changes on pi/2
$endgroup$
– El Bryan
Jan 3 at 11:29
$begingroup$
@ElBryan Do you know the quadrants on which $cos x $ is negative?
$endgroup$
– Thomas Shelby
Jan 3 at 11:34
$begingroup$
@ElBryan Do you know the quadrants on which $cos x $ is negative?
$endgroup$
– Thomas Shelby
Jan 3 at 11:34
$begingroup$
Now I do, but I still can't figure it out how does it work with cosx
$endgroup$
– El Bryan
Jan 3 at 11:37
$begingroup$
Now I do, but I still can't figure it out how does it work with cosx
$endgroup$
– El Bryan
Jan 3 at 11:37
$begingroup$
@ElBryan Can you recall the identity $cos (pi/2 +x)=-sin x $?
$endgroup$
– Thomas Shelby
Jan 3 at 11:37
$begingroup$
@ElBryan Can you recall the identity $cos (pi/2 +x)=-sin x $?
$endgroup$
– Thomas Shelby
Jan 3 at 11:37
1
1
$begingroup$
Now I get it, thanks a lot
$endgroup$
– El Bryan
Jan 3 at 12:05
$begingroup$
Now I get it, thanks a lot
$endgroup$
– El Bryan
Jan 3 at 12:05
|
show 1 more comment
$begingroup$
The function $|x-1|$ is equal to $-(x-1)$ on $(-infty, 1]$ and is equal to $x-1$ on $[1,infty)$. So you split the integral at $1$ because that way, the two remaining integrals do not have an absolute value you would otherwise need to deal with. The split must be at $1$, otherwise you do not lose the absolute values.
The same reason goes for the second integral you list: you split the integral there because that's where the function under the absolute value changes its sign.
$endgroup$
add a comment |
$begingroup$
The function $|x-1|$ is equal to $-(x-1)$ on $(-infty, 1]$ and is equal to $x-1$ on $[1,infty)$. So you split the integral at $1$ because that way, the two remaining integrals do not have an absolute value you would otherwise need to deal with. The split must be at $1$, otherwise you do not lose the absolute values.
The same reason goes for the second integral you list: you split the integral there because that's where the function under the absolute value changes its sign.
$endgroup$
add a comment |
$begingroup$
The function $|x-1|$ is equal to $-(x-1)$ on $(-infty, 1]$ and is equal to $x-1$ on $[1,infty)$. So you split the integral at $1$ because that way, the two remaining integrals do not have an absolute value you would otherwise need to deal with. The split must be at $1$, otherwise you do not lose the absolute values.
The same reason goes for the second integral you list: you split the integral there because that's where the function under the absolute value changes its sign.
$endgroup$
The function $|x-1|$ is equal to $-(x-1)$ on $(-infty, 1]$ and is equal to $x-1$ on $[1,infty)$. So you split the integral at $1$ because that way, the two remaining integrals do not have an absolute value you would otherwise need to deal with. The split must be at $1$, otherwise you do not lose the absolute values.
The same reason goes for the second integral you list: you split the integral there because that's where the function under the absolute value changes its sign.
answered Jan 3 at 11:13
5xum5xum
91.8k394161
91.8k394161
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%2f3060459%2fdoubt-about-splitting-a-definite-trigonometric-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