I want to define two functions conditionally as in How to write conditional equations with one-sided curly brackets, but I want to write the two equations on the same line. Is there a way for this?

enter image description here

  • Two cases environment in an align environment should do it, if I've understood well what you want.
    – Bernard
    Feb 4, 2020 at 19:07
  • @Bernard I added a picture what I want
    – blancket
    Feb 4, 2020 at 19:11

1 Answer 1


No further special constructs are needed for this, just add some space after the first definition with e.g. \qquad:

Sample output




  w_{n}(x) =
    \frac{1}{2^{n+1}(1+\mu(E_{n}))},&if \( x\in E_{n}\),\\
  u_{n}(x) =
    \frac{\mu(E_{n})}{2^{n+1}(1+\mu(E_{n}))},&if \( x\in E_{n}\),\\


If a \qquad is too much, you can reduce to a \quad. It is best to make the punctuation part of the cases statements, rather than putting it outside these blocks.


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .