Week 1
Sets and sets-builder notation
- Set — An unordered collection of distinct objects
- Elements — things inside a set, use the symbol to represent that some specific element is inside a set; and uses to show that the element is not inside the set
- Sets can contain mixture of objects, and is named with capital letters
- An empty set contains no elements, and is written with
- Sets and Interval notation
- Close bracket: , Open bracket:
Set operations
- Subsets & Superset — if set is a subset of , its written as
- means a subset of, but maynot be equal; while means that its a set of & equal
- In , if all and , then is a superset of
- Set equality — if and only if and
- Prove:
Set-builder notation
- If is a set, define a subset:
- Union —
- Intersection —
Vectors
- Vector - An arrow inside a coordinate system, rooted at the origin, associated with a set of coordinates
- Vector coordinates notation: (column vector)
- It models a relationship between pointsssssssss
- Scalar — numbers that modules a relationship between quantities
- The represents the magnitude of the vector (norm of ). Its a scaler
- Vectors is not he same as a line segment and a vector by itself has no “origin”
- Vectors and points will be treated interchangeably
- Zero vector — notated as , is the vector with no magnitude
- Standard Basis Vector, the vector and always points ONE unit in the direction of and axis
Vector addition
-
Adding from top to tail
-
Scaler multiplication
-
Multiplying by a number that scales the vector (stretch or compresses the vector)
-
Since the scaler coefficient increase the magnitude of the vector, therefore scaling the vector means multiplying each element of the vector set by that scaler
-
Answer question from lecture
= \begin{bmatrix} ac \\ bd \end{bmatrix}$$ - The vector would first move `a` spaces horizontally, **plus** `c` spaces horizontally, results as moving `ac` units horizontally. After that, from that resultant point, the vector would now move `b` spaces vertically **plus** another `d` spaces verticallyl. The final result will then be `bd` spaces vertically in total
Linear Combination
- Linear combination vs union.
- Linear combination of sum of vectors multiplied by some scaler from , while union is just a combination of existing vectors, without any mutation with the vectors
- The scalars are called the coefficients for the linear combination
- The vector is always a linear combination of vectors from any non-empty set.
- Every vector in can be written uniquely as a linear combination of any two non-identical vectors
Example Question
We denote the restriction on the hover board’s movement by the vector . By this we mean that if the hover board traveled “forward” for one hour, it would move along a “diagonal” path that would result in a displacement of 3 km East and 1 km North of its starting location.
We denote the restriction on the magic carpet’s movement by the vector . By this we mean that if the magic carpet traveled “forward” for one hour, it would move along a “diagonal” path that would result in a displacement of 1 km East and 2 km North of its starting location.
Uncle Cramer tells you that Old Man Gauss lives in a cabin that is 107 km East and 64 km North of your home.
Task: Investigate whether or not you can use the hover board and the magic carpet to get to Gauss’s cabin. If so, how? If it is not possible to get to the cabin with these modes of transportation, why is that the case?
1. Translate the problem into math equations
Hover Board: ; Magic Carpet: ; Target Requires:
Since Target cannot be divided equally among any single of the tools, therefore a combination is required to finish the task
Set variables
let be the time spend on the hover board; let be the time spend on the magic carpet
Create equations
According to vector’s addition, therefore:
= \begin{bmatrix} 107 \\ 64 \end{bmatrix}$$
Solve the algebra
sub. in to the second equation
sub. back to the first equation
Solving Systems
-
System of equations — a list of equations with common variables
-
Solution — a list of values, one for each variable, that satisfy every equation at once
Therefore and is a solution to this system of equations
Ways of solving equations
-
Substitution — isolate variables and substitute into reminding equations
-
Elimination — eliminate variables by adding multiples of one equation to another
-
The main method used in Linear Algebra
-
Subtract from : =
-
Multiply by : =
-
Subtract from : =
-
Consistency of Linear Equations
-
Consistent — the system has at least one solution (example above is consistent)
, These system has an unique solution
This system has infinitely man y solutions
-
Inconsistent — the system has no solution or infinitely many solutions
This system has no solution