To help students to understand how finite element methods (FEM) deal with the plasticity, we have developed a FEM program by using Mathematica, a symbolic algebra system. The program is compact and of very good readability. Its use in our teaching the theory of plasticity has led to positive results.