LA Unit 2.8, 2.9, 4.9 Notes
LA Unit 2.8, 2.9, 4.9 Notes
The main areas we will concentrate on to give you an understanding in abstract world will be 1 and 6. We also
need to make sure that the "⃗
0 is included in V. Some courses will make you show all 10! Yikes, but yes. We
will do this for subspaces.
Example 1:
Let V be in the third quadrant in the xy plane. In other words:
𝑥
𝑉 = &'𝑦* : 𝑥 ≤ 0, 𝑦 ≤ 0.
a) If u and v are in V, is u + v in V? Why?
b) Find a specific u in V and specific scalar c such that cu is not in V. What does this show?
Example 2: Determine if the given set is a subspace of Ρ! for an appropriate value of n. Justify your answers.
a) All polynomials of the form of 𝐩(𝑡) = 𝑎𝑡 " , where a is in R.
b) All polynomials of the form of 𝐩(𝑡) = 𝑎𝑡 " + 𝑐𝑡 # + 2, where a and c are in R.
𝑎+𝑏
Example 3: Let H be the set of all vectors of the form < 𝑏 ?. Show that H is a subspace of ℝ" .
𝑎−𝑏
1 −2 4 3
Example 4: Let 𝐯$ = <2? , 𝐯# = < 1 ? , and 𝐯" = <2? and 𝐰 = <1?.
3 0 1 1
a) Is w in {𝐯$ , 𝐯# , 𝐯" }?
In this section, we will do many of the same operations as before, but build your vocabulary, using subspaces.
Proof:
1) Row reduce to find free variables.
2) Decompose into linear combinations where
the weights are the free variables.
3) Every linear combination of the vectors
found in 2) is the spanning set for Nul(A).
Column Space
We want to form a basis for a subspace. You will use techniques that we have done already, but it is the
definition and concepts that we have to pay attention to.
The STANDARD BASIS for ℝ! are the elementary column vectors, {𝐞𝟏 , 𝐞𝟐 , … , 𝐞𝐧 }.
1 −2 4
Example 1: Let 𝐯$ = <2? , 𝐯# = < 1 ? , and 𝐯" = <2?. Determine if {𝐯𝟏 , 𝐯𝟐 , 𝐯𝟑 } is a basis for ℝ" .
3 0 1
1 −2 −1
Example 2: Let 𝐯$ = <2? , 𝐯# = < 1 ? , and 𝐯" = < 3 ?. Determine if {𝐯𝟏 , 𝐯𝟐 , 𝐯𝟑 } is a basis for ℝ" .
3 0 3
Example 3: Find the basis for the Nul(A) and the Col(A) for matrix B.
−1
*So, here we have ' *. This is the same as −1𝐞𝟏 + 𝟒𝐞𝟐 . We can
4
generate any vector in ℝ# , using this basis.
Question
𝟏 𝟏
What if we have a new basis to vector space V, which is ℬ = {𝐛𝟏 , 𝐛𝟐 } = ' *.
𝟎 𝟐
We still have the coordinates at (-1,4) in the x-y plane. However, it is now
−3
the vector ' * in V. We are going to build this backwards, then undo
2
what we did to get a method to move from a standard graph to a ℬ graph
paper.
𝐱 is the vector in regular graph land. [𝐱]ℬ is the vector in vector space V.
1 1 −1 𝟏 𝟏 −3 −1
𝐱 = −3 ' * + 2 ' * = ' * Or 𝐱=' *' * = ' *
0 2 4 𝟎 𝟐 2 4
This is a mapping [𝐱]ℬ → 𝐱 .
−1 3 4 −4
ℬ = N< 2 ? , <−5? , <−7?O , [𝐱]ℬ = < 8 ?
0 2 3 −7
Example 2: Find the coordinate vector [𝐱]ℬ of 𝐱 relative to the given basis ℬ = {𝐛𝟏 , 𝐛𝟐 , 𝐛𝟑 }.
1 2 1 3
𝐛$ = <0? , 𝐛# = <1? , and 𝐛" = <−1?, and 𝐱 = <−5?.
3 8 2 4
4.4 Practice Problem #1, Gift 1-11 odd, 12, 15, 17, 21, 35
4.5 Dimension of a Vector Space for 2.9
2 4
1) Do the vectors <1? and <−1? form a basis for ℝ" ? If not, what do they form a basis for?
3 0
−3 6 −1 1 −7
𝐴 = < 1 −2 2 3 −1 ?
2 −4 5 8 −4
The dim(Nul(A))=the number of free variables and dim(Col(A)) is the number of pivot columns.
In an mxn matrix, n = dim(Nul(A)) + dim(col(A)). The dim(col(A)) is also called the rank (A).
−2 −5 8 0 −17
b1 3 −5 1 5 d
3 11 −19 7 1
1 7 −13 5 −3
Warm up- What are the fixed point(s) of the recurrence relations?
. -" .##
𝑎!-$ = 4𝑎! − 3 𝑎!-$ = #.! +/ 𝑎!-$ = n1 + $# o 𝑎! − 50
!
Markov Chains are used to find the probabilities of experiments that are repeated. It is like a recursive
formula for matrices, where you apply a transition, get a result, apply the transition to that result and get
another result. Repeat until you have a stable probability model.
Andrei Markov developed a system with matrices in order to replicate a chain of events. Hence, the name
Markov Chains represent using these matrices in a repetitive order.
Example: Let’s go down to the Mr. Hoe’s cafeteria. (Mr. Hoe used to run the HS café for 50 years.)
1) Let’s say that if a student eats Mr. Hoe food on one day, there is a 70% chance that they will eat Mr. Hoe
food next following day.
2) If a student doesn’t eat Mr. Hoe food one day, the probability that they will eat Mr. Hoe the next day is
40%.
3) Data shows that 75% of the students ate in the café on day 1, Monday.
Let’s create a model for this to show repetitive day. Ultimately, we want to know who is eating Mr. Hoe food
in the long term.
Question 3: What can Mr. Hoe expect long term so Question 5: Draw a digraph for the transition
he can predict orders for the number of students in matrix.
the café? (Steady State)
Question 4: Does the initial state matter for the Question 6: What is the “Fixed Point” for Mr. Hoe?
steady state in this example? Try some different
initial states.
Definitions
1) Probability vector
2) Stochastic Matrix
3) Markov Chain
Extend to a 3x3.
For the gift, keep the matrices saved in the Nspire docs, as some of the problems are revisited.
Gift- Section 4.9 1,3,4,5,7,11,13,14,15,16,21.
Markov Chains
Intro to Google search- Do in class together. Please wait.
In 4.9, we learned how to make a Markov Chain, which included an initial state vector and a transition matrix.
We set this up as 𝑥$ = 𝑃𝑥1 for one transition and as a general transition 𝑥2-$ = 𝑃𝑥2 𝑜𝑟 𝑥2-$ = 𝑃2 𝑥1 .
Most of our examples settled to a steady state, regardless of its initial state. In fact, a stochastic matrix, a
square matrix with probability column vectors (this course uses columns), will always have a steady state
vector. The question is, will you always end in a steady state, depending on which initial state vector you
begin with? Let’s investigate.
On the left, you will have a picture or diagram. I want you to work with others to figure out the transition
matrix for each situation. Movement comes with equal chance of probability of from one destination to
another, if not listed. Good luck!
Setup Transition matrix P.
1) Rooms in a house.
2)
3)
4)
5)
6) For number 5, play around with different initial states. What happens? What happens in the long term
depending on different initial states?