Antiderivative of an odd function












5















Is the antiderivative of an odd function even?




The answer given by the book is yes.

However, I found a counterexample defined in $mathbb{R}setminus {0}$:
$$f(x)=begin{cases}ln |x|+1& x<0\ln |x|&x>0end{cases}$$
Its derivative is $frac 1x$, which is an odd function.




Question: is my counterexample right?











share|cite|improve this question


















  • 2




    I think the question implies that the odd function in question must contain $0$ in its domain. Otherwise, you can't integrate it across a symmetric interval
    – Dylan
    Dec 17 at 6:56










  • You can actually do this for any odd function if you allow a piecewise function definition, as there are infinitely many anti-derivatives for a given function --- simply pick two that differ by a constant, then piece them together. E.g. consider $F(x) = x^4 + [x>0]$, where $[cdot]$ is the Iverson bracket (equal to $1$ when the condition is true, otherwise $0$), which is an antiderivative of $f(x) = x^3$.
    – apnorton
    Dec 17 at 7:19












  • @apnorton I don't think so. Your $f(x)$ is not differentiable at $x=0$, it contradicts with the definition of antiderivative.
    – Kemono Chen
    Dec 17 at 7:23






  • 3




    $x^2 + C$ is even for any $C$. For the opposite case of whether the antiderivative of an even function is odd, this point would be valid.
    – badjohn
    Dec 17 at 11:28






  • 1




    @1123581321 Constants are even.
    – Dylan
    Dec 17 at 19:19


















5















Is the antiderivative of an odd function even?




The answer given by the book is yes.

However, I found a counterexample defined in $mathbb{R}setminus {0}$:
$$f(x)=begin{cases}ln |x|+1& x<0\ln |x|&x>0end{cases}$$
Its derivative is $frac 1x$, which is an odd function.




Question: is my counterexample right?











share|cite|improve this question


















  • 2




    I think the question implies that the odd function in question must contain $0$ in its domain. Otherwise, you can't integrate it across a symmetric interval
    – Dylan
    Dec 17 at 6:56










  • You can actually do this for any odd function if you allow a piecewise function definition, as there are infinitely many anti-derivatives for a given function --- simply pick two that differ by a constant, then piece them together. E.g. consider $F(x) = x^4 + [x>0]$, where $[cdot]$ is the Iverson bracket (equal to $1$ when the condition is true, otherwise $0$), which is an antiderivative of $f(x) = x^3$.
    – apnorton
    Dec 17 at 7:19












  • @apnorton I don't think so. Your $f(x)$ is not differentiable at $x=0$, it contradicts with the definition of antiderivative.
    – Kemono Chen
    Dec 17 at 7:23






  • 3




    $x^2 + C$ is even for any $C$. For the opposite case of whether the antiderivative of an even function is odd, this point would be valid.
    – badjohn
    Dec 17 at 11:28






  • 1




    @1123581321 Constants are even.
    – Dylan
    Dec 17 at 19:19
















5












5








5








Is the antiderivative of an odd function even?




The answer given by the book is yes.

However, I found a counterexample defined in $mathbb{R}setminus {0}$:
$$f(x)=begin{cases}ln |x|+1& x<0\ln |x|&x>0end{cases}$$
Its derivative is $frac 1x$, which is an odd function.




Question: is my counterexample right?











share|cite|improve this question














Is the antiderivative of an odd function even?




The answer given by the book is yes.

However, I found a counterexample defined in $mathbb{R}setminus {0}$:
$$f(x)=begin{cases}ln |x|+1& x<0\ln |x|&x>0end{cases}$$
Its derivative is $frac 1x$, which is an odd function.




Question: is my counterexample right?








real-analysis calculus integration






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Dec 17 at 6:18









Kemono Chen

2,542436




2,542436








  • 2




    I think the question implies that the odd function in question must contain $0$ in its domain. Otherwise, you can't integrate it across a symmetric interval
    – Dylan
    Dec 17 at 6:56










  • You can actually do this for any odd function if you allow a piecewise function definition, as there are infinitely many anti-derivatives for a given function --- simply pick two that differ by a constant, then piece them together. E.g. consider $F(x) = x^4 + [x>0]$, where $[cdot]$ is the Iverson bracket (equal to $1$ when the condition is true, otherwise $0$), which is an antiderivative of $f(x) = x^3$.
    – apnorton
    Dec 17 at 7:19












  • @apnorton I don't think so. Your $f(x)$ is not differentiable at $x=0$, it contradicts with the definition of antiderivative.
    – Kemono Chen
    Dec 17 at 7:23






  • 3




    $x^2 + C$ is even for any $C$. For the opposite case of whether the antiderivative of an even function is odd, this point would be valid.
    – badjohn
    Dec 17 at 11:28






  • 1




    @1123581321 Constants are even.
    – Dylan
    Dec 17 at 19:19
















  • 2




    I think the question implies that the odd function in question must contain $0$ in its domain. Otherwise, you can't integrate it across a symmetric interval
    – Dylan
    Dec 17 at 6:56










  • You can actually do this for any odd function if you allow a piecewise function definition, as there are infinitely many anti-derivatives for a given function --- simply pick two that differ by a constant, then piece them together. E.g. consider $F(x) = x^4 + [x>0]$, where $[cdot]$ is the Iverson bracket (equal to $1$ when the condition is true, otherwise $0$), which is an antiderivative of $f(x) = x^3$.
    – apnorton
    Dec 17 at 7:19












  • @apnorton I don't think so. Your $f(x)$ is not differentiable at $x=0$, it contradicts with the definition of antiderivative.
    – Kemono Chen
    Dec 17 at 7:23






  • 3




    $x^2 + C$ is even for any $C$. For the opposite case of whether the antiderivative of an even function is odd, this point would be valid.
    – badjohn
    Dec 17 at 11:28






  • 1




    @1123581321 Constants are even.
    – Dylan
    Dec 17 at 19:19










2




2




I think the question implies that the odd function in question must contain $0$ in its domain. Otherwise, you can't integrate it across a symmetric interval
– Dylan
Dec 17 at 6:56




I think the question implies that the odd function in question must contain $0$ in its domain. Otherwise, you can't integrate it across a symmetric interval
– Dylan
Dec 17 at 6:56












You can actually do this for any odd function if you allow a piecewise function definition, as there are infinitely many anti-derivatives for a given function --- simply pick two that differ by a constant, then piece them together. E.g. consider $F(x) = x^4 + [x>0]$, where $[cdot]$ is the Iverson bracket (equal to $1$ when the condition is true, otherwise $0$), which is an antiderivative of $f(x) = x^3$.
– apnorton
Dec 17 at 7:19






You can actually do this for any odd function if you allow a piecewise function definition, as there are infinitely many anti-derivatives for a given function --- simply pick two that differ by a constant, then piece them together. E.g. consider $F(x) = x^4 + [x>0]$, where $[cdot]$ is the Iverson bracket (equal to $1$ when the condition is true, otherwise $0$), which is an antiderivative of $f(x) = x^3$.
– apnorton
Dec 17 at 7:19














@apnorton I don't think so. Your $f(x)$ is not differentiable at $x=0$, it contradicts with the definition of antiderivative.
– Kemono Chen
Dec 17 at 7:23




@apnorton I don't think so. Your $f(x)$ is not differentiable at $x=0$, it contradicts with the definition of antiderivative.
– Kemono Chen
Dec 17 at 7:23




3




3




$x^2 + C$ is even for any $C$. For the opposite case of whether the antiderivative of an even function is odd, this point would be valid.
– badjohn
Dec 17 at 11:28




$x^2 + C$ is even for any $C$. For the opposite case of whether the antiderivative of an even function is odd, this point would be valid.
– badjohn
Dec 17 at 11:28




1




1




@1123581321 Constants are even.
– Dylan
Dec 17 at 19:19






@1123581321 Constants are even.
– Dylan
Dec 17 at 19:19












1 Answer
1






active

oldest

votes


















5














I think that $f$ should be defined on an interval $I$ which contains $0$ and is symmetric to $0$. If $F$ is an antiderivative of $f$ on $I$, then there is a constant $c$ such that



$$F(x)=int_0^x f(t) dt+c.$$



If you now calculate $F(-x)$ with the substitution $s=-t$ you will get $F(-x)=F(x).$



Try it !






share|cite|improve this answer



















  • 1




    I only get that when c is zero...
    – lalala
    Dec 17 at 9:28










  • @lalala If $f(t)=sin(t)$ then $int_0^x f(t) ,dt = 1-cos(t)$. Choose a $c$ such as $-1$ or if you prefer $1$ and do as Fred suggests to find $F(-x)$. What do you get?
    – Henry
    Dec 17 at 13:13











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%2f3043594%2fantiderivative-of-an-odd-function%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









5














I think that $f$ should be defined on an interval $I$ which contains $0$ and is symmetric to $0$. If $F$ is an antiderivative of $f$ on $I$, then there is a constant $c$ such that



$$F(x)=int_0^x f(t) dt+c.$$



If you now calculate $F(-x)$ with the substitution $s=-t$ you will get $F(-x)=F(x).$



Try it !






share|cite|improve this answer



















  • 1




    I only get that when c is zero...
    – lalala
    Dec 17 at 9:28










  • @lalala If $f(t)=sin(t)$ then $int_0^x f(t) ,dt = 1-cos(t)$. Choose a $c$ such as $-1$ or if you prefer $1$ and do as Fred suggests to find $F(-x)$. What do you get?
    – Henry
    Dec 17 at 13:13
















5














I think that $f$ should be defined on an interval $I$ which contains $0$ and is symmetric to $0$. If $F$ is an antiderivative of $f$ on $I$, then there is a constant $c$ such that



$$F(x)=int_0^x f(t) dt+c.$$



If you now calculate $F(-x)$ with the substitution $s=-t$ you will get $F(-x)=F(x).$



Try it !






share|cite|improve this answer



















  • 1




    I only get that when c is zero...
    – lalala
    Dec 17 at 9:28










  • @lalala If $f(t)=sin(t)$ then $int_0^x f(t) ,dt = 1-cos(t)$. Choose a $c$ such as $-1$ or if you prefer $1$ and do as Fred suggests to find $F(-x)$. What do you get?
    – Henry
    Dec 17 at 13:13














5












5








5






I think that $f$ should be defined on an interval $I$ which contains $0$ and is symmetric to $0$. If $F$ is an antiderivative of $f$ on $I$, then there is a constant $c$ such that



$$F(x)=int_0^x f(t) dt+c.$$



If you now calculate $F(-x)$ with the substitution $s=-t$ you will get $F(-x)=F(x).$



Try it !






share|cite|improve this answer














I think that $f$ should be defined on an interval $I$ which contains $0$ and is symmetric to $0$. If $F$ is an antiderivative of $f$ on $I$, then there is a constant $c$ such that



$$F(x)=int_0^x f(t) dt+c.$$



If you now calculate $F(-x)$ with the substitution $s=-t$ you will get $F(-x)=F(x).$



Try it !







share|cite|improve this answer














share|cite|improve this answer



share|cite|improve this answer








edited Dec 17 at 10:21

























answered Dec 17 at 7:05









Fred

44.2k1845




44.2k1845








  • 1




    I only get that when c is zero...
    – lalala
    Dec 17 at 9:28










  • @lalala If $f(t)=sin(t)$ then $int_0^x f(t) ,dt = 1-cos(t)$. Choose a $c$ such as $-1$ or if you prefer $1$ and do as Fred suggests to find $F(-x)$. What do you get?
    – Henry
    Dec 17 at 13:13














  • 1




    I only get that when c is zero...
    – lalala
    Dec 17 at 9:28










  • @lalala If $f(t)=sin(t)$ then $int_0^x f(t) ,dt = 1-cos(t)$. Choose a $c$ such as $-1$ or if you prefer $1$ and do as Fred suggests to find $F(-x)$. What do you get?
    – Henry
    Dec 17 at 13:13








1




1




I only get that when c is zero...
– lalala
Dec 17 at 9:28




I only get that when c is zero...
– lalala
Dec 17 at 9:28












@lalala If $f(t)=sin(t)$ then $int_0^x f(t) ,dt = 1-cos(t)$. Choose a $c$ such as $-1$ or if you prefer $1$ and do as Fred suggests to find $F(-x)$. What do you get?
– Henry
Dec 17 at 13:13




@lalala If $f(t)=sin(t)$ then $int_0^x f(t) ,dt = 1-cos(t)$. Choose a $c$ such as $-1$ or if you prefer $1$ and do as Fred suggests to find $F(-x)$. What do you get?
– Henry
Dec 17 at 13:13


















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%2f3043594%2fantiderivative-of-an-odd-function%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

Morgemoulin

Scott Moir

Souastre