5.2 Principles of Least Squares, Most Probable Value, and Weighted Observations
Key Takeaways
The Principle of Least Squares states that the most probable value of unknown parameters minimizes the sum of weighted squared residuals (sum w_i * v_i^2 = minimum).
The weight of an observation is inversely proportional to its variance (w_i = sigma_0^2 / sigma_i^2); an observation with half the standard deviation carries 4 times the weight.
In differential leveling, observation variance is proportional to route length D, making observation weight inversely proportional to route length (w_i = 1 / D_i).
The standard error of unit weight evaluates overall least-squares model agreement and is calculated as sigma_0 = sqrt( (sum w_i * v_i^2) / (n - u) ), where n - u is degrees of freedom.
Normal equations convert an overdetermined system of observation equations (v = AX - L) into a square, symmetric system (A^T P A X = A^T P L) that yields unique least-squares parameter estimates.
Last updated: July 2026
Principles of Least Squares, Most Probable Value, and Weighted Observations
When surveying measurements contain redundant observations (more measurements than the minimum necessary to determine unknown geometric parameters), small inconsistencies known as misclosures occur due to random errors. The Principle of Least Squares provides the mathematically rigorous framework for resolving these discrepancies to obtain the Most Probable Value (MPV) of unknown quantities and establish unbiased estimates of measurement precision.
1. Fundamental Principle of Least Squares
1.1 The Least-Squares Postulate
The mathematical principle of least squares, independently developed by Carl Friedrich Gauss and Adrien-Marie Legendre, states that for a system of redundant independent observations of equal precision, the most probable values of the unknown parameters are those that minimize the sum of the squares of the observation residuals:
∑i=1nvi2=v12+v22+⋯+vn2=minimum
where vi=Adjusted Value−Observed Value=f(X^)−li.
1.2 Mathematical Proof: Arithmetic Mean as MPV
Consider n independent observations l1,l2,…,ln of a single unknown quantity x with equal weight. The residuals are vi=x−li.
The sum of squared residuals function S(x) is:
S(x)=∑i=1nvi2=∑i=1n(x−li)2
To find the value of x that minimizes S(x), take the first derivative with respect to x and equate to zero:
dxdS=dxd[∑i=1n(x−li)2]=2∑i=1n(x−li)=0∑i=1nx−∑i=1nli=0⟹nx=∑i=1nli⟹x=n∑i=1nli=xˉ
Thus, the arithmetic mean is mathematically proven to be the least-squares most probable value for direct observations of equal weight.
2. Weights of Observations
In real-world geodetic operations, observations rarely possess identical precision. Measurements performed with different instruments, over varying line lengths, under diverse weather conditions, or by observers of unequal skill must be weighted according to their relative reliability.
2.1 Definition and Variance Relationship
The weight (wi or pi) of an observation is a relative dimensionless number inversely proportional to its variance (σi2):
wi∝σi21⟹wi=σi2σ02
where σ02 is the reference variance (or variance of an observation of unit weight, w=1).
From this definition, the fundamental weight-variance relation is established:
w1σ12=w2σ22=⋯=wnσn2=σ02
Key implications:
High variance ⟹ low precision ⟹ low weight.
An observation with twice the standard deviation has one-fourth the weight (w∝1/s2).
2.2 Weight Determination Rules in Surveying Practice
Surveying Measurement Type
Physical Governing Rule
Weight Formula
Differential Leveling (Distance)
Variance accumulates linearly with route distance Di
wi=Di1
Differential Leveling (Setups)
Variance accumulates linearly with setup count ki
wi=ki1
Repeated Measurements
Variance of mean decreases linearly with repetition count ni
wi=ni
EDM Distance Measurement
Standard error specified as σi=a+b⋅Si
wi=(a+b⋅Si)21
3. Weighted Mean and Precision Metrics
For n observations of unequal weight l1,l2,…,ln with assigned weights w1,w2,…,wn, the least-squares objective function becomes:
∑i=1nwivi2=w1v12+w2v22+⋯+wnvn2=minimum
3.1 Weighted Mean (xˉw) Formula
Differentiating ∑wi(x−li)2=0 yields the weighted mean:
xˉw=∑i=1nwi∑i=1nwili=w1+w2+⋯+wnw1l1+w2l2+⋯+wnln
3.2 Standard Error of Unit Weight (σ0)
The standard error of unit weight evaluates overall model consistency and residual dispersion:
σ0=n−u∑i=1nwivi2=r∑i=1nwivi2
where n is the number of observations, u is the number of unknown parameters, and r=n−u is the degrees of freedom (redundancy).
3.3 Standard Error of an Individual Observation of Weight wi
sxi=wiσ0
3.4 Standard Error of the Weighted Mean (sxˉw)
sxˉw=∑i=1nwiσ0=(n−1)∑wi∑wivi2
Worked Numerical Example 1: Weighted Adjustment of Differential Level Lines
Three differential level lines are run from established benchmark BM-A (Elevation = 125.400 m) to determine the elevation of point B. The observed elevation differences, route distances, and calculated weights are summarized below:
Line 1:Δh1=+14.250 m, Distance D1=1.0 km⟹Observed Elevation E1=139.650 m
Line 2:Δh2=+14.280 m, Distance D2=2.0 km⟹Observed Elevation E2=139.680 m
Line 3:Δh3=+14.230 m, Distance D3=4.0 km⟹Observed Elevation E3=139.630 m
Step 1: Assign Relative Weights
Using wi=Di1:
w1=1.01=1.000
w2=2.01=0.500
w3=4.01=0.250∑wi=1.000+0.500+0.250=1.750
Step 2: Compute Weighted Mean Elevation (EˉB)∑wiEi=(1.000⋅139.650)+(0.500⋅139.680)+(0.250⋅139.630)=139.650+69.840+34.9075=244.3975EˉB=∑wi∑wiEi=1.750244.3975=139.6557 m
Step 3: Calculate Residuals (vi=EˉB−Ei) and Weighted Squares (wivi2)
Step 4: Compute Standard Error of Unit Weight (σ0)
Here n=3 observations, u=1 unknown (EˉB), redundancy r=3−1=2:
σ0=20.000492858=0.000246429=±0.01570 m=±15.7 mm
Step 5: Compute Standard Error of Adjusted Elevation (σEˉB)σEˉB=∑wiσ0=1.7500.01570=1.3228760.01570=±0.01187 m≈±11.9 mm
The adjusted elevation of point B is 139.6557 m±0.0119 m.
4. Normal Equations for Multiple Unknown Parameters
When observations are indirect functions of multiple unknown parameters X=[x,y,z,…]T, observation equations are formed:
vi=aix+biy+ciz+⋯−li
where ai,bi,ci are coefficient partial derivatives and li=lobserved,i−lcomputed,i0.
4.1 Algebraic Normal Equations Structure
To minimize ∑wivi2, partial derivatives of ∑wi(aix+biy+ciz−li)2 with respect to each unknown x,y,z are set to zero, yielding the system of Normal Equations:
where Gaussian summation bracket notation defines matrix coefficients:
[aaw]=∑i=1nai2wi,[abw]=∑i=1naibiwi,[alw]=∑i=1nailiwi.
Worked Numerical Example 2: Normal Equations Solution for Two Unknown Station Heights
Determine the elevations of two benchmark stations hA and hB relative to control BM-0 (Elev=0.000 m) given four observed elevation differences of equal weight (wi=1.0):
l1=+10.05 m (from BM-0 to A) ⟹hA=10.05
l2=+15.10 m (from BM-0 to B) ⟹hB=15.10
l3=+5.00 m (from A to B) ⟹hB−hA=5.00
l4=+15.02 m (from BM-0 to B) ⟹hB=15.02
Step 1: Set Up Observation Equations (vi=aihA+bihB−li)
Step 4: Solve System of Equations
From Equation 1: 2hA=5.05+hB⟹hA=2.525+0.5hB.
Substitute into Equation 2:
−(2.525+0.5hB)+3hB=35.12−2.525+2.5hB=35.12⟹2.5hB=37.645⟹hB=15.058 m
Substituting back for hA:
hA=2.525+0.5(15.058)=2.525+7.529=10.054 m
Final Most Probable Values:hA=10.054 m,hB=15.058 m
Test Your Knowledge
If Measurement A has a standard deviation of ±2.0 mm and Measurement B has a standard deviation of ±6.0 mm, what is the ratio of the weight of Measurement A to the weight of Measurement B (w_A / w_B)?
A
9 : 1
B
3 : 1
C
1 : 3
D
1 : 9
Test Your Knowledge
Three differential level lines are run between BM-1 and BM-2 with line lengths of 1 km, 2 km, and 4 km. What are the relative weights assigned to these three level lines?
A
1 : 2 : 4
B
4 : 2 : 1
C
4 : 2 : 1 (or normalized as 1.0 : 0.5 : 0.25)
D
16 : 4 : 1
Test Your Knowledge
Two independent distance measurements of a line yield 100.20 m (weight = 3) and 100.40 m (weight = 1). What is the weighted mean distance?
A
100.25 m
B
100.30 m
C
100.35 m
D
100.38 m
Test Your Knowledge
In a least-squares adjustment involving 10 independent observations and 3 unknown parameters, what is the number of degrees of freedom (redundancy r)?
A
3
B
5
C
10
D
7
Sections you finish are checked off in the contents.