Calculus IV - HW 1. Section 20. Due 6/16

Similar documents
Homework 2 Solutions Math 307 Summer 17

Math 308 Exam I Practice Problems

= 2e t e 2t + ( e 2t )e 3t = 2e t e t = e t. Math 20D Final Review

Homework Solutions: , plus Substitutions

Solutions to the Review Questions

Math 308 Exam I Practice Problems

Solutions to the Review Questions

First Order ODEs, Part II

Name: October 24, 2014 ID Number: Fall Midterm I. Number Total Points Points Obtained Total 40

MA 214 Calculus IV (Spring 2016) Section 2. Homework Assignment 2 Solutions

MATH 294???? FINAL # 4 294UFQ4.tex Find the general solution y(x) of each of the following ODE's a) y 0 = cosecy

MATH 307 Introduction to Differential Equations Autumn 2017 Midterm Exam Monday November

MATH 251 Examination I October 10, 2013 FORM A. Name: Student Number: Section:

P (t) = rp (t) 22, 000, 000 = 20, 000, 000 e 10r = e 10r. ln( ) = 10r 10 ) 10. = r. 10 t. P (30) = 20, 000, 000 e

Differential equations

Calculus IV - HW 3. Due 7/ Give the general solution to the following differential equations: y = c 1 e 5t + c 2 e 5t. y = c 1 e 2t + c 2 e 4t.

Math 392 Exam 1 Solutions Fall (10 pts) Find the general solution to the differential equation dy dt = 1

Graded and supplementary homework, Math 2584, Section 4, Fall 2017

Sect2.1. Any linear equation:

APPM 2360: Final Exam 10:30am 1:00pm, May 6, 2015.

The Fundamental Theorem of Calculus: Suppose f continuous on [a, b]. 1.) If G(x) = x. f(t)dt = F (b) F (a) where F is any antiderivative

Homework Solutions:

Problem Set. Assignment #1. Math 3350, Spring Feb. 6, 2004 ANSWERS

1. Why don t we have to worry about absolute values in the general form for first order differential equations with constant coefficients?

Chapter 2 Notes, Kohler & Johnson 2e

Calculus I Review Solutions

Elementary Differential Equations

20D - Homework Assignment 1

Form A. 1. Which of the following is a second-order, linear, homogenous differential equation? 2

MAT 285: Introduction to Differential Equations. James V. Lambers

Ordinary Differential Equations

Math 266, Midterm Exam 1

Sample Questions, Exam 1 Math 244 Spring 2007

Problem Sheet 1.1 First order linear equations;

Ordinary Differential Equations (ODEs)

MATH 251 Examination I October 8, 2015 FORM A. Name: Student Number: Section:

MAT 132 Midterm 1 Spring 2017

3 Algebraic Methods. we can differentiate both sides implicitly to obtain a differential equation involving x and y:

Solutions to Math 53 Math 53 Practice Final

First Order Differential Equations Chapter 1

Chapter1. Ordinary Differential Equations

y0 = F (t0)+c implies C = y0 F (t0) Integral = area between curve and x-axis (where I.e., f(t)dt = F (b) F (a) wheref is any antiderivative 2.

ODE Math 3331 (Summer 2014) June 16, 2014

(a) x cos 3x dx We apply integration by parts. Take u = x, so that dv = cos 3x dx, v = 1 sin 3x, du = dx. Thus

Old Math 330 Exams. David M. McClendon. Department of Mathematics Ferris State University

Chapter 2: First Order ODE 2.4 Examples of such ODE Mo

Mathematics 3C Summer 3B 2009 Worksheet Solutions NAME: MY WEBSITE: kgracekennedy/sb093c.html

Practice Midterm 1 Solutions Written by Victoria Kala July 10, 2017

Math Applied Differential Equations

C H A P T E R. Introduction 1.1

It is convenient to think that solutions of differential equations consist of a family of functions (just like indefinite integrals ).

MATH 251 Examination I October 5, 2017 FORM A. Name: Student Number: Section:

2r 2 e rx 5re rx +3e rx = 0. That is,

MAT 275 Test 1 SOLUTIONS, FORM A

2.2 Separable Equations

Differential Equations Class Notes

1+t 2 (l) y = 2xy 3 (m) x = 2tx + 1 (n) x = 2tx + t (o) y = 1 + y (p) y = ty (q) y =

Three major steps in modeling: Construction of the Model Analysis of the Model Comparison with Experiment or Observation

December Exam Summary

First-Order ODEs. Chapter Separable Equations. We consider in this chapter differential equations of the form dy (1.1)

LECTURE 4-1 INTRODUCTION TO ORDINARY DIFFERENTIAL EQUATIONS

First order differential equations

Lesson 10 MA Nick Egbert

Math 122 Fall Handout 15: Review Problems for the Cumulative Final Exam

Lecture Notes in Mathematics. Arkansas Tech University Department of Mathematics

Solutions of Math 53 Midterm Exam I

Final Exam SOLUTIONS MAT 131 Fall 2011

Math 142, Final Exam, Fall 2006, Solutions

Math Final Exam Review

4 Exact Equations. F x + F. dy dx = 0

Lecture Notes for Math 251: ODE and PDE. Lecture 6: 2.3 Modeling With First Order Equations

MATH 162. FINAL EXAM ANSWERS December 17, 2006

Basic Theory of Differential Equations

Math 226 Calculus Spring 2016 Exam 2V1

AMATH 351 Mar 15, 2013 FINAL REVIEW. Instructor: Jiri Najemnik

MATH 251 Examination I October 9, 2014 FORM A. Name: Student Number: Section:

MATH 101: PRACTICE MIDTERM 2

2t t dt.. So the distance is (t2 +6) 3/2

MA Spring 2013 Lecture Topics

DON T PANIC! If you get stuck, take a deep breath and go on to the next question. Come back to the question you left if you have time at the end.

Chapters 8.1 & 8.2 Practice Problems

2.4 Differences Between Linear and Nonlinear Equations 75

M343 Homework 3 Enrique Areyan May 17, 2013

5.3 Interpretations of the Definite Integral Student Notes

Math 2214 Solution Test 1D Spring 2015

Exam 1 Review: Questions and Answers. Part I. Finding solutions of a given differential equation.

3.1 Derivative Formulas for Powers and Polynomials

Welcome to AP Calculus!!!

Chapter 13: Integrals

MATH 104 Practice Problems for Exam 2

Homework 3, due February 4, 2015 Math 307 G, J. Winter 2015

MA 110 Algebra and Trigonometry for Calculus Spring 2017 Exam 3 Tuesday, 11 April Multiple Choice Answers EXAMPLE A B C D E.

SMA 208: Ordinary differential equations I

Math 106: Review for Exam II - SOLUTIONS

Math Spring 2014 Homework 2 solution

Math 2930 Worksheet Introduction to Differential Equations

3 Inequalities Absolute Values Inequalities and Intervals... 18

MATH 251 Examination I February 25, 2016 FORM A. Name: Student Number: Section:

Math 116 Second Midterm November 14, 2012

California State University Northridge MATH 280: Applied Differential Equations Midterm Exam 1

Transcription:

Calculus IV - HW Section 0 Due 6/6 Section.. Given both of the equations y = 4 y and y = 3y 3, draw a direction field for the differential equation. Based on the direction field, determine the behavior of y as t. Does this behavior depend on the initial value of at t=0? If so, how? Solution: In this case y approaches as t approaches infinity. This is independent of the initial value of y(0). Here there are three cases. If y(0) = Then y is constant and y remains constant as t approaches infinity. If y(0) < then y as t. If y(0) > then y as t

. (a) Give two different differential equations of the form dy dt solutions approach y = 5. = ay + b such that all Solution: The general solution to dy = ay + b is y = dt ceat b. It follows that a if a < 0 and b = 5 then the solution will behave as specified in the question. a Two examples are dy dy = y + 5 and = y + 0. dt dt (b) Give two differential equation of the form dy dt diverge from y =. = ay + b such that all solutions Solution: By similar logic to the above if a > 0 and b = the solution will a satisfy the above conditions. Two examples are dy dy = y and = 4y. dt dt 3. Problem 5-0 from section. of Boyce and Diprima. Solution: Found in the back of B&D. 4. Optional Hard Problem (Problem from B&D) A spherical raindrop evaporates at a rate proportional to its surface area. Write a differential equation for the volume of the raindrop as a function of time. Solution: The equation for the volume of a sphere is V = 4 3 πr3 and the equation for the surface area is S = 4πr. Solving the volume equation for r we have ) r = ( 3V 3. Plugging into the equation for Surface area we have S = π 3 6 3 V 3. We 4π are given that dv = ks where the negative sign is used (really as a notational dt device) because the volume is decreasing and has a negative derivative with respect to time. Putting it all together yields dv = kv 3. Here k = π 3 6 3 k. It is common dt to continually absorb all constants into one undetermined constant term, and often we don t even bother to rename the constants as we do this. So the final solution is dv = kv 3. dt Page

Section. 5. (Problem 3 from B&D) Consider the differential equation dy dt and b are positive numbers. = ay + b where both a (a) Solve the differential equation. dy Solution: Some algebraic manipulation gives = a. We can then integrate both sides to get ln( y b ) = at + c and y b = a a ±e at+c. y b dt a The final solution is then y = ce at + b where c can be any real number. a Notice that the relative value of the constant c changed throughout the solution process, and the reason we don t take care to keep track of the exact value is the following. Given an initial condition the final answer will come out to be the same regardless of how c is represented. It is worth mentioning, though, why c can be any real number. Notice first that e x ranges over all positive real numbers so ±e x ranges over all nonzero real numbers. Where do we get 0 as a possibility in our final solution? When c = 0 we have the equilibrium solution, which (think about why this happened) we lost during the solving process. (b) Sketch the solution for several different initial conditions. Solution: Here are two variations plotted. Page 3

(c) Describe how the solutions change under each of the following conditions: i. a increases Solution: If a increases the value that each solution converges to decreases and the rate at which the solutions converge increases. ii. b increases Solution: If b increases the value that each solution converges to increases. iii. Both a and b increase, but the ration b a remains the same. Solution: If both a and b increase, but the ration b remains the same a then the rate at which the solutions converge increases. 6. (Problem 7 from B&D) Suppose a field mouse population satisfies the differential equation dp = 0.5p 450 dt (a) Find the time at which the population becomes extinct if p(0) = 850. Solution: As mentioned above, the general solution to dy dt = ay + b is y = ce at b a. Therefore, the solution in this case is p(t) = ce.5t + 900. Plugging the initial condition into the equation yields 850 = c + 900 and c = 50. So we want to solve p(s) = 0 for s. That is 0 = 50e.5t + 900 which happens when t = ln(8) 5.78074356 months. (b) Find the time of extinction if p(0) = p 0, where 0 < p 0 < 900. Solution: Plugging the initial condition into p(t) = ce.5t + 900 yields p 0 = c + 900 and c = p 0 900. In order to find the time of extinction, we ( need ) to solve P (T ) = 0 for T. That is 0 = (p 0 900)e.5T +900 and T = ln. 900 p 0 900 Note that the initial restriction on p 0 is necessary here so that the term inside the logarithm is positive. (c) Find the initial population p 0 if the population is to become extinct in year. Page 4

Solution: For this we need to solve P () = 0 for p 0. Here we are assuming that t is in months, but if you assumed that t was in years or days or scores that s fine because we didn t specify. We then have 0 = (p 0 900)e 6 + 900 and p 0 = 900 900 e 6 897.76930 7. (Problem 8 from B&D) Consider a population p of field mice that rows at a rate proportional to the current population, so that dp dt = rp (a) Find the rate constant r if the population doubles in 30 days. Solution: Solving the differential equation gives p(t) = ce rt. Assuming t is in days we are trying to find r so that p(30) = p(0). That is ce 30r = ce 0r = c and r = ln() 30 0.03465735903 (b) Find r if the population doubles in N days. Solution: Following the same steps as above you should find the solution to be ln() N. Section.3 8. For each of the following, determine the order of the differential equation and whether the equation is linear or nonlinear. (a) t 3 d y dt + (t + ) dy dt + 5y = sin(t) Solution: Linear, order (b) y d3 y dt 3 + dy dt = t Solution: Nonlinear, order 3 (c) dy dt + sin(y) = 0 Solution: Nonlinear, order Page 5

(d) d y + sin(t + )y = 5t dt Solution: Linear, order 9. (Problem 9-0 from B&D) For each of the following, verify that the given function is a solution of the differential equation. (a) ty y = t ; y = 3t + t Solution: Noting that y = 3+t and plugging in, we can verify that ty y = t(3 + t) (3t + t ) = t (b) y + 4y + 3y = t ; y (t) = t 3, y (t) = e t + t 3 Solution: Notice the following. y (t) = t 3 y (t) = 3 y (t) = y (t) = y (t) = 0 From the above it is clear that y is a solution. Now let y = e t and notice that y + 4y + 3y = 0. By linearity of differentiation we have that e t + t 3 is also a solution to the above differential equation. 0. (Problem 7 from B&D) Determine the values of r for which y + y 6y has solutions of the form y = e rt. Solution: Plugging e rt into the equation, we need r so that r e rt + re rt 6e rt = 0. Because e rt is never zero we can divide through by it and are left with r +r 6 = 0. It follows that r = 3 and r = are the only solutions that work.. For each part below, give an example of an ODE satisfying the stated conditions: (a) nd order linear equation (b) 5th order linear equation involving a trig function (c) 3rd order nonlinear equation involving a trig function. (d) 4th order nonlinear equation not involving a trig function Page 6

Solution: Many correct solutions exist but here are a few: (a) y + y + 5y = 6 (b) d5 y dt 5 + sin(t) dy dt + y = t (c) y + ty = sin(y) (d) d4 y dt 4 + y d y dt + y = 0 Section. Each answer must be supported by a sufficient amount of work. Because many of the answers to these questions are in the back of your textbook, answers without work will not receive any credit.. Consider the differential equation µ (t) = µ(t)p(t) where p(t) is any integrable function and µ(t) > 0 for all t R. (a) Solve the differential equation by first dividing both sides by µ(t) (it is given that it is never 0), then integrating both sides, and finally exponentiating both sides. Solution: Following the steps outlined above we have µ (t) µ(t) = p(t). Integrating yields ln(µ(t)) = p(t) dt. We do not need the absolute value within the logarithm because µ(t) is positive everywhere. Exponentiating gives and completes the solution process. µ(t) = e p(t) dt Page 7

(b) Determine µ(t)y (t) + µ(t)p(t)y(t) dt. (Hint what is µ(t)p(t) equal to?) Solution: Noticing that µ(t)p(t) = µ (t) we have µ(t)y (t) + µ (t)y(t) dt. Considering the product rule for differentiating, we have that µ(t)y (t) + µ (t)y(t) dt = µ(t)y(t). (c) Explain how the above two problems relate to solving first order linear differential equations. Solution: The above two problems outline the derivation of the integrating factor and illustrate how multiplication by the integrating factor makes the left hand side (y + p(x)y) of linear first order differential equations (with a leading coefficient of ) integrable. Furthermore, part b gives the integral explicitly. 3. (problem 5 from B&D) Consider the following differential equation (assume y is a function of t). y y = 3e t () (a) Draw a direction field for equation (). If you choose, you may have a computer do this (using Maple, Matlab, Mathematica, Wolfram Alpha, etc.). Solution: Page 8

(b) Based on an inspection of the direction field, describe how solutions behave for large t. Solution: From the direction field, it appears that lim t y(t) = ± depending on the initial condition. (c) Find the general solution of the given differential equation, and use it to determine how solutions behave as t approaches infinity. Solution: The integrating factor µ(t) is e dt = e t Page 9

(remember that we can let the constant of integration be zero when finding the integrating factor). Multiplying both sides of the differential equation by µ(t) we have e t y e t y = 3e t Integrating both sides yields e t y = 3e t + c. Remember that the integral of the left hand side is always µ(t)y. The final answer is then y(t) = 3e t + ce t. The limit as t tends to infinity is ± depending on the sign of c. 4. (from problem 6 in B&D) Find the general solution of the following differential equation: ty + y = sin(t), t > 0. Solution: Dividing through by t we have y + y t = sin(t). t We can divide through by t as it is nonzero on the region (0, ). Our integrating factor, µ(t), is then e t dt = e ln(t) = t. We need not worry about the absolute value as t > 0. Integrating both sides, we have t y = t sin(t) dt = t cos(t) cos(t) dt = sin(t) t cos(t) + c. Dividing through by µ(t) gives a final answer of sin(t) t cos(t) t + c t ; t > 0 Page 0

5. Find the general solution to the following differential equation: y + t + y = Here are some useful hints and identities for this one. (a) You will probably need to use trig substitution (with t = tan(u)). (b) sec(t) dt = ln( sec(t) + tan(t) ) + C (c) Your final answer should not include the absolute value of anything (be sure to justify why). Solution: Dividing through by + t gives y + y = + t + t Our integrating factor, µ(t), is then ( exp ) dt + t where exp(x) = e x. We then need to find +t dt. Start by letting u = arctan(x). Then tan(u) = x and sec (u) du = dx. It follows that dt = + t sec (u) + tan (u) du = sec(u) du. Integrating sec(u) is such a fun problem that it has its own Wikipedia page. For more fun readers are referred to the Wikipedia page for the integral of sec 3 (x). cos(u) sec(u) du = cos(u) du = cos (u) du = cos(u) sin (u) du Making the substitution v = sin(u) we have dv = cos(u) du and cos(u) sin (u) du = v dv = v + + v dv = ( ln v +ln +v ) = ln + v v = ln + sin(u) sin(u) = ln ( + sin(u)) sin (u) = ln + sin(u) cos(u) ( ) = ln sec(u) + tan(u) = ln + tan (u) + tan(u) = ln + t + t. Page

We can ignore the absolute value here as + t + t is positive everywhere. It follows that our integrating factor is µ(t) = exp(ln( + t + t)) = + t + t Integrating both sides of µ(t)y (t) + µ(t)y(t) +t = µ(t) +t ( + t + t)y = + t + t + t dt = dt + we have t + t dt = t + + t + c. To integrate t +t dt we used the substitution u = + t. Dividing through by µ(t) gives a final answer of y(t) = + c t + + t. 6. (B&D #7) Find the solution to this initial value problem. y y = e t, y(0) = Solution: Like problem, the integrating factor µ(t) is e t. Dividing through by µ(t) and integrating we have ye t = dt = t + c. The general solution is then y(t) = te t + ce t. With the initial condition we have y(0) = = 0e 0 + ce 0 = c. The final answer is then y(t) = (t + )e t Page

7. (a) (B&D #0) Find the solution to this initial value problem. ty + (t + )y = t, y(ln()) =, t > 0 Solution: Dividing through by t leaves us with y + t + y =. t The integrating factor µ(t) is then ( ) t + µ(t) = exp dt t ( = exp + t dt ) = te t. Dividing through by our integrating factor and integrating both sides yields te t y(t) = te t dt = te t e t dt = (t )e t + c. The general solution is then y(t) = t t Plugging in for the initial condition gives y(ln()) = = ln() ln() + c te t c ln() + c + =, ln()eln() ln() implying that ln() = ln() + c and c =. The final solution then becomes t t + te t. (b) Briefly explain why the condition t > 0 was given. Solution: This condition was given as (0, ) is the largest open interval containing ln() (where the initial value was specified) on which t (the leading coefficient) is nonzero and t+ is continuous. We also use the fact that t was t positive in the above solution when we neglected to use absolute values when integrating. t Page 3

8. Optional Hard Problem (B&D #30) Find the value of y 0 for which the solution of the initial value problem remains finite as t. y y = + 3 sin(t), y(0) = y 0 Solution: We will start by solving the differential equation. The integrating factor is µ(t) = e t. Multiplying through by µ(t) and integrating both sides yields ye t = e t + 3e t sin(t) dt = e t + 3 e t sin(t) dt Notice the following. e t sin(t) dt = e t sin(t) e t sin(t) e t cos(t) e t cos(t) dt = e t sin(t) dt implying that e t sin(t) = e t (sin(t) + cos(t)) + c and e t sin(t) = e t (sin(t) + cos(t)) + c. It follows that and ye t = e t 3 e t (sin(t) + cos(t)) + c y(t) = 3 (sin(t) + cos(t)) + cet. Plugging in the initial condition y(0) = y 0 we have y 0 = 3 + c implying that c = y 0 + 5. In order for 3 (sin(t) + cos(t)) + cet to stay finite as t, c must be zero. It follows that the value of y 0 that we are looking for is 5. Page 4

9. (Problem 8c and c from B&D) For each of the following, solve the differential equations determine its behavior as t. (a) ( + t )y + 4ty = ( + t ) (b) y + y = 5 sin(t) Solution: (a) We begin by dividing everything by + t which gives us the equation y + 4t + t y = ( + t ) 3 () Note that we don t have to worry about the domain of t since + t is never 4t zero. Next, we need to find an integrating factor µ(t) = e +t dt. To solve 4t dt, use u-substitution with u = +t and du = tdt to write the integral +t as du = ln u + C. Thus µ(t) = ( u e ln u +C = C ) e ln u = C u which becomes ( + t ) by choosing C = 0 and noting that u = u for any u. Then equation () becomes ( + t ) y + 4t( + t )y = (3) + t Integrating both sides gives so we have ( + t ) y = = arctan(t) + C (4) + t y = arctan(t) + C ( + t ) (5) Finally, we need to consider the behavior of y as t. However, we know that π < arctan(t) < π so by the Squeeze Theorem, we see π lim + C π t ( + t ) lim arctan(t) + C lim + C t ( + t ) t ( + t ) = 0 lim t arctan(t) + C ( + t ) 0 = lim t arctan(t) + C ( + t ) = 0 Thus, regardless of initial conditions, y 0 as t. Page 5

(b) For y + y = 5 sin(t), our integrating factor is just e t so we need to find the integral 5 sin(t)e t dt. We use integration by parts to see 5 sin(t)e t dt = 5 sin(t)e t 0 cos(t)e t dt Using integration by parts again on 0 cos(t)e t dt we get 0 cos(t)e t dt = 0 cos(t)e t 0 sin(t)e t dt Thus we finally have 5 sin(t)e t dt = 5 sin(t)e t 0 cos(t)e t 0 sin(t)e t dt = 5 sin(t)e t dt = 5 sin(t)e t 0 cos(t)e t + C = 5 sin(t)e t dt = sin(t)e t cos(t)e t + C Therefore we have e t y = 5 sin(t)e t dt = sin(t)e t cos(t)e t + C = y = sin(t) cos(t) + Ce t As t gets large, y(t) approaches sin(t) cos(t) since lim t Ce t = 0. Section. 0. (B&D #) Solve the following differential equation. y = x Solution: The above contains a typo and is (as a result) a Calc I problem. It should read y = x y, Page 6

in which case we have yy = x. Integrating both sides yields y = 3 x3 + c. Cleaning up a bit and remembering that y cannot be zero, we have a final solution of 3y x 3 = c; y 0.. (B&D #5) Solve the following differential equation. y = ( cos (x) ) ( cos (y) ) Solution: The natural first step in the solution process is to divide through by cos (y), but first we have to consider the case where cos (y) = 0. This happens when y = π + k π. In this case we have a constant solution. 4 Now assume that cos(y) 0. Rearranging the separable equation yields sec (y)y = cos (x). The integral of the left hand side is tan(y). The integral of the right hand side requires just a bit of work. cos (x) dx = cos (x) + dx = cos (x) + (sin (x) + cos (x) dx = (cos (x) sin (x)) + dx = cos(x) + dx = 4 sin(x) + x + c. Equating the two sides and making the solution look all nice and tidy we have tan(x) sin(x) x = c; y π 4 + kπ y = π 4 + kπ ; k Z.. (B&D #9) (a) Find the solution of the following initial value problem in explicit form. y = ( x)y, y(0) = 6 Page 7

Solution: Note first that we have an equilibrium solution y(x) = 0. Assuming then that y 0 we can rearrange to yield Integrating both sides we have y y = x. y = x x + c and y = x x + c. Plugging in the initial value we have that c = 6, so the final answer is y = x x + 6. (b) Determine the interval in which the solution is defined. Solution: Note that this problem differs slightly from the one in the book (in the book the initial value given is y(0) = ). In this case, the solution 6 is defined for all x R as x x + 6 has no real roots. It is worthwhile to consider the problem as it is given in the book. 3. (B&D #0) (a) Find the solution of the following initial value problem in explicit form. y ( x ) dy dx = arcsin(x), y(0) = Solution: Assuming x > 0, we have y y = arcsin(x) x. Page 8

Integrating both sides (using substitution with u = arcsin(x) on the left hand side) yields 3 y3 = arcsin (x) + c. Plugging in our initial value gives that c = 3 and our final solution becomes 3 y = 3 arcsin(x) +. (b) Determine the interval in which the solution is defined. Solution: The domain of the differential equation was initially restricted by the arcsin(x) on the right hand side and the radical on the right. We are further restricted because dy = 0 when x = ± (consider why this is). Hence dx the interval in which the solution is defined is (, ). 4. (B&D #3) (a) Show that the following differential equation is homogeneous. dy dx = x + 3y xy Solution: Notice that x + 3y xy = ( ) x y + 3y = x ( (y x ) ) y + 3. x (b) Solve the above differential equation. Solution: Making the substitution v = y x The differential equation then becomes Some rearrangement yields we have y = vx and dy dt = x dv dt + v. x dv dt = ( v + 3v ) v = ( v + v ) = + v v. v + v v = x Page 9

and we can integrate both sides. ln + v = ln x + c. Exponentiating both sides and noticing that + v > 0 for all v R we have and + v = c x ; c > 0 x + y = cx x. What can we do about those ugly absolute values? Well the original differental equation had issues when x = 0 or y = 0. In particular, we will always need to specify an open interval not containing zero on which our solution is defined. On these intervals x will always have the same sign, so we can absorb it in c. So the final solution becomes x + y = cx 3 ; c > 0, y 0. 5. (Problem from B&D) Solve the separable differential equation y = x y(+x 3 ) Solution: We can separate this as ydy = x + x 3 dx and immediately integrate each side. For the right side, just use u-substitution with u = + x 3, du = 3x to get x + x dx = du 3 3 u = 3 ln u + C = 3 ln + x3 + C Then we have y = 3 ln + x3 + C = y 3 ln + x3 = C 6. (Problem 34 from B&D) Show that the equation dy = 4x+3y dx x+y this property to solve it. is homogeneous and use Page 0

Solution: We want to make the change of variables v = y. Dividing the top and x bottom of the right side by x and using the identity dy = v + x dv gives us dx dx v + x dv dx = x dv dx = 4 + 3v + v = 4 + 3v + v v = x dv dx = (4 + 3v) + (v + v ) + v = + v 4 + 5v + v dv = x dx 4 + 5v + v = + v However, we can factor 4 + 5v + v = (v + 4)(v + ) and use partial fractions decomposition. Then A v + 4 + B v + = + v 4 + 5v + v so we get Av + A + Bv + 4B = + v so Av + Bv = v and A + 4B =. Then solving the second equation for A we get A = 4B so ( 4B)v + Bv = v implying 3B = which in turn implies = 3B. Thus B = so A = 4( ) =. 3 3 3 Therefore 3(v + 4) + 3(v + ) = + v 4 + 5v + v giving us the differential equation Integrating both sides gives 3 3(v + 4) + 3(v + ) dv = x dx ln v + 4 + 3 ln v + = ln x + C Putting both sides as the exponent of e, we can reduce to We can then cube both sides to get (v + 4) 3 (v + ) 3 = C x v + 4 (v + ) = C x 3 = C 3 = v + 4 (v + ) x 3 ) ( ) ) = C 3 = ( x v + 4 x v + = ( x(v + 4) ( ) x(v + ) Page

Substituting y back in for v gives x C 3 = ( x( yx ) + 4) ( x( yx ) + ) = C 3 = y + 4x y + x Section.3 7. (B&D #) Consider a tank used in certain hydrodynamic experiments. After one experiment the tank contains 00 L of a dye solution with a concentration of g/l. To prepare for the next experiment, the tank is to be rinsed with fresh water flowing in at a rate of L/min, the well-stirred solution flowing out at the same rate. Find the time that will elapse before the concentration of dye in the tank reaches % of its original value. Solution: Let Q(t) denote the quantity of dye (in grams) in the tank. We know that dq = rate in rate out. dt There is no dye being added to the tank, so the rate in is zero. The rate out is Q(t) g. So we have 00 min dq dt = Q 00 which is both linear and separable. Solving the equation we have Q(t) = ce t 00. From the problem statement we have Q(0) = 00 so c = 00. Determining when the amount of dye in the tank is at % of its initial value amounts to solving 00e t 00 = for t. So the final answer is t = 00 ln(0) min 460.57086 min. 8. (B&D #9) A certain college graduate borrows $8000 to buy a car. The lender charges interest at an annual rate of 0%. Assuming that interest is compounded continuously and that the borrower makes payments continuously at a constant annual rate k, determine the payment rate k that is required to pay off the loan in 3 years. Also determine how much interest is paid during the 3-year period. Page

Solution: The differential equation modeling this situation is dd dt.d = k, where t is in years and D(t) is the debt at time t in dollars. We will solve the linear equation using integrating factor µ(t) = e.t. The general solution is then D(t) = ce t 0 + 0k. Plugging in the initial condition D(0) = 8000 we have c = 8000 0k and a solution of D(t) = (8000 0k)e t 0 + 0k. In order to determine the annual payment required to pay off the loan in 3 years, we solve for k with the condition D(3) = 0. We have 0 = (8000 0k)e 3 0 + 0k and Our final solution is then 8000e.3 = 0k(e.3 ). k = 800e.3 e.3 $3086.63678. The interest paid is 3k 8000 $59.9084. 9. (B&D #) Radiocarbon dating is a method of dating organic material by determining the ratio of carbon-4 to other carbon isotopes present in the material. The half-life of carbon-4 is approximately 5730 years (i.e it takes 5730 years for half of the carbon-4 to decay). Let Q(t) be the amount of carbon-4 remaining at time t. (a) Assuming that Q satisfies the differential equation Q decay constant r for carbon-4. = rq, determine the Solution: Solving the equation we have Q(t) = ce rt. From the problem statement we know Q(0) = Q(5730). Solving this we have e r5730 = Page 3

and r = ln() 5730 yr. (b) Find an expression for Q(t) at any time t, if Q(0) = Q 0. Solution: Plugging the initial condition in we have Q 0 e ln() 5730 t. 30. Optional Hard Problem Newton s law of cooling states that the temperature of an object changes at a rate proportional to the difference between its temperature and the temperature of its surroundings. Use this law to answer the following question. Two people sitting at a café order coffee. The first person orders creme with the coffee and promptly adds some when the coffee arrives. The second person decides, after a moment of letting the coffee cool, to order creme and adds some when the server brings it. Assuming that the coffees were 00 when they were first brought, the creme is always served at 40, the temperature of the room is 70, and both people add the same quantity of creme to the same quantity of coffee; whose coffee is hotter after person two adds creme? Note that the temperature of the coffee and creme mixture is T o C o + T r C r C o + C r where T o is the temperature of the coffee, T r is the temperature of the creme, C o is the amount of coffee, and C r is the amount of creme. Solution: We begin by modeling the temperature of a cup of coffee with initial temperature T 0. From the problem statement we have that the temperature of the surroundings is 70, so by Newton s law of cooling, dt dt = k(t 70) where T (t) is the temperature of the coffee at time t. Solving the equation we have Plugging in our initial condition yields T (t) = ce kt + 70; c > 0. T (t) = (T 0 70)e kt + 70. Page 4

We can then model the temperature of person s coffee (after the creme is added) by the equation ( ) 00Co + 40C r T (t) = 70 e kt + 70. C o + C r With C o and C r as indicated in the problem statement. Pulling out C o+c r T (t) = Collecting terms we have T (t) = [ (00Co + 40C r 70(C o + C r )) e kt + 70(C o + C r ) ] C o + C r C o + C r [ C0 ( (00 70)e kt + 70 ) + C r ( (40 70)e kt + 70 )]. yields. This indicates that mixing the creme and coffee and letting the mixture cool is equivalent (under our assumptions) to letting the creme heat up and the coffee cool and then mixing them together at time t (the above equation is the result of plugging the equations for temperature of coffee and creme at a given time with initial temperatures 00 /40 into the equation for the temperature of two fluids after mixing). It follows that person s coffee will be warmer because his situation is equivalent to letting the creme heat up and then adding it, while person s creme is kept cold. 3. (Problem 8 from B&D) A college student with no initial capital invests k dollars per year at an annual rate of return r. Assume the investments are made continuously and that the return is compounded continuously. Then (a) Determine the sum S(t) accumulated at any time t (b) If r = 7.5%, determine k so that $ million will be available for retirement in 40 years. (c) If k = $000 per year, determine the return rate r that must be obtained to have $ million available in 40 years. Solution: (a) We see that ds = k + rs = r(s + k ) so we separate the equation and get dt r ds S + k r = rdt Page 5

Integrating both sides gives ln S + k r = rt + C = S + k r = C e rt Note that S 0 = S(0) = 0 so = S = C e rt k r 0 = C k r = C = k r Thus S(t) = k r ( ) e rt (b) If r = 7.5% = 0.075 and S(40) =, 000, 000 we have S(40) =, 000, 000 = k ( ) e 0.075(40).075 = (0.075), 000, 000 e 0.075(40) = k = k $3930 (c) If we now assume k = $000 and S(40) = $, 000, 000, then ( ), 000, 000, 000 = e 40r r = 500r = e 40r Unfortunately, a computer is needed to solve this equation. We get r = 0.0977 = 9.77%. 3. (Problem 5a,c from B&D) A tank contains 00 gal of water and 50 oz of salt. Water containing a salt concentration of ( + oz sin(t)) flows into the tank at a rate of 4 gal, and the mixture in the tank flows out at the same rate. gal min (a) Find the amount of salt Q(t) in the tank at any time. (b) Note that the long-time behavior of the solution is an oscillation about a certain constant level. What is this level? What is the amplitude of the oscillation? Page 6

Solution: (a) As usual with tank problems, dq dt = rate in rate out. Here rate in = 4 ( + sin(t)) = ( + 4 sin(t) ) oz min and rate out = Q(t) 00 = Q(t) oz 50 min Therefore we have that dq ( dt = + ) 4 sin(t) Q(t) 50 = dq dt + Q(t) ( 50 = + ) 4 sin(t) This is a first order linear equation so we can solve it with an integrating factor. Here µ(t) = e 50 dt = e t 50. Thus the differential equation becomes Integrating both sides gives We note that to solve t 4 e 50 sin(t)dt. e t dq 50 dt + e t Q(t) 50 50 = e t 50 + e t 50 4 sin(t) e t 50 Q(t) = e t 50 dt + 4 e t 50 sin(t)dt e t 50 dt = 5e t 50 + C, and proceed to use integration by parts e t 50 sin(t)dt = 50e t 50 sin(t) 50 e t 50 cos(t)dt Integration by parts again gives e t t 50 cos(t)dt = 50e 50 cos(t) + 50 e t 50 sin(t)dt so we finally have e t t 50 sin(t)dt = 50e 50 sin(t) (50) e t 50 cos(t) (50) e t 50 sin(t)dt = ( ) (50) + e t t 50 sin(t) = 50e 50 sin(t)dt (50) e t 50 cos(t) + C Page 7

= e t 50 50 sin(t)dt = ( )e t 50 50 sin(t) ( )e t 50 cos(t) + C (50) + (50) + At long last we can write e t 50 Q(t) = e t 50 dt + 4 e t 50 sin(t)dt e t t 50 50 Q(t) = 5e 50 + ( )e t 50 sin(t) ( 50 )e t 50 cos(t) + C 4 (50) 3 + 4 (50) 3 + 50 = Q(t) = 5 + ( ) sin(t) 4 (50) + which we could reduce to Q(t) = 5 + 5 65 sin(t) 500 50 However, our initial conditions were Q(0) = 50 so so all told we have 50 = 5 65 50 + C 50 ( 4 (50) + cos(t) + Ce = C = 5 65 50 = 6350 50 Q(t) = 5 + 5 65 6350 sin(t) cos(t) + 500 50 50 e ) cos(t) + Ce t 50 t 50 t 50 6350 (b) As t, 50 0. Thus we oscillate around Q(t) = 5. To find the amplitude, we must find the max/min of 50 e t f(t) = 5 65 sin(t) 500 50 cos(t) To do this, we take the derivative and set it equal to 0. f (t) = 5 65 cos(t) + 500 50 sin(t) 0 = 5 65 cos(t) + 500 50 sin(t) Page 8

= 50 sin(t) = cos(t) = tan(t) = 50 Thus f(t) has a min/max at arctan( ). We then have 50 f(arctan( 5 )) = 50 500 sin(arctan( 65 )) 50 50 cos(arctan( 50 )) To find sin(arctan( )), suppose u = arctan( ). Draw a right triangle 50 50 with u as one of the angles. Since u = arctan( ), it follows that tan(u) = 50 so let the leg of the triangle opposite u have length and the other leg 50 have 50. Then the hypotenuse, must have length + 50. Thus sin(u) = +50. Similarly, we can see cos(u) = 50 +50 f(arctan( 5 )) = 50 500 65 50 + 50 50 + 50 = 655 50 (500)(50) = 5 50 500 so we see the amplitude of the oscilation is 5 50 500 0.4995 Section.4 33. (Problems and 3 from B&D) For each of the following initial value problems, find an interval of t in which Theorem.4. from the book (Theorem from lecture notes) guarantees the existence of the a (unique) solution. (a) (t 3)y + ln(t)y = t ; y() = (b) y + tan(t)y = sin(t) ; y(π) = 0 Solution: (a) To apply Theorem.4., we need to get the equation into the form dy dt = f(t, y). Thus we consider y = t t 3 ln(t) t 3 Page 9

Thus we cannot have t = 3. Furthermore, the presence of ln(t) means we must require t > 0. Therefore we can either choose (0, 3) or (3, ). However, we need the interval to include our initial condition y() =. Thus we choose (0, 3) since it contains t =. (b) We proceed similarly and get y = sin(t) tan(t)y This has a discontinuity at t = (k+)π for k Z since this is exactly where cos(t) = 0 and tan(t) = sin(t). Because our initial condition is y(π) = 0, we cos(t) must choose the interval π < t < 3π. 34. (Problems 7 and 8 from B&D) For each of the following initial value problems, state where in the ty-plane the hypothesis of Theorem.4. from the book (Theorem from lecture notes) are satisfied. (a) y = t y t+5y (b) y = ( t y ) Solution: (a) According to Theorem.4., we must find a rectangle α < t < β, γ < y < δ in which both f and f are continuous. Here y f = t y t + 5y ; f y = 7t (t + 5y) Thus both are discontinuous exactly when t + 5y = 0 or equivalently on the line y = t. Thus our rectangle should either be completely in the region 5 t + 5y > 0 or the region t + 5y < 0. (b) We proceed similarly, noting f = y = ( t y ) ; f y = y ( t y ) Thus we must have that t y > 0 or equivalently, t + y <. Note that this is just the interior of the unit circle in the ty-plane. Page 30

35. (Problems 3 and 6 from B&D)For each of the following, solve the initial value problem and determine how the interval in which the solution exists depend on the initial value y 0. (a) y = 4t y ; y(0) = y 0 (b) y = t y(+t 3 ) ; y(0) = y 0 Solution: (a) This equation is separable, so we write it as Integrating both sides gives ydy = 4tdt y = t + C Applying our initial conditions show y 0 = C, giving us the equation y = t + y 0 = y = ± y0 4t Thus we must have t < y 0. Furthermore, since f(t, y) = 4t, we must y have y 0. (b) This equation is also separable, becoming ydy = t + t 3 dt = y = 3 ln( + t3 ) + C Thus applying our initial condition gives C = y 0 (remember ln() = 0). Therefore we have y = ± 3 ln( + t3 ) + y0 Thus we must have 3 ln( + t3 ) + y 0 > 0. (Note that y = 0 is not allowed since our original equation included division by y.) Therefore we have ln( + t 3 ) > 3y 0 = + t 3 > e 3y 0 = t 3 > + e 3y 0 Page 3

( = t > 0 + e 3y Note that in particular this requires t > so + t 3 > 0 as we needed to ensure we were not dividing by 0 or having the argument of ln( + t 3 ) be non-positive. ) 3 36. Optional Hard Problem Suppose we have a tank of water which starts with an initial concentration of lb of salt per gallon, and initially contains 00 gallons of 0 water. Suppose water with a salt concentration of lb pours into the tank at a rate 5 gal of ( 00 00 sin(t) cos(t) ) gal. Assume water in the tank is mixed completely and hrs instantaneously. Suppose water drains from the tank at a rate of 00 gal. Let S(t) be hrs the amount of salt in pounds contained in the tank. (a) Construct a differential equation to model this situation. (Hint: The amount of water in the tank is not constant.) (b) Note that the equation is a first order linear equation and find an integrating factor for it. You should explicitly solve the integral involved. (c) Find an expression for S(t). This expression may still contain an integral. Solution: (a) As usual with tank problems, ds = rate in rate out. Here we have dt rate in = ( ) lbs 00 00 sin(t) cos(t) 5 hr The tricky part is finding the rate out since the amount of water in the tank is not constant. However, we note that the total change in the amount of water in the tank is t ( ) t 00 00 sin(x) cos(x) 00dx = 00 sin(x) cos(x)dx = 50 sin (t) 0 0 Thus the amount of salt leaving the tank rate out = 00 S(t) 00 50 sin (t) = 00 S(t) lbs 00 50 sin (t) hr Page 3

Therefore ds dt = ( ) 00 00 sin(t) cos(t) 5 = ds dt + 00 00 50 sin (t) S(t) = 5 00 S(t) 00 50 sin (t) ( 00 00 sin(t) cos(t) (b) We showed in part (a) that the differential equation was linear and therefore can be solved using an integrating factor. Thus we need to find 00 µ(t) = e 00 50 sin dt (t) To solve the integral, multiply top and bottom by sec (t) to get 00 sec (t) 00 50 sin dt = 00 (t) dt = 00 sin (t) sec (t) tan (t) dt Then remember the identity sec (t) = + tan (t) to rewrite the denominator as + tan (t) tan (t) = + tan (t) so we get 00 sec (t) + tan (t) dt From here, it is just a u-substitution problem. It may be useful to remember (or if memory fails, look up) the derivative of arctan(t). Let u = tan(t) meaning du = sec (t). Thus we get 00 Thus the integrating factor is + u du = 00 du + u = 00 arctan(u) = 00 ( ) arctan tan(t) ( ) µ(t) = e 00 arctan tan(t) (c) Now our differential equation becomes µ(t) ds ( ) dt + µ(t) 00 00 50 sin (t) S(t) = µ(t) 00 00 sin(t) cos(t) 5 ) Page 33

Integrating both sides gives ( ) e 00 arctan tan(t) S(t) = ( ) ) e 00 arctan tan(t) 00 00 sin(t) cos(t) dt 5( Thus ( ) S(t) = e 00 arctan tan(t) ( ) ) e 00 arctan tan(t) 00 00 sin(t) cos(t) dt 5( Page 34