E21 Computer Engineering Fundamentals
October 27, 2026
Linear systems of the form \[\boldsymbol{A} \boldsymbol{x} = \boldsymbol{b}\] are extremely common in engineering.
\[ \begin{bmatrix} A_{11} & A_{12} & A_{13} \\ A_{21} & A_{22} & A_{23} \\ A_{31} & A_{32} & A_{33} \\ A_{41} & A_{42} & A_{43} \\ A_{51} & A_{52} & A_{53} \end{bmatrix} \begin{bmatrix} x_1 \\ x_2 \\ x_3 \end{bmatrix} = \begin{bmatrix} b_1 \\ b_2 \\ b_3 \\ b_4 \\ b_5 \end{bmatrix} \]
\[ \begin{aligned} A_{11}x_1 + A_{12}x_2 + A_{13}x_3 &= b_1 \\ A_{21}x_1 + A_{22}x_2 + A_{23}x_3 &= b_2 \\ A_{31}x_1 + A_{32}x_2 + A_{33}x_3 &= b_3 \\ A_{41}x_1 + A_{42}x_2 + A_{43}x_3 &= b_4 \\ A_{51}x_1 + A_{52}x_2 + A_{53}x_3 &= b_5 \end{aligned} \]
Find the reaction forces \(H_2\), \(V_2\) and \(V_3\) and all internal forces
\[ \begin{bmatrix} 1 & 0 & 0 & \cos 30^\circ & 1 & 0 \\ \vdots & \vdots & \vdots & \vdots & \vdots & \vdots \\ \vdots & \vdots & \vdots & \vdots & \vdots & \vdots \\ 0 & 0 & 0 & \sin 30^\circ & 0 & \sin 60^\circ \\ \vdots & \vdots & \vdots & \vdots & \vdots & \vdots \\ \vdots & \vdots & \vdots & \vdots & \vdots & \vdots \\ \end{bmatrix} \begin{bmatrix} H_2 \\ V_2 \\ V_3 \\ F_{21} \\ F_{23} \\ F_{31} \end{bmatrix} = \begin{bmatrix} 0 \\ \dots \\ \dots \\ F_{1,\text{ext}} \\ \dots \\ \dots \end{bmatrix} \]
Find the currents in this circuit.
\[\phantom{+}2x_1 + 3x_2 = 4 \tag{1}\] \[-\phantom{2}x_1 + 2x_2 = 5 \tag{2}\]
e.g.
\((1) + 2 \times (2) \rightarrow \text{ new } (2)\)
The new equation is \(\boxed{0 x_1 + 7 x_2 = 14}\) \((2^*)\)
Original equations: \[\phantom{+}2x_1 + 3x_2 = 4\] \[-\phantom{2}x_1 + 2x_2 = 5\]
Equivalent equations: \[\phantom{+}2x_1 + 3x_2 = 4 \tag{3}\] \[\phantom{-}0x_1 + 7x_2 = 14 \tag{4}\]
Gaussian elimination followed by substitution \(\rightarrow\) solution!
Start with \(\boldsymbol{A} \boldsymbol{x} = \boldsymbol{b}\)
\[ \begin{bmatrix} A_{11} & A_{12} & A_{13} \\ A_{21} & A_{22} & A_{23} \\ A_{31} & A_{32} & A_{33} \end{bmatrix} \begin{bmatrix} x_1 \\ x_2 \\ x_3 \end{bmatrix} = \begin{bmatrix} b_1 \\ b_2 \\ b_3 \end{bmatrix} \]
Construct a so-called augmented matrix with one extra column, the r.h.s. of the equation.
\[ \left[\begin{array}{ccc|c} A_{11} & A_{12} & A_{13} & b_1 \\ A_{21} & A_{22} & A_{23} & b_2 \\ A_{31} & A_{32} & A_{33} & b_3 \end{array}\right] \quad \]
Perform row operations until an augmented matrix of the following form survives.
\[ \left[\begin{array}{ccc|c} A^*_{11} & A^*_{12} & A^*_{13} & b^*_1 \\ 0 & A^*_{22} & A^*_{23} & b^*_2 \\ 0 & 0 & A^*_{33} & b^*_3 \end{array}\right] \quad \]
Recognize that the above is shorthand for the following equation:
\[ \begin{aligned} A_{11}^* x_1 + A_{12}^* x_2 + A_{13}^* x_3 &= b^*_1 \\ \phantom{A_{21}x_1 +} A^*_{22}x_2 + A^*_{23}x_3 &= b^*_2 \\ \phantom{A_{31}x_1 + A_{32}x_2 +} A_{33}^* x_3 &= b^*_3 \\ \end{aligned} \]
Solve, starting from the last.
\[ \begin{aligned} A_{11}^* x_1 + A_{12}^* x_2 + A_{13}^* x_3 &= b^*_1 \\ \phantom{A_{21}x_1 +} A^*_{22}x_2 + A^*_{23}x_3 &= b^*_2 \\ \phantom{A_{31}x_1 + A_{32}x_2 +} A_{33}^* x_3 &= b^*_3 \\ \end{aligned} \]
\[x_3 = \frac{b_3^*}{A_{33}}^*\] \[x_2 = \frac{b_2^* - A_{23}^* x_3}{A_{22}^*}\] \[x_1 = \frac{b_1^* - A_{13}^* x_3 - A_{12}^* x_2}{A_{11}^*}\]
E21 • Fall 2026 • Lecture 15 • October 27, 2026 • ↩︎