How do I integrate the discontinuous function $f$?












0














Let $f(x) = x$ for $0 le x le 1$, $x-1$ for $1 < x le 2$, $0$ for $2<x le 3$.



I ended up writing the double integral as $iint_{D_3 cup D_4} f = int_0^2 dx int_0^1 2x dy = 2 int_0^1 dx int_0^1 x dy$. For $2 int_0^1 dx int_0^1 x dy$, it feels like I'm adding the triangle defined on $0 le x le 1$ twice. I wanted to know how I'm able to do this for this specific function since $f(x)$ is not continuous. If $g$ is continuous on an interval, then $g$ has an antiderivative on $I$. But since the converse doesn't always hold true, it would be nice if someone could explain how we're able to integrate the triangle defined on $1<xle2$, since this second triangle doesn't have a point defined on $x=1$, for this discontinuous function $f$.










share|cite|improve this question






















  • $f$ is a function of a single variable. Why are you using a double integral?
    – helper
    Nov 29 '18 at 3:59










  • I saw an example in my textbook, and decided to separate the region $D$ into two triangles $D_3$ and $D_4$, and integrate over the region $D_3 cup D_4$, since triangle $D_4$ is not defined at $x=1$.
    – K.M
    Nov 29 '18 at 4:06






  • 1




    Not sure if what is bothering you is the fact that the second interval $(1,2]$ is not closed. Integration over a not closed interval has been discussed e.g. here: math.stackexchange.com/questions/56270/…
    – mlerma54
    Nov 29 '18 at 4:11












  • yes, that's what was bothering me. I also was wondering if the initial integral I did with the two variables is incorrect, or is it just superfluous given that we're considering $x$ in the interval $(0,3)$?
    – K.M
    Nov 29 '18 at 4:20


















0














Let $f(x) = x$ for $0 le x le 1$, $x-1$ for $1 < x le 2$, $0$ for $2<x le 3$.



I ended up writing the double integral as $iint_{D_3 cup D_4} f = int_0^2 dx int_0^1 2x dy = 2 int_0^1 dx int_0^1 x dy$. For $2 int_0^1 dx int_0^1 x dy$, it feels like I'm adding the triangle defined on $0 le x le 1$ twice. I wanted to know how I'm able to do this for this specific function since $f(x)$ is not continuous. If $g$ is continuous on an interval, then $g$ has an antiderivative on $I$. But since the converse doesn't always hold true, it would be nice if someone could explain how we're able to integrate the triangle defined on $1<xle2$, since this second triangle doesn't have a point defined on $x=1$, for this discontinuous function $f$.










share|cite|improve this question






















  • $f$ is a function of a single variable. Why are you using a double integral?
    – helper
    Nov 29 '18 at 3:59










  • I saw an example in my textbook, and decided to separate the region $D$ into two triangles $D_3$ and $D_4$, and integrate over the region $D_3 cup D_4$, since triangle $D_4$ is not defined at $x=1$.
    – K.M
    Nov 29 '18 at 4:06






  • 1




    Not sure if what is bothering you is the fact that the second interval $(1,2]$ is not closed. Integration over a not closed interval has been discussed e.g. here: math.stackexchange.com/questions/56270/…
    – mlerma54
    Nov 29 '18 at 4:11












  • yes, that's what was bothering me. I also was wondering if the initial integral I did with the two variables is incorrect, or is it just superfluous given that we're considering $x$ in the interval $(0,3)$?
    – K.M
    Nov 29 '18 at 4:20
















0












0








0







Let $f(x) = x$ for $0 le x le 1$, $x-1$ for $1 < x le 2$, $0$ for $2<x le 3$.



I ended up writing the double integral as $iint_{D_3 cup D_4} f = int_0^2 dx int_0^1 2x dy = 2 int_0^1 dx int_0^1 x dy$. For $2 int_0^1 dx int_0^1 x dy$, it feels like I'm adding the triangle defined on $0 le x le 1$ twice. I wanted to know how I'm able to do this for this specific function since $f(x)$ is not continuous. If $g$ is continuous on an interval, then $g$ has an antiderivative on $I$. But since the converse doesn't always hold true, it would be nice if someone could explain how we're able to integrate the triangle defined on $1<xle2$, since this second triangle doesn't have a point defined on $x=1$, for this discontinuous function $f$.










share|cite|improve this question













Let $f(x) = x$ for $0 le x le 1$, $x-1$ for $1 < x le 2$, $0$ for $2<x le 3$.



I ended up writing the double integral as $iint_{D_3 cup D_4} f = int_0^2 dx int_0^1 2x dy = 2 int_0^1 dx int_0^1 x dy$. For $2 int_0^1 dx int_0^1 x dy$, it feels like I'm adding the triangle defined on $0 le x le 1$ twice. I wanted to know how I'm able to do this for this specific function since $f(x)$ is not continuous. If $g$ is continuous on an interval, then $g$ has an antiderivative on $I$. But since the converse doesn't always hold true, it would be nice if someone could explain how we're able to integrate the triangle defined on $1<xle2$, since this second triangle doesn't have a point defined on $x=1$, for this discontinuous function $f$.







calculus real-analysis multivariable-calculus






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Nov 29 '18 at 3:28









K.M

686312




686312












  • $f$ is a function of a single variable. Why are you using a double integral?
    – helper
    Nov 29 '18 at 3:59










  • I saw an example in my textbook, and decided to separate the region $D$ into two triangles $D_3$ and $D_4$, and integrate over the region $D_3 cup D_4$, since triangle $D_4$ is not defined at $x=1$.
    – K.M
    Nov 29 '18 at 4:06






  • 1




    Not sure if what is bothering you is the fact that the second interval $(1,2]$ is not closed. Integration over a not closed interval has been discussed e.g. here: math.stackexchange.com/questions/56270/…
    – mlerma54
    Nov 29 '18 at 4:11












  • yes, that's what was bothering me. I also was wondering if the initial integral I did with the two variables is incorrect, or is it just superfluous given that we're considering $x$ in the interval $(0,3)$?
    – K.M
    Nov 29 '18 at 4:20




















  • $f$ is a function of a single variable. Why are you using a double integral?
    – helper
    Nov 29 '18 at 3:59










  • I saw an example in my textbook, and decided to separate the region $D$ into two triangles $D_3$ and $D_4$, and integrate over the region $D_3 cup D_4$, since triangle $D_4$ is not defined at $x=1$.
    – K.M
    Nov 29 '18 at 4:06






  • 1




    Not sure if what is bothering you is the fact that the second interval $(1,2]$ is not closed. Integration over a not closed interval has been discussed e.g. here: math.stackexchange.com/questions/56270/…
    – mlerma54
    Nov 29 '18 at 4:11












  • yes, that's what was bothering me. I also was wondering if the initial integral I did with the two variables is incorrect, or is it just superfluous given that we're considering $x$ in the interval $(0,3)$?
    – K.M
    Nov 29 '18 at 4:20


















$f$ is a function of a single variable. Why are you using a double integral?
– helper
Nov 29 '18 at 3:59




$f$ is a function of a single variable. Why are you using a double integral?
– helper
Nov 29 '18 at 3:59












I saw an example in my textbook, and decided to separate the region $D$ into two triangles $D_3$ and $D_4$, and integrate over the region $D_3 cup D_4$, since triangle $D_4$ is not defined at $x=1$.
– K.M
Nov 29 '18 at 4:06




I saw an example in my textbook, and decided to separate the region $D$ into two triangles $D_3$ and $D_4$, and integrate over the region $D_3 cup D_4$, since triangle $D_4$ is not defined at $x=1$.
– K.M
Nov 29 '18 at 4:06




1




1




Not sure if what is bothering you is the fact that the second interval $(1,2]$ is not closed. Integration over a not closed interval has been discussed e.g. here: math.stackexchange.com/questions/56270/…
– mlerma54
Nov 29 '18 at 4:11






Not sure if what is bothering you is the fact that the second interval $(1,2]$ is not closed. Integration over a not closed interval has been discussed e.g. here: math.stackexchange.com/questions/56270/…
– mlerma54
Nov 29 '18 at 4:11














yes, that's what was bothering me. I also was wondering if the initial integral I did with the two variables is incorrect, or is it just superfluous given that we're considering $x$ in the interval $(0,3)$?
– K.M
Nov 29 '18 at 4:20






yes, that's what was bothering me. I also was wondering if the initial integral I did with the two variables is incorrect, or is it just superfluous given that we're considering $x$ in the interval $(0,3)$?
– K.M
Nov 29 '18 at 4:20












1 Answer
1






active

oldest

votes


















2














$int_0^1 x.dx + int_1^2 (x - 1).dx + int_2^3 0.dx$






share|cite|improve this answer





















  • I thought about doing that at first, but for $int_1^2 (x-1) dx$ we have that the function $x-1$ is not defined at $1$, so I'm don't know why I'm still able to integrate $int_1^2 (x-1) dx$.
    – K.M
    Nov 29 '18 at 4:10













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%2f3018120%2fhow-do-i-integrate-the-discontinuous-function-f%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









2














$int_0^1 x.dx + int_1^2 (x - 1).dx + int_2^3 0.dx$






share|cite|improve this answer





















  • I thought about doing that at first, but for $int_1^2 (x-1) dx$ we have that the function $x-1$ is not defined at $1$, so I'm don't know why I'm still able to integrate $int_1^2 (x-1) dx$.
    – K.M
    Nov 29 '18 at 4:10


















2














$int_0^1 x.dx + int_1^2 (x - 1).dx + int_2^3 0.dx$






share|cite|improve this answer





















  • I thought about doing that at first, but for $int_1^2 (x-1) dx$ we have that the function $x-1$ is not defined at $1$, so I'm don't know why I'm still able to integrate $int_1^2 (x-1) dx$.
    – K.M
    Nov 29 '18 at 4:10
















2












2








2






$int_0^1 x.dx + int_1^2 (x - 1).dx + int_2^3 0.dx$






share|cite|improve this answer












$int_0^1 x.dx + int_1^2 (x - 1).dx + int_2^3 0.dx$







share|cite|improve this answer












share|cite|improve this answer



share|cite|improve this answer










answered Nov 29 '18 at 4:05









William Elliot

7,3212620




7,3212620












  • I thought about doing that at first, but for $int_1^2 (x-1) dx$ we have that the function $x-1$ is not defined at $1$, so I'm don't know why I'm still able to integrate $int_1^2 (x-1) dx$.
    – K.M
    Nov 29 '18 at 4:10




















  • I thought about doing that at first, but for $int_1^2 (x-1) dx$ we have that the function $x-1$ is not defined at $1$, so I'm don't know why I'm still able to integrate $int_1^2 (x-1) dx$.
    – K.M
    Nov 29 '18 at 4:10


















I thought about doing that at first, but for $int_1^2 (x-1) dx$ we have that the function $x-1$ is not defined at $1$, so I'm don't know why I'm still able to integrate $int_1^2 (x-1) dx$.
– K.M
Nov 29 '18 at 4:10






I thought about doing that at first, but for $int_1^2 (x-1) dx$ we have that the function $x-1$ is not defined at $1$, so I'm don't know why I'm still able to integrate $int_1^2 (x-1) dx$.
– K.M
Nov 29 '18 at 4:10




















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%2f3018120%2fhow-do-i-integrate-the-discontinuous-function-f%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