1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
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:

  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.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook