The system entries are sums of the shown data. This lesson assembles those sums before any solving happens.

highlighted = computed this step

The entries are sums

The exact sums are n=4, sum x=6, sum y=11, sum x times x=14, and sum x times y=22.

n,x,y,xx,xyn,\sum x,\sum y,\sum x\cdot x,\sum xy
Assembled normal equationsExact integer sums assemble the augmented system.Assembled sums461161422

Assemble the system

Placing those sums into X-transpose X and X-transpose y gives the displayed system.

[nxyxxxxy]\begin{bmatrix}n&\sum x&\sum y\\\sum x&\sum x\cdot x&\sum xy\end{bmatrix}
Assembled normal equationsExact integer sums assemble the augmented system.Assembled sums461161422

Summary

The assembly step is exact integer arithmetic from the shown data. Every displayed arithmetic value is recomputed exactly from the data.

[461161422]\begin{bmatrix}4&6&11\\6&14&22\end{bmatrix}
Assembled normal equationsExact integer sums assemble the augmented system.Assembled sums461161422