- #1
Batmaniac
- 24
- 0
Homework Statement
If |x| = -x + 2x*H(x) what is |x - a|? This isn't the actual question, just something I need to know to solve the question.
Homework Equations
H(x) is the Heaviside function which is:
y = 1 if x >= 0
y = 0 if x < 0
The Attempt at a Solution
Well, I'm not sure how to do it algebraically, but my best guess would be:
|x - a| = -(x - a) + 2(x - a)*H(x - a)