1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Proper way to write this math

  1. Dec 27, 2011 #1
    I have a situation where I have two formulas that relate together but do not really transition from one to the other and I'm not sure how to properly write this as a single formula.

    I have these two cases:
    [itex]when \ b<100: a=b*4[/itex]

    [itex]when \ b>=100: a=\frac{b}{4}[/itex]

    I just need a nicer more professional way of writing that as one formula.

  2. jcsd
  3. Dec 28, 2011 #2
  4. Dec 28, 2011 #3
    Perfect. Thank you!!
  5. Dec 28, 2011 #4


    User Avatar
    Staff Emeritus
    Science Advisor

    Or, if you prefer it on one line,
    [tex]a(b)= 4b+ \left(\frac{4}{b}- 4b\right)H(b- 100)[/tex]
    where H(x) is the "Heviside step function" which is 0 for x< 0, 1 for [itex]x\ge 0[/itex].
  6. Dec 28, 2011 #5
    You math kids, and just as I was feeling clever too...
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Similar Discussions: Proper way to write this math