Section 1.2

Gaussian Elimination and Matrices

[16/94%]
Show
LaTeX
Problem 1.2.1

Use Gaussian elimination with back substitution to solve the following system:

x1+x2+x3=1,x1+2x2+2x3=1,x1+2x2+3x3=1. \begin{aligned} x_{1} + x_{2} + x_{3} & = 1, \\ x_{1} + 2 x_{2} + 2 x_{3} & = 1, \\ x_{1} + 2 x_{2} + 3 x_{3} & = 1. \end{aligned}
?
Problem 1.2.2

Apply Gaussian elimination with back substitution to the following system:

2x1−x2=0,−x1+2x2−x3=0,−x2+x3=1. \begin{aligned} 2 x_{1} - x_{2} & = 0, \\ -x_{1} + 2 x_{2} - x_{3} & = 0, \\ -x_{2} + x_{3} & = 1. \end{aligned}
?
Problem 1.2.3

Use Gaussian elimination with back substitution to solve the following system:

4x2−3x3=3,−x1+7x2−5x3=4,−x1+8x2−6x3=5. \begin{aligned} 4 x_{2} - 3 x_{3} & = 3, \\ -x_{1} + 7 x_{2} - 5 x_{3} & = 4, \\ -x_{1} + 8 x_{2} - 6 x_{3} & = 5. \end{aligned}
?
Problem 1.2.4

Solve the following system:

x1+x2+x3+x4=1,x1+x2+3x3+3x4=3,x1+x2+2x3+3x4=3,x1+3x2+3x3+3x4=4. \begin{aligned} x_{1} + x_{2} + x_{3} + x_{4} & = 1, \\ x_{1} + x_{2} + 3 x_{3} + 3 x_{4} & = 3, \\ x_{1} + x_{2} + 2 x_{3} + 3 x_{4} & = 3, \\ x_{1} + 3 x_{2} + 3 x_{3} + 3 x_{4} & = 4. \end{aligned}
?
Problem 1.2.5

Consider the following three systems where the coefficients are the same for each system, but the right-hand sides are different (this situation occurs frequently):

4x−8y+5z=1∣0∣0,4x−7y+4z=0∣1∣0,3x−4y+2z=0∣0∣1. \begin{aligned} 4x - 8y + 5z & = 1 \mid 0 \mid 0, \\ 4x - 7y + 4z & = 0 \mid 1 \mid 0, \\ 3x - 4y + 2z & = 0 \mid 0 \mid 1. \end{aligned}

Solve all three systems at one time by performing Gaussian elimination on an augmented matrix of the form

[A∣b1∣b2∣b3]. \left[\mathbf{A} \mid \mathbf{b_{1}} \mid \mathbf{b_{2}} \mid \mathbf{b_{3}}\right].
?
Problem 1.2.6

Suppose that matrix BB is obtained by performing a sequence of row operations on matrix AA. Explain why AA can be obtained by performing row operations on BB.

?
Problem 1.2.7

Find angles α\alpha, β\beta, and γ\gamma such that

2sin⁡α−cos⁡β+3tan⁡γ=3,4sin⁡α+2cos⁡β−2tan⁡γ=2,6sin⁡α−3cos⁡β+tan⁡γ=9, \begin{aligned} 2 \sin \alpha - \cos \beta + 3 \tan \gamma & = 3, \\ 4 \sin \alpha + 2 \cos \beta - 2 \tan \gamma & = 2, \\ 6 \sin \alpha - 3 \cos \beta + \tan \gamma & = 9, \end{aligned}

where 0≤α≤2π0 \leq \alpha \leq 2\pi, 0≤β≤2π0 \leq \beta \leq 2\pi, and 0≤γ<π0 \leq \gamma < \pi.

?
Problem 1.2.8

The following system has no solution:

−x1+3x2−2x3=1,−x1+4x2−3x3=0,−x1+5x2−4x3=0. \begin{aligned} -x_{1} + 3 x_{2} - 2 x_{3} & = 1, \\ -x_{1} + 4 x_{2} - 3 x_{3} & = 0, \\ -x_{1} + 5 x_{2} - 4 x_{3} & = 0. \end{aligned}

Attempt to solve this system using Gaussian elimination and explain what occurs to indicate that the system is impossible to solve.

?
Problem 1.2.9

Attempt to solve the system

−x1+3x2−2x3=4,−x1+4x2−3x3=5,−x1+5x2−4x3=6, \begin{aligned} -x_{1} + 3 x_{2} - 2 x_{3} & = 4, \\ -x_{1} + 4 x_{2} - 3 x_{3} & = 5, \\ -x_{1} + 5 x_{2} - 4 x_{3} & = 6, \end{aligned}

using Gaussian elimination and explain why this system must have infinitely many solutions.

?
Problem 1.2.10

By solving a 3×33 \times 3 system, find the coefficients in the equation of the parabola y=α+βx+γx2y = \alpha + \beta x + \gamma x^{2} that passes through the points (1,1)(1, 1), (2,2)(2, 2), and (3,0)(3, 0).

?
Problem 1.2.11

Suppose that 100 insects are distributed in an enclosure consisting of four chambers with passageways between them as shown below.

At the end of one minute, the insects have redistributed themselves. Assume that a minute is not enough time for an insect to visit more than one chamber and that at the end of a minute 40 of the insects in each chamber have not left the chamber they occupied at the beginning of the minute. The insects that leave a chamber disperse uniformly among the chambers that are directly accessible from the one they initially occupied—e.g., from 3, half move to 2 and half move to 4.

?
(a)

If at the end of one minute there are 12, 25, 26, and 37 insects in chambers 1, 2, 3, and 4, respectively, determine what the initial distribution had to be.

(b)

If the initial distribution is 20, 20, 20, 40, what is the distribution at the end of one minute?

Problem 1.2.12

Show that the three types of elementary row operations discussed on p.8 are not independent by showing that the interchange operation (1.2.7) can be accomplished by a sequence of the other two types of row operations given in (1.2.8) and (1.2.9).

Recall the three elementary row operations: Type I (equation (1.2.7)), interchange the order of two equations; Type II, multiply an equation by a nonzero scalar; Type III, replace an equation by the sum of itself and a multiple of another equation. Equations (1.2.8) and (1.2.9) are the Type II and Type III operations respectively.

?
Problem 1.2.13

Suppose that [A∣b][A \mid b] is the augmented matrix associated with a linear system. You know that performing row operations on [A∣b][A \mid b] does not change the solution of the system. However, no mention of column operations was ever made because column operations can alter the solution.

?
(a)

Describe the effect on the solution of a linear system when columns A∗jA_{*j} and A∗kA_{*k} are interchanged.

(b)

Describe the effect when column A∗jA_{*j} is replaced by αA∗j\alpha A_{*j} for α≠0\alpha \neq 0.

(c)

Describe the effect when A∗jA_{*j} is replaced by A∗j+αA∗kA_{*j} + \alpha A_{*k}.

Remark.
?

Experiment with a 2×22 \times 2 or 3×33 \times 3 system.

Problem 1.2.14

Consider the n×nn \times n Hilbert matrix defined by

H=[11213⋯1n]2mm]121314⋯1n+1131415⋯1n+2]2mm]⋮⋮⋮⋯⋮1n1n+11n+2⋯12n−1]. H = \begin{bmatrix} 1 & \dfrac {1}{2} & \dfrac {1}{3} & \cdots & \dfrac {1}{n} \\ ]2mm] \dfrac {1}{2} & \dfrac {1}{3} & \dfrac {1}{4} & \cdots & \dfrac {1}{n+1} \\[2mm] \dfrac {1}{3} & \dfrac {1}{4} & \dfrac {1}{5} & \cdots & \dfrac {1}{n+2} \\ ]2mm] \vdots & \vdots & \vdots & \cdots & \vdots \\[2mm] \dfrac {1}{n} & \dfrac {1}{n+1} & \dfrac {1}{n+2} & \cdots & \dfrac {1}{2n-1} \end{bmatrix}.

Express the individual entries hijh_{ij} in terms of ii and jj.

?
Problem 1.2.15

Verify that the operation counts given in the text for Gaussian elimination with back substitution are correct for a general 3×33 \times 3 system. If you are up to the challenge, try to verify these counts for a general n×nn \times n system.

The operation counts given in the text: Gaussian elimination with back substitution applied to an n×nn \times n system requires n33+n2−n3\dfrac {n^{3}}{3} + n^{2} - \dfrac {n}{3} multiplications/divisions and n33+n22−5n6\dfrac {n^{3}}{3} + \dfrac {n^{2}}{2} - \dfrac {5n}{6} additions/subtractions.

?
Problem 1.2.16

Explain why a linear system can never have exactly two different solutions. Extend your argument to explain the fact that if a system has more than one solution, then it must have infinitely many different solutions.

?