Three mesh currents (in amperes) in a resistor network satisfy with A = pmatrix 1 & 2…

PHYSICS · Multi-part · Fermi University Physics · Mathematical Methods for Physics · Linear algebra and vector spaces · Numerical and computational mathematics

Error, Chance and the Machine, Ch Linear systems, least squares and the singular value decomposition

Problem

Three mesh currents i1,i2,i3i_1, i_2, i_3 (in amperes) in a resistor network satisfy Ai=v\mathsf{A}\mathbf{i} = \mathbf{v} with A=(12−12413−12) Ω.\mathsf{A} = \begin{pmatrix} 1 & 2 & -1\\ 2 & 4 & 1\\ 3 & -1 & 2\end{pmatrix}\ \Omega. ((a)) Factorise A\mathsf{A} as PA=LU\mathsf{P}\mathsf{A} = \mathsf{L}\mathsf{U} by Gaussian elimination with partial pivoting, choosing at each stage the largest available entry (by magnitude) in the current column at or below the diagonal. Give the multipliers l21l_{21}, l31l_{31} from the first elimination stage (applied after any row exchange) and l32l_{32} from the second stage, and the final pivot u33u_{33}. ((b)) State the number of floating-point operations required by LU factorisation of a general n×nn\times n matrix, to leading order, and evaluate it for n=3n = 3. Then count the flops exactly for n=3n = 3 from the sum over the elimination steps in Eq. (2.3), and say why the two numbers differ.

Browse the problem library