Optimization with partial derivatives
The method of resolution via partial derivative solves only simple maximization of intertemporal optimization programs. The Hansen's program is,

The constraints' satisfaction allows us to rewrite,
, the objective function,

Thus, the optimization involves the quantities
et
,

Concerning
,

We find out our first-order conditions,
