Variational formulation
As we have saw, the analysis equation for the Kalman's filter is given by

Where

which is the minimum of the cost function

So to obtain the analysis
it is possible to compute inverse matrix as present in Eq.(28) or minimizing Eq.(29). This last method is called 3D-Var.
Illustration of the steepest descent algorithm
