A Bayes filter abandons the idea of knowing a single, exact state. Instead, it tracks a Belief distribution—a probability density function representing how likely every possible state is, given all past sensor readings and control inputs.

1. Predict (The Prior):

You integrate across all possible previous states, applying your physical motion model ().

2. Update (The Posterior):

You multiply that predicted belief by the likelihood of getting your current sensor reading (), and normalize it with a constant .