Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Homework Help: Heaviside to absolute value

  1. Oct 19, 2007 #1
    1. The problem statement, all variables and given/known data

    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.


    2. Relevant equations

    H(x) is the Heaviside function which is:

    y = 1 if x >= 0
    y = 0 if x < 0


    3. 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)
     
  2. jcsd
  3. Oct 19, 2007 #2

    EnumaElish

    User Avatar
    Science Advisor
    Homework Helper

    Correct.
     
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook