How to Combine Two Related Formulas into One in Mathematics?

  • Thread starter lenfromkits
  • Start date
In summary, the conversation discusses two formulas that relate to each other but do not transition smoothly. The desired outcome is to write them as a single formula in a more professional manner. This can be achieved by using a piecewise function or the Heaviside step function.
  • #1
lenfromkits
107
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
  • #3
Perfect. Thank you!
 
  • #4
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].
 
  • #5
You math kids, and just as I was feeling clever too...
 

FAQ: How to Combine Two Related Formulas into One in Mathematics?

What is the correct format for writing equations in math?

The correct format for writing equations in math is to use mathematical symbols, such as +, -, *, /, and =, to represent mathematical operations. Equations should also be written in a linear format, with the unknown variable on one side of the equation and the known values on the other side.

How should I write fractions in math?

Fractions in math should be written using the division symbol (/) or a horizontal line to represent the division of two numbers. The numerator (top number) should be written above the denominator (bottom number).

Do I need to include units when writing mathematical equations?

Yes, it is important to include units when writing mathematical equations to ensure that the calculated answer has the correct units. Units should also be consistent on both sides of the equation.

Should I use parentheses when writing mathematical equations?

Parentheses should be used in mathematical equations to indicate the order of operations. This is especially important when there are multiple operations or when using fractions.

What is the proper way to write exponents in math?

Exponents in math should be written using the caret symbol (^) to represent raising a number to a power. The base number should be written first, followed by the caret symbol, and then the exponent.

Back
Top