# Mathematics Odd/Even Functions

This is a discussion on Mathematics Odd/Even Functions within the A Brief History of Cprogramming.com forums, part of the Community Boards category; My mathematics book is very poor on it's explinations, so can someone look at my logic and tell me if ...

1. ## Mathematics Odd/Even Functions

My mathematics book is very poor on it's explinations, so can someone look at my logic and tell me if I understand this correctly. I'm looking for a yes or no.
Code:
```  f(x)=x^3 - x

f(-x)=(-x)^3 - (-x)

=(-1)^3 (x)^3 + x

=(-1)(x)^3 + x // since f(x) != f(-x) then not even

=(-x)^3 + x

=(-1)(x^3 - x) //odd

=-f(x)

f(-x) = -f(x) Odd```

2. hey you are taking algebra math mmm me too !!! Im seeing the same thing
yes, you are right
But in this part, I'm not quite sure
=(-1)(x^3 - x) //odd

=-f(x)

f(-x) = -f(x) Odd

ok but X has to be positive (absolute value |x| )
because of the result. I guess, still unsure.

3. Where are you coming from with the absolute value?

x need not be positive. The function is odd. You are correct.

4. thank you zach
that is the confirmation i needed.

5. Code:
```        X = Y

X^2 - Y^2 = XY - Y^2

(X+Y)(X-Y)=Y(X-Y)

(X+Y)(X-Y) = Y(X-Y)
(X-Y)       (X-Y)

(X+Y)=Y

If X=1 and Y=1
(1+1)=1```

6. Originally Posted by xviddivxoggmp3
I'm looking for a yes or no.
Yes.

7. Nice division by 0, major_small.

8. Code:
```=(-1)(x)^3 + x // since f(x) != f(-x) then not even

=(-x)^3 + x```
your negative slipped back into the brackets after all that work to pull it out!
try..
Code:
```=(-1)(x)^3 + x // since f(x) != f(-x) then not even

=-(x)^3 + x```

9. Originally Posted by Zach L.
Nice division by 0, major_small.
yeah, it's fun watching people try to figure that out

somebody gave me negative rep for that because it was "irrelevant"... I thought that

Originally Posted by xviddivxoggmp3
thank you zach
that is the confirmation i needed.
was the end of the thread...

10. Originally Posted by major_small
yeah, it's fun watching people try to figure that out
Code:
```cos(-pi) + i*sin(-pi) = cos(pi) + i*sin(pi) //Both equal -1
exp( -pi*i ) = exp( pi*i )  //Eulers formula
-pi*i =  pi*i
-pi = pi
-1 = 1```

11. The step of taking logs of points in the complex plane and getting pure imaginaries seems a bit sketchy.

12. If exp(number1) = exp(number2), aren't those two numbers the same?

13. it looks more like the beginning of the thread.
;0)

14. Right... What I was getting at is that the complex plane can be viewed as a field in its own right, or a vector space over R. I'm not sure if log is suitably defined over the field, and I am rather sure that it is not defined over C as a vector space.

15. exp( -pi*i ) = exp( pi*i ) //Eulers formula
is this valid?
I have very little experience with complex numbers in C++.
Isn't there a complex number class or variable object?
Is exp() a function that accepts complex numbers?

Page 1 of 2 12 Last