Advanced Linear Algebra: Span, Linear Independence, and Real-World Applications
Geometrical Interpretation of Vector Scaling and Linear Combinations
The concept of scaling vectors is foundational to linear algebra. If a vector is multiplied by a constant , the resulting vector moves along a specific line in space.
If the constant , the vector resides at the origin ().
Scaling vectors allows movement exclusively along the line defined by that vector. For example, multiplying by positive numbers (2, 3, 4, 5) pulls the vector in the positive direction, while negative numbers pull it in the negative direction. It is impossible to move off this line using scaling alone.
Graphically, this line represents the span of the vector. For a vector such as , the equation of the line representing its span is . In everyday algebra, this line passes through the origin with a slope of 2. No matter how the vector is scaled, it will never deviate from this line.
The Formal Definition of Span
Suppose there is a set of vectors . If these are vectors in , then the dimensions of each vector are .
Span Definition: The set of all linear combinations of is called the span of those vectors. This is denoted as or .
If , then is referred to as the spanning set of .
Example of Standard Spanning Sets:
In , the vectors and span the -coordinate system.
In , the standard unit vectors are , , and . These vectors span all three dimensions (, , and ). Any point in , such as the point , can be represented as a linear combination of these unit vectors (e.g., ).
Linear Combinations and Systems Readiness
A vector is a linear combination of other vectors if it can be written in the form .
For a vector to be within the span of another set, a solution must exist for the system of equations. For example, representing the vector as a combination of two other vectors requires finding scalars and .
Symbolic representation: If and , and these yield the target values in the vector, the answer is "Yes," the vector is a linear combination and thus lies within the span.
Consistency and Inconsistency:
If a system of equations derived from vectors results in a contradiction like , the system is inconsistent (e.g., the vectors may be parallel and never meet), meaning there is no solution.
If there are infinite solutions, the system is consistent.
Determining if Vectors Span
To determine if two vectors, such as and , span the entirety of , one must check if any arbitrary vector can be represented by them.
This leads to a system of equations that can be solved using row reduction. Swapping rows or multiplying by fractions (e.g., ) can help isolate the constants.
In the case of these two vectors, the coefficients found are:
For the first vector:
For the second vector: (or similar derived constants such as depending on row operations).
Because solutions for the scalars exist for any choice of and , these vectors do indeed span the -coordinate system.
Spanning Planes in
To find the span of two vectors in , such as , you set them equal to a general vector .
Through row operations (e.g., or multiplying by and adding), one creates a row echelon form. The system will only have a solution if a specific condition is met, such as or .
This shows that these vectors do not span the entirety of but rather span a plane that passes through the origin. The general equation for such a surface is .
Linear Independence and Dependence
Linear Dependence Definition: A set of vectors is linearly dependent if there are scalars , at least one of which is non-zero, such that:
Linear Independence: If the only solution to the above equation is the trivial solution where all scalars , then the vectors are linearly independent.
Theorems on Dependence:
Two or more vectors are linearly dependent if and only if at least one vector can be expressed as a linear combination of the others. For example, if , , and , then is the sum of and , making the set dependent.
Any set of vectors containing the zero vector is always linearly dependent. This is because the coefficient for the zero vector can be any non-zero number, while all other coefficients are zero, still resulting in a total of zero.
If you have vectors in and m > n (more vectors than dimensions), the vectors are always linearly dependent.
Rank and Matrix Methods for Independence
To check for independence, set up a matrix where the vectors are columns and the right-hand side is zero ().
Use Row Reduced Echelon Form (RREF). If the only solution is zero for all variables, they are independent. If there are free variables or non-trivial solutions, they are dependent.
Rank Theorem: A set of row vectors is linearly dependent if and only if \text{rank}(A) < m (where is the number of rows).
Example: In a case where row reduction leads to a row of zeros (infinite solutions), the vectors are linearly dependent. If c3 is defined as a parameter , then coefficients like and can be derived.
Application: Biological Strain Analysis
Systems of equations can determine how many bacteria of different strains can coexist based on food consumption.
Case Study: Three strains of bacteria consume three types of food (A, B, and C).
Units of A available:
Units of B available:
Units of C available:
The consumption rates for each strain form the coefficients of the matrix. For instance, if strain 1 eats 2 units of A, 1 of B, and 1 of C, and these are represented by variables , the system is:
Solving via Row Echelon method yields: , , and .
Application: Balancing Chemical Equations
Chemistry uses linear systems to balance equations like .
Instead of trial and error, assign variables to the units of each molecule (e.g., ).
Conservation of Mass: The number of atoms of each element must stay the same on both sides.
For Nitrogen (N): If the left side has and the right has , then .
For Hydrogen (H): If the left has and the right has , then .
For Oxygen (O): If the left has and the right has , then .
This results in a system of equations that can be solved to find the smallest integer coefficients for balancing.
Application: Network Analysis and Flow
Network analysis applies to traffic on streets, water in pipes, or electrical currents.
Conservation of Flow: At any junction (node), the flow in must equal the flow out.
Example Setup: At Junction A:
Flow In:
Flow Out:
Equation:
Similar equations are built for all junctions (). For instance, if enters Junction C and 30 leaves, then .
These systems often result in infinite possibilities (parametric solutions) unless specific restrictions on maximum flow are provided.
Application: Electrical Networks
Electrical circuits are managed using three primary principles:
Ohm's Law: (Voltage = Current Resistance).
Kirchhoff’s Current Law (KCL): The current entering a node must equal the current leaving (e.g., ).
Kirchhoff’s Voltage Law (KVL): The total voltage drop around a closed circuit loop must equal the total voltage applied.
Example Loop Analysis:
Loop 1:
Loop 2:
Combining KCL and KVL creates a system of three formulas with three unknowns ($I_1, I_2, I_3$) which can be solved numerically using matrices.
Questions & Discussion: Test 1 Logistics
Test Schedule: The test occurs on Wednesday from 10:10 AM to 12:10 PM (2 hours).
Requirements:
Students must use the Lockdown Browser.
A working webcam and microphone are mandatory. The session is recorded, and the software flags suspicious activity (e.g., faces not being visible or too many "flags").
Scratch work must be written on physical paper and uploaded to the "Test 1 Scratch" section within 10–15 minutes after the test ends.
Grading and Work:
The test is not multiple choice.
Partial credit is available, but no work means no credit, even if the final answer is correct.
Calculator use is allowed, but every step of the procedure must be shown.
Submission:
Students must depart the Lockdown Browser to scan and upload their work.
Attachment vs. Upload: Students are asked to "attach" rather than just "upload" to allow the professor to use digital marking tools (red pen).
Email submissions will not be graded according to the syllabus.
Discussion on Technical Issues:
Student Question: "Is the webcam going to be on our computer, or do we need another device?"
Professor Response: Use the computer's webcam. Some professors ask for phones to see hands, but for this class, the computer's camera is sufficient.
Student Question: "What app do we use to scan?"
Professor Response: Any scanner app like Genius Scan or a printer's scanner works.
Student Question: "Is the test similar to the homework?"
Professor Response: Yes, the 9 to 10 questions are items you have seen before in the practice and homework.
Miscellaneous Aside
During the break, the professor mentioned a personal note regarding burning through avocado oil and purchasing more at Costco.
A brief interaction occurred with a student called "Mister Garcia" regarding administrative follow-up or assistance.