-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Linear Algebra Basics 线性代数基础 #48
Comments
❖ Vector formsRefer to Khan academy article. In Gilbert Strang's Intro to Linear Algebra, it's different point of view: For row form or column form:
「Unit vectors」
What's it for? 「Standard Basis Vectors」 & 「Unit vector」 form
THIS FORM DOESN'T PRESENT VECTOR AS A POSITION ANYMORE, RATHER PRESENT IT AS HOW MUCH IT STRETCHES UNIT VECTORS, OR SAY PRESENT IT AS A SCALAR. Assume that there are TWO unit vectors, one vertical, one horizontal. How to find a vector's 「unit vector」
Example: Find the unit vector of vector (-8, 5) Convert between 「vector forms」HIGHLY RECOMMEND TO REVIEW THE COMPLEX NUMBER CONVERSION SKILLS, HAVING THE VERY SAME IDEA. How to find the 「direction angle」 of a vector
NOT EASY! NEED TO CONSIDER LOTS OF CONDITIONS, LIKE QUADRANTS, POSSIBLE SOLUTIONS, PRINCIPLE SOLUTION AND SO. RECOMMEND TO REVIEW INVERSE TRIG FUNCTIONS. Refer to previous notes: Inverse Trigonometric equations. Example: Find the direction angle of vector
|
Vector spanIt's extending the Refer to famous visualisation of 3Blue1Brown's video: Linear combinations, span, and basis vectors 「R²」 and 「R³」
「Linear combinations」 (Vector Addition)
「Span of vectors」
# v, w are vectors
span(v, w) = R²
span(0) = 0
Exceptions:
Linearly 「dependence」 & 「independence」
Vectors So we say the vectors Other than that, any two vectors are List of some 「linear combinations」Let's list some
How to calculate a 「linear combination's independency」Refer to Adam Panagos: Linear Algebra Example Problems - Linearly Independent Vectors #1
A c₁v₁ + c₂v₂ + c₃v₃ .... = 0
Assume that there's a linear combination of two vectors
|
❖ Vectors multiplication
THE VERY FIRST THING TO DO WITH A Just to know, multiplication of vectors or matrices, AREN'T really multiplication, but just look like that. You can see them as operations to get SOMETHING. There're two operations are called
「Boosting」IT'S THE VERY CORE SENSE OF MAKING A MULTIPLICATION OF VECTORS OR MATRICES. Multiplication ISN'T just It's rather kind of JUST TO REMEMBER: FORGET ABOUT ARITHMETIC MULTIPLICATION, ALWAYS SEE MULTIPLICATION AS BOOSTING. 「Dot Product」REMEMBER: A DOT PRODUCT DOESN'T GIVE YOU A VECTOR, BUT ONLY A NUMBER, A SCALAR, A PRODUCT OF TWO MAGNITUDES.
For an intuitive video refer to Khan academy physics: Dot Product. Understand Dot product in 「business」Refer to Intro to linear algebra by Gilbert Strang: 1.2. Understand Dot product in 「physics」
Just to think Vectors on 「same direction」Let's make it easier before digging in: Vectors on 「different direction」So the Let's think about how much power it's pulling on the direction of Ways of calculating dot productThere're two ways to calculate the dot product (I made up the names): Result of two ways are SAME.
「Shadow Boost」
「Axes Boost」
Easier to remember the formula is: Examples:Example「Dot product」 & 「Symmetry」
|
Cross product [DRAFT]
So don't waste time on this unless having certain use of it. REMEMBER: A CROSS PRODUCT ONLY HAS USE IN 3-DIMENSIONS, AND ORDER MATTERS, AND GIVES YOU A NEW VECTOR. List it again:
|
Matrix intro
Prerequisites: Matrices could be seen as a group of informations arranged IN A CERTAIN WAY. 「Matrix row operations」 & 「Systems of equations」
Refer to Khan academy article: Matrix row operations There're different types of row operations:
They all relate to the operations of systems of equations: Switching any two rows:Multiply a row by a 「nonzero constant」Add one row to anotherSolve 「system equations」 using Matrix
Khan lecture: Reduced row echelon form
The important note to apply the First we need to rewrite the system of equation to Then by It means we eliminated all other variables and only left 1 variable in one equation, which is called |
❖ Matrix MultiplicationIT IS A WHOLE NEW AREA ASIDE FROM MATRICES BASIC OPERATIONS. It's very difficult to make sense of it. But mathematicians just somehow make it work, it then is a
Refer to Khan academy article: Multiplying matrices This topic is very easy to use but very difficult to understand!
Understand Matrix multiplicationThere're so many different ways to understand it, to make sense of it, because it's so hard to understand. The major fond of ways to understand are:
Although Before we start, let's make things clear:
Refer to Khan lecture video: Matrix vector products as linear transformations
Linear transformation
LINEAR TRANSFORMATION IS THE VERY KEY TO OPEN UP ALL GETES IN LINEAR ALGEBRA, BECAUSE IT MAKES PERFECT SENSE OF MATRIX MULTIPLICATION. To understand
Need to mention that, 3Blue1Brown has done well on build intuition on this topic:
YOU JUST HAVE TO MEMORISE THIS EQUATION AND GET THE IDEA. THAT IS GONNA HELP YOU OUT FROM ALL THE IDEAS AND PROBLEMS IN LINEAR ALGEBRA. Change the 「basis」
Remember a vector If we want to transform a vector, like For example, there's a vector
By telling where the Another example: And we present this SO WHENEVER YOU ENCOUNTER MATRIX MULTIPLICATION AGAIN, NEVER READ IT AS TWO VECTORS OR TWO MATRICES MULTIPLYING TOGETHER! How to interpret a 「Matrix Multiplication」There're only TWO part of this matrix multiplication:
SO ALL YOU NEED TO DO, IS JUST TO APPLY THOSE RULES ONE BY ONE, For example, we apply two transform rules to a vector It's exactly same with the function principles: Break up the Matrices with its 「Geometric」 meaningIn the WE HAVE TO BREAK THE MATRICES INTO SINGLE PARTS BEFORE WE DO THE CALCULATION. And since we made the rule for Note that:
Example |
❖ Matrix Transformation
YOU BREAK 「Size」 of Matrix multiplicationUnlike In General: Example: 「3x2 Matrix」 with 「2x2 Matrix」
Example: 2x2 Matrix with 2x3 MatrixMore examplesRefer to Symbolab the Online math solver, which offers answers of any matrices operation step by step. Common Matrix Transformations
Refer to Math planet: Transformation using matrices 「Rotation」 of Shapes
Example: Transform Graphs
「Reflection」 of Shapes |
Composition of Matrix Multiplication
Although you can see two matrices multiplying together as Refer to 3Blue1Brown: Matrix multiplication as composition So extend from the equation above, we know that the Order matters! |
❖ Determinant of TransformationIt's quite easy to calculate, and not too hard to understand what's behind it.
JUST TO REMEMBER: THE DETERMINANT IS ABOUT AREA OF THE GRAPH! Refer to 3Blue1Brown: The determinant 「Unit vector」 graphWe all know the Note that:
Irregular shape
「Determinant formula」 for 2x2 Matrix
「Determinant formula」 for 3x3 Matrix
「Zero determinant」If the determinant of a transformation 「Negative determinant」A |
❖ Inverse Matrices
Refer to 3Blue1Brown: Inverse matrices, column space and null space SPOILER ALERT: EVEN 3x3 MATRIX INVERSE IS ALREADY TOO HEAVY TO CALCULATE, SO BETTER JUST TO MEMORISE THE 2x2 AND LET COMPUTER DO ALL THE HIGHER DIMENSIONS. Understand the 「Inverse Matrix」
It makes lots more sense in geometric meanings, that an Inverse Matrix just to RECOVER the transformation of a graph back to before. Why is the 「Inverse Matrix」 at the Left of VectorBecause Matrix 「Identity Matrix」
The
The features of 「Identity Matrix」
More importantly, IT CAN SWITCH SIDE WHEN MULTIPLYING ANOTHER MATIRX! 「Not Invertible」 MatircesTwo conditions make a matrix NOT invertible:
「Adjugate Matrix」
Refer to maths is fun: Inverse of a Matrix using Minors, Cofactors and Adjugate. 「Adjugate」 of 2x2 MatrixCalculate the 「Inverse」 of a 「Matrix」
2x2 Matrix inverse
3x3 Matrix inverseWe can calculate the Inverse of a Matrix by:
ExampleSolve:
Solving 「Systems of equations」 with 「Inverse Matrices」 |
Rank of TransformationMeans the Refer to 3Blue1Brown: Inverse matrices, column space and null space After doing a transformation to a graph, it is:
In the case of 2x2 Matrices, the When it's the highest rank the Matrix can be, we call it |
|
Prerequisites
Study resources
Tools
Practice & Quizzes
Study goals of Linear Algebra
The text was updated successfully, but these errors were encountered: