Can a Function be Both Even and Odd at the Same Time?

  • Context: Undergrad 
  • Thread starter Thread starter {~}
  • Start date Start date
  • Tags Tags
    even Functions
Click For Summary

Discussion Overview

The discussion revolves around the properties of functions classified as even and odd, specifically whether a function can be both even and odd simultaneously. Participants explore various cases involving combinations of even and odd functions, examining the implications for their sums.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant outlines three cases regarding the sum of functions: both functions even, both functions odd, and one function even while the other is odd.
  • In the case of both functions being odd, another participant confirms that the sum is odd, but questions the validity of a special case involving a constant.
  • Another participant challenges the assertion that the special case of ##-g(x)+c## is odd in general, indicating a misunderstanding.
  • In the case where one function is even and the other is odd, a participant argues that the sum would generally not be classified as even or odd unless one of the functions is the zero function.
  • Another participant provides reasoning to show that if the sum is even, then the odd function must be zero, and similarly for the case where the sum is odd.
  • One participant asserts that any function can be expressed as the sum of an even and an odd function, suggesting that no definitive conclusions can be drawn about the sum of an even and odd function.

Areas of Agreement / Disagreement

Participants express differing views on the implications of combining even and odd functions, particularly in the case where one is even and the other is odd. There is no consensus on the conclusions regarding the nature of their sum.

Contextual Notes

Some participants acknowledge limitations in their understanding of the definitions of even and odd functions, as well as the implications of their combinations. There are unresolved mathematical steps and assumptions regarding the special cases discussed.

{~}
Messages
63
Reaction score
0
I have been looking at my old calculus textbook because to my dismay I seem to have forgotten most of the calculus I learned. I am given 3 cases of ##(f+g)(x) ##.

Case 1 both f and g are even:
I know ##f(x) = f(-x) ## and ##g(x)=g(-x) ## for the domain of the function. I can reason by substitution that
##f(x)+g(x)=f(-x)+g(-x) ##
##(f+g)(x)=(f+g)(-x) ##
##(f+g)(x) ## is even. So far so good.

Case 2 both f and g are odd:
I found that if ##f(x)=-g(x)+c ## then
##(f+g)(x)=c ## which is even.
Otherwise I think that ##(f+g)(x) ## would be odd though I don't know how to assert that.

Case 3 f is even and g is odd:
I think that other than is special case where one or both of our functions are zero for all x in the domain ##(f+g)(x) ## would neither be even or odd. I don't know how to prove this.

I know that the notions of even an odd is defined in terms of sets rather than algebraically like I did here. I think if I understood sets better I might have more of a handle on this, I don't know. Hints?
 
Physics news on Phys.org
If ##f## and ##g## are odd:

##(f+g)(-x)=f(-x)+g(-x)=-f(x)-g(x)=-(f+g)(x)##.
 
DarthMatter said:
If ##f## and ##g## are odd:

##(f+g)(-x)=f(-x)+g(-x)=-f(x)-g(x)=-(f+g)(x)##.
I had something similar, but why does this look like it's always true when it isn't? Or is my special case wrong?
 
What special case? ##-g(x)+c## is not odd in general.
 
DarthMatter said:
What special case? ##-g(x)+c## is not odd in general.
Thanks for pointing out my error. That made things less confusing.
 
{~} said:
Case 3 f is even and g is odd:
I think that other than is special case where one or both of our functions are zero for all x in the domain ##(f+g)(x) ## would neither be even or odd. I don't know how to prove this.
Suppose that ##f## is even and ##g## is odd.

If ##f+g## is even then ##f(x) + g(x) = f(-x) + g(-x)## for all ##x##. Since ##f(x) = f(-x)##, it follows that ##g(x) = g(-x)##. But ##g## is odd, so also ##g(x) = -g(-x)##. Therefore, ##g(-x) = -g(-x)##, or equivalently ##2g(-x) = 0##. This is true for all ##x##, so ##g## is the zero function.

If ##f+g## is odd then ##f(x) + g(x) = -f(-x) - g(-x)## for all ##x##. Since ##g(x) = -g(-x)##, this is equivalent to ##f(x) = -f(-x)##. But ##f## is even, so also ##f(x) = f(-x)##. Therefore, ##f(-x) = -f(-x)##, or ##2f(-x) = 0##. This is true for all ##x##, so ##f## is the zero function.
 
Last edited:
{~} said:
Case 3 f is even and g is odd:
I think that other than is special case where one or both of our functions are zero for all x in the domain (f+g)(x) would neither be even or odd. I don't know how to prove this.
In Case 3 you can not say anything about the sum of an even + odd function. Any function, h(x), can be represented as the sum of an even function and an odd function. So you can not state any conclusions about h.
( Define even(x) = (h(x) + h(-x))/2 and odd(x) = (h(x) - h(-x))/2. Prove that h(x) = even(x) + odd(x), that even(x) is even, and that odd(x) is odd.)
 
Last edited:

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K