Linear Approximation and Error Analysis