Linear Combinations
Explore the concept of linear combinations by learning how scalars multiply vectors and matrices to form new objects. Understand how to generate infinite combinations from vectors and how this applies to data science tasks such as image processing and matrix operations. Gain practical skills with Python code examples to manipulate and visualize linear combinations.
What’s a linear combination?
If and are any two objects and and are any two scalars, then is a linear combination of and . We can have several linear combinations of and by varying and .
Example
Find any three linear combinations of and .
Note: Objects like column-vectors, such as , are commonly used to represent points in space. We’ll discuss the vectors and vector spaces in detail in upcoming lessons, but for now, it’s okay to simply view these objects as arrays.
Solution:
...