Substituting the expressions for
for the even
(19) or odd (18) states into the form for
the wavefunction (15) gives,

for even solutions and

for odd solutions, respectively.
Note that the even solutions are indeed even functions
and the odd solutions are odd functions of x,
.