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 v1v_1 is multiplied by a constant cc, the resulting vector moves along a specific line in space.

  • If the constant c=0c = 0, the vector resides at the origin (0,00, 0).

  • 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 v1=(12)v_1 = \begin{pmatrix} 1 \\ 2 \end{pmatrix}, the equation of the line representing its span is y=2xy = 2x. 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 S={v1,v2,,vk}S = \{v_1, v_2, \dots, v_k\}. If these are vectors in Rn\mathbb{R}^n, then the dimensions of each vector are nn.

  • Span Definition: The set of all linear combinations of v1,v2,,vkv_1, v_2, \dots, v_k is called the span of those vectors. This is denoted as span{v1,v2,,vk}\text{span}\{v_1, v_2, \dots, v_k\} or span(S)\text{span}(S).

  • If span(S)=Rn\text{span}(S) = \mathbb{R}^n, then SS is referred to as the spanning set of Rn\mathbb{R}^n.

  • Example of Standard Spanning Sets:

    • In R2\mathbb{R}^2, the vectors e1=(10)e_1 = \begin{pmatrix} 1 \\ 0 \end{pmatrix} and e2=(01)e_2 = \begin{pmatrix} 0 \\ 1 \end{pmatrix} span the xyxy-coordinate system.

    • In R3\mathbb{R}^3, the standard unit vectors are e1=(100)e_1 = \begin{pmatrix} 1 \\ 0 \\ 0 \end{pmatrix}, e2=(010)e_2 = \begin{pmatrix} 0 \\ 1 \\ 0 \end{pmatrix}, and e3=(001)e_3 = \begin{pmatrix} 0 \\ 0 \\ 1 \end{pmatrix}. These vectors span all three dimensions (xx, yy, and zz). Any point in R3\mathbb{R}^3, such as the point (240)\begin{pmatrix} -2 \\ 4 \\ 0 \end{pmatrix}, can be represented as a linear combination of these unit vectors (e.g., 2e1+4e2+0e3-2e_1 + 4e_2 + 0e_3).

Linear Combinations and Systems Readiness

  • A vector is a linear combination of other vectors if it can be written in the form c1v1+c2v2++ckvkc_1v_1 + c_2v_2 + \dots + c_kv_k.

  • 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 (123)\begin{pmatrix} 1 \\ 2 \\ 3 \end{pmatrix} as a combination of two other vectors requires finding scalars α\alpha and β\beta.

  • Symbolic representation: If α=3\alpha = 3 and β=2\beta = 2, 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 0=20 = -2, 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 R2\mathbb{R}^2

  • To determine if two vectors, such as (21)\begin{pmatrix} 2 \\ -1 \end{pmatrix} and (13)\begin{pmatrix} 1 \\ 3 \end{pmatrix}, span the entirety of R2\mathbb{R}^2, one must check if any arbitrary vector (ab)\begin{pmatrix} a \\ b \end{pmatrix} 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., 17\frac{1}{7}) can help isolate the constants.

  • In the case of these two vectors, the coefficients found are:

    • For the first vector: 6a+2b7\frac{6a + 2b}{7}

    • For the second vector: a+2b7\frac{a + 2b}{7} (or similar derived constants such as 3ab7\frac{3a - b}{7} depending on row operations).

  • Because solutions for the scalars exist for any choice of aa and bb, these vectors do indeed span the xyxy-coordinate system.

Spanning Planes in R3\mathbb{R}^3

  • To find the span of two vectors in R3\mathbb{R}^3, such as s(103)+t(113)s \begin{pmatrix} 1 \\ 0 \\ 3 \end{pmatrix} + t \begin{pmatrix} -1 \\ 1 \\ 3 \end{pmatrix}, you set them equal to a general vector (xyz)\begin{pmatrix} x \\ y \\ z \end{pmatrix}.

  • Through row operations (e.g., R2+R1R_2 + R_1 or multiplying by 3-3 and adding), one creates a row echelon form. The system will only have a solution if a specific condition is met, such as z3x=0z - 3x = 0 or 3xz=03x - z = 0.

  • This shows that these vectors do not span the entirety of R3\mathbb{R}^3 but rather span a plane that passes through the origin. The general equation for such a surface is ax+by+cz=0ax + by + cz = 0.

Linear Independence and Dependence

  • Linear Dependence Definition: A set of vectors v1,v2,,vk\text{v}_1, \text{v}_2, \dots, \text{v}_k is linearly dependent if there are scalars c1,c2,,ckc_1, c_2, \dots, c_k, at least one of which is non-zero, such that:   c1v1+c2v2++ckvk=0c_1v_1 + c_2v_2 + \dots + c_kv_k = 0

  • Linear Independence: If the only solution to the above equation is the trivial solution where all scalars ci=0c_i = 0, 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 v1=(12)v_1 = \begin{pmatrix} 1 \\ 2 \end{pmatrix}, v2=(34)v_2 = \begin{pmatrix} 3 \\ 4 \end{pmatrix}, and v3=(46)v_3 = \begin{pmatrix} 4 \\ 6 \end{pmatrix}, then v3v_3 is the sum of v1v_1 and v2v_2, 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 mm vectors in Rn\mathbb{R}^n 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 AA where the vectors are columns and the right-hand side is zero (Ax=0A\mathbf{x} = \mathbf{0}).

  • 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 mm 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 tt, then coefficients like c2=2tc_2 = 2t and c1=3tc_1 = -3t 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: 23002300

    • Units of B available: 800800

    • Units of C available: 15001500

  • 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 x1,x2,x3x_1, x_2, x_3, the system is:   2x1+2x2+4x3=23002x_1 + 2x_2 + 4x_3 = 2300   1x1+3x2+0x3=8001x_1 + 3x_2 + 0x_3 = 800   1x1+=15001x_1 + \dots = 1500

  • Solving via Row Echelon method yields: x1=100x_1 = 100, x2=350x_2 = 350, and x3=350x_3 = 350.

Application: Balancing Chemical Equations

  • Chemistry uses linear systems to balance equations like H2+O2H2OH_2 + O_2 \rightarrow H_2O.

  • Instead of trial and error, assign variables to the units of each molecule (e.g., w,x,y,zw, x, y, z).

  • 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 ww and the right has 2y2y, then w=2yw = 2y.

    • For Hydrogen (H): If the left has 3w3w and the right has 2z2z, then 3w=2z3w = 2z.

    • For Oxygen (O): If the left has 2x2x and the right has zz, then 2x=z2x = z.

  • 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: 5+10=155 + 10 = 15

    • Flow Out: f1+f4f_1 + f_4

    • Equation: f1+f4=15f_1 + f_4 = 15

  • Similar equations are built for all junctions (B,C,DB, C, D). For instance, if f2+f3+5f_2 + f_3 + 5 enters Junction C and 30 leaves, then f2+f3=25f_2 + f_3 = 25.

  • 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:

    1. Ohm's Law: E=I×RE = I \times R (Voltage = Current ×\times Resistance).

    2. Kirchhoff’s Current Law (KCL): The current entering a node must equal the current leaving (e.g., I1+I3=I2I_1 + I_3 = I_2).

    3. 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: 4I1+I2=84I_1 + I_2 = 8

    • Loop 2: 4I3+I2=164I_3 + I_2 = 16

  • 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.