In order to successfully complete this assignment you need to participate both individually and in groups during class. If you attend class in-person then have one of the instructors check your notebook and sign you out before leaving class. If you are attending asyncronously, turn in your assignment using D2L no later than 11:59pm on the day of class. See links at the end of this document for access to the class timeline for your section.
Image from: https://en.wikipedia.org/wiki/Change_of_basis
Consider the following example. We claim that the following set of vectors form a baiss for $R^3$:
$$B = \{(2,1, 3), (-1,6, 0), (3, 4, -10) \}$$If these vectors form a basis they must be linearly independent and Span the entire space of $R^3$
%matplotlib inline
import matplotlib.pylab as plt
import numpy as np
import sympy as sym
sym.init_printing(use_unicode=True)
✅ **DO THIS:** Create a $3 \times 3$ numpy matrix $A$ where the columns of $A$ form are the basis vectors.
#Put your answer to the above question here
from answercheck import checkanswer
checkanswer.matrix(A,'68b81f1c1041158b519936cb1a2e4d6b');
✅ **DO THIS:** Using python, Calculate the determinant of matrix $A$?
# Put your answer to the above question here.
✅ **DO THIS:** Using python, calculate the inverse of $A$.
# Put your answer to the above question here.
✅ **DO THIS:** Using python, calculate the rank of $A$.
# Put your answer to the above question here.
✅ **DO THIS:** Using python, calculate the reduced row echelon form of $A$.
# Put your answer to the above question here.
✅ **DO THIS:** Using the above $A$ and the vector $b=(1,3,2)$. What is the solution to $Ax=b$?
#Put your answer to the above question here.
from answercheck import checkanswer
checkanswer.matrix(x,'8b0938260dfeaafc9f8e9fec0bc72f17');
Turns out a matrix where column vectors are formed from basis vectors a lot of interesting properties and the following statements are equivalent.
Not all matrices follow the above statements but the ones that do are used throughout linear algebra so it is important that we know these properties.
A Vector Space is a set $V$ of elements called vectors, having operations of addition and scalar multiplication defined on it that satisfy the following conditions ($u$, $v$, and $w$ are arbitrary elements of $V$, and c and d are scalars.)
A finite set of vectors ${v_1,\dots, v_n}$ is called a basis of a vector space $V$ if the set spans $V$ and is linearly independent. i.e. each vector in $V$ can be expressed uniquely as a linear combination of the vectors in a basis.
✅ **DO THIS:** Let $U$ be the set of all circles in $R^2$ having center at the origin. Interpret the origin as being in this set, i.e., it is a circle center at the origin with radius zero. Assume $C_1$ and $C_2$ are elements of $U$. Let $C_1 + C_2$ be the circle centered at the origin, whose radius is the sum of the radii of $C_1$ and $C_2$. Let $kC_1$ be the circle center at the origin, whose radius is $|k|$ times that of $C_1$. Determine which vector space axioms hold and which do not. (See page 216 of the textbook).
Put your answer here
✅ **DO THIS:** Let $v$, $v_1$, and $v_2$ be vectors in a vector space $V$. Let $v$ be a linear combination of $v_1$ and $v_2$. If $c_1$ and $c_2$ are nonzero real numbers, show that $v$ is also a linear combination of $c_1v_1$ and $c_2v_2$.
Put your answer here
✅ **DO THIS:** Let $v_1$ and $v_2$ span a vector space $V$. Let $v_3$ be any other vector in $V$. Show that $v_1$, $v_2$, and $v_3$ also span $V$.
Put your answer here
Read the definition for Linear Dependent and Linearly independent in the textbook and consider the following matrix, which is in the reduced row echelon form.
$$ \left[ \begin{matrix} 1 & 0 & 0 & 7 \\ 0 & 1 & 0 & 4 \\ 0 & 0 & 1 & 3 \end{matrix} \right] $$✅ **DO THIS:** Show that the row vectors form a linearly independent set:
Put your answer here
✅ **DO THIS:** Is the set of nonzero row vectors of any matrix in reduced row echelon form linearly independent? Discuss in your groups and include your thoughts below.
Put your answer here
✅ **DO THIS:** A computer program accepts a number of vectors in $R^3$ as input and checks to see if the vectors are linearly independent and outputs a True/False statment. Discuss in your groups, which is more likely to happen due to round-off error--that the computer states that a given set of linearly independent vectors is linearly dependent, or vice versa? Put your groups thoughts below.
Put your answer here
To get credits for this assignment, you must fill out and submit the above survey form on or before the assignment due date.
Written by Dirk Colbry, Michigan State University
This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.