I generally prefer using the cases environment of the amsmath
package for such cases (pun intended). However, it's also possible to achieve the result you're after by changing the MWE you provide fairly minimally -- mainly by changing \{
to \left\{
and adding a \right.
instruction at the end of the array environment. Note that it's only necessary to have one array, rather than two nested array environments.
\documentclass{article}
\begin{document}
\[ \left\{
\begin{array}{ll}
0 & x\leq a \\
\frac{x-a}{b-a} & a\leq x\leq b \\
\frac{c-x}{c-b} & b\leq x\leq c \\
1 & c\leq x \\
\end{array}
\right. \]
\end{document}

(Note that I've also changed the alignment indicator for each of the array's columns from c
to l
.)
As you can tell from the image, the spacing between lines is rather tight, because of the fraction terms in the first column. If you think this is a problem, you can always add a bit of extra vertical space by appending [0.5ex]
to the first and third \\
commands, and [1ex]
to the second. (These options to the "newline" commands instruct TeX how much extra space to insert.) The result of adding the extra vertical spacing will look like this:

cases
environment just for this.