Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can i specify in the otherwise condition of the following equation

\begin{cases}\ U & \text{if $A_{U_{Max}} = A_{U_{Min}} =$ Null},\\ \ \frac{A_{U_{Max}} - A_{U_{Min}}}{U\sqrt{2}} & \text{otherwise} \end{cases}

that if denominator is 0 then make it equal to 1 ?

share|cite|improve this question
How about $U\sqrt{2}+\delta_{U\sqrt{2},0}$ (Kronecker's delta)? – Arturo Magidin Apr 17 '12 at 21:27
Or $U\sqrt2+[U\sqrt2=0]$, with an Iverson bracket. – Brian M. Scott Apr 17 '12 at 21:29

Replacing the denominator with $ U\sqrt{2}+[U=0]$ (as suggested by Brian M. Scott) may be the shortest solution. However, keep in mind that the readers will have to mentally process the formula it by splitting into sub-cases anyway. So, consider refactoring the statement, e.g., Let $F=U$ if $A_{U_{Max}} = A_{U_{Min}} = 0$, and otherwise
$$F = \begin{cases} \frac{A_{U_{Max}} - A_{U_{Min}}}{U\sqrt{2}}, & \quad U\ne 0 \\ \ A_{U_{Max}} - A_{U_{Min}}, & \quad U = 0 \end{cases}$$

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.