Integrating positive function on interval from -1 to 1 but result is negative












2












$begingroup$


I have the following function:



$$int_{-1}^1 frac1 {x^4} dx$$



and my result seems to be:



$$frac {-2}3$$



Why is my result negative? My function is always positive, does it have to do with the fact that since the interval extends from -1 to 1 but the function doesn't go there that it somehow drastically affects the total integral?










share|cite|improve this question









$endgroup$












  • $begingroup$
    Welcome to MSE. Note that $frac{1}{x^4}$ is not defined at $x = 0$. Edit: On rereading your question, I believe you already knew this with your statement "the function doesn't go there".
    $endgroup$
    – John Omielan
    Jan 18 at 4:29












  • $begingroup$
    The integrand is not defined at zero.
    $endgroup$
    – астон вілла олоф мэллбэрг
    Jan 18 at 4:30










  • $begingroup$
    There is a fatal discontinuity at $0$, so the FTC doesn't apply.
    $endgroup$
    – Randall
    Jan 18 at 4:35


















2












$begingroup$


I have the following function:



$$int_{-1}^1 frac1 {x^4} dx$$



and my result seems to be:



$$frac {-2}3$$



Why is my result negative? My function is always positive, does it have to do with the fact that since the interval extends from -1 to 1 but the function doesn't go there that it somehow drastically affects the total integral?










share|cite|improve this question









$endgroup$












  • $begingroup$
    Welcome to MSE. Note that $frac{1}{x^4}$ is not defined at $x = 0$. Edit: On rereading your question, I believe you already knew this with your statement "the function doesn't go there".
    $endgroup$
    – John Omielan
    Jan 18 at 4:29












  • $begingroup$
    The integrand is not defined at zero.
    $endgroup$
    – астон вілла олоф мэллбэрг
    Jan 18 at 4:30










  • $begingroup$
    There is a fatal discontinuity at $0$, so the FTC doesn't apply.
    $endgroup$
    – Randall
    Jan 18 at 4:35
















2












2








2





$begingroup$


I have the following function:



$$int_{-1}^1 frac1 {x^4} dx$$



and my result seems to be:



$$frac {-2}3$$



Why is my result negative? My function is always positive, does it have to do with the fact that since the interval extends from -1 to 1 but the function doesn't go there that it somehow drastically affects the total integral?










share|cite|improve this question









$endgroup$




I have the following function:



$$int_{-1}^1 frac1 {x^4} dx$$



and my result seems to be:



$$frac {-2}3$$



Why is my result negative? My function is always positive, does it have to do with the fact that since the interval extends from -1 to 1 but the function doesn't go there that it somehow drastically affects the total integral?







calculus integration






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Jan 18 at 4:27









Emma PascoeEmma Pascoe

161




161












  • $begingroup$
    Welcome to MSE. Note that $frac{1}{x^4}$ is not defined at $x = 0$. Edit: On rereading your question, I believe you already knew this with your statement "the function doesn't go there".
    $endgroup$
    – John Omielan
    Jan 18 at 4:29












  • $begingroup$
    The integrand is not defined at zero.
    $endgroup$
    – астон вілла олоф мэллбэрг
    Jan 18 at 4:30










  • $begingroup$
    There is a fatal discontinuity at $0$, so the FTC doesn't apply.
    $endgroup$
    – Randall
    Jan 18 at 4:35




















  • $begingroup$
    Welcome to MSE. Note that $frac{1}{x^4}$ is not defined at $x = 0$. Edit: On rereading your question, I believe you already knew this with your statement "the function doesn't go there".
    $endgroup$
    – John Omielan
    Jan 18 at 4:29












  • $begingroup$
    The integrand is not defined at zero.
    $endgroup$
    – астон вілла олоф мэллбэрг
    Jan 18 at 4:30










  • $begingroup$
    There is a fatal discontinuity at $0$, so the FTC doesn't apply.
    $endgroup$
    – Randall
    Jan 18 at 4:35


















$begingroup$
Welcome to MSE. Note that $frac{1}{x^4}$ is not defined at $x = 0$. Edit: On rereading your question, I believe you already knew this with your statement "the function doesn't go there".
$endgroup$
– John Omielan
Jan 18 at 4:29






$begingroup$
Welcome to MSE. Note that $frac{1}{x^4}$ is not defined at $x = 0$. Edit: On rereading your question, I believe you already knew this with your statement "the function doesn't go there".
$endgroup$
– John Omielan
Jan 18 at 4:29














$begingroup$
The integrand is not defined at zero.
$endgroup$
– астон вілла олоф мэллбэрг
Jan 18 at 4:30




$begingroup$
The integrand is not defined at zero.
$endgroup$
– астон вілла олоф мэллбэрг
Jan 18 at 4:30












$begingroup$
There is a fatal discontinuity at $0$, so the FTC doesn't apply.
$endgroup$
– Randall
Jan 18 at 4:35






$begingroup$
There is a fatal discontinuity at $0$, so the FTC doesn't apply.
$endgroup$
– Randall
Jan 18 at 4:35












1 Answer
1






active

oldest

votes


















2












$begingroup$

Since
$dfrac1{x^4}$
is not defined at
$x=0$,
one definition of
$int_{-1}^1 frac1 {x^4} dx
$

is
$lim_{c to 0^+} (int_{-1}^{-c} frac1 {x^4} dx+int_{c}^1 frac1 {x^4} dx)
$
.



We have
$int dfrac{dx}{x^4}
=int x^{-4} dx
=dfrac{x^{-3}}{-3}
=-dfrac{1}{3x^3}
$

so



$begin{array}\
int_{-1}^{-c} frac1 {x^4} dx
&=-dfrac{1}{3x^3}|_{-1}^{-c}\
&=-(dfrac{1}{3(-c)^3}-dfrac{1}{3(-1)^3})\
&=-(-dfrac{1}{3c^3}+dfrac{1}{3})\
&=dfrac{1}{3c^3}-dfrac{1}{3}\
end{array}
$



and



$begin{array}\
int_{c}^{1} frac1 {x^4} dx
&=-dfrac{1}{3x^3}|_{c}^{1}\
&=-(dfrac{1}{3}-dfrac{1}{3c^3})\
&=dfrac{1}{3c^3}-dfrac{1}{3}\
end{array}
$



Adding these we get
$dfrac{2}{3c^3}-dfrac{2}{3}
$
,
and the
$dfrac{2}{3c^3}
$

overwhelms the
$-dfrac{2}{3}
$
.






share|cite|improve this answer









$endgroup$









  • 1




    $begingroup$
    Why must the upper bound for the first integral be $-c$? Can't it be $c$ as well?
    $endgroup$
    – Aniruddh Venkatesan
    Jan 18 at 4:50






  • 1




    $begingroup$
    A good answer. One small thing to note is that as $frac{1}{x^4}$ is an even function, once you got the value of the first partial integral, you would know it's the exact same as the second partial integral.
    $endgroup$
    – John Omielan
    Jan 18 at 4:51








  • 1




    $begingroup$
    The interval of integration can't include zero because $1/x^4$ is not defined there.
    $endgroup$
    – marty cohen
    Jan 18 at 8:20











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%2f3077833%2fintegrating-positive-function-on-interval-from-1-to-1-but-result-is-negative%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












$begingroup$

Since
$dfrac1{x^4}$
is not defined at
$x=0$,
one definition of
$int_{-1}^1 frac1 {x^4} dx
$

is
$lim_{c to 0^+} (int_{-1}^{-c} frac1 {x^4} dx+int_{c}^1 frac1 {x^4} dx)
$
.



We have
$int dfrac{dx}{x^4}
=int x^{-4} dx
=dfrac{x^{-3}}{-3}
=-dfrac{1}{3x^3}
$

so



$begin{array}\
int_{-1}^{-c} frac1 {x^4} dx
&=-dfrac{1}{3x^3}|_{-1}^{-c}\
&=-(dfrac{1}{3(-c)^3}-dfrac{1}{3(-1)^3})\
&=-(-dfrac{1}{3c^3}+dfrac{1}{3})\
&=dfrac{1}{3c^3}-dfrac{1}{3}\
end{array}
$



and



$begin{array}\
int_{c}^{1} frac1 {x^4} dx
&=-dfrac{1}{3x^3}|_{c}^{1}\
&=-(dfrac{1}{3}-dfrac{1}{3c^3})\
&=dfrac{1}{3c^3}-dfrac{1}{3}\
end{array}
$



Adding these we get
$dfrac{2}{3c^3}-dfrac{2}{3}
$
,
and the
$dfrac{2}{3c^3}
$

overwhelms the
$-dfrac{2}{3}
$
.






share|cite|improve this answer









$endgroup$









  • 1




    $begingroup$
    Why must the upper bound for the first integral be $-c$? Can't it be $c$ as well?
    $endgroup$
    – Aniruddh Venkatesan
    Jan 18 at 4:50






  • 1




    $begingroup$
    A good answer. One small thing to note is that as $frac{1}{x^4}$ is an even function, once you got the value of the first partial integral, you would know it's the exact same as the second partial integral.
    $endgroup$
    – John Omielan
    Jan 18 at 4:51








  • 1




    $begingroup$
    The interval of integration can't include zero because $1/x^4$ is not defined there.
    $endgroup$
    – marty cohen
    Jan 18 at 8:20
















2












$begingroup$

Since
$dfrac1{x^4}$
is not defined at
$x=0$,
one definition of
$int_{-1}^1 frac1 {x^4} dx
$

is
$lim_{c to 0^+} (int_{-1}^{-c} frac1 {x^4} dx+int_{c}^1 frac1 {x^4} dx)
$
.



We have
$int dfrac{dx}{x^4}
=int x^{-4} dx
=dfrac{x^{-3}}{-3}
=-dfrac{1}{3x^3}
$

so



$begin{array}\
int_{-1}^{-c} frac1 {x^4} dx
&=-dfrac{1}{3x^3}|_{-1}^{-c}\
&=-(dfrac{1}{3(-c)^3}-dfrac{1}{3(-1)^3})\
&=-(-dfrac{1}{3c^3}+dfrac{1}{3})\
&=dfrac{1}{3c^3}-dfrac{1}{3}\
end{array}
$



and



$begin{array}\
int_{c}^{1} frac1 {x^4} dx
&=-dfrac{1}{3x^3}|_{c}^{1}\
&=-(dfrac{1}{3}-dfrac{1}{3c^3})\
&=dfrac{1}{3c^3}-dfrac{1}{3}\
end{array}
$



Adding these we get
$dfrac{2}{3c^3}-dfrac{2}{3}
$
,
and the
$dfrac{2}{3c^3}
$

overwhelms the
$-dfrac{2}{3}
$
.






share|cite|improve this answer









$endgroup$









  • 1




    $begingroup$
    Why must the upper bound for the first integral be $-c$? Can't it be $c$ as well?
    $endgroup$
    – Aniruddh Venkatesan
    Jan 18 at 4:50






  • 1




    $begingroup$
    A good answer. One small thing to note is that as $frac{1}{x^4}$ is an even function, once you got the value of the first partial integral, you would know it's the exact same as the second partial integral.
    $endgroup$
    – John Omielan
    Jan 18 at 4:51








  • 1




    $begingroup$
    The interval of integration can't include zero because $1/x^4$ is not defined there.
    $endgroup$
    – marty cohen
    Jan 18 at 8:20














2












2








2





$begingroup$

Since
$dfrac1{x^4}$
is not defined at
$x=0$,
one definition of
$int_{-1}^1 frac1 {x^4} dx
$

is
$lim_{c to 0^+} (int_{-1}^{-c} frac1 {x^4} dx+int_{c}^1 frac1 {x^4} dx)
$
.



We have
$int dfrac{dx}{x^4}
=int x^{-4} dx
=dfrac{x^{-3}}{-3}
=-dfrac{1}{3x^3}
$

so



$begin{array}\
int_{-1}^{-c} frac1 {x^4} dx
&=-dfrac{1}{3x^3}|_{-1}^{-c}\
&=-(dfrac{1}{3(-c)^3}-dfrac{1}{3(-1)^3})\
&=-(-dfrac{1}{3c^3}+dfrac{1}{3})\
&=dfrac{1}{3c^3}-dfrac{1}{3}\
end{array}
$



and



$begin{array}\
int_{c}^{1} frac1 {x^4} dx
&=-dfrac{1}{3x^3}|_{c}^{1}\
&=-(dfrac{1}{3}-dfrac{1}{3c^3})\
&=dfrac{1}{3c^3}-dfrac{1}{3}\
end{array}
$



Adding these we get
$dfrac{2}{3c^3}-dfrac{2}{3}
$
,
and the
$dfrac{2}{3c^3}
$

overwhelms the
$-dfrac{2}{3}
$
.






share|cite|improve this answer









$endgroup$



Since
$dfrac1{x^4}$
is not defined at
$x=0$,
one definition of
$int_{-1}^1 frac1 {x^4} dx
$

is
$lim_{c to 0^+} (int_{-1}^{-c} frac1 {x^4} dx+int_{c}^1 frac1 {x^4} dx)
$
.



We have
$int dfrac{dx}{x^4}
=int x^{-4} dx
=dfrac{x^{-3}}{-3}
=-dfrac{1}{3x^3}
$

so



$begin{array}\
int_{-1}^{-c} frac1 {x^4} dx
&=-dfrac{1}{3x^3}|_{-1}^{-c}\
&=-(dfrac{1}{3(-c)^3}-dfrac{1}{3(-1)^3})\
&=-(-dfrac{1}{3c^3}+dfrac{1}{3})\
&=dfrac{1}{3c^3}-dfrac{1}{3}\
end{array}
$



and



$begin{array}\
int_{c}^{1} frac1 {x^4} dx
&=-dfrac{1}{3x^3}|_{c}^{1}\
&=-(dfrac{1}{3}-dfrac{1}{3c^3})\
&=dfrac{1}{3c^3}-dfrac{1}{3}\
end{array}
$



Adding these we get
$dfrac{2}{3c^3}-dfrac{2}{3}
$
,
and the
$dfrac{2}{3c^3}
$

overwhelms the
$-dfrac{2}{3}
$
.







share|cite|improve this answer












share|cite|improve this answer



share|cite|improve this answer










answered Jan 18 at 4:47









marty cohenmarty cohen

74k549128




74k549128








  • 1




    $begingroup$
    Why must the upper bound for the first integral be $-c$? Can't it be $c$ as well?
    $endgroup$
    – Aniruddh Venkatesan
    Jan 18 at 4:50






  • 1




    $begingroup$
    A good answer. One small thing to note is that as $frac{1}{x^4}$ is an even function, once you got the value of the first partial integral, you would know it's the exact same as the second partial integral.
    $endgroup$
    – John Omielan
    Jan 18 at 4:51








  • 1




    $begingroup$
    The interval of integration can't include zero because $1/x^4$ is not defined there.
    $endgroup$
    – marty cohen
    Jan 18 at 8:20














  • 1




    $begingroup$
    Why must the upper bound for the first integral be $-c$? Can't it be $c$ as well?
    $endgroup$
    – Aniruddh Venkatesan
    Jan 18 at 4:50






  • 1




    $begingroup$
    A good answer. One small thing to note is that as $frac{1}{x^4}$ is an even function, once you got the value of the first partial integral, you would know it's the exact same as the second partial integral.
    $endgroup$
    – John Omielan
    Jan 18 at 4:51








  • 1




    $begingroup$
    The interval of integration can't include zero because $1/x^4$ is not defined there.
    $endgroup$
    – marty cohen
    Jan 18 at 8:20








1




1




$begingroup$
Why must the upper bound for the first integral be $-c$? Can't it be $c$ as well?
$endgroup$
– Aniruddh Venkatesan
Jan 18 at 4:50




$begingroup$
Why must the upper bound for the first integral be $-c$? Can't it be $c$ as well?
$endgroup$
– Aniruddh Venkatesan
Jan 18 at 4:50




1




1




$begingroup$
A good answer. One small thing to note is that as $frac{1}{x^4}$ is an even function, once you got the value of the first partial integral, you would know it's the exact same as the second partial integral.
$endgroup$
– John Omielan
Jan 18 at 4:51






$begingroup$
A good answer. One small thing to note is that as $frac{1}{x^4}$ is an even function, once you got the value of the first partial integral, you would know it's the exact same as the second partial integral.
$endgroup$
– John Omielan
Jan 18 at 4:51






1




1




$begingroup$
The interval of integration can't include zero because $1/x^4$ is not defined there.
$endgroup$
– marty cohen
Jan 18 at 8:20




$begingroup$
The interval of integration can't include zero because $1/x^4$ is not defined there.
$endgroup$
– marty cohen
Jan 18 at 8:20


















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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3077833%2fintegrating-positive-function-on-interval-from-1-to-1-but-result-is-negative%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

MongoDB - Not Authorized To Execute Command

How to fix TextFormField cause rebuild widget in Flutter

in spring boot 2.1 many test slices are not allowed anymore due to multiple @BootstrapWith