How to handle mathematical expressions involving case statements

This is video #18 in a series of twenty one by Dr Vincent Knight of Cardiff University.

In equations where we wish to show different cases, we can use the \begin{cases} environment (part of the amsmath package) to display these with the correct alignment.

The example given in the video is included as a template pre-loaded in writeLaTeX to help you get started. Simply open the 'Cases' example (opens in a new tab/window), and use our online editor to try it for yourself.

See the full list of tutorial videos.