How do you draw functions that look like this? I apologize for not providing you with an attempt to solve this problem - I am a second-day user of Latex. Greatly appreciate your help.
\documentclass[paper=a4, fontsize=11pt]{scrartcl}
\usepackage[T1]{fontenc} % Use 8-bit encoding that has 256 glyphs
\usepackage{fourier} % Use the Adobe Utopia font for the document - comment this line to return to the LaTeX default
\usepackage[english]{babel} % English language/hyphenation
\usepackage{amsmath,amsfonts,amsthm} % Math packages
\usepackage{sectsty} % Allows customizing section commands
\allsectionsfont{\centering \normalfont\scshape} % Make all sections centered, the default font and small caps
\usepackage{fancyhdr} % Custom headers and footers
\usepackage{xfrac}
\begin{document}
\[ F_x(x) = \left\{
\begin{array}{l l}
0 & \quad \text{for $x <0$}\\
x^2 & \quad \text{$0\leq x<0.5$}\\
1-3(1-x)^2 & \quad \text{$0.5\leq x<1$}\\
1 & \quad \text{$x\geq 1$}
\end{array} \right.\]
\\
\end{document}

\includegraphics– David Carlisle Aug 29 '14 at 13:13