Presentation is loading. Please wait.

Presentation is loading. Please wait.

Math 307 Spring, 2003 Hentzel Time: 1:10-2:00 MWF Room: 1324 Howe Hall Instructor: Irvin Roy Hentzel Office 432 Carver Phone 515-294-8141

Similar presentations


Presentation on theme: "Math 307 Spring, 2003 Hentzel Time: 1:10-2:00 MWF Room: 1324 Howe Hall Instructor: Irvin Roy Hentzel Office 432 Carver Phone 515-294-8141"— Presentation transcript:

1 Math 307 Spring, 2003 Hentzel Time: 1:10-2:00 MWF Room: 1324 Howe Hall Instructor: Irvin Roy Hentzel Office 432 Carver Phone 515-294-8141 E-mail: hentzel@iastate.edu http://www.math.iastate.edu/hentzel/class.307.ICN Text: Linear Algebra With Applications, Second Edition Otto Bretscher

2 Wednesday, March 5, Chapter 4.3 Page 173 Problems 4,10,50 Main Idea: Just look at the coefficients. Key Words: Representation of a vector with respect to a basis. V B P CB P CB T BB P BC Goal: Set up the constructions symbolically before you try to do them with the actual matrices.

3 Previous Assignment Monday, March 3 Chapter 4.2 Page 164 Problems 6,14,16 Page 164 Problem 6 Find out which of the transformations in Exercises 1 through 25 are linear. For those that are linear, determine whether they are isomorphisms.

4 T(A) = BA where B = | 1 2 | | 3 6 |

5 The fact that T is linear is a direct result of the fact that matrix multiplication is linear. We can write out a few details as follows. T(X+Y) = B(X+Y) = BX + BY = T(X) + T(Y) T(cX) = B(cX) = c BX = c T(X) So T is linear.

6 To show that T is not invertible, we show that the kernel is not zero. Since T( |-2 0| ) = | 1 2 | |-2 0 | = | 0 0 | | 1 0| | 3 6 | | 1 0 | | 0 0 | T has a non trivial kernel so T will not be invertible.

7 Page 164 Problem 14 T(a+bt+ct 2 ) = a-bt+ct 2. What T does is to change the sign of the linear term.

8 The additive part of the proof that T is linear: T ( (a+bt+ct 2 ) + (a'+b't+c't 2 ) ) = T ( (a+a') + (b+b')t + (c+c')t 2 ) = (a+a') -(b+b')t + (c+c')t 2 = a-bt+ct 2 + a'-b't+c't 2 = T ( a+bt+ct 2 ) + T ( a'+b't+c't 2 ).

9 The scalar multiplication part of the proof that T is linear. T ( d(a+bt+ct 2 ) ) = T ( da + dbt + dct 2 ) = da -dbt +dct 2 = d(a-bt+ct 2 ) = d T ( a+bt+ct 2 )

10 To show that T is invertible, we will actually find the inverse of T. Since T(a-bt+ct 2 ) = a+bt+ct 2 the inverse of T exists and is T itself.

11 Page 164 Problem 16 T ( f(t) ) = t f '(t).

12 We first show the additive part of linearity. T ( f(t)+g(t) ) = t ( f(t)+g(t) ) ' = t ( f ' (t) + g ' (t) ) = t f ' (t) + t g ' (t) = T ( f(t) ) + T ( g(t) ).

13 We next show the scalar multiplication part of linearity. T ( c f(t) ) = t (c f(t)) ' = c t f ' (t) = c T ( f(t) ).

14 We know that T is not invertible because it has non-zero elements in its kernel. T kills off all of the constant functions.

15 New Material. The numbers in a vector have to be interpreted through the appropriate basis. We keep track of the particular basis that is being used by giving a subscript on the vector. (1) If we have a Basis B = [B 1 B 2... B n ] we can express something in terms of the basis by giving the coefficients of the B's. | c 1 | | c 2 | | c 3 | V = [B 1 B 2... B n ] |. | = c 1 B 1 + c 2 B 2 +... + c n B n. |. | | c n |

16 The coefficient vector V B is called the representation of V with respect to the basis [B 1 B 2... B n ]. | c 1 | | c 2 | V B = | c 3 | |. | | c n |

17 For example: (a) Represent the polynomial x 4 + 3 x + 2 with respect to the basis [ x 4 x 3 x 2 x 1 ]. | 1 | | 0 | answer: | 0 | | 3 | | 2 |

18 (b) Represent x Sin[x] + 3 Cos[x] with respect to the basis [ x Sin[x], x Cos[x], Sin[x], Cos[x] ]. | 1 | | 0 | answer: | 0 |. | 3 |

19 (2) If you choose a different basis for whatever reason, you have to change the representation of the vector. This change is easily done by using a matrix called the change of basis matrix. | a 11 a 12... a 1n | | a 21 a 22... a 2n | [B 1 B 2... B n ] |... | = [C 1 C 2... C n ] |... | | a n1 a n2... a nn |

20 You create this matrix column by column. Column i will be the coefficients needed to make C i a linear combination of the B’s. The matrix is called P BC

21 To get this straight, derive what you are doing. | a 11 a 12... a 1n | | x 1 | | x 1 | | a 21 a 22... a 2n | | x 2 | | x 2 | [B 1 B 2... B n ] |... | |. | = [C 1 C 2... C n ] |. | |... | |. | |. | | a n1 a n2... a nn | | x n | | x n | We multiply the expression by the vector X. This gives us B A X = C X. On the right hand side, X is a representation of a vector in the C basis. On the left hand side AX is the representation of the vector in the B basis. So X B = A X C. Thus A is P BC

22 For example. (a) Find the change of basis matrix for [ 1 x x 2 x 3 ] and [ x 3 x 2 x 1] | 0 0 0 1 | [ 1 x x 2 x 3 ] | 0 0 1 0 | = [ x 3 x 2 x 1] | 0 1 0 0 | | 1 0 0 0 |

23 (b) Find the change of basis matrix for [ e x, e - x ] and [ Sinh(x), Cosh(x) ]. e x – e - x e x + e - x Sinh(x) = -------------- Cosh(x) = --------------- 2 2

24 [ e x e -x ] | ½ ½ | = [ Sinh(x) Cosh(x) ]. |-½ ½ |

25 (c) Find the change of basis matrix which rotates the axis sending (1,0) into (5/13, 12/13) and (0,1) into (-12/13, 5/13) | 1 0 | | 5/13 -12/13 | = | 5/13 -12/13 | | 0 1 | | 12/13 5/13 | |12/13 5/13 | P BB '

26 What does (3,5) in the B' system correspond to in the B system? | 5/13 -12/13 | | 3 | = | -45/13 | |12/13 5/13 | | 5 | | 61/13 | P BB ’ V B ’ V B

27 What does the equation 2 x y = 4 become in the B' basis. [ x y ] | 0 1 | | x | = 4 | 1 0 | | y | [ x' y‘ ] | 5/13 12/13 | | 0 1 | | 5/13 -12/13 | | x' | = 4 |-12/13 5/13 | | 1 0 | |12/13 5/13 | | y' | [ x’ y’ ] | 120 /169 - 119/169 | | x’ | = 4 | -119 /169 -120/169 | | y’ | (120/169) (x') 2 -238/169 x' y' -120/169 (y') 2 = 4

28 (3) The matrix of a linear transformation is written with respect to a particular basis. If you change basis, you have to change the matrix of the linear transformation. Suppose T(V) = W and you know how to compute this linear transformation in the B basis. Then using matrix multiplication we know that: T BB V B = W B Now we want to represent T in the C Basis. We first change V C to V B and then use T BB to get W B and then change W B to W C

29 VOILA: P CB T BB P BC V C = W C |____________| T CC

30 For Example: Write the matrix for differentiation using the basis [ e x, e - x ] and [ Sinh(x), Cosh(x) ]

31 e x e - x e x 1 0 e - x 0 -1 Sinh(x) Cosh(x) Sinh(x) | 0 1 | Cosh(x) | 1 0 |

32 Using the change of basis matrix. [ e x e - x ] | 1/2 1/2 | = [ Sinh[ x ] Cosh[ x ] ]  B  |-1/2 1/2 |  C  P BC P CB T BB P BC V C = W C | 1 -1 | | 1 0 | | 1/2 1/2 | | 1 1 | | 0 -1 | |-1/2 1/2 | | 1 1 | | 1/2 1/2 | = | 0 1 | | 1 -1 | |-1/2 1/2 | | 1 0 |

33 Page 175 Problem 61. Let V be the linear space of all functions of the form c 1 Cos[t] + c 2 Sin[t] + c 3 t Cos[t] + c t Sin[t]. Solve this differential equation: f’’ + f = Cos[t]

34 We are looking to solve (D 2 +I) f(t) = Cos[t]. | 0 1 1 0 | D = | -1 0 0 1 | | 0 0 0 1 | | 0 0 -1 0 |

35 We write out the matrix of differentiation with respect to the basis: Cos[t] Sin[t] t Cos[t] t Sin[t] Cos[t] 0 -1 0 0 Sin[t] 1 0 0 0 t Cos[t] 1 0 0 -1 t Sin[t] 0 1 1 0

36 | 0 1 1 0 | D = | -1 0 0 1 | | 0 0 0 1 | | 0 0 -1 0 | | -1 0 0 2 | D 2 = | 0 -1 -2 0 | | 0 0 -1 0 | | 0 0 0 -1 |

37 | 0 0 0 2 | D 2 + I = | 0 0 -2 0 | | 0 0 0 0 | We wish to solve (D 2 + I) f(t) = Cos[t] This is just a typical linear equation once the basis has been chosen.

38 | 0 0 0 2 | | c 1 | | 1 | | 0 0 -2 0 | | c 2 | = | 0 | | 0 0 0 0 | | c 3 | | 0 | | 0 0 0 0 | | c 4 | | 0 |

39 The Row Canonical Form is c 1 =a c 2 =b c 3 c 4 RHS | 0 0 1 0 0 | | 0 0 0 1 ½ | | 0 0 0 0 0 | | c 1 | | 0 | | 1 | | 0 | | c 2 | = | 0 |+ a | 0 | + b | 1 | | c 3 | | 0 | | 0 | | 0 | | c 4 | | ½ | | 0 | | 0 |

40 f(t) = a Cos[t] + b Sin[t] + ½ t Sin[t] check: f’(t) = -a Sin[t] + b Cos[t] + ½ Sin[t] + ½ t Cos[t] f”(t) = -a Cos[t] –b Sin[t] + ½ Cos[t] + ½ Cos[t] -1/2 t Sin[t] f”(t) + f(t) = Cos[t]. It checks.

41 Graph your solution(s). (The differential equation f” + f = Cos[t] describes a forced undamped oscillator. In this example, we observe the phenomenon of resonance.


Download ppt "Math 307 Spring, 2003 Hentzel Time: 1:10-2:00 MWF Room: 1324 Howe Hall Instructor: Irvin Roy Hentzel Office 432 Carver Phone 515-294-8141"

Similar presentations


Ads by Google