With the displacement field taken as the only fundamental unknown field in a mixed-boundary-value problem for linear elastostatics, the principle of minimum potential energy asserts that a potential energy functional, which is defined as the difference between the free energy of the body and the work done by the prescribed surface tractions and the body forces --- assumes a smaller value for the actual solution of the mixed problem than for any other kinematically admissible displacement field which satisfies the displacement boundary condition. This principle provides a weak or variational method for solving mixed boundary-value-problems of elastostatics. In particular, instead of solving the governing Navier form of the partial differential equations of equilibrium, one can search for a displacement field such that the first variation of the potential energy functional vanishes. A similar principle of minimum complementary energy, which is phrased in terms of statically admissible stress fields which satisfy the equilibrium equation and the traction boundary condition, is also discussed. The principles of minimum potential energy and minimum complementary energy can also be applied to derive specialized principles which are particularly well-suited to solving structural problems; in this context the celebrated theorems of Castigliano are discussed.