How to Combine Two Related Formulas into One in Mathematics?

  • Level: Undergrad 
  • Thread starter Thread starter lenfromkits
  • Start date Start date
Join the discussion
Registration is free. Start your own thread to ask a follow-up.
4 replies · 3K views
lenfromkits
Messages
106
Reaction score
0
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.

Thanks.
 
Physics news on Phys.org
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].
 
You math kids, and just as I was feeling clever too...