Notation for boolean variables

683 Views Asked by At

I have an expression that contains arbitrary complex parameters $\mu_1$ and $\mu_2$. Additionally this expression contains a parameter $\sigma$ that is boolean like (takes values 1 or 0). The expression is:

$$v=\sigma v_1+\mu_1 v_2+\mu_2 v_3$$

Is there some mathematical convention how to treat boolean variables? Is there a special term for them (like binary/boolean variable)? And are there any preferred symbols that are used for such variables?

Thank you alot for reading my question.

1

There are 1 best solutions below

2
On BEST ANSWER

Your expression is valid if all the variables involved are in some ring such as the reals, otherwise it is invalid unless you have defined addition and multiplication of the involved objects (which you could). But if $σ$ is boolean then one common notation is "$\mathbf{1}_σ$" to denote the indicator variable which is $1$ if $σ$ is true and $0$ otherwise.