by Eigenvalue » Mon Aug 24, 2026 10:42 pm
B. The Signum function, sgn(x), has 3 different cases:
[tex]\begin{cases} 1, x>0 \\ 0, x=0 \\-1, x<0 \end{cases}[/tex]
Sidenote: sgn(x)=[tex]\frac{|x|}{x}[/tex]=[tex]\frac{x}{|x|}[/tex]
List the separate cases for the question:
x>0, x+h>0
x>0, x+h<0
x<0, x+h>0
x<0, x+h<0
x=0,x+h>0
x=0, x+h<0
x<0, x+h=0
x>0, x+h=0
Apply the distance quotient formula to the cases:
When x>0, x+h>0
[tex]\frac{sgn(x+h)-sgn(x)}{h}[/tex]
=[tex]\frac{1-1}{h}[/tex]
=[tex]\frac{0}{h}[/tex]=0
When x>0, x+h<0
[tex]\frac{sgn(x+h)-sgn(x)}{h}[/tex]
=[tex]\frac{-1-1}{h}[/tex]
=[tex]\frac{-2}{h}[/tex]
When x<0, x+h>0
[tex]\frac{sgn(x+h)-sgn(x)}{h}[/tex]
=[tex]\frac{1-(-1)}{h}[/tex]
=[tex]\frac{2}{h}[/tex]
When x<0, x+h<0
[tex]\frac{sgn(x+h)-sgn(x)}{h}[/tex]
=[tex]\frac{-1-(-1)}{h}[/tex]
=0
When x=0,x+h>0
[tex]\frac{sgn(x+h)-sgn(x)}{h}[/tex]
=[tex]\frac{1}{h}[/tex]
When x=0, x+h<0
[tex]\frac{sgn(x+h)-sgn(x)}{h}[/tex]
=[tex]\frac{-1}{h}[/tex]
When x<0, x+h=0
[tex]\frac{sgn(x+h)-sgn(x)}{h}[/tex]
=[tex]\frac{0-(-1)}{h}[/tex]
=[tex]\frac{1}{h}[/tex]
When x>0, x+h=0
[tex]\frac{0-1}{h}[/tex]
=[tex]\frac{-1}{h}[/tex]