**Dot Product:** Measures how much two vectors align; it's a scalar value.
Ex: For `A=[1,2]`, `B=[3,4]`, `A.B = (1*3) + (2*4) = 11`.
Pro-Tip: If A.B = 0, vectors are orthogonal (perpendicular)!
#LinearAlgebra #VectorMath #STEM #StudyNotes
Alright, future engineers!
A **Linear Combination** is a new vector made by scaling existing vectors & adding them. Ex: `2*[1,0] + 3*[0,1] = [2,3]`. Pro-Tip: It's the fundamental way to build new vectors within a given space!
Alright, let's nail this Linear Algebra concept!
Dot product measures how much two vectors 'agree' on direction. Ex: For v=[v1,v2], w=[w1,w2], v.w = v1w1 + v2w2. Pro-Tip: If v.w = 0, they're orthogonal! Crucial for projections & bases.
#APLQuest 2014-08: Write a function that returns the distance between two points in a space of any number of dimensions (see https://apl.quest/2014/8/ to test your solution and view ours).