linear algebra and differential equations math 54 lecture
play

Linear algebra and differential equations (Math 54): Lecture 20 - PowerPoint PPT Presentation

Linear algebra and differential equations (Math 54): Lecture 20 Vivek Shende April 11, 2019 Hello and welcome to class! Hello and welcome to class! Last time Hello and welcome to class! Last time We started discussing differential


  1. Solving the initial value problem In general, the last step may involve more complicated linear algebra. Suppose instead we wanted a solution with y (1) = 1 and y ′ (1) = 2. Then we would have 1 = y (0) = A cos(1) + B sin(1) 2 = y ′ (0) = − A sin(1) + B cos(1) Or in other words,

  2. Solving the initial value problem In general, the last step may involve more complicated linear algebra. Suppose instead we wanted a solution with y (1) = 1 and y ′ (1) = 2. Then we would have 1 = y (0) = A cos(1) + B sin(1) 2 = y ′ (0) = − A sin(1) + B cos(1) Or in other words, � 1 � � A � � � cos(1) sin(1) = 2 − sin(1) cos(1) B

  3. Solving the initial value problem � 1 � � A � � cos(1) sin(1) � = 2 − sin(1) cos(1) B

  4. Solving the initial value problem � 1 � � A � � cos(1) sin(1) � = 2 − sin(1) cos(1) B Fortunately, you know how to solve this.

  5. Solving the initial value problem � 1 � � A � � cos(1) sin(1) � = 2 − sin(1) cos(1) B Fortunately, you know how to solve this. Inverting the matrix, � cos(1) � � 1 � cos(1) − 2 sin(1) � A � � � − sin(1) = = sin(1) cos(1) 2 sin(1) + 2 cos(1) B

  6. Solving the initial value problem � 1 � � A � � cos(1) sin(1) � = 2 − sin(1) cos(1) B Fortunately, you know how to solve this. Inverting the matrix, � cos(1) � � 1 � cos(1) − 2 sin(1) � A � � � − sin(1) = = sin(1) cos(1) 2 sin(1) + 2 cos(1) B and the solution to the initial value problem is:

  7. Solving the initial value problem � 1 � � A � � cos(1) sin(1) � = 2 − sin(1) cos(1) B Fortunately, you know how to solve this. Inverting the matrix, � cos(1) � � 1 � cos(1) − 2 sin(1) � A � � � − sin(1) = = sin(1) cos(1) 2 sin(1) + 2 cos(1) B and the solution to the initial value problem is: y ( t ) = (cos(1) − 2 sin(1)) cos( t ) + (sin(1) + 2 cos(1)) sin( t )

  8. Inhomogenous equations

  9. Inhomogenous equations We will now try and solve equations of the form ay ′′ ( t ) + by ′ ( t ) + cy ( t ) = f ( t ) for some pre-given function f .

  10. Inhomogenous equations We will now try and solve equations of the form ay ′′ ( t ) + by ′ ( t ) + cy ( t ) = f ( t ) for some pre-given function f . Let us write this as a d 2 � � dt 2 + b d dt + c y ( t ) = f ( t )

  11. Inhomogenous equations We will now try and solve equations of the form ay ′′ ( t ) + by ′ ( t ) + cy ( t ) = f ( t ) for some pre-given function f . Let us write this as a d 2 � � dt 2 + b d dt + c y ( t ) = f ( t ) This is a linear equation

  12. Inhomogenous equations We will now try and solve equations of the form ay ′′ ( t ) + by ′ ( t ) + cy ( t ) = f ( t ) for some pre-given function f . Let us write this as a d 2 � � dt 2 + b d dt + c y ( t ) = f ( t ) This is a linear equation just like our matrix equations A x = b .

  13. Inhomogenous equations Recall that A x = b could be solved if and only if b was in the range of A .

  14. Inhomogenous equations Recall that A x = b could be solved if and only if b was in the range of A . Moreover, solving this equation was the same as taking the given spanning set for the range,

  15. Inhomogenous equations Recall that A x = b could be solved if and only if b was in the range of A . Moreover, solving this equation was the same as taking the given spanning set for the range, namely the columns of A ,

  16. Inhomogenous equations Recall that A x = b could be solved if and only if b was in the range of A . Moreover, solving this equation was the same as taking the given spanning set for the range, namely the columns of A , and finding a way to write b as a linear combination of these columns.

  17. Inhomogenous equations Recall that A x = b could be solved if and only if b was in the range of A . Moreover, solving this equation was the same as taking the given spanning set for the range, namely the columns of A , and finding a way to write b as a linear combination of these columns. In the finite dimensional case, we had sitting in front of us a spanning set for the range.

  18. Inhomogenous equations Recall that A x = b could be solved if and only if b was in the range of A . Moreover, solving this equation was the same as taking the given spanning set for the range, namely the columns of A , and finding a way to write b as a linear combination of these columns. In the finite dimensional case, we had sitting in front of us a spanning set for the range. In this present, infinite dimensional case,

  19. Inhomogenous equations Recall that A x = b could be solved if and only if b was in the range of A . Moreover, solving this equation was the same as taking the given spanning set for the range, namely the columns of A , and finding a way to write b as a linear combination of these columns. In the finite dimensional case, we had sitting in front of us a spanning set for the range. In this present, infinite dimensional case, we not have such a basis,

  20. Inhomogenous equations Recall that A x = b could be solved if and only if b was in the range of A . Moreover, solving this equation was the same as taking the given spanning set for the range, namely the columns of A , and finding a way to write b as a linear combination of these columns. In the finite dimensional case, we had sitting in front of us a spanning set for the range. In this present, infinite dimensional case, we not have such a basis, but any such would be infinite.

  21. Inhomogenous equations In a systematic treatment, we would try understand the range of the linear transformation a d 2 � � dt 2 + b d dt + c

  22. Inhomogenous equations In a systematic treatment, we would try understand the range of the linear transformation a d 2 � � dt 2 + b d dt + c But, this would involve infinite dimensional linear algebra in a serious way,

  23. Inhomogenous equations In a systematic treatment, we would try understand the range of the linear transformation a d 2 � � dt 2 + b d dt + c But, this would involve infinite dimensional linear algebra in a serious way, and is beyond the scope of this class.

  24. Inhomogenous equations Instead, we will just feed some

  25. Inhomogenous equations Instead, we will just feed some (perhaps somewhat arbitrary)

  26. Inhomogenous equations Instead, we will just feed some (perhaps somewhat arbitrary) functions into the linear transformation a d 2 � dt 2 + b d � dt + c

  27. Inhomogenous equations Instead, we will just feed some (perhaps somewhat arbitrary) functions into the linear transformation a d 2 � dt 2 + b d � dt + c and thereby learn some elements of the range.

  28. Inhomogenous equations Instead, we will just feed some (perhaps somewhat arbitrary) functions into the linear transformation a d 2 � dt 2 + b d � dt + c and thereby learn some elements of the range. Then, whenever we want to try and solve a d 2 � � dt 2 + b d dt + c y ( t ) = f ( t )

  29. Inhomogenous equations Instead, we will just feed some (perhaps somewhat arbitrary) functions into the linear transformation a d 2 � dt 2 + b d � dt + c and thereby learn some elements of the range. Then, whenever we want to try and solve a d 2 � � dt 2 + b d dt + c y ( t ) = f ( t ) we will ask whether the f ( t ) in question is in the span of those elements of the range we have found.

  30. First order inhomogenous equations Let’s do the first-order case.

  31. First order inhomogenous equations Let’s do the first-order case. I.e., we want to study the range of d dt − r .

  32. First order inhomogenous equations Let’s do the first-order case. I.e., we want to study the range of d dt − r . We’ll do so by just computing ( d dt − r ) f ( x ) for various functions.

  33. First order inhomogenous equations: polynomials Let’s begin with polynomials.

  34. First order inhomogenous equations: polynomials Let’s begin with polynomials. � d � dt − r 1 = − r

  35. First order inhomogenous equations: polynomials Let’s begin with polynomials. � d � dt − r 1 = − r � d � dt − r t = 1 − rt

  36. First order inhomogenous equations: polynomials Let’s begin with polynomials. � d � dt − r 1 = − r � d � dt − r t = 1 − rt � d � t 2 = 2 t − rt 2 dt − r

  37. First order inhomogenous equations: polynomials Let’s begin with polynomials. � d � dt − r 1 = − r � d � dt − r t = 1 − rt � d � t 2 = 2 t − rt 2 dt − r � d � t 3 = 3 t 2 − rt 3 dt − r

  38. First order inhomogenous equations: polynomials Let’s begin with polynomials. � d � dt − r 1 = − r � d � dt − r t = 1 − rt � d � t 2 = 2 t − rt 2 dt − r � d � t 3 = 3 t 2 − rt 3 dt − r

  39. First order inhomogenous equations: polynomials We see that all polynomials are in the range.

  40. First order inhomogenous equations: polynomials We see that all polynomials are in the range. More precisely, � d � � P n , r � = 0 dt − r P n = P n − 1 , r = 0

  41. Example Solve the differential equation y ′ + y = t 2 .

  42. Example Solve the differential equation y ′ + y = t 2 . � d We know that t 2 is contained in � dt + 1 P 2 .

  43. Example Solve the differential equation y ′ + y = t 2 . � d We know that t 2 is contained in � dt + 1 P 2 . To find the elements which map to it is now a linear algebra problem.

  44. Example Solve the differential equation y ′ + y = t 2 . � d We know that t 2 is contained in � dt + 1 P 2 . To find the elements which map to it is now a linear algebra problem. We could solve it by e.g. choosing a basis in P 2 and writing � d � dt + 1 as a matrix.

  45. Example Or in other words, we write � d � t 2 = ( At 2 + Bt + C ) = A (2 t + t 2 ) + B (1 + t ) + C dt + 1 and then solve for A , B , C .

  46. Example Or in other words, we write � d � t 2 = ( At 2 + Bt + C ) = A (2 t + t 2 ) + B (1 + t ) + C dt + 1 and then solve for A , B , C .

  47. Example Or in other words, we write � d � t 2 = ( At 2 + Bt + C ) = A (2 t + t 2 ) + B (1 + t ) + C dt + 1 and then solve for A , B , C . This is called “the method of undetermined coefficients”.

  48. Example Or in other words, we write � d � t 2 = ( At 2 + Bt + C ) = A (2 t + t 2 ) + B (1 + t ) + C dt + 1 and then solve for A , B , C . This is called “the method of undetermined coefficients”. It could also just be called linear algebra.

  49. Example Or in other words, we write � d � t 2 = ( At 2 + Bt + C ) = A (2 t + t 2 ) + B (1 + t ) + C dt + 1 and then solve for A , B , C . This is called “the method of undetermined coefficients”. It could also just be called linear algebra. In this case, by inspection A = 1 , B = − 2 , C = 2,

  50. Example Or in other words, we write � d � t 2 = ( At 2 + Bt + C ) = A (2 t + t 2 ) + B (1 + t ) + C dt + 1 and then solve for A , B , C . This is called “the method of undetermined coefficients”. It could also just be called linear algebra. In this case, by inspection A = 1 , B = − 2 , C = 2, and a solution is given by y ( t ) = t 2 − 2 t + 2.

  51. First order inhomogenous equations: exponentials Now let’s try an exponential function.

  52. First order inhomogenous equations: exponentials Now let’s try an exponential function. � d � e st = se st − re st = ( s − r ) e st dt − r

  53. First order inhomogenous equations: exponentials Now let’s try an exponential function. � d � e st = se st − re st = ( s − r ) e st dt − r So, e st is in the range, at least if s � = r .

  54. First order inhomogenous equations: poly times exp Now let’s try a polynomial times an exponential function.

  55. First order inhomogenous equations: poly times exp Now let’s try a polynomial times an exponential function. � d � e st = se st − re st = ( s − r ) e st dt − r

  56. First order inhomogenous equations: poly times exp Now let’s try a polynomial times an exponential function. � d � e st = se st − re st = ( s − r ) e st dt − r � d � te st = e st + ste st − rte st = e st + ( s − r ) te st dt − r

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend