alg1
Table of contents
- Problem Set 1 Solutions
- Section 2.1
- Section 2.2
- Section 2.3
- Section 2.4
- 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∥ and sin(α)=v2/∥v∥.
- Angle subtraction formula: the cosine of the difference between two angles θ=β−α is found using the identity cos(β−α)=cos(α)cos(β)+sin(β)sin(α).
- Dot product signs: it is possible for three vectors in the xy plane to satisfy u⋅v<0, v⋅w<0, and u⋅w<0 simultaneously.
📝 For u=(1,0), v=(−2,2), and w=(−2,−2), the dot products are u⋅v=v⋅w=u⋅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 lie in a single plane.
- Matrix invertibility: a matrix W is not invertible if its columns are linearly dependent.
- Centered difference matrix: for a 5×5 centered difference matrix C, the equations Cx=b can be combined to find a zero sum.
| Equation Combination | Resulting Sum |
|---|---|
| Sum of 1st, 3rd, and 5th equations | 0 |
| Sum of b1,b3,b5 | 0 |
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 A, the components of the resulting vectors uk maintain a specific sum.
- Steady state vector: a vector s is a steady state if it satisfies the condition As=s.
- Convergence: regardless of the starting vector (such as u0=(1,0) or v0=(0,1)), the sequence of vectors produced by iterative multiplication approaches the same steady state vector s.
| Vector Type | Behavior under A |
|---|---|
| Initial vector u0 or v0 | Approaches steady state s |
| Steady state s | Stays at s (invariant) |
📝 For the Markov matrix A=[.8.2.3.7], the sequence of vectors approaches the steady state s=[.6.4], which is verified by As=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 E21 to a matrix A affects the resulting product Ax and the specific entries of the matrix.
- Matrix-vector product components: the j-th component of Ax is defined by the sum ∑i=1naijxi.
- Elementary matrix E21: this matrix performs the operation of subtracting row 1 from row 2.
- Effect of E21 on entries:
- Third component of Ax: it remains ∑j=1na3jxj.
- (2,1) entry of E21A: it is calculated as a21−a11.
- (2,1) entry of E21(E21A): it results in a21−2a11.
- First component of E21Ax: it remains ∑j=1na1jxj.
📝 If E21 subtracts row 1 from row 2, the (2,1) entry of the transformed matrix E21A is a21−a11 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 I.
- Pascal's matrix reduction: a triangular matrix E 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 in the relevant position.
- Total reduction matrix M: the product of several elementary matrices E that reduces the Pascal matrix all the way to I.
| Target | Method |
|---|---|
| Smaller Pascal | Eliminate second column with E |
| Identity I | Multiply several E matrices to form M |
5. Section 2.4
5.1 Relationship between row vectors and solutions 8
The consistency of a linear system Ax=b is fundamentally constrained by the linear dependencies existing among the row vectors of the matrix A.
- Row vector dot products: If A is a matrix with row vectors A1,A2,…,Am, then the equation Ax=b is equivalent to the set of scalar equations Ai⋅x=bi for each i.
- Linear dependence constraints: If the rows of A satisfy a linear relationship, such as A1+A2=A3, then the components of the vector b must satisfy the exact same relationship for a solution x to exist.
- Contradiction in inconsistent systems: If a proposed vector b violates the dependency found in the rows (e.g., b1+b2=b3 when A1+A2=A3), then no solution x can exist.
- Effect on Gaussian elimination: In the process of row reduction, any linear dependency among the rows of A will result in at least one row of zeros in the eliminated matrix.
| Row Relationship | Requirement for Ax=b to be consistent |
|---|---|
| A1+A2=A3 | b1+b2=b3 |
| A1−A2=A3 | b1−b2=b3 |
| c1A1+c2A2=A3 | c1b1+c2b2=b3 |
📝 Suppose A has row vectors A1,A2,A3 where A1+A2=A3. If we test the system Ax=(1,0,0), we find A1⋅x=1 and A2⋅x=0. This implies A1⋅x+A2⋅x=1+0=1, which contradicts the requirement that A3⋅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=b may have no solution (if b is inconsistent with the row dependencies) or infinitely many solutions (if b 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.