In the ideal setup, the wavefunction should be zero at the walls because these walls are of infinite potential, i.e. the particle cannot be in that position of such a high potential (I am trying to understand the relation between the waveshape and the actual physical situation).
But why do figures always depict the time-invariant wavefunction in a sinusoidal form as can be seen on this hyperphysics page? Aren't other irregular or non-symmetric shapes allowed as long as they satisfy the boundary conditions? If no, why is that?