Question (signum function in maple)

  • Topic: Maple 
  • Thread starter alejandrito29
  • Start date
  • Tags Tags
    Function Maple
1 reply · 5K views · last reply
alejandrito29
Messages
148
Reaction score
0
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)
?
 
alejandrito29 said:
in maple signum(x) is |x|/x

That is incorrect for complex values x. Better is x/|x| which holds for all complex x except zero.


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

what is:

signum(1,x,0)
signum(0,x,0)
?

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.