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. #1
    essence of digital xddxogm3's Avatar
    Join Date
    Sep 2003
    Posts
    589

    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
    Last edited by xviddivxoggmp3; 10-16-2004 at 11:57 PM.
    "Hence to fight and conquer in all your battles is not supreme excellence;
    supreme excellence consists in breaking the enemy's resistance without fighting."
    Art of War Sun Tzu

  2. #2
    I'm less than sure.... abyssphobia's Avatar
    Join Date
    Aug 2004
    Posts
    112
    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.
    Last edited by abyssphobia; 10-17-2004 at 12:04 AM.
    Have I crossed the line?

  3. #3
    Toaster Zach L.'s Avatar
    Join Date
    Aug 2001
    Posts
    2,686
    Where are you coming from with the absolute value?

    x need not be positive. The function is odd. You are correct.
    The word rap as it applies to music is the result of a peculiar phonological rule which has stripped the word of its initial voiceless velar stop.

  4. #4
    essence of digital xddxogm3's Avatar
    Join Date
    Sep 2003
    Posts
    589
    thank you zach
    that is the confirmation i needed.
    "Hence to fight and conquer in all your battles is not supreme excellence;
    supreme excellence consists in breaking the enemy's resistance without fighting."
    Art of War Sun Tzu

  5. #5
    Registered User major_small's Avatar
    Join Date
    May 2003
    Posts
    2,787
    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
    Join is in our Unofficial Cprog IRC channel
    Server: irc.phoenixradio.org
    Channel: #Tech


    Team Cprog Folding@Home: Team #43476
    Download it Here
    Detailed Stats Here
    More Detailed Stats
    52 Members so far, are YOU a member?
    Current team score: 1223226 (ranked 374 of 45152)

    The CBoard team is doing better than 99.16% of the other teams
    Top 5 Members: Xterria(518175), pianorain(118517), Bennet(64957), JaWiB(55610), alphaoide(44374)

    Last Updated on: Wed, 30 Aug, 2006 @ 2:30 PM EDT

  6. #6
    S Sang-drax's Avatar
    Join Date
    May 2002
    Location
    Göteborg, Sweden
    Posts
    2,072
    Quote Originally Posted by xviddivxoggmp3
    I'm looking for a yes or no.
    Yes.
    Last edited by Sang-drax : Tomorrow at 02:21 AM. Reason: Time travelling

  7. #7
    Toaster Zach L.'s Avatar
    Join Date
    Aug 2001
    Posts
    2,686
    Nice division by 0, major_small.
    The word rap as it applies to music is the result of a peculiar phonological rule which has stripped the word of its initial voiceless velar stop.

  8. #8
    Crazy Fool Perspective's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    2,640
    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. #9
    Registered User major_small's Avatar
    Join Date
    May 2003
    Posts
    2,787
    Quote 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


    Quote Originally Posted by xviddivxoggmp3
    thank you zach
    that is the confirmation i needed.
    was the end of the thread...
    Join is in our Unofficial Cprog IRC channel
    Server: irc.phoenixradio.org
    Channel: #Tech


    Team Cprog Folding@Home: Team #43476
    Download it Here
    Detailed Stats Here
    More Detailed Stats
    52 Members so far, are YOU a member?
    Current team score: 1223226 (ranked 374 of 45152)

    The CBoard team is doing better than 99.16% of the other teams
    Top 5 Members: Xterria(518175), pianorain(118517), Bennet(64957), JaWiB(55610), alphaoide(44374)

    Last Updated on: Wed, 30 Aug, 2006 @ 2:30 PM EDT

  10. #10
    S Sang-drax's Avatar
    Join Date
    May 2002
    Location
    Göteborg, Sweden
    Posts
    2,072
    Quote Originally Posted by major_small
    yeah, it's fun watching people try to figure that out
    How about this one:
    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
    Last edited by Sang-drax : Tomorrow at 02:21 AM. Reason: Time travelling

  11. #11
    Toaster Zach L.'s Avatar
    Join Date
    Aug 2001
    Posts
    2,686
    The step of taking logs of points in the complex plane and getting pure imaginaries seems a bit sketchy.
    The word rap as it applies to music is the result of a peculiar phonological rule which has stripped the word of its initial voiceless velar stop.

  12. #12
    S Sang-drax's Avatar
    Join Date
    May 2002
    Location
    Göteborg, Sweden
    Posts
    2,072
    If exp(number1) = exp(number2), aren't those two numbers the same?
    Last edited by Sang-drax : Tomorrow at 02:21 AM. Reason: Time travelling

  13. #13
    essence of digital xddxogm3's Avatar
    Join Date
    Sep 2003
    Posts
    589
    it looks more like the beginning of the thread.
    ;0)
    "Hence to fight and conquer in all your battles is not supreme excellence;
    supreme excellence consists in breaking the enemy's resistance without fighting."
    Art of War Sun Tzu

  14. #14
    Toaster Zach L.'s Avatar
    Join Date
    Aug 2001
    Posts
    2,686
    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.
    The word rap as it applies to music is the result of a peculiar phonological rule which has stripped the word of its initial voiceless velar stop.

  15. #15
    essence of digital xddxogm3's Avatar
    Join Date
    Sep 2003
    Posts
    589
    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?
    "Hence to fight and conquer in all your battles is not supreme excellence;
    supreme excellence consists in breaking the enemy's resistance without fighting."
    Art of War Sun Tzu

Page 1 of 2 12 LastLast
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Void Functions Help
    By bethanne41 in forum C++ Programming
    Replies: 1
    Last Post: 05-09-2005, 06:30 PM
  2. Functions and Classes - What did I do wrong?
    By redmage in forum C++ Programming
    Replies: 5
    Last Post: 04-11-2005, 12:50 PM
  3. calling functions within functions
    By edd1986 in forum C Programming
    Replies: 3
    Last Post: 03-29-2005, 03:35 AM
  4. Factory Functions HOWTO
    By GuardianDevil in forum Windows Programming
    Replies: 1
    Last Post: 05-01-2004, 02:41 PM
  5. Shell functions on Win XP
    By geek@02 in forum Windows Programming
    Replies: 6
    Last Post: 04-19-2004, 06:39 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21