<<

APPENDIX C Differential Equations A27 C.2 Separation of Variables Use separation of variables to solve differential equations. • Use differential equations to model and solve real-life problems. Separation of Variables The simplest type of is one of the form y f x. You know that this type of equation can be solved by integration to obtain

y f x dx.

In this section, you will learn how to use integration to solve another important family of differential equations—those in which the variables can be separated. TECHNOLOGY This technique is called separation of variables. You can use a symbolic integration utility to solve a separable variables differential Separation of Variables equation. Use a symbolic integra- If f and g are continuous functions, then the differential equation tion utility to solve the differential equation dy f xgy x dx y . y2 1 has a general solution of 1 dy f x dx C. gy

Essentially, the technique of separation of variables is just what its name implies. For a differential equation involving x and y, you separate the x variables to one side and the y variables to the other. After separating variables, integrate each side to obtain the general solution. Here is an example.

EXAMPLE 1 Solving a Differential Equation dy x Find the general solution of . dx y2 1 Solution Begin by separating variables, then integrate each side. dy x Differential equation dx y2 1 ( y2 1 dy x dx Separate variables.

y2 1 dy x dx Integrate each side.

y 3 x2 y C General solution 3 2 A28 APPENDIX C Differential Equations

EXAMPLE 2 Solving a Differential Equation Find the general solution of dy x . dx y Solution Begin by separating variables, then integrate each side. dy x Differential equation dx y y dy x dx Separate variables.

y dy x dx Integrate each side.

y2 x2 C Find antiderivatives. 2 2 1 y2 x2 C Multiply each side by 2. 2 2 So, the general solution is y x C. Note that C1 is used as a temporary in anticipation of multiplying each side of the equation by 2 to produce the constant C.

STUDY TIP After finding the general solution of a differential equation, you should use the techniques demonstrated in Section C.1 to check the solution. For instance, in Example 2 you can check the solution by differentiating the equation y 2 x 2 C to obtain 2yy 2x or y xy.

EXAMPLE 3 Solving a Differential Equation Find the general solution of dy ey 2x. dx Use a graphing utility to graph several solutions. Solution Begin by separating variables, then integrate each side. dy ey 2x Differential equation dx ey dy 2x dx Separate variables. 5 C 15 ey dy 2x dx Integrate each side.

C 5 C 10 ey x2 C Find antiderivatives. 6 6 By taking the natural logarithm of each side, you can write the general solution as C 0 y lnx2 C. General solution 5 The graphs of the particular solutions given by C 0, C 5, C 10, and FIGURE A.10 C 15 are shown in Figure A.10. APPENDIX C Differential Equations A29

EXAMPLE 4 Finding a Particular Solution Solve the differential equation xex2 yy 0 subject to the initial condition y 1 when x 0. Solution

2 xex yy 0 Differential equation

dy 2 y xex Subtract xex2 from each side. dx

2 y dy xex dx Separate variables.

2 y dy xex dx Integrate each side.

2 y 1 2 ex C Find antiderivatives. 2 2 1

2 y2 ex C Multiply each side by 2. To find the particular solution, substitute the initial condition values to obtain 12 e02 C. This implies that 1 1 C, or C 2. So, the particular solution that satisfies the initial condition is

2 y2 ex 2. Particular solution

EXAMPLE 5 Solving a Differential Equation Example 3 in Section C.1 uses the differential equation dx k10 x dt to model the sales of a new product. Solve this differential equation. Solution dx STUDY TIP k10 x Differential equation dt In Example 5, the context of 1 the original model indicates that dx k dt Separate variables. 10 x 10 x is positive. So, when 1 you integrate 1 10 x , you dx k dt Integrate each side. can write ln10 x, rather 10 x than ln10 x. ln 10 x kt C1 Find antiderivatives. Also note in Example 5 ln 10 x kt C1 Multiply each side by 1. that the solution agrees with ktC 10 x e 1 Exponentiate each side. the one that was given in Example 3 in Section C.1. x 10 Ce kt Solve for x. A30 APPENDIX C Differential Equations Applications

EXAMPLE 6 Modeling National Income Let y represent the national income, let a represent the income spent on necessi- ties, and let b represent the percent of the remaining income spent on luxuries. A commonly used economic model that relates these three quantities is dy k1 by a dt where t is the time in years. Assume that b is 75%, and solve the resulting differ- ential equation. Corporate profits in the United Solution Because b is 75%, it follows that 1 b is 0.25. So, you can solve the States are closely monitored by differential equation as follows. New York City’s Wall Street execu- dy k0.25y a Differential equation tives. Corporate profits, however, dt represent only about 11.9% of 1 the national income. In 1999, the dy 0.25k dt Separate variables. y a national income was more than $7 trillion. Of this, about 71% 1 dy 0.25k dt Integrate each side. was employee compensation. y a ln y a 0.25kt C1 Find antiderivatives, given y a > 0. y a Ce0.25kt Exponentiate each side. y a Ce0.25kt Add a to each side. The graph of this solution is shown in Figure A.11. In the figure, note that the national income is spent in three ways. National income necessities luxuries capital investment

Modeling National Income y

Capital investment Income consumed on Consumed on luxuries necessities and luxuries 0.25kt Consumed on necessities ya= + 0.75 Ce National income yaCe= + 0.25kt

C

a t 1234567891011121314 Time (in years)

FIGURE A.11 APPENDIX C Differential Equations A31

EXAMPLE 7 Using Graphical Information Find the equation of the graph that has the characteristics listed below. 1. At each point x, y on the graph, the slope is x2y. 2. The graph passes through the point 2, 1. Solution Using the information about the slope of the graph, you can write the differential equation dy x . dx 2y Using the point on the graph, you can determine the initial condition y 1 when x 2. dy x Differential equation dx 2y 2 y dy x dx Separate variables.

2y dy x dx Integrate each side.

x2 y2 C Find antiderivatives. 2 1 2 y2 x2 C Multiply each side by 2. 2 2 x 2y C Simplify. 2 Applying the initial condition yields 22 212 C 3 3 which implies that C 6. So, the equation that satisfies the two given conditions is

x2 2y2 6. Particular solution 2 As shown in Figure A.12, the graph of this equation is an ellipse. FIGURE A.12

TAKE ANOTHER LOOK Classifying Differential Equations In which of the differential equations can the variables be separated?

dy 3x a. dx y

dy 3x b. 1 dx y

dy 3x c. x2 dx y

dy 3x y d. dx y A32 APPENDIX C Differential Equations

The following warm-up exercises involve skills that were covered in earlier sections. WARM-UP C.2 You will use these skills in the exercise set for this section.

In Exercises 1–6, find the indefinite integral and check your result by differentiating.

1. x32 dx

2. t3 t13 dt

2 3. dx x 5 y 4. dy 2y2 1

5. e2y dy

6. xe1x2 dx

In Exercises 7–10, solve the equation for C or k. 7.32 63 1 C 8. 12 22 C 9.10 2e2k 10. 62 36 ek

EXERCISES C.2

In Exercises 1–6, decide whether the variables in the differential 19.2 xy 2y 20. y 2x 1y 3 equation can be separated. 21.xy y 22. y yx 1 0 dy x dy x 1 1. 2. x x dy x2 2 dx y 3 dx x 23.y 24. y 1 y dx 3y2 dy 1 dy x 3. 1 4. 25.exy 1 1 26. yy 2xex 0 dx x dx x y dy dy 1 In Exercises 27–32, use the initial condition to find the particular 5. x y 6. x dx dx y solution of the differential equation. Differential Equation Initial Condition In Exercises 7–26, use separation of variables to find the general x solution of the differential equation. 27. yy e 0 y 4 when x 0 dy dy 1 28. x y y 0 y 4 when x 1 7. 2x 8. dx dx x 29. xy 4 y 0 y 5 when x 0 dy dy dy 9.3y2 1 10. x2y 30. x21 y y 3 when x 0 dx dx dx dy dy 31. dP 6P dt 0 P 5 when t 0 11.y 1 2x 12. 1 y 4x 0 dx dx 32. dT kT 70 dt 0 T 140 when t 0 13.y xy 0 14. y y 5 dy et dy 15. 16. e y 3t2 1 dt 4y dt dy dy x 17. 1 y 18. dx dx y APPENDIX C Differential Equations A33

In Exercises 33 and 34, find an equation for the graph that passes 41. Learning Theory The management of a factory has through the point and has the specified slope. Then graph the found that a worker can produce at most 30 units per day. equation. The number of units N per day produced by a new employ- 33. Point: 1, 1 ee will increase at a rate proportional to the difference between 30 and N. This is described by the differential 6x Slope: y equation 5y dN k30 N 34. Point: 8, 2 dt 2y Slope: y where t is the time in days. Solve this differential equation. 3x 42. Sales The rate of increase in sales S (in thousands of Velocity In Exercises 35 and 36, solve the differential equation units) of a product is proportional to the current level of to find velocity v as a function of time t if v 0 when t 0. The sales and inversely proportional to the square of the time t. differential equation models the motion of two people on a This is described by the differential equation toboggan after consideration of the force of gravity, friction, and dS kS air resistance. dt t2 dv 35. 12.5 43.2 1.25v where t is the time in years. The saturation point for the dt market is 50,000 units. That is, the limit of S as t → is dv 50. After 1 year, 10,000 units have been sold. Find S as a 36. 12.5 43.2 1.75v dt function of the time t. 43. According to the econo- : Newton’s Law of Cooling In Exercises 37–39, Economics: Pareto’s Law use Newton’s Law of Cooling,which states that the rate of change mist Vilfredo Pareto (1848Ð1923), the rate of decrease of in the temperature T of an object is proportional to the difference the number of people y in a stable economy having an income of at least x dollars is directly proportional to the between the temperature T of the object and the temperature T0 of the surrounding environment. This is described by the differ- number of such people and inversely proportional to their income x. This is modeled by the differential equation ential equation dT dt k T T0 . dy y 37. A steel ingot whose temperature is 1500F is placed in a k . room whose temperature is a constant 90F. One hour later, dx x the temperature of the ingot is 1120F. What is the ingot’s Solve this differential equation. temperature 5 hours after it is placed in the room? 44. Economics: Pareto’s Law In 1998, 8.6 million people 38. A room is kept at a constant temperature of 70F. An object in the United States earned more than $75,000 and 50.3 placed in the room cools from 350F to 150F in 45 min- million people earned more than $25,000 (see figure). utes. How long will it take for the object to cool to a Assume that Pareto’s Law holds and use the result of temperature of 80F? Exercise 43 to determine the number of people (in mil- 39. Food at a temperature of 70F is placed in a freezer that is lions) who earned (a) more than $20,000 and (b) more than set at 0F. After 1 hour, the temperature of the food is 48F. $100,000. (Source: U.S. Census Bureau)

(a) Find the temperature of the food after it has been in the Pareto’s Law freezer 6 hours. y (b) How long will it take the food to cool to a temperature of 10F? 150

40. Biology: Cell Growth The rate of growth of a spheri- cal cell with volume V is proportional to its surface area S. 100 For a sphere, the surface area and volume are related by 23 (25,000, 50.3) S kV . So, a model for the cell’s growth is 50 dV kV 23. (75,000, 8.6)

dt Number of people (in millions) x Solve this differential equation. 50,000100,000 150,000 200,000 Earnings (in dollars)