14-240/Tutorial-October28: Difference between revisions
No edit summary |
|||
(37 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
==Boris== |
==Boris== |
||
==== |
====Be Efficient==== |
||
By this point in the course, we become good at solving systems of linear equations. However, we should not use this same old problem-solving strategy over and over if a more efficient one exists. Consider the following problems: |
|||
====Don't Be Too Lazy==== |
|||
⚫ | |||
'''Q1''': Determine if <math>S = \{(1, 4, -6), (1, 5, 8), (2, 1, 1), (0, 1, 0)\}</math> is linearly independent in <math>R^3</math>. |
|||
We can solve this linear equation to find the answer: |
|||
:::<math>c_1(1, 4, -6) + c_2(1, 5, 8) + c_3 (2, 1, 1) + c_4(0, 1, 0) = (0, 0, 0)</math> where <math>c_i \in R</math>. |
|||
Yet there is a less time-consuming approach that relies on two observations: |
|||
:(1) The dimension of <math>R^3</math> is <math>3</math> so the size of a basis is also <math>3</math>. |
|||
:(2) No linearly independent set can have more vectors than a generating set (by the Replacement Theorem). |
|||
Since a basis is a generating set and the size of <math>S</math> is <math>4</math>, then the Replacement Theorem tells us that |
|||
<math>S</math> cannot be linearly independent. Hence, the problem can be solved without solving any linear equations. |
|||
'''Q2''': Determine if the polynomials <math>x^3 - 2x ^2 + 1, 4x^2-x+3, 3x-2 </math> generate <math>P_3(R)</math>. |
|||
Once again, we can solve a linear equation but we do not have to. Observe: |
|||
:(1) The dimension <math>P_3(R)</math> is <math>4</math> so the size of a basis is also <math>4</math>. |
|||
:(2) No generating set can have fewer vectors than a basis (by a Corollary to the Replacement Theorem). |
|||
Since there are only <math>3</math> polynomials, then the Corollary tells us that it cannot generate <math>P_3(R)</math>. Once again, we used a more efficient strategy. |
|||
⚫ | |||
'''Boris's tip (for concrete sets and vector spaces only)''': |
|||
If a problem requires us to extend a linearly independent set to a basis, then the easiest approach is to add vectors from the |
|||
standard ordered basis. Here is an example: |
|||
Let <math>S = \{(-3, -6, 0), (0, 7, 0)\}</math> be a linearly independent subset of <math>R^3</math>. To extend <math>S</math> to a basis, add vectors from <math>\{(1, 0, 0), (0, 1, 0), (0, 0, 1)\}</math>. The only question is which vector(s) should we add? |
|||
We see that both vectors in <math>S</math> have a <math>0</math> as the third component so a safe choice is to add <math>(0, 0, 1)</math>. Since <math>R^3</math> has a dimension of <math>3</math>, then <math>\{(-3, -6, 0), (0, 7, 0), (0, 0, 1)\}</math> is a basis of <math>R^3</math>. |
|||
==Nikita== |
==Nikita== |
Latest revision as of 10:37, 29 November 2014
|
Boris
Be Efficient
By this point in the course, we become good at solving systems of linear equations. However, we should not use this same old problem-solving strategy over and over if a more efficient one exists. Consider the following problems:
Q1: Determine if is linearly independent in .
We can solve this linear equation to find the answer:
- where .
Yet there is a less time-consuming approach that relies on two observations:
- (1) The dimension of is so the size of a basis is also .
- (2) No linearly independent set can have more vectors than a generating set (by the Replacement Theorem).
Since a basis is a generating set and the size of is , then the Replacement Theorem tells us that cannot be linearly independent. Hence, the problem can be solved without solving any linear equations.
Q2: Determine if the polynomials generate .
Once again, we can solve a linear equation but we do not have to. Observe:
- (1) The dimension is so the size of a basis is also .
- (2) No generating set can have fewer vectors than a basis (by a Corollary to the Replacement Theorem).
Since there are only polynomials, then the Corollary tells us that it cannot generate . Once again, we used a more efficient strategy.
Extending a Linearly Independent Set to a Basis
Boris's tip (for concrete sets and vector spaces only):
If a problem requires us to extend a linearly independent set to a basis, then the easiest approach is to add vectors from the
standard ordered basis. Here is an example:
Let be a linearly independent subset of . To extend to a basis, add vectors from . The only question is which vector(s) should we add?
We see that both vectors in have a as the third component so a safe choice is to add . Since has a dimension of , then is a basis of .