Kalman Filter
Let us consider a LTI system with additive Gaussian noise In addition to the state estimate the state of the Kalman Filter includes the error covariance where is the state estimate's error.
The Kalman filter estimates the state in two steps, first creating an a priori state estimate and error covariance where and then performing a correction based on the measurement and Kalman gain , to attain the a posteriori state estimate and error covariance as The Kalman gain is designed to minimize the a posteriori error covariance by finding the stationary point of (1b) After substituting (2) into (1b) we can manipulate the equation into the "Joseph" form or alternatively the simplified form which is numerically less stable.