alg1

Table of contents

  1. Problem Set 1 Solutions
  2. Section 2.1
  3. Section 2.2
  4. Section 2.3
  5. Section 2.4
  6. Section 2.5

1. Problem Set 1 Solutions

1.1 Vector trigonometry and dot products

This subsection addresses the application of trigonometric identities to vector components and the properties of dot products between multiple vectors.

  • Trigonometric substitution: the components of a vector can be expressed using the cosine and sine of its angle, such that cos⁡(α)=v1/∥v∥\cos(\alpha) = v_1/\|v\| and sin⁡(α)=v2/∥v∥\sin(\alpha) = v_2/\|v\|.
  • Angle subtraction formula: the cosine of the difference between two angles θ=β−α\theta = \beta - \alpha is found using the identity cos⁡(β−α)=cos⁡(α)cos⁡(β)+sin⁡(β)sin⁡(α)\cos(\beta - \alpha) = \cos(\alpha)\cos(\beta) + \sin(\beta)\sin(\alpha).
  • Dot product signs: it is possible for three vectors in the xyxy plane to satisfy u⋅v<0\mathbf{u} \cdot \mathbf{v} < 0, v⋅w<0\mathbf{v} \cdot \mathbf{w} < 0, and u⋅w<0\mathbf{u} \cdot \mathbf{w} < 0 simultaneously.

📝 For u=(1,0)\mathbf{u} = (1, 0), v=(−2,2)\mathbf{v} = (-\sqrt{2}, \sqrt{2}), and w=(−2,−2)\mathbf{w} = (-\sqrt{2}, -\sqrt{2}), the dot products are u⋅v=v⋅w=u⋅w=−2\mathbf{u} \cdot \mathbf{v} = \mathbf{v} \cdot \mathbf{w} = \mathbf{u} \cdot \mathbf{w} = -2 1.

1.2 Linear dependence and matrix invertibility 1 2

This section explores the relationship between vector dependence, the geometry of planes, and the invertibility of matrices.

  • Linear dependence: vectors are considered dependent if a non-trivial combination of them results in the zero vector.
  • Geometric interpretation: dependent vectors in R3\mathbb{R}^3 lie in a single plane.
  • Matrix invertibility: a matrix WW is not invertible if its columns are linearly dependent.
  • Centered difference matrix: for a 5×55 \times 5 centered difference matrix CC, the equations Cx=bCx = b can be combined to find a zero sum.
Equation CombinationResulting Sum
Sum of 1st, 3rd, and 5th equations0
Sum of b1,b3,b5b_1, b_3, b_50

2. Section 2.1

2.1 Markov matrices and steady state vectors

This subsection analyzes the iterative multiplication of vectors by Markov matrices and the convergence toward a steady state.

  • Markov matrix properties: when a vector is repeatedly multiplied by a Markov matrix AA, the components of the resulting vectors uku_k maintain a specific sum.
  • Steady state vector: a vector ss is a steady state if it satisfies the condition As=sAs = s.
  • Convergence: regardless of the starting vector (such as u0=(1,0)u_0 = (1, 0) or v0=(0,1)v_0 = (0, 1)), the sequence of vectors produced by iterative multiplication approaches the same steady state vector ss.
Vector TypeBehavior under AA
Initial vector u0u_0 or v0v_0Approaches steady state ss
Steady state ssStays at ss (invariant)

📝 For the Markov matrix A=[.8.3.2.7]A = \begin{bmatrix}.8 &.3 \\.2 &.7 \end{bmatrix}, the sequence of vectors approaches the steady state s=[.6.4]s = \begin{bmatrix}.6 \\.4 \end{bmatrix}, which is verified by As=sAs = s 3 4 5.

3. Section 2.2

The provided source material does not contain substantive content for Section 2.2, as the document begins directly with problems related to Section 2.3.

4. Section 2.3

This section focuses on the application of elementary matrices and row operations to manipulate matrix entries and reduce specific structured matrices.

4.1 Problem 22: Row operations and matrix-vector products

This problem explores how applying an elementary matrix E21E_{21} to a matrix AA affects the resulting product AxAx and the specific entries of the matrix.

  • Matrix-vector product components: the jj-th component of AxAx is defined by the sum ∑i=1naijxi\sum_{i=1}^{n} a_{ij}x_i.
  • Elementary matrix E21E_{21}: this matrix performs the operation of subtracting row 1 from row 2.
  • Effect of E21E_{21} on entries:
  • Third component of AxAx: it remains ∑j=1na3jxj\sum_{j=1}^{n} a_{3j}x_j.
  • (2,1)(2, 1) entry of E21AE_{21}A: it is calculated as a21−a11a_{21} - a_{11}.
  • (2,1)(2, 1) entry of E21(E21A)E_{21}(E_{21}A): it results in a21−2a11a_{21} - 2a_{11}.
  • First component of E21AxE_{21}Ax: it remains ∑j=1na1jxj\sum_{j=1}^{n} a_{1j}x_j.

📝 If E21E_{21} subtracts row 1 from row 2, the (2,1)(2, 1) entry of the transformed matrix E21AE_{21}A is a21−a11a_{21} - a_{11} 6.

4.2 Problem 29: Reduction of Pascal's matrix 6

This problem involves using elementary matrices to reduce a Pascal matrix to a smaller version and eventually to the identity matrix II.

  • Pascal's matrix reduction: a triangular matrix EE can be used to eliminate columns to reduce the size of the matrix.
  • Elimination process:
  • Second column elimination: achieved using a specific elementary matrix.
  • Third column elimination: achieved using a matrix with a −1-1 in the relevant position.
  • Total reduction matrix MM: the product of several elementary matrices EE that reduces the Pascal matrix all the way to II.
TargetMethod
Smaller PascalEliminate second column with EE
Identity IIMultiply several EE matrices to form MM

5. Section 2.4

5.1 Relationship between row vectors and solutions 8

The consistency of a linear system Ax=bAx = b is fundamentally constrained by the linear dependencies existing among the row vectors of the matrix AA.

  • Row vector dot products: If AA is a matrix with row vectors A1,A2,…,AmA_1, A_2, \dots, A_m, then the equation Ax=bAx = b is equivalent to the set of scalar equations Ai⋅x=biA_i \cdot x = b_i for each ii.
  • Linear dependence constraints: If the rows of AA satisfy a linear relationship, such as A1+A2=A3A_1 + A_2 = A_3, then the components of the vector bb must satisfy the exact same relationship for a solution xx to exist.
  • Contradiction in inconsistent systems: If a proposed vector bb violates the dependency found in the rows (e.g., b1+b2≠b3b_1 + b_2 \neq b_3 when A1+A2=A3A_1 + A_2 = A_3), then no solution xx can exist.
  • Effect on Gaussian elimination: In the process of row reduction, any linear dependency among the rows of AA will result in at least one row of zeros in the eliminated matrix.
Row RelationshipRequirement for Ax=bAx=b to be consistent
A1+A2=A3A_1 + A_2 = A_3b1+b2=b3b_1 + b_2 = b_3
A1−A2=A3A_1 - A_2 = A_3b1−b2=b3b_1 - b_2 = b_3
c1A1+c2A2=A3c_1 A_1 + c_2 A_2 = A_3c1b1+c2b2=b3c_1 b_1 + c_2 b_2 = b_3

📝 Suppose AA has row vectors A1,A2,A3A_1, A_2, A_3 where A1+A2=A3A_1 + A_2 = A_3. If we test the system Ax=(1,0,0)Ax = (1, 0, 0), we find A1⋅x=1A_1 \cdot x = 1 and A2⋅x=0A_2 \cdot x = 0. This implies A1⋅x+A2⋅x=1+0=1A_1 \cdot x + A_2 \cdot x = 1 + 0 = 1, which contradicts the requirement that A3⋅x=0A_3 \cdot x = 0. Thus, no solution exists.

6. Section 2.5

6.1 Non-invertible matrices and row dependencies

Non-invertible matrices are characterized by the presence of linear dependencies within their rows, which directly impacts the existence and uniqueness of solutions.

  • Row dependency: A matrix is non-invertible if its rows are not linearly independent, meaning at least one row can be expressed as a linear combination of the others.
  • Impact on solutions: When rows are dependent, the system Ax=bAx = b may have no solution (if bb is inconsistent with the row dependencies) or infinitely many solutions (if bb is consistent).
  • Zero rows in elimination: During row reduction, the linear dependency between rows manifests as a row of zeros in the resulting echelon form 9.

© 2026 Maeve. All rights reserved. This content is protected by copyright.

See also