Can a Function Be Expressed as the Sum of an Even and an Odd Function?

Click For Summary

Homework Help Overview

The discussion revolves around the problem of expressing a function as the sum of an even function and an odd function, with the function defined over all real numbers.

Discussion Character

  • Conceptual clarification, Mathematical reasoning

Approaches and Questions Raised

  • Participants explore the definitions of even and odd functions, discussing how to express a given function in terms of these definitions. There are attempts to derive expressions for even and odd components of the function.

Discussion Status

Participants are actively engaging with the problem, with some providing clarifications on the definitions and expressions involved. There is a recognition of a potential typo in one of the equations, which has led to further questions about the number of terms involved.

Contextual Notes

Some participants express confusion regarding the algebraic manipulation of terms, indicating a need for careful attention to detail in the expressions being discussed.

John O' Meara
Messages
325
Reaction score
0

Homework Statement


Suppose that the function f has domain all real numbers. Show that f can be written as the sum of an even function and an odd function.


Homework Equations


f(-x) = f(x) is even and f(-x)=-f(x) is odd


The Attempt at a Solution


If g(x) is an even function it can be written as [tex]g(x) = \frac{f(x)+f(-x)}{2} where f(x) is even and if h(x) is odd it can be written as h(x)=\frac{f(x)-f(-x)}{2}[/tex]. but how do you write f = g + h?
 
Physics news on Phys.org
[tex] f(x) = \frac{f(x)+f(-x)}{2} + \frac{f(x)-f(-x)}{2}[/tex]

Now what can you say about [tex]\frac{f(x)+f(-x)}{2}[/tex] and [tex] \frac{f(x)-f(-x)}{2}[/tex] ?
 
John O' Meara said:

Homework Statement


Suppose that the function f has domain all real numbers. Show that f can be written as the sum of an even function and an odd function.


Homework Equations


f(-x) = f(x) is even and f(-x)=-f(x) is odd


The Attempt at a Solution


If g(x) is an even function it can be written as [tex]g(x) = \frac{f(x)+f(-x)}{2}[/tex] where f(x) is even and if h(x) is odd it can be written as h(x)=\frac{f(x)-f(-x)}{2} [/tex]. but how do you write f = g + h?

Your wording is awkward. It is not "if g is an even function then..." and "if h is odd...". You want to define g(x) to be (f(x)+ f(-x))/2 and show that it is even. Define h(x) to be (f(x)- f(-x))/2 and show that it is odd.

[tex]g+h= \frac{f(x)+ f(-x)}{2}+ \frac{f(x)- f(-x)}{2}= \frac{f(x)+ f(-x)+ f(-x)+ f(x)- f(-x)}{2}[/tex]
What is that equal to?
 
How did Hallsofivy get five terms in the last equation divided by 2. I would only have got four divided by 2.
 
John O' Meara said:
How did Hallsofivy get five terms in the last equation divided by 2. I would only have got four divided by 2.

It looks like a typo. The second [itex]+f(-x)[/itex] shouldn't be there.
 
And the answer that those four terms divided by 2 is f(x). Now I am embarrassed asking the question, it is so simple.
 
Haha. No worries. That was what VeeEight was getting at as well. It is a neat problem that is just a little trick of dividing by 2. No need to feel embarrassed.
 
John O' Meara said:
How did Hallsofivy get five terms in the last equation divided by 2. I would only have got four divided by 2.

n!kofeyn said:
It looks like a typo. The second [itex]+f(-x)[/itex] shouldn't be there.
Yes, my eyes went squoggly for a moment. Thanks, n!kofeyn.
 
Thanks all of you for your replies.
 

Similar threads

  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 11 ·
Replies
11
Views
6K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 23 ·
Replies
23
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 14 ·
Replies
14
Views
4K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K