Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Question (signum function in maple)

  1. Nov 15, 2009 #1
    in maple signum(x) is |x|/x

    the derivate is d/dx {|x|/x} =signum(1,x)

    what is:

    signum(1,x,0)
    signum(0,x,0)
    ????
     
  2. jcsd
  3. Nov 15, 2009 #2
    That is incorrect for complex values x. Better is x/|x| which holds for all complex x except zero.


    In Maple, type ?signum to see the help page.

    signum(1,x) is the derivative of signum, so it is zero for nonzero real x and undefined otherwise. The optional third argument tells Maple what you want to do with signum(0), some conventions say it should be 0, others that it should be 1, so you could say signum(0,x,0) and signum(0,x,1) for those two signum functions.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: Question (signum function in maple)
  1. Function question (Replies: 4)

  2. Function question (Replies: 12)

  3. Maple functions (Replies: 2)

  4. Function Question (Replies: 2)

Loading...