## With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

No credit card required

# Building math structures

Variables and constants are simple. But there are more complex objects, like binomial coefficients, vectors, and matrices. We shall figure out how to typeset such structures. Let's begin with simple arrays.

## Creating arrays

For arranging math expressions within a surrounding expression, there's the array environment. We use it exactly like a tabular environment. However, it requires math mode and all of its entries are made using the math mode as well.

For example, by using variable sized parentheses around the array:

$A = \left( \begin{array}{cc} a_{11} & a_{12} \\ a_{21} & a_{22} \end{array} \right)$

## With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

No credit card required