\cases - Tex Command



NAME

\cases - for piecewise-defined functions.

SYNOPSIS

{ \cases{ <math> & <math> \cr <repeat as needed> }}

DESCRIPTION

The result is of class REL (binary relation), so it has the spacing of a relation.

EXAMPLE

  1. |x| = 
    \cases{
    x  & \text{if } x\ge 0\cr
    -x & \text{if } x\lt 0
    } 
    
    $ |x| = \cases{ x & \text{if } x\ge 0\cr -x & \text{if } x\lt 0 } $
Advertisements