WHAT we want: a discrete set of weighted points {Xi,Wi} that reproduce the mean and covariance of xexactly, so that after transforming them we get a good estimate of y's statistics.
HOW we build the sigma points — first principles.
We need points whose weighted mean equals xˉ and whose weighted spread equals P:
∑iWiXi=xˉ,∑iWi(Xi−xˉ)(Xi−xˉ)⊤=P.
Why this constraint? Because if the point cloud has the correct mean and covariance, its low-order statistics match a Gaussian to second order — and matching two moments is exactly what a Kalman filter cares about.
To spread points along the "shape" of P, we need its matrix square root S where SS⊤=P. We use P (usually the Cholesky factor). We place:
So we get ==2n+1== sigma points: one at the center, and one on each side along every principal axis of P. The factor (n+λ) scales how far out the points sit.
HOW we choose the weights. We need two moment conditions (mean, covariance), so we allow two weight sets:
Why two weight sets? The mean weight W(m) and covariance weight W(c) differ only at the center point, so we can inject the Gaussian-tuning term (1−α2+β) into the covariance without disturbing the mean. Clever bookkeeping, nothing more.
Why do the outer weights sum correctly? Check: W0(m)+∑i=12nWi(m)=n+λλ+2n⋅2(n+λ)1=n+λλ+n=1. ✔ (unbiased mean).
Push through the nonlinearity, then recover statistics:
How many sigma points for an n-dim state? Why 2n+1?
What two statistics must the sigma set reproduce exactly?
Where does the Gaussian-tuning β=2 enter?
Why does the UKF beat the EKF for y=x2 at x=0?
What replaces the Jacobian H in the gain?
Why does the UKF avoid Jacobians?
It propagates deterministic sigma points through the true nonlinear function and estimates statistics from them, so no linearization/derivative is needed.
How many sigma points for an n-dimensional state?
2n+1 — one center point plus two per dimension (±) along the principal axes of P.
What two moment conditions define the sigma points?
Their weighted mean equals xˉ and their weighted covariance equals P exactly.
Give the sigma point formula.
X0=xˉ, Xi=xˉ±((n+λ)P)i, with λ=α2(n+κ)−n.
What is the mean weight W0(m)?
W0(m)=λ/(n+λ); the rest are 1/[2(n+λ)].
How does W0(c) differ from W0(m)?
W0(c)=W0(m)+(1−α2+β); only the center covariance weight carries the Gaussian tuning term.
What is β and its optimal Gaussian value?
A parameter encoding prior distribution knowledge; β=2 is optimal for Gaussian priors.
What replaces the linear Kalman gain's PH⊤?
The sigma-point cross-covariance Pxz; gain K=PxzPzz−1.
To what order is the UT accurate for Gaussians vs the EKF?
UT: 3rd order; EKF: 1st order.
For x∼N(0,σ2) and y=x2, what mean does UKF give?
Exactly σ2 (EKF wrongly gives 0 because the Jacobian is 0 at the origin).
Where are Q and R added in the additive UKF?
Q into predicted covariance Pk−; R into innovation covariance Pzz.
Recall Feynman: explain to a 12-year-old
Imagine you have a blurry cloud of dots showing where a rocket might be. You need to know where it'll be after a curvy, twisty motion. The old trick (EKF) pretends the twisty path is a straight line — cheap but wrong on sharp turns. The UKF trick: pick just a few "scout" dots — one in the middle and a couple on each side — send each scout through the real twisty path, and see where they land. From where the scouts end up, you redraw the new cloud. Because you used the real path (not a straight-line guess), your new cloud is much more accurate — and you only had to move a handful of scouts, not a million.
Dekho, problem yeh hai: humein pata hai rocket kahan hai (mean) aur kitni uncertainty hai (covariance P), lekin uska motion ya sensor equation nonlinear hai. Purana EKF wala tareeka bolta hai — chalo is curvy function ko ek straight line se replace kar dete hain (Jacobian nikaal ke). Lekin agar function tez mudta hai, toh yeh straight-line approximation galat answer degi, aur filter diverge kar sakta hai.
UKF ka jugaad zabardast hai: function ko approximate mat karo, distribution ko approximate karo. Yaani $2