Question (signum function in maple)

  • Context: Maple 
  • Thread starter Thread starter alejandrito29
  • Start date Start date
  • Tags Tags
    Function Maple
Click For Summary
SUMMARY

The discussion centers on the signum function in Maple, specifically its definition and derivative. In Maple, the signum function is defined as signum(x) = |x|/x for real values, but for complex values, it is more accurately represented as x/|x|, excluding zero. The derivative of the signum function is expressed as d/dx {|x|/x} = signum(1,x). The optional third argument in the signum function allows users to specify the output for signum(0), with conventions varying between returning 0 or 1.

PREREQUISITES
  • Understanding of the signum function and its mathematical properties
  • Familiarity with Maple software and its syntax
  • Knowledge of derivatives and their computation
  • Basic concepts of complex numbers and their properties
NEXT STEPS
  • Explore the Maple documentation on the signum function by typing ?signum in the Maple interface
  • Learn about the implications of using x/|x| for complex values in mathematical functions
  • Study the rules and conventions for defining derivatives in different mathematical contexts
  • Investigate the behavior of the signum function at zero and the impact of the third argument in Maple
USEFUL FOR

Mathematicians, computer scientists, and students using Maple for symbolic computation, particularly those working with complex analysis and derivative calculations.

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)
?
 
Physics news on Phys.org
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.
 

Similar threads

Replies
1
Views
3K
  • · Replies 10 ·
Replies
10
Views
4K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 0 ·
Replies
0
Views
2K
  • · Replies 1 ·
Replies
1
Views
7K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
4
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 1 ·
Replies
1
Views
3K