calculus 1120 spring 2012
play

Calculus 1120, Spring 2012 Dan Barbasch October 16 Dan Barbasch - PowerPoint PPT Presentation

Calculus 1120, Spring 2012 Dan Barbasch October 16 Dan Barbasch Calculus 1120, Spring 2012 October 16 1 / 1 First Order Equations y = f ( x , y ) A first order differential equation Initial Value Problem: Find a solution to a first


  1. Calculus 1120, Spring 2012 Dan Barbasch October 16 Dan Barbasch Calculus 1120, Spring 2012 October 16 1 / 1

  2. First Order Equations y ′ = f ( x , y ) A first order differential equation Initial Value Problem: Find a solution to a first order equation satisfying the extra condition y ( x 0 ) = y 0 . Dan Barbasch Calculus 1120, Spring 2012 October 16 2 / 1

  3. First Order Equations Motivation/Examples: 1 Exponential Growth/Decay, population growth/radioactive decay/interest 2 Logistic Equation 3 Circuits 4 Newton’s Law of Cooling 5 Motion with resistance proportional to velocity 6 Mixture Problems Dan Barbasch Calculus 1120, Spring 2012 October 16 2 / 1

  4. First Order Equations Solving Equations: Finding solutions directly, separable/linear equations Graphical Methods, slope fields Numerical Methods, Euler’s Method Dan Barbasch Calculus 1120, Spring 2012 October 16 2 / 1

  5. Population Growth/Radioactive Decay Material and Problems in section 7.2. A quantity y ( t ) increases/decreases at a rate proportional to the amount present y ′ = ky General Solution is obtained by separating variables: � dy dy dt = ky ⇔ dy � y = kdt ⇔ y = k dt ⇔ ln | y | = kt + c ⇔ ⇔ | y | = e kt + c ⇔ y = ± e c e kt ⇔ y = Ce kt Dan Barbasch Calculus 1120, Spring 2012 October 16 3 / 1

  6. Population Growth/Radioactive Decay Initial Value Problem: If you start with the initial amount y 0 = 5 , and time is measured in hours, what is the amount y after 3 hrs . Answer: y (0) = 5 implies 5 = Ce k · 0 = C . So y ( t ) = 5 e kt , and y (3) = 5 e 3 k . If you start with y (0) = 5 , and the amount doubles in 3 hrs , what is the constant k ? Answer: y = 5 e kt , and 10 = 5 e 3 k , then � e 3 k � ln 2 = ln = 3 k . 3 , y ( t ) = 5 e t ln 2 So k = ln 2 3 . Dan Barbasch Calculus 1120, Spring 2012 October 16 3 / 1

  7. Population Growth/Radioactive Decay Solve dy dx = xy + 3 x − 2 y − 6 . Dan Barbasch Calculus 1120, Spring 2012 October 16 3 / 1

  8. Population Growth/Radioactive Decay dH Newton’s Law of Cooling: dt = − k ( H − H S ) , where t is time H ( t ) is the temperature at time t , H S is the temperature of the ambient space k > 0 is a constant depending on the substance cooling, and the ambient space Material is in Section 9.4; separable equation as in section 7.2. Dan Barbasch Calculus 1120, Spring 2012 October 16 3 / 1

  9. Population Growth/Radioactive Decay dH � dH � = − kdt ⇔ = − k dt ⇔ H − H S H − H S ⇔ ln | H − H S | = − kt + c ⇔ e ln | H − H S | = e − kt + c = e c e − kt ⇔ ⇔ | H − H S | = e c e − kt ⇔ H = H S + Ce − kt The initial condition H (0) = H 0 gives the final answer H ( t ) = H S + ( H 0 − H S ) e − kt . Long Term Behaviour: As t → ∞ , H → H S . How do we recognize a separable equation? f ( x , y ) = a ( x ) b ( y ) , the function f ( x , y ) factors. Dan Barbasch Calculus 1120, Spring 2012 October 16 3 / 1

  10. Population Growth/Radioactive Decay Dan Barbasch Calculus 1120, Spring 2012 October 16 3 / 1

  11. Examples of Separable Equations Motion Motion where the force is proportional to the velocity: ma = − kv , same as mdv dt = − kv , k > 0. � dv dt = − k dv mv ⇔ dv v = − k v = − k � dt ⇔ ln | v | = − k mdt ⇔ mt + c . m so v ( t ) = ± e − k m t + c = ± e c e − k m t , v ( t ) = Ce − k m t . Plugging in v (0) = v 0 , v ( t ) = v 0 e − k m t . � � m v 0 e − k m t dt ⇔ s ( t ) = − v 0 k e − k m t + C ⇔ s ( t ) = v ( t ) = m m m t + v 0 k e − k ⇔ s ( t ) = − v 0 k + s 0 . Example in Section 9.3 Dan Barbasch Calculus 1120, Spring 2012 October 16 4 / 1

  12. Examples of Separable Equations Circuits LdI dt + RI = V ⇔ I ′ = V L − R L I separable I ( t ) is the intensity of the current at time t . R is the resistance V is the voltage L is the self-inductance Dan Barbasch Calculus 1120, Spring 2012 October 16 4 / 1

  13. Examples of Separable Equations Problem 28 in Section 9.2 I = V R + ( I 0 − V R ) e − R L t As t → ∞ , I → V R . This is called the long term behaviour of I . For t large, V ≈ IR , Ohm’s Law. Dan Barbasch Calculus 1120, Spring 2012 October 16 4 / 1

  14. Logistic Equation This is a population growth model where the rate of change in the population P ( t ) at time t is not kP but r ( M − P ) P with r > 0 . dP dt = r ( M − P ) P = rMP − rP 2 . M is called the carrying capacity . In the exponential growth model, k can be interpreted as the birth rate. As the population gets closer to the carrying capacity, the birth rate goes down. Material in Section 9.4, separable equation as in Section 7.2. Same type as homework problem 60 in Section 8.4. Dan Barbasch Calculus 1120, Spring 2012 October 16 5 / 1

  15. Logistic Equation dP dP dt = r ( M − P ) P ⇔ P ( M − P ) = rdt ⇔ � dP � ⇔ LHS := P ( M − P ) = r dt = RHS . Dan Barbasch Calculus 1120, Spring 2012 October 16 5 / 1

  16. Logistic Equation The RHS is easy to integrate, rt + c . For the LHS, this is why we learned about partial fractions. � 1 � P ( M − P ) = 1 1 1 P + . M − P M Integrating, 1 P M (ln P − ln( M − P )) = rt + c ⇔ ln M − P = Mrt + cM ⇔ P M − P = e rMt + cM = e cM e Mrt ⇔ So P M − P = Ce rMt . Dan Barbasch Calculus 1120, Spring 2012 October 16 5 / 1

  17. Logistic Equation Plugging in P (0) = P 0 and solving for P (a lot of arithmetic), P 0 M 1 P 0 + ( M − P 0 ) e − rMt = P 0 e rMt P ( t ) = . M ( e rMt − 1) 1 + P 0 The long term behaviour is P ( t ) → M as t → ∞ . When t is close to 0 , the solution looks like P 0 e rMt , the exponential model with birth rate rM . Dan Barbasch Calculus 1120, Spring 2012 October 16 5 / 1

  18. Linear Equations y ′ + P ( x ) y = Q ( x ) f ( x , y ) = a ( x ) y + b ( x ) . y ′ = x + y Dan Barbasch Calculus 1120, Spring 2012 October 16 6 / 1

  19. Linear Equations y ′ − y = x . We can solve this equation explicity. Use the formula d ( uv ) = udv + vdu . Multiply both sides by a factor (called integrating factor) so that the LHS becomes the derivative of a product. The factor we need is e − x : � ′ = xe − x ⇔ � ′ = xe − x . e − x y ′ − e − x y = xe − x ⇔ e − x y e − x y � � Integrate � xe − x dx = − xe − x − e − x + C ⇔ y = − x + Ce x − 1 . e − x y = Solving for C from y ( x 0 ) = y 0 , y = − x − 1 + ( y 0 + x 0 + 1) e x − x 0 . If y 0 + x 0 + 1 = 0, the solution is a line, y = − x − 1. Dan Barbasch Calculus 1120, Spring 2012 October 16 6 / 1

  20. Linear Equations Integrating Factors An equation is called linear if f ( x , y ) = Q ( x ) − P ( x ) y . The circuit equation is linear. To solve, Rewrite as y ′ + P ( x ) y = Q ( x ) . Look for a function m ( x ) such that m ′ ( x ) = P ( x ) . You can do this in � principle by integrating, m ( x ) = P ( x ) dx . Multiply by e m ( x ) : y ′ e m ( x ) + P ( x ) e m ( x ) y = e m ( x ) Q ( x ) ⇔ ( ye m ( x ) ) ′ = Q ( x ) e m ( x ) ⇔ � � ⇔ ye m ( x ) = Q ( x ) e m ( x ) dx ⇔ y = e − m ( x ) Q ( x ) e m ( x ) dx . In the example m ( x ) ′ = − 1 ⇒ m ( x ) = − x . Dan Barbasch Calculus 1120, Spring 2012 October 16 6 / 1

  21. Linear Equations Example: (Problem 16 in section 9.2) xy ′ + 2 y = x 3 , x > 0 , y (2) = 1. xy ′ + 2 y = x 3 ⇔ y ′ + 2 x y = x 2 m ′ = 2 . e m = x 2 : x 2 � � x ⇔ m = 2 ln x = ln x 4 dx = x 5 � y ′ x 2 + 2 xy = x 4 ⇔ ( yx 2 ) ′ = x 4 ⇔ yx 2 = 5 + C ⇔ ⇔ y = x 3 5 + C x 2 . 1 = y (2) = 8 5 + C 4 ⇒ C = − 12 5 Dan Barbasch Calculus 1120, Spring 2012 October 16 6 / 1

  22. Mixing Problem (an example of a linear equation) A 300 gal tank is full of brine, containing 50 lb of salt. Solution is being drained at 10 gal / min , and solution is being poured in at 5 gal / min containing 1 lb / gal . The tank is being mixed continuously so that the solution is uniform. How much salt is there when the tank is half full? Dan Barbasch Calculus 1120, Spring 2012 October 16 7 / 1

  23. Mixing Problem (an example of a linear equation) Answer: First, express the text mathematically Let x ( t ) be the amount of salt at time t . x (0) = 50 . V ( t ) amount of solution at time t , V ( t ) = 300+5 t − 10 t = 300 − 5 t . Second, write down the equation satisfied by x ( t ) . x ′ ( t ) = ( amount in ) − ( amount out ) Amount in equals (1 lb / gal ) · (5 gal / min ) = 5. Amount out equals (salt per gal) · (gal per unit time) = x ( t ) V ( t ) · 10. The equation is x ( t ) x ′ ( t ) = 5 − 300 − 5 t · 10 2 x ′ + 60 − t x = 5 linear equation . Dan Barbasch Calculus 1120, Spring 2012 October 16 7 / 1

  24. Mixing Problem (an example of a linear equation) Dan Barbasch Calculus 1120, Spring 2012 October 16 7 / 1

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