A cart moves along a straight rail

PHYSICS · Multi-part · Fermi University Physics · Scientific Practice & Experimental Methods · Mathematical Methods for Physics · Data analysis and model fitting in the laboratory

Conditions of Validity, Ch Inner products, orthogonality and the adjoint

Problem

A cart moves along a straight rail. Its position yy (in m\mathrm{m}) is recorded at times xx (in s\mathrm{s}): at x=1, 2, 3, 4 sx=1,\ 2,\ 3,\ 4\ \mathrm{s} the positions are y=2.1, 3.9, 6.2, 7.8 my=2.1,\ 3.9,\ 6.2,\ 7.8\ \mathrm{m}. Model the motion as y=a+bxy = a + bx, with aa in m\mathrm{m} and bb in m s−1\mathrm{m\,s^{-1}}, and treat R4\mathbb{R}^4 with the ordinary dot product as the inner product space. ((a)) Writing the model as Ap=b\mathsf{A}\mathbf{p} = \mathbf{b} with p=(a,b)T\mathbf{p} = (a,b)^{\mathrm{T}} and columns (1,1,1,1)T(1,1,1,1)^{\mathrm{T}} and (1,2,3,4)T(1,2,3,4)^{\mathrm{T}}, use the projection theorem to derive the normal equations A†Ap=A†b\mathsf{A}^{\dagger}\mathsf{A}\mathbf{p} = \mathsf{A}^{\dagger}\mathbf{b} in the explicit form na+b∑xi=∑yi,a∑xi+b∑xi2=∑xiyi.n a + b\sum x_i = \sum y_i, \qquad a\sum x_i + b\sum x_i^2 = \sum x_i y_i. ((b)) Solve the normal equations for aa and bb using the recorded data. ((c)) Let u=(xi−xˉ)\mathbf{u} = (x_i - \bar{x}) and v=(yi−yˉ)\mathbf{v} = (y_i - \bar{y}) be the centred data vectors. State the Cauchy-Schwarz inequality for u,v\mathbf{u}, \mathbf{v} and use it to show that the correlation coefficient r=⟨u,v⟩/(∥u∥ ∥v∥)r = \langle\mathbf{u},\mathbf{v}\rangle / (\|\mathbf{u}\|\,\|\mathbf{v}\|) satisfies ∣r∣≤1|r| \le 1. Compute rr for the data and check the bound holds.

Browse the problem library