Decompose Even & Odd parts of a function?

Click For Summary
To decompose a function into its even and odd parts, the formula f(x) = (f(x) + f(-x))/2 + (f(x) - f(-x))/2 can be applied. While the decomposition of complex-valued functions into even and odd parts is considered less meaningful, it can still be done for real-valued functions. For example, for f(x) = x^2, the even part is f_e(x) = x^2 and the odd part is f_o(x) = 0, while for f(x) = x^3, the even part is 0 and the odd part is f_o(x) = x^3. The discussion also touches on the Heaviside step function, clarifying that its even and odd parts differ for positive and negative x. Overall, the decomposition process is illustrated through various examples, reinforcing the concept of even and odd functions.
radiator
Messages
23
Reaction score
0
How would you decompose a given function to its even and odd parts? let's say you have f(x)=e^ix, and would like to know the even and odd parts of it? how do you proceed?

Thank you
 
Physics news on Phys.org
It is not particularly meaningful to decompose complex-valued functions as "even" or "odd".

however, any function f(x), can be written as the sum of two functions:
f(x)=(f(x)+f(-x))/2+(f(x)-f(-x))/2
 
Thanks arildno,
I suppose if I have a step function, the even part will be equal to odd part?
i.e. f(x) = (H(x) + 0)/2 + (H(x) - 0 )/2
since H(x) = 0 for x<0
 
Not really.

For positive x, H_even(x)=1/2, and of course, for negative x, we have H_even(x)=1/2

The odd part of the Heavyside function is, for x>0, H_odd(x)=1/2, whereas for x<0, H_odd(x)=-1/2.
 
I get it, but just to further understand more

suppose again I have f(x) = x^2 , which means the f_e(x) = x^2 and f_o(x) = 0, similarly f(x) = x^3 gives f_e(x) = 0 and f_o(x) = x^3 which is graphically a reflection around the y-axis and the origin, respectively.

but for absolute x it would be f_e(x) = (x+x)/2 = x for x>0 and f_e(x) = (x+(-(-x)))/2 = x
f_o = (x-x)/2 = 0 for x>0 and f_o(x) = (x-(-(-x)))/2 = 0 for x<0 , is this right ?

btw I though latex works here but I can't find the correct code, test: <latex> $\beta$ <\latex>
 
Now, for x>0, we have:

|x|=(|x|+|-x|)/2+(|x|-|-x|)/2, that is =(x+-(-x))/2+(x--(-x))/2=x+0, as it ought to be

For x<0, we have:
|x|=(|x|+|-x|)/2+(|x|-|-x|)/2=(-x+-x)/2+(-x--x)/2=-x+0, as it ought to be.

Thus, f_(e)(x) equals the absolute value function itself. Also as it ought to be, I may add.
 
Thanks very much arildno :)
 

Similar threads

  • · Replies 28 ·
Replies
28
Views
7K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 9 ·
Replies
9
Views
4K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 9 ·
Replies
9
Views
1K
  • · Replies 5 ·
Replies
5
Views
636
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K