14-240/Tutorial-October14: Difference between revisions

From Drorbn
Jump to navigationJump to search
No edit summary
 
(9 intermediate revisions by one other user not shown)
Line 6: Line 6:




(1) '''Bad Notation'''
'''(1) Bad Notation'''




Consider these three matrices:
Let
::::::::<math>
::::::::<math>
M_1 =
M_1 =
Line 29: Line 29:




be matrices. We want to equate <math>span(M_1, M_2, M_3)</math> to the set of all symmetric <math>2 \times 2</math> matrices. Here is the wrong way to write this:
We want to equate <math>span(M_1, M_2, M_3)</math> to the set of all symmetric <math>2 \times 2</math> matrices. Here is the wrong way to write this:




Line 41: Line 41:




Firstly, <math>span(M_1, M_2, M_2)</math> is the set of all linear combinations of <math>M_1, M_2, M_3</math>. To equate it to a single
Firstly, <math>span(M_1, M_2, M_2)</math> is the set of all linear combinations of <math>M_1, M_2, M_3</math>. To equate it to a single symmetric <math>2 \times 2</math> matrix makes no sense. Secondly, the elements <math>a, b, c, d</math> are undefined. What are they suppose to represent? Rational numbers? Real numbers? Members of the field of two elements? The following way of writing erases those issues:


symmetric
<math>2 \times 2</math> matrix makes no sense. Secondly, the elements <math>a, b, c, d</math> are undefined. What are they suppose to


:::::<math>
represent? Rational numbers? Real numbers? Members of the field of two elements? The following way of writing erases those issues:


::::::::<math>
span(M_1, M_2, M_3) = \{
span(M_1, M_2, M_3) = \{
\begin{pmatrix}
\begin{pmatrix}
Line 56: Line 51:
\end{pmatrix}
\end{pmatrix}
:a, b, c \in F \}
:a, b, c \in F \}
</math> where <math>F</math> is an arbitrary field.
</math>


where <math>F</math> is an arbitrary field.


'''(2) Algorithm vs. Proof (Boris's Section Only)'''


When solving a problem that requires a solution to a linear equation, it is not always obvious which of the following you should show:
(2) '''Algorithm vs. Proof (Boris's Section Only)'''

When solving a problem that requires a solution to a linear equation, it is not always obvious which of the following you

should show:
:a) An algorithm for finding the solution
:a) An algorithm for finding the solution

:b) A proof that a solution is correct
:b) A proof that a solution is correct

If the problem asks to solve a linear equation, then just show (a). Otherwise, consider problems such as this:
If the problem asks to solve a linear equation, then just show (a). Otherwise, consider problems such as this:


Line 79: Line 67:
Show both (a) and (b) to be on the safe side.
Show both (a) and (b) to be on the safe side.


====Problem 5h) in Homework 3 for all Fields====
====Problem 5h) on Page 34 in Homework 3 for all Fields====




Line 244: Line 232:
\end{pmatrix}
\end{pmatrix}
\in span(S) \iff char(F)=2</math>. ''Q.E.D.''
\in span(S) \iff char(F)=2</math>. ''Q.E.D.''




====A Field Problem====
====A Field Problem====
Line 296: Line 282:
::::Since <math>B_2 \subset (B_1 \cup B_2)</math>, then <math>span(B_2) = W_2 \subset span(B_1 \cup B_2)</math>.
::::Since <math>B_2 \subset (B_1 \cup B_2)</math>, then <math>span(B_2) = W_2 \subset span(B_1 \cup B_2)</math>.


::::Then <math>(W_1 \cup W_2) \subset span(B_1 \cup B_2)</math>.
::::Then <math>(W_1 \cup W_2) \subset span(B_1 \cup B_2)</math> and <math>span(W_1 \cup W_2) \subset span(B_1 \cup B_2)</math>.


:::Then <math>span(B_1 \cup B_2) = span(W_1 \cup W_2)</math>.
:::Then <math>span(B_1 \cup B_2) = span(W_1 \cup W_2)</math>.
Line 320: Line 306:
==Nikita==
==Nikita==
[[File:1014.240.pdf]]
[[File:1014.240.pdf]]

==Scanned Tutorial Notes by [[User Boyang.wu|Boyang.wu]]==
[[File:Tut6.pdf]]

Latest revision as of 14:08, 8 December 2014

Boris

Elementary and (Not So Elementary) Errors in Homework

(1) Bad Notation


Consider these three matrices:


We want to equate to the set of all symmetric matrices. Here is the wrong way to write this:


.


Firstly, is the set of all linear combinations of . To equate it to a single symmetric matrix makes no sense. Secondly, the elements are undefined. What are they suppose to represent? Rational numbers? Real numbers? Members of the field of two elements? The following way of writing erases those issues:


where is an arbitrary field.


(2) Algorithm vs. Proof (Boris's Section Only)

When solving a problem that requires a solution to a linear equation, it is not always obvious which of the following you should show:

a) An algorithm for finding the solution
b) A proof that a solution is correct

If the problem asks to solve a linear equation, then just show (a). Otherwise, consider problems such as this:


Determine if the vector is a linear combination of the vectors in .


Show both (a) and (b) to be on the safe side.

Problem 5h) on Page 34 in Homework 3 for all Fields

For an arbitrary field , determine if the matrix is in span .


Proof:

We show that .

We show that .
Assume that .
Let .
Then .
Then .
Since and the entries of the matrix are from , then .
Then .
Then .
We show that .
Assume to the contrary that .
Then .
Then this system of linear equations has a solution:
.
When solving this system, we see that it has no solution.
This contradicts the assumption that it has a solution.
Then .
Then . Q.E.D.

A Field Problem

Find the solution to in .

Note that a polynomial of degree has at most solutions.


Algorithm:

We find the solution to in .

Since in , then .
Since is additive inverse of , then .
By the result that we proved in Question 2 of Homework 1, then .
Then are the solutions.


A Dimension Problem

Let be subspaces of a finite dimensional vector space over a field where . Then

.


Proof:

We show that .

Since is finite dimensional, then are finite dimensional.
Then we can let be a basis of and be a basis of .
We show that is a basis of .
We show that .
We show that .
Since , then .
We show that .
Since , then .
Since , then .
Then and .
Then .
We show that is linearly independent.
Let where .
Then .
Since , then .
Since are linearly independent, then .
For , then .
Then is linearly independent.
Then is a basis of .
Since , then . Q.E.D.

Nikita

File:1014.240.pdf

Scanned Tutorial Notes by Boyang.wu

File:Tut6.pdf