LQ3 Pointers
Tags: #◇CSMATH2 #◇Linear Algebra #◇Computational Mathematics #◇Matrices #◇Matrix Operations #◇Computer Science #◇Vector Spaces #◇Linear Transformations
◇Overview
Linear Combination: A mix of vectors using scaling and addition.
◇Key Concepts
Linear Combination Span Definition Visual Check Basis
◇Details / Theory
◇Part 1: Vector Space Concepts (The Building Blocks)
1. Linear Combination & Span
Linear Combination: A mix of vectors using scaling and addition.
Formula: Span: The collection of ALL possible vectors you can create from a given set.
Concept: Think of the span as the "territory" covered by the vectors.
Rule: If you have fewer vectors than the dimension of the space (e.g., 2 vectors in ), you cannot span the whole space.
2. Linear Independence
Definition: A set of vectors is independent if no vector is "redundant." You cannot build one vector using the others. The Zero Test: To check independence, set a combination to zero:
If the only solution is that all scalars are zero (), they are Linearly Independent.
If you find any non-zero scalars, they are Linearly Dependent. Visual Check: Two vectors are dependent if they are on the same line (one is a multiple of the other).
3. Basis & Dimension
Basis: A "perfect" set of vectors that is efficient (independent) and complete (spans the space).
To be a basis, a set must be: (1) Linearly Independent AND (2) A Spanning Set. Dimension: The number of vectors in a basis.
Rule: Every basis for the same vector space has the exact same number of vectors.
Examples: has dimension 2; has dimension 3.
◇Part 2: Linear Transformations (The Action)
1. What is a Linear Transformation?
A function that keeps the grid structure intact. It must follow the "Superposition Principle":
Checklist for Linearity:
- Zero maps to Zero: must equal 0.
- No Powers: No , etc.
- No Constants: No or added at the end.
2. Kernel (The "Null Space")
Definition: The set of all inputs that get sent to the Zero Vector. How to find it: Set the transformation equation equal to 0 and solve for the variables.
Significance: The Kernel tells you about uniqueness.
3. Range (The "Image")
Definition: The set of all possible outputs. How to find it: It is the Span of the transformed basis vectors.
Tip: If , separate the variables to find the vectors: . The range is the span of those two column vectors.
4. One-to-One vs. Onto
One-to-One (Injective): Every output has a unique input.
The Test: A map is One-to-One if and only if the Kernel contains ONLY the zero vector (). Onto (Surjective): The map covers the entire target space.
The Test: The dimension of the Range must equal the dimension of the target space.
5. Rank-Nullity Theorem
A fundamental rule connecting the dimensions:
Translation: (Dimensions lost) + (Dimensions kept) = (Total dimensions started with). hi, hang in there bro :>
◇Part 3: Problem Solving Strategies ("The Algorithms")
A. How to Check for Linear Independence / Find a Basis
- Matrix Setup: Put your vectors as the columns of a matrix.
- Row Reduce: Perform Gaussian Elimination to get to Row Echelon Form (REF).
- Find Pivots: Look for the leading non-zero numbers (usually 1s) in the rows.
- Conclusion:
The columns with pivots correspond to the Independent Vectors (your Basis).
The columns without pivots (free variables) correspond to Dependent Vectors.
B. How to Extend a Set to a Basis
- Start with your given independent vectors.
- Add a "Standard Basis" vector (like or ) that is not a linear combination of your current set.
- Verify: Put them in a matrix and check if the determinant is non-zero, or if you have a full set of pivots.
C. How to Compute Transformations of New Vectors
Problem: Given and , find . Solution:
- Write the target vector as a combination: .
- Apply linearity: .
- Substitute and calculate: .
◇Part 4: Quick Tips & Common Pitfalls
The "Goldilocks" Rule:
Too few vectors? Can't span.
Too many vectors? Must be dependent.
Just right ( vectors in dimension )? If they are independent, they are automatically a basis. Zero Vector Trap: Any set containing the Zero Vector is automatically Dependent. Rank vs. Basis:
Rank is a number (how many pivots).
Basis is a set of vectors (the columns with pivots). Kernel Dimensions: The Kernel lives in the Domain (input space). The Range lives in the Codomain (output space). Don't mix them up!
◇Part 5: "How To" Step-by-Step Guides
1. How to show a vector is a Linear Combination of set
Scenario: You are given a vector and a set of vectors . The question asks: "Is a linear combination of ?" or "Express as a linear combination of ."
Step 1: Write the Equation
Set up the equation .
Example: . Step 2: Create the Augmented Matrix
Turn the vectors into columns of a matrix, with the target vector as the final column on the right side.
Step 3: Row Reduce (REF)
Use Gaussian Elimination to get zeros in the bottom-left corner. Step 4: Check Consistency
Consistent: If you get a valid answer (e.g., ), then YES, it is a linear combination.
Inconsistent: If you get a row like (which means ), then NO, it is impossible.
2. How to determine if a Set is Linearly Independent
Scenario: You are given a set of vectors . Is it linearly independent?
Step 1: Form the Homogeneous Equation
Set the linear combination equal to the zero vector: . Step 2: Create the Augmented Matrix
Put vectors as columns. The augmented side is all zeros. Step 3: Row Reduce (REF)
Solve the matrix. Step 4: Analyze the Solution
Independent: If the only solution is (the trivial solution), then the set is Independent.
Dependent: If there are free variables (non-trivial solutions), the set is Dependent.
3. How to find a Basis from a Spanning Set
Scenario: "Find a basis for the subspace spanned by ."
Step 1: Put Vectors in a Matrix
List the vectors as the columns of a matrix. Step 2: Row Reduce to REF
Reduce until you see the "steps" or pivots. Step 3: Identify Pivot Columns
Locate the columns that have the leading non-zero numbers (pivots). Step 4: Select Original Vectors
The basis consists of the vectors from the original set that correspond to the pivot columns. (Do not use the columns from the reduced matrix itself).
4. How to prove is a Linear Transformation
Scenario: "Let . Determine if is a linear transformation."
Step 1: Check the Combined Property
You must prove that is true for all vectors and scalars . Step 2: Substitute and Expand
Calculate the left side: Plug into the function.
Calculate the right side: Multiply by the function and add times the function . Step 3: Compare
If Left Side = Right Side, it is a Linear Transformation.
Shortcut: If you see terms like , , , or constants (), it is NOT linear.
5. How to find the Kernel of a Linear Transformation
Scenario: "Find the Kernel of ."
Step 1: Set Output to Zero
Write the equation (the zero vector of the target space).
Step 2: Solve the System
Set up the equations:
- Step 3: State the Kernel
If the only answer is , the Kernel is (and is one-to-one).
If you get a free variable (like ), describe the set of vectors (e.g., ).
6. How to find the Range of a Linear Transformation
Scenario: "Find the Range of ."
Step 1: Separate the Variables
Take the output formula and pull apart the variables into distinct vectors.
Step 2: Identify the Spanning Vectors
The vectors you factored out are the generators of the range.
Step 3: Check Dimension (Optional)
Count the linearly independent vectors in that span. This is the dimension of the Range (Rank).
◇Common Pitfalls
Checking linear independence by inspection instead of row-reducing — always set up the matrix and reduce to RREF Confusing span (set of all linear combinations) with basis (minimal spanning set that is also linearly independent) Forgetting that dimension = number of vectors in any basis, not the number of vectors given Not setting up the equation properly when finding the kernel — write the transformation as a matrix equation first Miscounting rank (pivot columns) vs. nullity (free columns) after row reduction
◇Summary
TL;DR — Key pointers: Span = all linear combinations; linear independence = check via RREF (no free variables); basis = linearly independent spanning set; dimension = basis size. For transformations: kernel = (nullity), range = column space of the matrix (rank). Always verify with rank-nullity: .
◇Links
Related: Source / Reference:
◇References & Navigation
- Related Notes: ◇Linear Equations and Matrices