Differential Equations

Size: px
Start display at page:

Download "Differential Equations"

Transcription

1 Differential Equations 1 By: Patrick Bourque Designed for students of MATH 242 at The University of Texas at Dallas.

2 2

3 Contents 1 First Order Equations Separable Equations First Order Linear Equations Bernoulli Equation Homogenous Equation Shift to Homogenous The z α Substitution Equations of the form: y =G(ax+by+c) Exact Equations Integrating Factors for non-exact Equations Orthogonal Trajectories Second Order Equations Wronskian, Fundamental Sets and Able s Theorem Reduction of Order Equations of the form y =f(x,y ) and y =f(y,y ) Homogenous Linear Equations with Constant Coefficients The Method of Undetermined Coefficients Variation of Parameters Cauchy Euler Equation Everyone Loves a Slinky: Springs Circuits Series Solution Series Solutions Around Ordinary Points Method of Frobenius: The Gamma Function Bessel s Equation Laplace Transform Calculating Laplace and Inverse Laplace Transforms Solving Initial Value Problems Unit Step Function Convolution

4 4 CONTENTS 4.5 Delta Function First Order Systems of Differential Equations Homogenous Linear Systems Non Homogenous Linear Equations Locally Linear Systems Linear Systems and the Laplace Transform

5 Chapter 1 First Order Equations. 1.1 Separable Equations A Differential Equation is Separable if it can be written as: The Solution is found by integrating both sides. f(x) = g(y) An Example: Solution: e x y = (e 2x + 1) y() = 1 e x e 2x + 1 = y Using the substitution u = e x, du = e x on the integral on the left du u = y arctan(u) + C = ln y arctan(e x ) + C = ln y Applying our initial conditions arctan(1) + C = ln(1) π 4 + C = C = π 4 arctan(e x ) π 4 = ln y Solving for y gives the solution to the differential equation: 5

6 6 CHAPTER 1. FIRST ORDER EQUATIONS. y = e arctan(ex ) π 4 An Application: A parachutist falling toward Earth is subject to two forces: the parachutist weight (w = 32m) and the drag of the parachute. The drag of the parachute the drag is proportional to the velocity of the parachute and in this case is equal to 8 v. The parachutist weight is 128lb and initial velocity is zero. Find formulas for the parachutists velocity v(t) and distance x(t). Since x(t) increases as the parachutist falls, the downward direction is the positive direction. The force from the parachutist s weight acts in the positive direction while the drag from the parachute acts in the negative direction. Since the parachutist falls down (the positive direction) velocity is always positive so v = v. The resultant force will be the force of the weight of the parachutist minus the force of the drag of the parachute: And the mass of the parachutist is: F = 128 8v By Newton s second law: 128 = 32m m = 4 This gives a differential equation: F = ma = 4 dv dt since a = dv dt This equation is Separable: Integrating 4 dv dt = 128 8v dv 32 2v = dt 1 2 Applying the initial condition v() = ln(32 2v) = t + C or ln(32 2v) = 2t + C Solving for v(t) gives: C = ln(32) The parachutist terminal velocity is given by: v(t) = 16 16e 2t

7 1.1. SEPARABLE EQUATIONS 7 lim v(t) = lim 16 t t 16e 2t = 16ft/sec We can now find an equation: x(t) for how far the parachutist has fallen: Since x() = we see that K = 8. Thus, x(t) = v(t)dt = (16 16e 2t )dt = 16t + 8e 2t + K x(t) = 16t + 8e 2t 8 1. Show is a solution to y = cosh(x) = ex + e x 2 K = 1 y 2 where K is the curvature K = y (1 + (y ) 2 ) Find the values of r so that y = e rx is a solution to Then find a differential equation that has solutions y 6y + 11y 6y = y 1 = e 2x y 2 = e 3x y 3 = e 4x 3. Find the values of r so that y = e rx is a solution to y 9y + 26y 24y = 4. Find the values of k so that y = sin(kx) is a solution to y + 1y = 5. Find the values of k and r so that y = e rx sin(kx) is a solution to

8 8 CHAPTER 1. FIRST ORDER EQUATIONS. y + 4y + 13y = 6. Find the values of n so that y = x n is a solution to x 2 y + 7xy + 8y = 7. The Clairaut Equation is Show y = kx + f(k) is a solution for some constant k. Use the above result to find a solution to y = xy + f(y ) y = xy + (y ) 3 8. Show is a solution to y = { e x 1 x 1 e x x < y = y Remember, you must use the definition of the derivative to calculate y (). Solve the differential equation (x 2 + 1) = (4x + xy 2 ) y() = 2 1. Solve the differential equation (2xy + 2x) = e x2 y( ln(5)) = 11. Solve the differential equation 12. Solve the differential equation = 16x 2 y 4x 2 y 2 y(2) = 1 ( = ln x + y x 2 1) y(1) = e

9 1.1. SEPARABLE EQUATIONS Solve the differential equation x = (y 2 + 4y + 5) x 3 1 y() = Solve the differential equation 15. Solve the differential equation (x 3 x 2 + x 1) = (3x 2 y 2xy + y) y() = e y + xy = arcsin(x) y() = A Solve the differential equation 17. Solve the initial value problem cos(2x) = (1 + sin(2x))(cos(x) sin(x))(1 + y 2 ) ( ) π y = Solve the initial value problem 19. Solve the initial value problem 2. Solve the initial value problem 21. Solve 1 x2 = 2xy 4x ln(x) + 4xy ln(x) = y 15e y sin 3 (x) = cos 6 (x) 1 + y = (1 + sin(x)) y(1) = 2 y(e) = y() = ln(2) y() = 22. Solve (e x e x )(y 2 + 1) = (2ye x + 2ye x )

10 1 CHAPTER 1. FIRST ORDER EQUATIONS. 23. (y 2 + 1) = (x x 5 4 ) 24. sin(x) = cos 2 (x) + cos 2 (x) y x 2 (y + y) = (x 4 + 2x 2 + 1) Solve = xex (y 2 + 4y + 5) x 2 + 2x + 1 y() = Solve the differential equation xe 3x y = 2(3x + 1) 2 x 2 y + 1 = y 1 x Solve the differential equation (xy + 2x + y + 2) = (x 2 y 2 + 2xy 2 ) Solve the differential equation 4 xy + xy 2 + x 2 y + x 2 y 2 = 1 Use the Second Fundamental Theorem of Calculus to verify is a solution to y = Ce x a g(u)du 31. y + g(x)y =

11 1.1. SEPARABLE EQUATIONS 11 Use the substitution u = ye x to transform the equation into a separable equation and then solve it y + (1 + y 2 e 2x ) = Use the substitution y = ze x to transform the equation into a separable equation and then solve it Use the substitution z = y+3 x+1 Use the substitution z = y+1 x 2 +1 = y + e 2x y 2 to transform the equation into a separable equation and then solve it = y + 3 x ( ) 2 y 3x x + 1 to transform the equation into a separable equation and then solve it = 2x y + 1 x x2 + 1 y x 2 Use the substitution z = y 2 + x 1 to transform the equation into a separable equation and then solve it 2y = y2 + x 1 Some times it is useful to convert a differential equation to polar coordinates before solving it. The conversions to polar coordinates is: x = r cos θ y = r sin θ Calculating the total differential of both x and y we get: = cos θdr r sin θdθ = sin θdr + r cos θdθ 36. Making sin θdr + r cos θdθ = cos θdr r sin θdθ Use this conversion to polar coordinates to solve the next two problems: Solve by converting to polar coordinates 37. Solve by converting to polar coordinates x + y = x

12 12 CHAPTER 1. FIRST ORDER EQUATIONS. 38. Solve by converting to polar coordinates x(x + y) = (y x 2 ) Solve by converting to polar coordinates (2xy + 3y 2 ) = (2xy + x 2 ) = y3 + x 2 y x y x 3 + xy 2 x + y Salt water containing.25 pounds of salt per gallon is being pumped into a tank initially containing 1 gallons of water and 1 pounds of salt at a rate of 4 gallons per minute. The mixture in the tank is kept well stirred and fluid flows out of the tank at a rate of 4 gallons per minute. Find a formula that represents the amount of salt in the tank at any time. 41. The logistic differential equation that models the size of a population of species in an environment of fixed size is given by the following differential equation: dp = kp (M P ) dt where M is the carrying capacity of the environment: that is, M is the maximum population of the species that can fit in the environment and k > is a constant depending on the reproduction rate of the species. For example if P represent the population of a bacteria in a petri dish then M would be the maximum population of the bacteria in the dish. We also see from the differential equation if a population P is less than M then dp dt > and the population will increase and approach the carrying capacity and if P is greater than M then dp dt < and the population will decrease and approach the carrying capacity. Note: This is an example of an Autonomous Differential Equation. With an Autonomous Differential Equation the right hand side of the equation is a function of the dependent variable alone; that is dp dt = F (P ) (there are no t) on the right hand side. Show the population is increasing fastest when the population is half the carrying capacity then solve this differential equation for the population P (t) by separating and applying partial fractions and then and show: 42. lim P (t) = M t Then solve this differential equation with the substitution z = 1 P It has been calculated that the world population cannot exceed 2 billion people. In 197 the population was 3.7 billion and in 214 the population grew to 6.8 billion. Write a logistic differential equation representing the world population and solve it for the world population as a function of time. When will the population exceed 1 billion? 43. Another type of population model is the Gopertz growth model. It is similar to the logistic equation in that the model assumes the population will increase at a rate proportional to the size of the population.that means the population will

13 1.1. SEPARABLE EQUATIONS 13 increase a a rate of kp (t). The like the logistic model the Gopertz growth model also takes into account the maximum population a species can have in an environment of fixed size ( and) resources. Instead of using (M P (t)) as a factor like the logistic model does the Gopertz growth model uses ln as a factor, with M being the maximum population (carrying capacity). The Gopertz growth model is dp dt = kp ln M P (t) ( ) M P We also see from the differential equation if a population P is less than M then dp dt > and the population will increase and approach the carrying capacity and if P is greater than M then dp dt < and the population will decrease and approach the carrying capacity. k > Show the population is increasing fastest when the population is M e population P (t) as a function of time and show: and then solve this differential equation for the 44. lim P (t) = M t 2 fish of a particular species are introduced to a lake which can sustain no more than 3 fish. After 2 years the fish population had increased to 8 fish. If the population follows the Gopertz growth model how long after the introduction of the fish to the lake will the population reach 2 fish. Repeat the calculation using the logistic model and compare the results. 45. Differential equations can also be used to model the genetic change or evolution of a species. A commonly used hybrid selection model is dt = ky(1 y)(a by) With y represents the portion of a population that has a certain characteristic and a, b, k constants and t is time measured in generations. At the beginning of a stu of a population of a particular species it is found that half population had the advantageous trait T and three generations later 6 percent of the population had trait T. Use the hybrid selection model with a = 2 and b = 1 to determine the number of generations it will take until more than 8 percent of the population has trait T. 46. Newton s law of cooling states that an object with temperature T in a medium of constant temperature M will experience a change in temperature proportional to the difference in the temperature of the object and the medium (M T ). This gives the differential equation: dt dt = k(m T ) A cup of 17 coffee is place in a 75 room. After 1 minutes the coffee is measured to have a temperature of 15. How long will it take for the coffee to cool to 12? 47. In the stu of learning it has been shown that a person s ability to learn a task is governed by the differential equation

14 14 CHAPTER 1. FIRST ORDER EQUATIONS. dt = 2py 3 2 (1 y) 3 2 n Where y represents the level that a student has learned a skill as a function of time and n and p are constants depending on the person learning the skill and the diffuculty of learning the skill. Solve this differential equation with the initial condition y() = and p = 1, n = Torricelli s Law states that water draining from a tank of volume V (t) through a hole of area a in the bottom will have an exiting velocity of v(t) = 2gy(t) where y(t) measures the height of the water level above the hole in the tank. The change in volume in the tank is given by dv dt = av(t) = a 2gy(t) If A(y) denotes the area of the cross section of the tank at height y then for any slice of water at a height of y and thickness will have volume V (y) = y A(y) Using the second fundamental theorem of calculus to differentiate this integral gives equating this result to the previous formula for dv dt dv dt = A(y) dt gives Torricelli s Law: A(y) dt = a 2gy(t) Use the above results to find how long it takes a spherical tank with radius of 6 inches to be drained through a 1 inch hole in the bottom. 49. Show that if y 1 and y 2 are solutions to and y + P (x)y = Q 1 (x) respectively then y = y 1 + y 2 is a solution to y + P (x)y = Q 2 (x) 5. y + P (x)y = Q 1 (x) + Q 2 (x)

15 1.2. FIRST ORDER LINEAR EQUATIONS 15 Show that if y 1 and y 2 are solutions to and y + P (x)y 2 = Q 1 (x) respectively then y = y 1 + y 2 is not a solution to y + P (x)y 2 = Q 2 (x) y + P (x)y 2 = Q 1 (x) + Q 2 (x) 51. There are about 33 families of human languages spoken in the world. Assuming that all languages have evolved from a single language and that one family of languages evolves into 1.5 families of language every 6 years how long ago was the original language spoken? 52. For every point P(x, y) on a curve in the first quadrant, the rectangle containing the points O(, ) and P(x, y) as vertices is divided by the curve into two regions: upper region A and lower region B. If the curve contains the point Q(1, 3), and region A always has twice the area of region B, find the equation of the curve. 53. Find a function f(x) with the following properties: The average value of f on [1, x] is equal to twice the functions value at x and f(2) = Find a function F (x, y) with the following properties: The normal line to the curve always contains the point (, ). 1.2 First Order Linear Equations A Differential Equation is First Order Linear if it has the form: + P (x)y = Q(x) To solve this equation we recognize the left hand side: + P (x)y looks close to the derivative of the product of some function times y. Idea: multiply both sides of the equation by some function I(x) to make the left hand side the derivative of the product of I(x) times y. Multiplying both sides by I(x) gives: I(x) + I(x)P (x)y = I(x)Q(x) If the left hand side is the derivative of the product I(x) y: ( ) d I(x) y = I(x) + I (x) y Then: So I(x) + I(x)P (x) y = I(x) + I (x) y

16 16 CHAPTER 1. FIRST ORDER EQUATIONS. I(x)P (x) y = I (x) y Integrating gives: I (x) I(x) = P (x) ln I(x) = P (x) Solving for the Integrating Factor I(x) gives: I(x) = e P (x) After multiplying both sides of the original differential equation by I(x) the left hand side is the derivative of the product I(x) y so the equation: Becomes: Integrating gives: I(x) + I(x)P (x)y = I(x)Q(x) ( ) d I(x) y = I(x)Q(x) ( ) I(x) y = I(x)Q(x) And the solution is given by: An Example: y = 1 ( I(x) ) I(x)Q(x) + C cos(x) + sin(x)y = sec2 (x) Writing the differential equation in standard form: Creating the integrating factor + tan(x)y = sec3 (x) Our Solution is: ( y = cos(x) I = e tan(x) = e ln(sec(x)) = sec(x) y = 1 ( sec(x) ) ( sec 4 (x) + C = cos(x) ) sec(x) sec 3 (x) + C ) sec 2 (x)(1 + tan 2 (x)) + C

17 1.2. FIRST ORDER LINEAR EQUATIONS 17 ( y = cos(x) sec 2 (x) + ) tan 2 (x) sec 2 (x) + C Using the substitution u = tan(x), du = sec 2 (x) on the second integral ( y = cos(x) sec 2 (x) + ) u 2 du + C ( ) y = cos(x) tan(x) + u3 3 + C ( y = cos(x) tan(x) + 1 ) 3 tan3 (x) + C Example In this next example we will transform a nonlinear differential equation into a linear equation by converting it to polar coordinates. Let x = r cos θ, y = r sin θ (x 2 + y 2 + x) = y Therefore = cos θdr r sin θdθ and = sin θdr + r cos θdθ Under this substitution our differential equation becomes: (r 2 + r cos θ)(sin θdr + r cos θdθ) = r sin θ(cos θdr r sin θdθ) Multiplying things out gives Which reduces to r 2 sin θdr + r 3 cos θdθ + r cos θ sin θdr + r 2 cos 2 θdθ = r sin θ cos θdr r 2 sin 2 θdθ r cos θdθ + sin θdr + dθ = This is first order linear with integrating factor dr + cot θr = csc θ dθ And the solution is... I = e cot θdθ = sin θ

18 18 CHAPTER 1. FIRST ORDER EQUATIONS. which reduces to r = 1 ( sin θ ) sin θ csc θdθ + C r = C θ sin θ Or r sin θ = C θ Converting back to rectangular coordinate system gives the solution: 55. y = C arctan ( ) y x xy 3y = x 4 y(1) = y + e x y = e x y + tan(x)y = tan(x) y() = 2e ( ) π y = 1 4 y + 4 sec(x)y = sec(x)(sec(x) + tan(x)) 59. y + cos(x)y = sin(2x) 6. y + e x y = e x 61.

19 1.2. FIRST ORDER LINEAR EQUATIONS x 2 + y = 1 y() = x 4 + 3y = xex y() = cos(x) 1 + sin(x) y = 1 y() = 1 + 6x2 4x + 8 x 3 x 2 + 4x 4 y = e x 3 +12x (x 1) 2 (x 2 + 4) cos(x) sin(x) + cos(x) + sin(x) y = sec3 (x) y() = 4 (1 x 2 ) xy = 1 ( ) 1 3 y = x + 1 y = e x y(1) = x (1 + x 2 ) + (4x2 4x + 2)y = 9 ln(x) y(1) = + sin(x)y = sin(2x) + y 1 + e x = 1 e 2x + 2xe x + x 2 y() =

20 2 CHAPTER 1. FIRST ORDER EQUATIONS xy = (2 + x 2 ) y(1) = (1 + x 2 ) 2xy = (1) y() = 1 cos 2 (x)y + y = 1 y() = sin(x) + cos(x)y = ln(x) (e x + e x ) + ( (e x + e x ) 2 (e x e x ) (1 + x 4 ) 4x3 y = (x 5 + x) arctan(x 2 ) ) y = 1 y(1) = π (1 + x 2 ) + xy = (x2 + 1) 5 2 y() = 1 (1 + x 2 ) 4xy = x2 + 6x x 4 + 5x y = x

21 1.2. FIRST ORDER LINEAR EQUATIONS x2 4x 1 x 3 2x 2 y = (x 2) arctan(x) + x 2 y x = y2 e y tan2 (x) x + tan(x) y = cos(x) + (3x2 + 2x)y = 3x 5 + 5x 4 + 2x cos 3 (x) sin(x) cos(x)(1 + cos(x)) y = cos2 (x) 86. = cos2 (x) y + tan(x) Find all values of k so that the solution y approaches as x approaches 87. Express the solution to y + k x y = x2 in terms of the error function: 88. The solution to the differential equation is = 1 + 2xy erf(x) = 2 x e t2 dt π + P (x)y = Q(x) y(x) = Ce 2x + t + 1

22 22 CHAPTER 1. FIRST ORDER EQUATIONS. 89. Find functions P (x) and Q(x). Salt water containing.25 pounds of salt per gallon is being pumped into a tank initially containing 1 gallons of water and 1 pounds of salt at a rate of 4 gallons per minute. The mixture in the tank is kept well stirred and fluid flows out of the tank at a rate of 2 gallons per minute. Find a formula that represents the amount of salt in the tank at any time. 9. At t = one unit of a drug is administered to a patient who is hooked up to an IV drip supplying him with more of the drug so that one unit of the drug is always present in his system. If the patient s liver removes 15 percent of the drug each hour how much of the drug must be administered by the IV each hour to keep 1 unit of the drug present? 91. The following equation is not separable or linear. Use the substitution u = e 2y to transform it into a linear equation and solve it y 2xe = 3x4 + e 2y The following equation is not separable or linear. Use the substitution u = e y to transform it into a linear equation and solve it x = e y 1 + x 3 The following equation is not separable or linear. Use the substitution u = tan(y) to transform it into a linear equation and solve it. 94. sec 2 (y) 3 tan(y) = x4 x The following equation is not separable or linear. Use the substitution u = 1 4+y and solve it (4 + y) 2 2 x(4 + y) = ln(x) to transform it into a linear equation The following equation is not separable or linear. Use the substitution y = e u to transform it into a linear equation and solve it. 96. x 4x2 y + 2y ln(y) = The following equation is not separable or linear. Use the substitution z = ln(y) to transform it into a linear equation and solve it. 97. x + 2y ln(y) = 4x2 y

23 1.2. FIRST ORDER LINEAR EQUATIONS The following equation is not separable or linear. Use the substitution z = ln(y) to transform it into a linear equation. + f(x)y = g(x)y ln(y) The following equation is not separable or linear. Use the substitution u = y 2 to transform it into a linear equation and solve it xy + 2y2 = 3x 6 The differential equation governing the velocity v of a falling object subject to air resistance is m dv dt = mg kv k > v() = v Solve this differential equation and determine the limiting velocity of the object. If A(t) represents the amount of money in an account then the change in the amount in the account is given by: da = Deposits Withdraws + Interest dt With a constant interest rate r the interest on the account is ra (remember A is the amount of money you will be getting interest on). This makes the differentia equation: In first order linear form: da dt = Deposits Withdraws + ra da ra = Deposits Withdraws dt Use this differential equation to solve the following: A person opens an account yielding 3 percent interest is opened with an initial investment of 1 dollars. On the first year they deposit 1 dollars, the year month 11 dollars, the third year 12 dollars... So each year they deposit 1 dollars more than the year before. How much will they have in the account in ten years? 11. An equation of the form: while y + P (x)y = is called a first order linear homogenous (Q(x)=) differential equation. It can be solve by separation of variables y + P (x)y = Q(x) cannot. Show that if y h (x) is the solution to the homogenous equation y + P (x)y =

24 24 CHAPTER 1. FIRST ORDER EQUATIONS. then is the solution to the nonhomogenous equation y(x) = y h (x) Q(x) y h (x) Use this technique to solve: y + P (x)y = Q(x) xy + y = e 4x The Riccati Differential Equation is an equation of the form: = P (x)y2 + Q(x)y + R(x) If u(x) is a solution to the equation then the substitution y = u + 1 v linear equation Solve the Riccati Equation: Solve the Riccati Equation: will transform the equation into a first order = 8xy2 + 4x(4x + 1)y (8x 3 + 4x 2 1) u(x) = x is one solution 14. Show the nonlinear differential equation = x3 (y x) 2 + y x u(x) = x is one solution (y ) 2 + y y = x 2 + xy can be factored into (y + y + x)(y x) = Set each factor to zero and solve each of the differential equations. Then show each solution you obtain is also a solution to the original differential equation. 15. Find a function f such that its average value on [, x] is equal to the function squared.

25 1.3. BERNOULLI EQUATION Bernoulli Equation The Bernoulli Differential Equation is a nonlinear equation of the form: + P (x)y = Q(x)yn After the substitution z = y 1 n the Bernoulli Equation will be First Order Linear. Differentiating gives: dz = (1 n)y n Multiplying both sides of the Bernoulli equation by (1 n)y n gives: Under the substitution this equation becomes: Which is a First Order Linear differential equation. An Example: n (1 n)y + (1 n)p (x)y1 n = (1 n)q(x) dz + (1 n)p (x)z = (1 n)q(x) + 2xy = 2 e3x +2x y 4 Let z = y 1 4 = y 3 So Multiplying both sides of the differential equation by 3y 4 gives: dz = 3y 4 4 3y + ( 6x)y 3 = 3e 3x 2 +2x Under our substitution our differential equation becomes: This is First Order Linear. Our Integrating Factor is: dz + ( 6x)z = 2 +2x 3e3x I = e ( 6x) = e 3x2 The solution is: Back substituting gives: z = 1 ( e 3x2 ( z = e 3x2 3 ) e 3x2 ( 3e 3x2 +2x ) + C ) ( ) 3 e 2x + C = e 3x2 2 e2x + C 1 y 3 = e3x +2x + Ce 3x2 = Ce3x2 3e 3x2 +2x 2

26 26 CHAPTER 1. FIRST ORDER EQUATIONS. So y 3 = 2 Ce 3x2 3e 3x2 +2x 2 y = 3 Ce 3x2 3e 3x2 +2x y + xy2 x = x + cot(x)y = cos3 (x) y x y 2 = x arcsin(x)y5 = y4 cos(x) + y tan(x) + 9x + 2 9x 2 + 4x y = ln(x)y 1 + x 2 + 2x 2 y = 1 xy sec(x) tan(x) 1 + sec(x) y = sin3 (x) cos 4 (x) y2

27 1.3. BERNOULLI EQUATION cos 2 (x) + y = 4 sin(x) cos(x)y y = (1 cos(2x))y3 sin(2x) + cos(x) sin(x) y = cos3 (x)y 3 x y = 2y ex 5 + 5x x y = (x2 + 1)y 2 x + y = y2 x + tan(x)y = sec4 (x)y cos(x) 1 + sin(x) y = cos3 (x)y 1 + cos(x) sin(x) y = (cos(x) sin(x))y 2 3 cos(x) + 3 sin(x) = 1 xy + x 2 y 3

28 28 CHAPTER 1. FIRST ORDER EQUATIONS Use the substitution u = e y to transform the equation into a Bernoulli equation and then solve it + 1 x = 6xe3y Another differential equation that can be transformed into a first order linear differential equation is Lagrange s Equation. This is an equation of the form: y = xf (y ) + G(y ) To simplify notation let y = p and our equation becomes Differentiating with respect to x gives y = xf (p) + G(p) Or Solving for dp y = xf (p) dp + F (p) + G (p) dp p = xf (p) dp + F (p) + G (p) dp 124. In standard form This is now a first order linear equation Solve the Lagrange Equation p F (p) = (xf (p) + G (p)) dp dp = p F (p) xf (p) + G (p) ( F ) ( dp = (p) G ) (p) x + p F (p) p F (p) ( F ) ( dp + (p) G ) (p) x = F (p) p p F (p) y = 2xy + 4(y ) 3 You may leave your solution in parametric form with p the parameter Solve the Lagrange Equation y = 2xy 9(y ) 2 You may leave your solution in parametric form with p the parameter.

29 1.4. HOMOGENOUS EQUATION Homogenous Equation A differential equation is Homogenous if it has the form: The substitution z = y x ( ) y = f x or y = xz will transform the Homogenous equation into a Separable equation. = z + x dz Under this substitution the Homogenous equation becomes: This reduces to the Separable equation An Example: Solve z + x dz = f(z) dz f(z) z = x Solution: = y3 + 2x 2 y xy 2 + x 3 Multiplying the numerator and denominator on the right hand side by 1 x 3 gives: 3 y = x + 2 y 3 x y 2 x Let z = y so y = xz x Under this substitution our differential equation becomes: z + x dz = z3 + 2z z x dz = z z z + 1 dz = z x ( z + 1 ) = z x z ln(z) = ln(x) + C = z + x dz 1 y 2 ( ) y 2 x 2 + ln = ln(x) + C x Since we cannot solve for y this implicit solution is our final answer.

30 3 CHAPTER 1. FIRST ORDER EQUATIONS. Notice the sum of the exponents in both terms in the numerator and both terms in the denominator is 3. Whenever the sum of the exponents in each term in the problem is the same constant you should consider using the homogenous substitution to solve the differential equation. The first practice problem should help reinforce this idea = y4 + x 2 y 2 + x 4 x 3 y = 2y5 + x 2 y 3 + 3x 4 y 2xy 4 + 3x 5 = 13y6 + 18x 2 y 4 + 3x 5 y 12xy x 3 y 3 + 2x 6 = y x + cos2 ( ) y x = y y x + x + 1 = 6y3 5xy 2 + 2x 2 y x 3 5xy 2 4x 2 y + x 3 = y4 + xy 3 + 2x 2 y 2 + x 4 xy 3 = ( ) 3 y 2 y y + x x + x

31 1.4. HOMOGENOUS EQUATION 31 ( y 2 ln = xy ln ) + x 2 ( ) y x y x x sin = ( x y arctan x sin ( ) ( ) y y x = y sin + x x (( ) 3 y + x = y x + tan4 ( ) 3 )( ) 1 y 2 x x y ( ) y x ( ) x + y 2 = x ( )) y + x arctan x = ( ) y 2 tan 2 y x + x 2 ( ) xy tan 2 y ( ) ( ) y y x = y sin xe y x x x ( ) y = x = 2y2 + 2xy + 2x 2 xy

32 32 CHAPTER 1. FIRST ORDER EQUATIONS = y3 + 2xy 2 + x 2 y + x 3 x(x + y) 2 y(ln(y) ln(x) + 1) = x x = y + x 2 + y 2 y(1) = = = csc2 ( ) y + y x x 2xye ( x y )2 y 2 + y 2 e ( x y )2 + 2x 2 e ( x y )2 = y x + xy ( x + y + x y) + ( x y x + y) = y(1) = (2(y 1)(x + y 1) + (y 1) 2 ) + (4(y 1)(x + y 1) + (x + y 1) 2 ) = e x y (y x) + y(1 + e x y ) = Use the substitution z = y x to solve the following differential equation

33 1.5. SHIFT TO HOMOGENOUS 33 x = (x 2 + y 2 + y) 153. Use the substitution z = y x 2 to solve the following differential equation = 2y ( ) y x + cos x Use the substitution z = y x to solve the following differential equation = y 2x + y2 x Use the substitution z = y x 2 to solve the following differential equation = 2y ( ) y x + cos x Use the substitution u = x 2 + y 2 v = xy to solve the following differential equation (x 2 + y 2 )(x + y) xy(x + y) = 157. Use the substitution u = x 3 v = y 2 to solve the following differential equation 3x 5 y(y 2 x 3 ) = 158. Use the substitution u = xy to solve the following differential equation x + y = x 2 y Shift to Homogenous A differential equation can shifted to produce a Homogenous differential equation if it is of the form: = a 1x + b 1 y + c 1 a 2 x + b 2 y + c 2

34 34 CHAPTER 1. FIRST ORDER EQUATIONS. If the constant terms c 1 and c 2 are both zero then the above equation is alrea Homogenous. This provides the motivation of shifting x and y by a constant so that the resulting equation has constant terms c 1 and c 2 both equal to zero. To shift this into a Homogenous differential equation use the substitutions: x = x + h y = y + k With h and k chosen so that the two equations: reduce to: a 1 x + b 1 y + c 1 = a 2 x + b 2 y + c 2 = a 1 x + b 1 y = a 2 x + b 2 y = The idea is motivated by the fact that if the constants c 1 and c 2 are both zero then: is Homogenous. So choose h and k to be the solutions to: = a 1x + b 1 y + c 1 a 2 x + b 2 y + c 2 An Example: a 1 h + b 1 k + c 1 = a 2 h + b 2 k + c 2 = = x 2y 2 2x + y + 6 x, y > 2 Solving system of equations: x 2y 2 = 2x + y + 6 = x = 2 + 2y 2(2 + 2y) + y = 6 5y = 1 y = 2 x = 2 We will use the substitution x = x 2 and y = y 2 making = Our differential equation becomes: = x 2y 2x + y Multiplying the numerator and denominator on the right hand side by 1 x gives: = 1 2 y x 2 + y x Letz = y y = zx x Under this substitution our differential equation becomes: = z + x dz z + x dz = 1 2z 2 + z

35 1.5. SHIFT TO HOMOGENOUS 35 x dz = z2 4z + 1 z + 2 Integrating gives: z + 2 z 2 4z + 1 dz = x 1 2 ln z2 4z + 1 = ln x + C Multiplying by 2 and negating the contents inside the absolute value bars on the left gives ln z 2 + 4z 1 = ln x 2 + C Completing the square on the left gives z 2 + 4z 1 = C x 2 (z + 2) 2 = C x Extracting a square root gives (z + 2) 2 = C + 5x2 x 2 z + 2 = C + 5x 2 Since both x and y are greater than -2, x > and z + 2 >. So we get z + 2 = x C + 5x 2 x C + 5x 2 z = 2x x x y C + 5x 2 x = 2x x x y = C + 5x 2 2x and our final solution is y + 2 = C + 5(x + 2) 2 2(x + 2) y = C + 5(x + 2) 2 2x 6 The same differential equation can be solved using the substitution u = x 2y 2 and v = 2x + y + 6 but the solution is a bit longer (try it and see which solution you prefer).

36 36 CHAPTER 1. FIRST ORDER EQUATIONS x + 3y + 2 = 9x + 5y 1 = x y 3 x + y 1 = x + 3y + 4 4y 3x + 1 = x y + 1 x + y = x + y + 3 2y x + 3 = 2x + y y x + 1 = x + y + 1 x y + 3 = 3 2x y x + y 1 5x + 4y 3 = 6x y + 8 = 1 (x + y 1) 2 2 (x + 2) 2

37 1.6. THE Z α SUBSTITUTION The z α Substitution In the previous section we learned how to shift an equation into a homogenous equation but our shifting method only worked for equations of the form: = a 1x + b 1 y + c 1 a 2 x + b 2 y + c 2 where the exponents of the x and y term were 1. Now we will stu a substitution that works when the exponents are not 1. An Example: (x 2 y 2 2) + (xy 3 ) = This differential equation is almost homogenous: the sum of the exponents in x 2 y 2 and xy 3 are both 4. In fact, if the 2 was not involved in the equation it would be homogenous. This is a good candidate for a z α substitution. y = z α = αz α 1 dz Under this substitution the differential equation becomes: (x 2 z 2α 2)αz α 1 dz + xz 3α = α(x 2 z 3α 1 2z α 1 )dz + xz 3α = We will now choose α so that the exponents on each term sum to the same value. So we choose α so that: 3α + 1 = α 1 α = 1 If α = 1 our equation becomes: (x 2 z 4 2z 2 )dz + xz 3 = Dividing both numerator and denominator by x 2 gives (x 2 z 4 2z 2 ) dz + xz 3 = dz = xz 3 x 2 z 4 2z 2 dz = xz x 2 2z 2 z dz = x 1 2 z2 x 2 This is now a homogenous equation so we make the following substitution: u = z x z = ux dz = u + xdu

38 38 CHAPTER 1. FIRST ORDER EQUATIONS. Under this substitution our equation becomes: This is now a separable differential equation u + x du = u 1 2u 2 x du = 2u3 1 2u 2 Integrating gives 1 2u 2 2u 3 du = x Since u = z x and z = y 1 u = 1 xy the solution becomes 1 ln u = ln x + C 4u Or x 2 y 2 4 ln 1 = ln x + C xy x 2 y 2 + ln xy = ln x + C 4 (2x 2 y 1) + 2xy 2 = 17. (x 2 y + 1) + xy 2 = 171. (xy 3 + 1) + y 4 = 172. (x 2 y 4 + 4) + xy 5 = 173. (xy + 2) y 2 =

39 1.7. EQUATIONS OF THE FORM: Y =G(AX+BY+C) Equations of the form: y =G(ax+by+c) If a differential equation is of the form: = G(ax + by + c) Then use the following substitution to transform the equation into a Separable Differential Equation: z = ax + by + c Under this substitution our differential equation becomes which reduces to the Separable Differential Equation: An Example: ( ) 1 dz b a = G(z) dz a + bg(z) = = 1 ( ) dz b a ( )( ) = x + y 1 + ln(x + y) 1 Let z = x + y Under this substitution our differential equation becomes: = dz 1 dz 1 = z(1 + ln(z)) 1 dz z(1 + ln(z)) = ln(1 + ln(z)) = x + C 1 + ln(x + y) = Ce x ln(x + y) = Ce x 1 x + y = e Cex 1 And our final solution is: y = e Cex 1 x 174.

40 4 CHAPTER 1. FIRST ORDER EQUATIONS = (x + y 4)2 3 = (2x + 3y 1) + 4(2x + 3y 1) = 1 (x + 2y + 1)e (x+2y+1)2 1 = tan2 (x + y) = sin2 (y x) = (x + y)4 + (x + y) (x + y) 2 = csc2 (4x + y + 1) 4 = sin(x + y) = 1 x + y = e 2x+2y 1 1

41 1.7. EQUATIONS OF THE FORM: Y =G(AX+BY+C) = sec(2y 4x + 1) + tan(2y 4x + 1) + 4 = x y (x y) (x y) 2 4(x y) ln(x y) 1 = 4(x y) ln(x y) = 1 + e 2y 2x 1 = 2e x y e x+y e x y = (4 + (4x + y)2 ) ( ) e y + 1 = xe x ( )( ) = cos 3 (x + y) 1 cos 3 (x + y) Use the substitution z = y + x to solve = sin(2x + 2y) sin2 (x + y) + 2y x + 3 = x2 (x + y) 3

42 42 CHAPTER 1. FIRST ORDER EQUATIONS Use the substitution z = y + x to solve 195. Use the substitution z = y x to solve + 2x + y = 4x x x + y + x(y x) + x3 (y x) 2 = Exact Equations In Multivariable we analyzed the functions of the form z = f(x, y) by stuing their level sets. The level sets of this three dimensional function can be graphed in two dimensional space by replacing z with different constants and analyzing the resulting two dimensional graphs. The total differential of: We also know that mixed partials are equal meaning: f(x, y) = C is f x + f y = f xy = f yx for all f(x, y) = C We will now stu the Exact Differential Equation. An Exact Differential Equation is an equation that was created by calculating the total differential of some function of two or more variable set equal to a constant. In calculus we learned to go from In differential equations we will learn to go from f(x, y) = C to f x + f y = f x + f y = to f(x, y) = C The equation M + N = is Exact if M y = N x If an equation is exact then M is the partial derivative of some function f(x, y) = C with respect to x and N is the partial derivative of the same function with respect to y. So to find f up to a constant we need to integrate M with respect to x (obtaining a constant which will be a function g(y)) or we need to integrate N with respect to y (obtaining a constant which will be a function g(x)). That is: f(x, y) = M + g(y) We then solve for g(y) using the fact that f y = N. That is:

43 1.8. EXACT EQUATIONS 43 f y = y M + g (y) = N And the solve for g(y) and insert it into our formula for f(x, y) and write the final answer as a level set f(x, y) = C An Example: Solution: (8xy 3 + 2xy + 3x 2 ) + (12x 2 y 2 + x 2 + 4y 3 ) = Test for exactness: M = 8xy 3 + 2xy + 3x 2 N = 12x 2 y 2 + x 2 + 4y 3 M y = 24xy 2 + 2x N x = 24xy 2 + 2x Since M y = N x our differential equation is exact, making M = 8xy 3 + 2xy + 3x 2 the partial derivative of the function F we are solving for with respect to x. That is: F x = 8xy 3 + 2xy + 3x 2 So F = (8xy 3 + 2xy + 3x 2 ) = 4x 2 y 3 + x 2 y + x 3 + g(y) Since this equation is exact F y = N. This creates the equation: So F y = 12x 2 y 2 + x 2 + g (y) = 12x 2 y 2 + x 2 + 4y 3 Our final solution is: g (y) = 4y 3 g(y) = y 4 4x 2 y 3 + x 2 y + x 3 + y 4 = C ) ( (6xy + 6y 4 24x 2 + 3x xy ) = y ( ) ( ) y x x 2 + y 2 + x 2 + y 2 = y(1) = 1

44 44 CHAPTER 1. FIRST ORDER EQUATIONS. ( ) ( ) y cos(y) + y sin(x) + xy cos(x) + x sin(x) + x cos(y) xy sin(y) = 199. ( ) ( ) sin(y) + y sin(x) + 2e 2x + x cos(y) cos(x) + sin(y) = 2. (2xe xy + x 2 ye xy ) + (x 3 e xy ) = y(1) = ln(4) ( ) ( ) 3x 2 sin(y) + y cos(y) + x 3 cos(y) + x cos(y) xy sin(y) = ( ) ( ) xy 2 cos(xy) x 2 y cos(xy) + x sin(xy) = ( ) ( ) xy(e xy + 1) + y + x 2 e xy + x = ( ) ( ) xe x e x + y ln(y) + x = ( y(y 2 x 2 ) ) (x 2 + y 2 ) 2 + ( x(x 2 y 2 ) ) (x 2 + y 2 ) 2 = Find the function M(x, y) that makes the following differential equation exact. ( M(x, y) + xe xy + 2xy + 1 ) = x The following differential equation arises from the total differential of a function F with variables: x, y and z set equal to a constant. Find this function F (x, y, z) (2yz 2 + 6xz) + (2xz 2 + 3y 2 z) + (4xyz + 3x 2 + 1y 3 )dz =

45 1.9. INTEGRATING FACTORS FOR NON-EXACT EQUATIONS The following differential equation arises from the total differential of a function F with variables: x, y and z set equal to a constant. Find this function F (x, y, z) (yz + 1) + (xz + 2y) + (xy + 3z 2 )dz = 1.9 Integrating Factors for non-exact Equations If a differential equation is not exact: M y N x sometimes we can multiply both sides of the equation by an integrating factor I to make it exact. We need a formula for this integrating factor. Starting with: M + N = and multiplying both sides by I gives IM + IN = For this to be exact y (IM) = x (IN). Calculating these partials gives: I y M + M y I = I x N + N x I This is a partial differential equation that we cannot solve. So we will solve a special case: the case where I is a function of one variable. Case 1: I is a function of x making I y =. Now our partial differential equation is a bit easier to solve: Or M y I = I x N + N x I Which becomes: I(M y N x ) = I x N Integrating both sides with respect to x gives: Making our integrating factor: I x I = M y N x N ( ) My N x ln I = N I(x) = e ( My Nx N Case 2: I is a function of y making I x =. In this case the integrating factor is: An Example: I(y) = e ( Nx My M ) ) (2y 7 + y 4 ) + (6xy 6 3) =

46 46 CHAPTER 1. FIRST ORDER EQUATIONS. Test for exactness: M = 2y 7 + y 4 N = 6xy 6 3 M y = 14y 6 + 4y 3 N x = 6y 6 Since M y N x our equation is not exact. We will look for an integrating factor. Since N x M y M is a function of only y our integrating factor is: = 6y6 14y 6 4y 3 2y 7 + y 4 = 4y3 (2y 3 + 1) y 4 (2y 3 = 4 + 1) y I = e Nx My M 4 = e y = y 4 Multiplying both sides of the differential equation by y 4 gives: (2y 3 + 1) + (6xy 2 3y 4 ) = M = 2y N = 6xy 2 3y 4 Now M y = 6y 2 = N x Since M y = N x our differential equation is exact, making M = 2y the partial derivative of the function F we are solving for with respect to x. That is: F x = 2y So And F y = N F = (2y 3 + 1) = 2xy 3 + x + g(y) And our final solution is: F y = 6xy 2 + g (y) = 6xy 2 3y 4 g (y) = 3y 4 g(y) = y 3 F (x, y) = 2xy 3 + x + y 3 = C 29. ( ) ) 3y + 5x 2 y 3 + 4x + (x + 3x 3 y 2 = 21.

47 1.9. INTEGRATING FACTORS FOR NON-EXACT EQUATIONS ( ) ) 2x 4 + x 3 ye xy 2 + (2x 3 y + x 4 e xy = 212. (2x 2 + y) + (x 2 y x) = y(1) = (16x 2 y x 4 + 1) + (4xy x 3 y) = y(1) = (xe y2 ) + (ye y2 ) = y() = 215. (2xy 7 + y) + (3x 2 y 6 3x) = y(1) = (1 + y + x 2 y) + (x 3 + x) = y(1) = 217. (3x 2 y + y 4 ) + ( 2x 3 + xy 3 ) = y(1) = (cos(y) + sin(y) + tan(x)) + (tan(x)(cos(y) sin(y))) = ) ) (2e 2x + e y + (3e 2x + 4xe y = ( 3 + 6xy ) 1 + x =

48 48 CHAPTER 1. FIRST ORDER EQUATIONS. ( ) ( ) e x2 (2x 2 + 1) + e y2 (2y 3 + 1) + 2xye x2 + e y2 (6xy 2 + 1) = xy + (x 2 + 1) = Sometimes we cannot find an integrating factor of just a single variable using the above formulas. In this case we guess the form of the integrating factor and try to find constants that make it work Solve by finding an integrating factor of the form I = x n y m : ) ) (3y y 1 + (5xy 3 + 2x 2 = Solve by finding an integrating factor of the form I = x n y m : y 3 x(x + y) 2 + xy (x + y) 2 = Solve by finding an integrating factor of the form I = x n y m : cos(x 2 y 2 )(y + x) = Solve by finding an integrating factor of the form I = x n y m : If I(x) = x is an integrating factor for Find all functions f(x) ( ) 1 2 cos x 2 y 4 (y 5 + 2x 3 ) = f(x) + x2 + y = Solve by finding an integrating factor of the form I = e kx cos(y): = tan(y) ex sec(y) Solve by finding an integrating factor of the form I = sin n (x) cos m (y): ( ) ( ) 4 cos(x) + 3 cot(x) + 2 sin(x) tan(y) 3 tan(y) =

49 1.9. INTEGRATING FACTORS FOR NON-EXACT EQUATIONS 49 Show that I = 1 x 2 +y 2 is an integrating factor for ( ) ( ) y + xf(x 2 + y 2 ) + yf(x 2 + y 2 ) x = Use this result to solve ) ( ) (y + x(x 2 + y 2 ) 2 + y(x 2 + y 2 ) 2 x = 23. Show that is an integrating factor for I = 1 Ax 2 + Bxy + Cy 2 x y = 231. Show that are all integrating factors of I 1 = x 3 I 2 = y 3 I 3 = 1 (x 2 + y 2 ) 2 (y 2 xy) + (x 2 xy) = 232. Show that is a solution to the exact equation G(x, y) = ln(x + y) 1 x + y ( ) ( ) 1 x + y (x + y) 2 + x + y + 1 (x + y) 2 = Now multiply both sides of this exact equation by (x + y) 2 producing which has a solution (x + y + 1) + (x + y + 1) = What is the relationship between F and G Now show in general that if F (x, y) = C is a solution to F (x, y) = 1 2 x y2 + xy + x + y F x + F y =

50 5 CHAPTER 1. FIRST ORDER EQUATIONS. and G(x, y) = C is a solution to then I(x, y)f x + I(x, y)f y = 233. In the stu of first order linear differential equations: F x G y = G x F y + P (x)y = Q(x) we learned that multiplying by the integrating factor: I(x) = e P (x) will transform the equation into a separable differential equation. Show that by multiplying both sides of ( ) P (x)y Q(x) + = by the same integrating factor will transform the above equation into an exact equation. Bernoulli s Spread of Smallpox: Let x(t) represent the population of all living people. Let y(t) represent the population of all living people who have not contracted smallpox. Let a > be the rate at which population y(t) contracts smallpox. Therefore dt = ay Let < b < 1 be the precentage of population y(t) that get and die from smallpox. Therefore dt = aby Let d(t) be the average death rate of populations x(t) and y(t) from causes other than smallpox. Without smallpox we have With smallpox we have dt = d(t)x(t) dt = d(t)y(t) dt = d(t)x(t) aby(t) To eliminate the average death rate d(t) we multiply dt dt by y(t) and dt y dt x = axy aby2 dt = d(t)y(t) ay(t) by x(t) and subtract

51 1.1. ORTHOGONAL TRAJECTORIES 51 Recognizing the left hand is the numerator of d x dt y we now divide both sides by y2 This equation is now The substitution z = x y y dt x dt y 2 yields the seperable equation = a x y ab d x dt y = ax y ab dz dt = az ab dz z b = adt ln(z b) = at + C z b = Ce at y = x(ce at + b) 1.1 Orthogonal Trajectories A common geometric problem in many applications involves finding a family of curves: Orthogonal Trajectories, that intersect a given family of curves orthogonally at each point. If you are given a family of curves in the form F (x, y) = K then the slope of this family of curves is given by the derivitive: = F x F y Since we are looking for an orthogonal family of curves, and in R 2 orthogonal lines have negative reciprocal slopes, we will be for a family of curves that satisfy the following differential equation: An Example: Find the orthogonal trajectories for the circle: y = F y F x x 2 + y 2 = r 2 To find the orthogonal trajectories we take F (x, y) = x 2 + y 2 we will need to solve the differential equation: This equation is separable y = 2y 2x = y x

52 52 CHAPTER 1. FIRST ORDER EQUATIONS. So y = x ln(y) = ln(x) + C The family of curves orthogonal to the circle is: y = kx Conversely, the family of curves orthogonal to the lines y = kx is given by the circle x 2 + y 2 = r 2. An Example: Find the orthogonal trajectories for the circle: x 2 + y 2 = Cx Here we will take F (x, y) = x 2 + y 2 Cx and we are looking for a family of curves that satisfy the following: y = 2y 2x C The problem with this differential equation is that it involves the constant C. To eliminate this constant we will solve for C in the original equation of the circle and insert it into the differential equation. Our differential equation becomes: C = x2 + y 2 x y = 2xy x 2 y 2 Recognizing that the sum of the exponents in each term in both the numerator and denominator add to the same value of 2 we see that this is a homogenous equation. Remember, to solve the homogenous equation you must first write it as: and make the substitution ( ) y = f x z = y x Multiplying both the numerator and denominator by 1 x 2 we get the homogenous equation: = 2 y x 1 ( y x )2 Making the substitutions

53 1.1. ORTHOGONAL TRAJECTORIES 53 Our differential equation becomes: This equation is now separable: z = y x = x dz + z x dz + z = 2z 1 z 2 x dz = z3 + z 1 z 2 1 z 2 z(z 2 + 1) dz = x The integral on the left requires partial fraction decomposition. After applying partial fraction we get: Integrating ( 1 z 2z ) 1 + z 2 dz = x ln(z) ln(1 + z 2 ) = ln(x) + C ( ) z ln 1 + z 2 = ln(x) + C z 1 + z 2 = Cx z = Cx + Cxz 2 Expressing this quadratic with the coefficient of z 2 being 1 gives z 2 1 Cx z + 1 = To solve for z in this equation we must compleat the square by adding 1 4C 2 x 2 Factoring the first 3 terms on the left we get z 2 1 Cx z + 1 4C 2 x = 1 4C 2 x 2 ( z 1 ) 2 = 1 2Cx 4C 2 x 2 1 to both sides: Solving for y remembering that z = y x gives: z 1 1 2Cx = ± 4C2 x 2 4C 2 x 2 z = 1 1 2Cx ± 4C2 x 2 2Cx

54 54 CHAPTER 1. FIRST ORDER EQUATIONS. The orthogonal family of curves we desire is: ( ) 1 ± 1 4C2 x y = x 2 2Cx y = 1 ± 1 4C 2 x 2 2C Sometimes we are concerned with finding a family of curves that make an angle of α 9 with a given family of curves. These curves are called Oblique Trajectories. Given a family of curves: F (x, y) = K with its derivative (slope) given by: = f(x, y) Treating as the change in y and as the change in x and creating a triangle gives: ()2 + () 2 θ From the triangle we see, tan(θ) = = f(x, y) so the tangent line has an angle of inclination of arctan(f(x, y)). So the tangent line of an oblique trajectory that intersects this curve at an angle of α will have an angle of inclination of: Making the slope of the oblique trajectory arctan(f(x, y)) + α ( ) f(x, y) + tan(α) tan arctan(f(x, y)) + α = 1 f(x, y) tan(α) Thus the differential equation of this family of oblique trajectories is given by: y = f(x, y) + tan(α) 1 f(x, y) tan(α) An Example: Find the family of oblique trajectories that intersect the family of straight lines y = Cx at an angle of 45. Here we take F (x, y) = y Cx and compute the slope of the tangent line: Solving for C we get = F x F y = C 1 = C

55 1.1. ORTHOGONAL TRAJECTORIES 55 = y = f(x, y) x Using this function for f(x, y) and α = 45 the differential equation of this family of oblique trajectories is y = y x + tan(45 ) 1 y x tan(45 ) = x + y x y Multiplying both numerator and denominator by 1 x produces = 1 + y x 1 y x This is a homogenous equation so we make the following substitution The differential equation becomes This equation is now separable Integrating gives z = y x z + x dz = 1 + z 1 z 1 z 1 + z 2 dz = x = z + x dz arctan(z) 1 2 ln(1 + z2 ) = ln(x) + C Treating C as ln(k) and using some properties of logs we get 2 arctan(z) = ln(k 2 x 2 (1 + z 2 ) Converting back to x and y we get the family of oblique trajectories 2 arctan ( ) y = ln(k 2 (x 2 + y 2 )) x 234. Find the orthogonal trajectories for the family of straight lines y = mx + 1 Find the orthogonal trajectories for each given family of curves y = Cx 3 Find the orthogonal trajectories for each given family of curves.

56 56 CHAPTER 1. FIRST ORDER EQUATIONS x 2 + y 2 = Cx 3 Find the orthogonal trajectories for each given family of curves y = Ce 2x Find the orthogonal trajectories for each given family of curves y = x 1 + Ce x Find the orthogonal trajectories for each given family of curves x y = Cx 2 Find the value of n so that the curves x n + y n = C are the orthogonal trajectories of y = Show that the following family of curves is self orthogonal. x 1 + Kx 242. y 2 = 4C(x + C) Show that the following family of curves is self orthogonal. y 2 = 2Cx + C Find a family of oblique trajectories that intersect the family of circles x 2 + y 2 = r 2 at an angle of Find a family of oblique trajectories that intersect the family of circles y 2 = Cx 2 at an angle of Let O be the origin and P be a point on the curve P (x). Let N be the point on the x-axis where the normal line to P (x) intersects the x-axis. If OP = ON what is the equation of P (x)?

57 Chapter 2 Second Order Equations. 2.1 Wronskian, Fundamental Sets and Able s Theorem In this section we will mostly be dealing with the second order linear differential equation: y + P (x)y + Q(x)y = If we want to find all solutions to this equation it can be shown that we are looking for two solutions y 1 and y 2 to the equations with the one restriction that y 1 and y 2 cannot be scalar multiples of each other. But in order to expand our knowledge to third order and higher order equations we replace the restriction that the solutions cannot be scalar multiples of each other with the restriction that the set of solutions must be linearly independent. The Set of functions{y 1, y 2,..., y n }is Linearly Independent if the only solution to C 1 y 1 + C 2 y C n y n = is C 1 = C 2 =... = C n = Although this is the formal definition of Linearly Independent sets we will not be using it. Instead we will be using the Wronskian to determine if a set is linearly independent. Since we are considering only second order equations in this chapter we will limit our stu to the linear independence or dependence of two functions y 1 and y 2 The Wronskian of two functions y 1 and y 2 is given by the determinate: y 1 y 2 W (y 1, y 2 ) = y 1 y 2 = y 1y 2 y 2 y 1 If two functions y 1 and y 2 are linearly dependent then, from the formal definition, is possible to express one function as a scalar multiple of the other. That is: Making the Wronskian: y 2 = Cy 1 57

58 58 CHAPTER 2. SECOND ORDER EQUATIONS. y 1 Cy 1 W (y 1, y 2 ) = W (y 1, Cy 1 ) = y 1 Cy 1 = Cy 1y 1 Cy 1 y 1 = So if two functions are linearly dependent their Wronskian is identically zero. If y 1 and y 2 are both solutions to y + P (x)y + Q(x)y = and {y 1, y 2 } is linearly independent then {y 1, y 2 } is a Fundamental Solution Set of the differential equation Show that the set is a fundamental solution set of the differential equation {y 1, y 2 } = {e 3x, xe 3x } y 6y + 9y = 247. Show that the set is a fundamental solution set of the differential equation {y 1, y 2 } = {x 2, x 3 } x 2 y 4xy + 6y = 248. Show that the set is a fundamental solution set of the differential equation {y 1, y 2 } = {sinh(x), cosh(x)} y y = Remember sinh(x) = ex e x cosh(x) = ex + e x Show that the set is a fundamental solution set of the differential equation {y 1, y 2, y 3 } = {e x, e 2x, e 3x } y 6y + 11y 6y = 25. Show that the set is a fundamental solution set of the differential equation {y 1, y 2 } = {e ax sin(bx), e ax cos(bx)} y 2ay + (a 2 + b 2 )y = 251. Show that the two sets are both fundamental solution set of the differential equation. Which one would you rather work with? S 1 = {y 1, y 2 } = {e x, e 2x } S 2 = {y 1, y 2 } = {4e x, e 2x 6e x } y 3y + 2y = 252. Show that if y 1 and y 2 both have a relative extrema at x = x then they cannot be a fundamental solution set to y + P (x)y + Q(x)y = on an interval containing x = x 253. Show that y 1 = cos(2x) and y 2 = cos 2 (x) sin 2 (x) are Linearly Dependent

59 2.1. WRONSKIAN, FUNDAMENTAL SETS AND ABLE S THEOREM Show for a, b Constants that 255. Show for f, g, h differentiable functions that W (ay 1, by 2 ) = abw (y 1, y 2 ) W (fg, fh) = f 2 W (g, h) 256. Calculate and simplify the following e W ( f g, g f ) Show Show Show If W (y 1, y 2 ) = e 4x and y 1 = e x find y 2 if y 2 () = 2 Show: W (y 1 + a, y 2 + a) = W (y 1, y 2 ) + a d (y 2 y 1 ) W (y 1, y 2 ) = y2 2 d ( y1 ( ) ( ) y2 y1 y 1 W, y 1 + y 2 W, y 2 = d y 1 y 2 (y 1 y 2 ) y 2 ) W (f, g + h) = W (f, g) + W (f, h) 262. If Find 263. If W (f, g) = e 5x W (f + g, f g) W (x, y) = W (x 2, y) Find y

60 6 CHAPTER 2. SECOND ORDER EQUATIONS If W (y, y 2 ) = e 3x y() = 1 Find y(x) 265. Show W (f, g) = W (f, g ) + W (f, g) 266. If W (f(x), g(x)) x= = 1 Find W (f(3x), g(3x)) x= 267. If W (sin(x), y) = y 2 Find y 268. If W (y, 1 y ) = 1 Find y 269. If f and g are even functions show that W (f, g) is an odd function 27. If 271. Show If W (f, g) = W (g, h) ( ) g(x) = C f(x) + h(x) Find Show: If W (f, g) = f g g f ( ) ( ) 2 W f(x) cos(x), f(x) sin(x) = f(x) W (f(g), g) =

61 2.1. WRONSKIAN, FUNDAMENTAL SETS AND ABLE S THEOREM 61 Show f(x) = Cx Interpret the results in terms of linear independence 274. Solve for f(x) if 275. Find W (x, f) = e W ( 1 + x 2 ) x 2 f, 1 f 276. Show: W (x f, f) 277. Let y 1 and y 2 be solutions to y + P (x)y + Q(x)y = Show: P (x) = y 1y 2 y 2 y 1 W (y 1, y 2 ) and Q(x) = y 1y 2 y 2y 1 W (y 1, y 2 ) Use this result to show the differential equation with solutions y 1 = x n and y 2 = x m with n m has the form 278. Show the second order linear homogenous equation ax 2 y + bxy + cy = 279. Set y + P (x)y + Q(x)y = with fundamental solution set {y 1, y 2 } and Wronskian W can be written as 1 y y 1 y 2 y W y 1 y 2 y y 1 y 2 = Use the results of either of the previous problem to find a differential equation with the following Fundamental Solution

62 62 CHAPTER 2. SECOND ORDER EQUATIONS. {y 1, y 2 } = {sin(kx), cos(kx)} 28. Show ) W (1, x, x 2, x 3,..., x n = 1! 2! 3!... n! 281. The differential equation y + P (x)y + Q(x)y = can be converted into Normal Form: u + f(x)u = with the substitution y(x) = u(x) v(x) v(x) = e 1 2 P (x) Use this to convert Bessel s equation of order v to normal form ) x 2 y + xy + (x 2 v 2 y = Another way of calculating the Wronskian of the two solutions:y 1 and y 2 of y + P (x)y + Q(x)y = on (a, b) is to use Abel s Identity: W (y 1, y 2 ) = Ce x x P (t)dt x (a, b) P and Q continuous on (a, b) This can be easily derived by noticing that if {y 1, y 2 } is a fundamental solution set to y + P (x)y + Q(x)y = on (a, b) then: y 1 + P y 1 + Qy 1 = y 2 + P y 2 + Qy 2 = Multiplying the first equation by y 2 and the second by y 1 gives: Subtracting the second equation from the first gives: y 2 y 1 + P y 2 y 1 + Qy 2 y 1 = y 1 y 2 + P y 1 y 2 + Qy 1 y 2 = Remembering y 2 y 1 y 1 y 2 + P (y 1y 2 y 2 y 1) = W (y 1, y 2 ) = y 1y 2 y 2 y 1 and calculating W (y 1, y 2 ) = y 2 y 1 y 1 y 2

63 2.1. WRONSKIAN, FUNDAMENTAL SETS AND ABLE S THEOREM 63 The above equation becomes: Integrating and solving for W (y 1, y 2 ) W (y 1, y 2 ) + P W (y 1, y 2 ) = or W (y 1, y 2 ) W (y 1, y 2 ) = P x ln W (y 1, y 2 ) = P (t)dt + C x W (y 1, y 2 ) = Ce x x P (t)dt This result is known as Abel s Identity 282. Use Abel s Identity to find the Wronskian up to a constant for 283. (1 + x 2 )y + 2xy + y = on (, ) Use Abel s Identity to find the Wronskian up to a constant for (x 2 + 3x + 2)y + y + y = on (, ) Use Abel s Identity to find the Wronskian up to a constant for ( ) cos 2 (x)y + cos 3 (x) + 1 y + y = Use Abel s Identity to find the Wronskian up to a constant for on ( π 4, π ) xy + (2x 2 + 1)y + xy = on (, ) Use Abel s Identity to find the Wronskian up to a constant for y + 6x x 4 + 5x y + y = Use Abel s Identity to find the Wronskian up to a constant for Show y 1 = 1 x 1 and y 2 = 1 x+1 y 16x 4x 1 y x 1 y = on on ( ), ( ) 1 4, are solutions to the given differential equation (x 2 1)y + 4xy + 2y =

64 64 CHAPTER 2. SECOND ORDER EQUATIONS and calculate the Wronskian of y 1 and y 2 and then confirm your answer with Abel s Identity. Use Abel s Identity to find the Wronskian up to a constant for 29. If the Wronskian of the solutions to (P (x)y ) + Q(x)y = is a constant, what does it say about P (x) y + P (x)y + Q(x)y = 2.2 Reduction of Order Question: given a second order differential equation of the form: y + P (x)y + Q(x)y = and one solution to the differential equation can we find a second solution? If y 1 is a solution to y +P (x)y+q(x)y = then we know y 1 + P (x)y 1 + Q(x)y 1 =. Let us try to find a second solution of the form y 2 = vy 1. Differentiating gives: y 2 = vy 1 + v y 1 y 2 = vy 1 + 2v y 1 + v y 1 Substituting these into the original differential equation gives: Which reduces to: vy 1 + 2v y 1 + v y 1 + P (x)(vy 1 + v y 1 ) + Q(x)vy 1 = v(y 1 + P (x)y 1 + Q(x)y 1 ) + 2v y 1 + v y 1 + P (x)v y 1 = v y 1 + 2v y 1 + P (x)v y 1 = v y 1 + v (2y 1 + P (x)y 1 ) = Integrating gives: Solving for v v y 1 = v (2y 1 + P (x)y 1 ) ln v = 2 ln y 1 v v = 2y 1 P (x) y 1 P (x)

65 2.2. REDUCTION OF ORDER 65 Integrating again give the formula for v P (x) v ln y 2 = e 1 P (x) = e y1 2 e P (x) v = An Example: Find a second linearly independent solution: y 2 1 xy (x + 1)y + y = y 1 = e x Writing the equation is standard form gives: ( y ) y + 1 x x y = ) ( 1 1 x e e x+ln(x) v = e 2x = e 2x v = xe x = (x + 1)e x Making the homogenous solution y 2 = y 1 v = e x ( (x + 1)e x ) = x 1 y h = C 1 y 1 + C 2 y 2 y h = C 1 e x + C 2 (x + 1) 291. y 1 = e 2x is one solution to y 6y + 8y =. Use reduction of order to find a second linearly independent solution y 1 = x 2 is one solution to x 2 y +6xy +6y =. Use reduction of order to find a second linearly independent solution y 1 = 1 x is one solution to xy + (2x + 2)y + 2y =. Use reduction of order to find a second linearly independent solution y 1 = e x is one solution to xy (x + 1)y + y =. Use reduction of order to find a second linearly independent solution y 1 = e x is one solution to xy + (1 2x)y + (x 1)y =. Use reduction of order to find a second linearly independent solution. 296.

66 66 CHAPTER 2. SECOND ORDER EQUATIONS. y 1 = e x is one solution to (2x 1)y (4x 2 + 1)y + (4x 2 2x + 2)y =. Use reduction of order to find a second linearly independent solution y 1 = e x is one solution to (sin(x) cos(x))y 2 sin(x)y + (sin(x) + cos(x))y =. Use reduction of order to find a second linearly independent solution y 1 = x 2 is one solution to (x 2 2x)y + (2 x 2 )y + (2x 2)y =. Use reduction of order to find a second linearly independent solution y 1 = tan(x) is one solution to y tan(x)y sec 2 (x)y =. Use reduction of order to find a second linearly independent solution. 3. y 1 = x sin(x) is one solution to x 2 y 2xy +(2+x 2 )y =. Use reduction of order to find a second linearly independent solution. 31. y 1 = x + 1 is one solution to (x 2 + 2x 1)y (2x + 2)y + 2y =. Use reduction of order to find a second linearly independent solution. 32. y 1 = x is one solution to y solution x x 2 1 y + 2 x 2 1y =. Use reduction of order to find a second linearly independent y 1 = sin(x) is one solution to y 3 cot(x)y sin2 (x) y =. Use reduction of order to find a second linearly sin 2 (x) independent solution. 34. y 1 = 1 x 2 is one solution to (x2 4)y + 4xy + 2y =. Use reduction of order to find a second linearly independent solution y 1 = x 2 is one solution to y x3 3x + 1 x 3 3x y + 2x3 2x x 4 3x 3 y = Use reduction of order to find a second linearly independent solution. y 1 = x is one solution to y x x 1 y + 1 x 1 y = Use reduction of order to find a second linearly independent solution. y 1 = sin(x) x is one solution to the Bessel equation of order 1 2 : ( x 2 y + xy + x 2 1 ) y = 4 Use reduction of order to find a second linearly independent solution.

67 2.2. REDUCTION OF ORDER y 1 = ln(x) is one solution to x 2 ( ln(x)) 2 y 2x ln(x)y + Use reduction of order to find a second linearly independent solution. The Hermite equation is an equation of the form: ( ) 2 + ln(x) y = x > y 2xy + λy = Find the homogenous solution for the given values of λ and y 1 A) λ = 4 and y 1 = 1 2x 2 B) λ = 6 and y 1 = 3x 2x The Legendre equation is an equation of the form: (1 x 2 )y 2xy + λ(λ + 1)y = x ( 1, 1) Find the homogenous solution for the given values of λ and y 1 A) λ = 1 and y 1 = x B) λ = 2 and y 1 = 3x 2 1 C) λ = 3 and y 1 = x 3 3x 311. The Laguerre equation is an equation of the form: xy + (1 x)y + λy = 312. Find the homogenous solution for the given values of λ and y 1 A) λ = 1 and y 1 = x 1 B) λ = 2 and y 1 = x 2 4x + 2 First, use Abel s Identity to find the Whronskian up to a constant for y 16x 4x 1 y x 1 y = on ( ) 1 4, Second, notice y 1 = x is a solution and apply reduction of order to find y The reduction of order algorithm can be applied to third order equations although the formula we derived for v above will not work. y 1 = e x is a solution to: xy xy + y y = Use y 2 = vy 1 to reduce this equation to a second order equation by letting w = y

68 68 CHAPTER 2. SECOND ORDER EQUATIONS. 2.3 Equations of the form y =f(x,y ) and y =f(y,y ) For a second order equation of the form: y = f(x, y ) the substitution v = y will transform the equation into first order equation. An Example: xy y = 3x 2 Using the substitution v = y, making v = y our equation becomes: xv v = 3x 2 in standard form v + 1 x v = 3x This equation is now first order linear. Creating an integrating factor I(x) = e 1 x = x 1 And now the solution in terms of v ( v = x ) x3x + C v = x(x 3 + C) Converting back to y y = x 4 + Cx Integrating y = x5 5 + Cx2 2 + K If the differential equation is of the form: y = f(y, y ) the substitution v = y will transform the equation into a first order equation. An Example from differential geometry: The curvature of a circle of radius r is defined to be 1 r and the curvature of a straight line defined to be zero. For other equations in R 2 the curvature is given by the second order equation: y K = (1 + (y ) 2 ) 3 2

69 2.3. EQUATIONS OF THE FORM Y =F(X,Y ) AND Y =F(Y,Y ) 69 By replacing K with 1 r and solving the second order equation we should obtain the equation of a circle of radius r. For simplicity we will assume y > so we do not have to deal with the pesky absolute values. Substituting v = y making v = y we get: 1 r = y (1 + (y ) 2 ) r = v (1 + (v) 2 ) 3 2 or r = This is now a separable and we now need to integrating both sides. r = dv (1 + (v) 2 ) 3 2 dv (1 + (v) 2 ) 3 2 The integral on the left is easy while the integral on the right will require a trig substitution. x r + C = dv (1 + (v) 2 ) 3 2 v = tan θ dv = sec 2 θdθ 1 + v 2 v θ 1 Under this substitution the integral becomes: x r + C = x r + C = sec 2 θdθ (1 + tan 2 θ) 3 2 cos θdθ Using the triangle to convert back to v: x r + C = sin θ Converting back to y gives another separable equation: x r + C = v 1 + v 2 x + C r = y 1 + (y ) 2 Solving for y (x + C)( 1 + y 2 ) = ry (x + C) 2 (1 + (y ) 2 ) = r 2 (y ) 2

70 7 CHAPTER 2. SECOND ORDER EQUATIONS. (x + C) 2 + (x + C) 2 (y ) 2 = r 2 (y ) 2 y = (x + C) r2 (x + C) 2 (y ) 2 = or (x + C)2 r 2 (x + C) 2 = (x + C) r2 (x + C) 2 Substituting u = r 2 (x + C) 2, 1 2 du = (x + C) for the integral on the right. y + K = 1 2 u 1 2 du y + K = r 2 (x + C) 2 Squaring both sides and rearranging terms gives the equation of a circle of radius r: 314. (y + K) 2 + (x + C) 2 = r (1 + x 2 )y = 2xy 316. y + 1 x y = 4x y y (1) = 2 xy y = 3x x 2 y = 2xy + (y ) y + x(y ) 2 = 319. x 2 y = (y ) 2

71 2.3. EQUATIONS OF THE FORM Y =F(X,Y ) AND Y =F(Y,Y ) 71 If the independent variable x is missing from the differential equation then you will have an equation of the form: y = f(y, y ) and the substitution v = y will transform the second order equation into a first order equation. v = Using this substitution our equation becomes: d 2 y 2 = dv = dv = v dv v dv = f(y, v) An Example: Solve y + k 2 y = Using the substitution above the second order equation becomes: This equation is now separable: v dv + k2 y = vdv = k 2 y Integrating and solving for v: v 2 2 = k2 y 2 + C 2 This equation is now separable: v = C k 2 y 2 or A2 y = 2 = ±k A 2 y 2 ±k ( ) y arcsin = ±kx + B A y = A sin(±kx + B) 32. yy + (y ) 2 = 321.

72 72 CHAPTER 2. SECOND ORDER EQUATIONS yy = y 2 y + (y ) y + 2yy = y 324. yy = (y ) If y = 12y(y ) 3 2 are solutions to {y 1, (y 1 ) 2 } y 3y + ky = 326. Find y 1 W (y, y ) = Interprit the results in terms of linear independce or depencence 2.4 Homogenous Linear Equations with Constant Coefficients. Let us consider the second order equation: ay + by + cy = and look for a solution of the form y = e rx. Differentiating twice give: Substituting these into the differential equation gives: y = e rx y = re rx y = r 2 e rx

73 2.4. HOMOGENOUS LINEAR EQUATIONS WITH CONSTANT COEFFICIENTS. 73 Dividing by e rx gives the characteristic polynomial: ar 2 e rx + bre rx + ce rx = ar 2 + br + c = This quadratic equation can have 3 types of roots: real and distinct, complex or real and repeated. If the two roots, r 1 and r 2 of the characteristic polynomial are real and distinct: r 1 r 2 then the solution to the differential equation is y = C 1 e r1x + C 2 e r2x If the two roots, r 1 and r 2 of the characteristic polynomial are complex r 1 = α + βı and r 2 = α βı then the solution to the differential equation is y = C 1 e (α+βı)x + C 2 e (α βı)x or y = C 1 e αx e βıx + C 2 e αx e βıx After applying Euler s equation: e ıθ = cos(θ) + ı sin(θ) we get the solution to the differential equation to be: y = C 1 e αx cos(βx) + C 2 e αx sin(βx) If the two roots, r 1 and r 2 of the characteristic polynomial are real and repeated: r 1 = r 2 = b 2a then one solution to the differential equation is y 1 = e r1x The second linearly independent solution comes by applying the reduction of order algorithm to the problem. If then the reduction of order algorithm gives: y 1 = e r1x = e b 2a x is a solution to y + b a y + c a y = v = e b a (e b 2a x ) = 2 e bx a e bx a = x Making y 2 = xy 1 = xe r1x and the solution to the differential equation is 327. Solve y = C 1 e r1x + C 2 xe r2x 328. Solve y y 2y = y() = 2 y () = 1 y 12y + 36y = y() = 1 y () = 1

74 74 CHAPTER 2. SECOND ORDER EQUATIONS Solve 33. Solve y 2y + 1y = y() = 2 y () = Solve y 8y + 41y = y() = 1 y () = Solve y 16y + 64y = y() = 1 y () = Solve y 6y + 11y 6y = y() = 1 y () = 1 y () = Solve y 7y + 15y 9y = 335. Solve y 8y + 24y 32y + 16y = 336. y 2y + 4y 8y = y() = 2 y () = 4 y () = Find a third order differential equation with the following solution 337. y h = C 1 e 3x + C 2 e 3x sin(2x) + C 3 e 3x cos(2x) Solve the differential equation for different values of k and sketch the solutions 338. Solve y + ky + 6y = k { 7, 5, 2, } y 2ıy + 3y =

75 2.4. HOMOGENOUS LINEAR EQUATIONS WITH CONSTANT COEFFICIENTS Consider the differential equation: ay + by + cy = a, b, c R + Show all solutions y tend to zero as x tends to infinity. Show this is not true if b = 34. Consider the differential equation: ky + (k + 1)y + (k + 2)y = Find the values of k so that the characteristic ploynomial has real and distint roots, real and repeated roots and complex roots. What values of k make the solution y tend to zero as x 341. Consider the differential equation: y + ay + a 2 y = Show the characteristic polynomial has complex roots for all a 342. Show that if y 1 and y 2 are solution to the second order linear equation ay + by + cy = a, b, c R 343. Then y = Cy 1 + Ky 2 is also a solution. Find a third order homogenous differential equation with constant coefficients with the given solution 344. If y = xe x is a solution to y = C 1 e 2x + C 2 xe 2x + C 3 x 2 e 2x 345. Find a and b Solve y + ay + by = dz dt = e(a+bı)t by separating into real and imaginary parts. Then use the fact that To calculate e at cos(bt)dt = ( ) eat a 2 + b 2 a cos(bt) + b sin(bt) + C e at sin(bt)dt

76 76 CHAPTER 2. SECOND ORDER EQUATIONS For the given differential equation: y + 2y + Cy = C R A) For what values of C does the characteristic equation have two real distinct roots, real repeated roots and complex roots. B) For the case where you have two real distinct roots find the values of C that make the solution tend to zero as x Solve the differential equation with the discontinuous coefficient function y + sgn(x)y = sgn(x) = { 1 x < 1 < x 2.5 The Method of Undetermined Coefficients In this section we will stu a way to solve the Linear Differential equation: for different equations g(x). For example if you were given the differential equation y + ay + by = g(x) y 3y + 5y = 3e x It would be reasonable to think the solution would involve the exponential function e x simply because exponential functions differentiate into more exponential functions. If you were given the differential equation y + y + y = cos(x) + sin(x) It would be reasonable to think the solution would involve the functions sin(x) and cos(x) since sin(x) and cos(x) differentiate into each other. So in the method of undetermined coefficients we guess the form of the solution and try to make the constants work. For y 3y + 5y = 3e x we would guess the form of the solution to be y = Ae x and solve for the value of A that makes it a solution. For y + y + y = cos(x) + sin(x)

77 2.5. THE METHOD OF UNDETERMINED COEFFICIENTS 77 we would guess the form of the solution to be y = A sin(x) + B cos(x) and solve for the values of A and B that makes it a solution. One problem that can arise using this method is the problem of finding homogenous solution twice. If you were given y 4y + 4y = e 2x it would be reasonable to think the solution would be of the form y = Ae 2x but we know the homogenous solution to y 4y + 4y = is y = C 1 e 2x + C 2 xe 2x. So looking for a particular solution of the form y = Ae 2x will again find the homogenous solution, not the particular solution we are interested in. The solution to this problem is to multiply the particular solution by x s so that it is linearly independent of the terms in the fundamental solution set. The nonnegative integer s should be chosen to be the smallest nonnegative integer so that no term in the particular solution appears in the fundamental solution set. In this problem the fundamental solution set is: {e 2x, xe 2x } So we would choose s = 2 and look for a particular solution of the form y = Ax 2 e 2x. If you choose the wrong form of the particular solution you re gonna have a bad time. In general we choose the form of the particular solution based on the following table: For y + ay + by = g(x) g(x) p n = a n x n a 1 x + a x s P n = x s (A n x n A 1 x + A ) ae αx a cos(βx) + b sin(βx) y p Ax s e αx x s (A cos(βx) + B sin(βx)) p n e αx x s (P n e αx ) p n cos(βx) + p m sin(βx) x s (P N cos(βx) + Q N sin(βx)) N = max(n, m) ae αx cos(βx) + be αx sin(βx) x s (Ae αx cos(βx) + Be αx sin(βx)) p n e αx cos(βx) + q m e αx sin(βx) x s (P N e αx cos(βx) + Q N e αx cos(βx)) N = max(n, m) The integer s is chosen to be the smallest nonnegative integer so that no term in the particular solution appears in the homogenous solution. An Example: y 4y + 4y = 6e 2x First we need the homogenous solution, so we form the auxiliary equation:

78 78 CHAPTER 2. SECOND ORDER EQUATIONS. The homogenous solution is: r 2 4r + 4 = (r 2) 2 = y 1 = e 2x y 2 = xe 2x The Fundamental Solution Set is: y h = C 1 e 2x + C 2 xe 2x F.S.S. = {e 2x, xe 2x } Due to the right hand side of the differential equation we will choose a particular solution of the form y p = x s (Ae 2x ) with s chosen to be the smallest positive integer so that no term in y p is in the fundamental solution set. So we choose s = 2 making y p = Ax 2 e 2x Differentiating and simplifying gives: y p = e 2x (2Ax + 2Ax 2 ) y p = e 2x (4Ax 2 + 8Ax + 2A) Substituting these derivatives into the original differential equation gives: This simplifies nicely to: e 2x (4Ax 2 + 8Ax + 2A) 4e 2x (2Ax + 2Ax 2 ) + 4Ax 2 e 2x = 6e 2x So our particular solution is: 2Ae 2x = 6e 2x A = 3 y p = 3x 2 e 2x The general solution to the differential equation is the sum of the homogenous solution and the particular solution: 348. Solve y = C 1 e 2x + C 2 xe 2x + 3x 2 e 2x 349. Solve y + 3y + 2y = 18 sin(2x) + 26 cos(2x) y() = 2 y () = y + 4y = (5x 2 + 9x + 4)e x y 5y + 6y = e x (4 sin(x) 2 cos(x)) y() = 3 y () = 3

79 2.5. THE METHOD OF UNDETERMINED COEFFICIENTS Solve 352. Solve y 4y + 4y = 6xe 2x y() = 2 y () = Solve y 4y + 5y = (2x + 2)e x 354. Solve y + 5y = (2x 3 + 6x 2 + 6x)e x 355. Solve y + 4y = 14 cos(x) + 12x sin(x) y() = 2 y () = Solve y 8y + 7y = 15xe 2x 32e 2x y() = 2 y () = y 3y + 2y = e x sin(x) y() = 2 y () = Solve y 4y + 4y = 8e 2x 359. Solve y 2y + y = (x + 3)e x y() = 1 y () = Solve y + 4y = (5x 2 + 4x + 2)e x y() = 4 y () = 3 y 3y + 2y = 6x 3 19x 2 + 8x 11

80 8 CHAPTER 2. SECOND ORDER EQUATIONS Solve 362. Solve y 3y + 2y = 2x 2 2x 4 e x y() = 2 y () = Solve y 4y + 4y = 16 sin(x) cos(x) + 16 cos 2 (x) 16 sin 2 (x) Hint y + 4y = cos 3 (x) 364. Find the form of the solution to cos 3 (x) = 3 4 cos(x) cos(3x) 365. Find the form of the solution to y + 6y + 1y = x 2 e 3x sin(x) 366. Find the form of the solution to y y y + y = x 3 (e x + e x ) 367. y y + 4y 4y = x 2 (e x + sin(2x)) Find a solution of the form y = Ax 2 + Bx + C to solve the nonlinear differential equation 368. y + (y ) 2 + y = 5x 2 + 5x + 3 The form of the particular solution to the third order linear differential equation: is ay + by + cy + d = g(x) y p = (Ax 4 + Bx 3 + Cx 2 )e x + Dxe 2x what does this tell you about the roots of the characteristic polynomial

81 2.5. THE METHOD OF UNDETERMINED COEFFICIENTS 81 ar 3 + br 2 + cr + d = and the function g(x). Another method that can be used to solve the above differential equations is the Annihilator Method. Definition: A linear differential operator A is said to annihilate a function f if A(f) = The operator D operates on a function by calculating its derivative. The operator D 2 operates on a function by calculating its second derivative. For example D(x 3 ) = 3x 2 D 2 (sin(x)) = sin(x) Since D n+1 (x n ) = we say D n+1 annihilates x n 369. Show that D r annihilates e rx 37. Show that (D r) n+1 annihilates x n e rx 371. Show that (D α) 2 + β 2 annihilates both e αx cos(βx) and e αx sin(βx) 372. Show that ((D α) 2 + β 2 ) n+1 annihilates both x n e αx cos(βx) and x n e αx sin(βx) Example: y 3y + 2y = e 3x Multiplying both sides by (D 3) annihilates the right hand side giving the homogenous equation y 3y + 2y 3y + 9y 6y = This has a characteristic polynomial y 6y + 11y 6y = Factoring r 3 6r r 6 = The solution is (r 1)(r 2)(r 3) = r = 1, 2, 3 y = C 1 e x + C 2 e 2x + C 3 e 3x

82 82 CHAPTER 2. SECOND ORDER EQUATIONS. Now part of this solution is the homogenous solution to the original differential equation and the other part is the particular solution. Since the right hand side of the original differential involves a e 3x term the particular solution must be y p = C 3 e 3x Placing this into the original equation and solving for C 3 gives y p = 1 2 e3x 373. Solve by annihilation y = C 1 e x + C 2 e 2x e3x 374. Solve by annihilation y + y = 6xe x 375. Solve by annihilation y + 4y = e x sin(x) y + 2y y 2y = e x Variation of Parameters In the method of variation of parameters we will develop a solution to the second order linear differential equation: y + P (x)y + Q(x)y = g(x) As you can see the method of variation of parameters is a far more general method of solving differential equation than the method of undetermined coefficients since variation of parameters allows for variable coefficients of y and y whereas the method of undetermined coefficients works only for linear equations with constant coefficients and the function g(x) does not need to be listed in the table in the section on undetermined coefficients. Given the fundamental solution set {y 1, y 2 } for the homogenous equation: y + P (x)y + Q(x)y = we will look for a particular solution to the nonhomogeneous equation of the form

83 2.6. VARIATION OF PARAMETERS 83 Differentiating yields: y = v 1 y 1 + v 2 y 2 y = v 1 y 1 + v 1y 1 + v 2 y 2 + v 2y 2 To avoid second derivatives of the unknown functions v 1 and v 2 we impose the condition: Making v 1y 1 + v 2y 2 = Differentiating again gives: y = v 1 y 1 + v 2 y 2 y = v 1 y 1 + v 1y 1 + v 2 y 2 + v 2y 2 Substituting y, y and y into the original differential equation gives: This equation can be rewritten as: v 1 y 1 + v 1y 1 + v 2 y 2 + v 2y 2 + P (x)(v 1 y 1 + v 2 y 2) + Q(x)(v 1 y 1 + v 2 y 2 ) = g(x) v 1 (y 1 + P (x)y 1 + Q(x)y 1 ) + v 2 (y 2 + P (x)y 2 + Q(x)y 2 ) + y 1v 1 + y 2v 2 = g(x) Since y 1 and y 2 are solutions of the homogenous equation the above equation reduces to: y + P (x)y + Q(x)y = y 1v 1 + y 2v 2 = g(x) This equation along with the restriction we made on y : v 1y 1 + v 2y 2 = gives us a system of two equations with two unknown variables: v 1 and v 2 that we will solve using Cramer s Rule. Writing the system as a matrix equation gives: [ ] [ y 1 y 2 y 1 y 2 v 1 v 2 ] [ = ] g(x) Solving for the two unknown variables: v 1 and v 2 using Cramer s Rule gives: Integrating gives: v 1 = v 1 = y 2g(x) y 1 y 2 y 2y 1 y 2 g(x) y 1 y 2 y 2y 1 = = y 2g(x) W (y 1, y 2 ) y 2 g(x) W (y 1, y 2 ) and v 2 = and v 2 = y 1g(x) y 1 y 2 y 2y 1 = y 1g(x) W (y 1, y 2 ) y 1 g(x) y 1 y 2 y 2y 1 = y 1 g(x) W (y 1, y 2 )

84 84 CHAPTER 2. SECOND ORDER EQUATIONS. An Example: y + y = sec(x) First note that this equation cannot be solved by the method of undetermined coefficients due to the fact that the right hand side: sec(x) is not in the table in the undetermined coefficients section. First we need the homogenous solution, so we form the auxiliary equation: The homogenous solution is: r = r = ±ı y 1 = cos(x) y 2 = sin(x) Our fundamental solution set is: y h = C 1 cos(x) + C 2 sin(x) The Wronskian of the fundamental solution set is: cos(x) W (cos(x), sin(x)) = sin(x) v 1 = F.S.S = {cos(x), sin(x)} sin(x) sec(x) = sin(x) cos(x) = cos2 (x) + sin 2 (x) = 1 tan(x) = ln(cos(x)) v 2 = cos(x) sec(x) = x y p = v 1 y 1 + v 2 y 2 = ln(cos(x)) cos(x) + x sin(x) So the general solution is: y = C 1 cos(x) + C 2 sin(x) + ln(cos(x)) cos(x) + x sin(x) 376. y 3y + 2y = xe 2x 377. y + y = tan(x) 378.

85 2.6. VARIATION OF PARAMETERS y 4y + 5y = xe 2x 38. y 2y + y = ex 1 + x 2 y + 4y = sin 3 (2x) 381. y 2y + y = e x arcsin(x) 382. y + y = ln(x) 383. y + 4y = csc(2x) y + 4y = ln(x + 1) The fundamental solution set for the differential equation is xy y 4x 3 y = x 3 e x2 {y 1, y 2 } = {e x2, e x2 } Use variation of parameters to solve the differential equation 386. Show that y 1 = tan(x) is a solution to the homogenous differential equation: y tan(x)y sec 2 (x)y =

86 86 CHAPTER 2. SECOND ORDER EQUATIONS. Use reduction of order to find the second homogenous solution y 2 and then use variation of parameters to find the particular and general solution of: 387. y tan(x)y sec 2 (x)y = sin(x) Show that y 1 = x 3 + x is a solution to the homogenous differential equation: y 4x x y + 6x2 2 (x 2 + 1) 2 y = Use reduction of order to find the second homogenous solution y 2 and then use variation of parameters to find the particular and general solution of: 388. y 4x x y + 6x2 2 (x 2 + 1) 2 y = x 2 Show that y 1 = e x is a solution to the homogenous differential equation: xy (x + 1)y + y = Use reduction of order to find the second homogenous solution y 2 and then use variation of parameters to find the particular and general solution of: 389. Show that y 1 = x is one solution to xy (x + 1)y + y = x 2 e 2x y 2x x 2 1 y + 2 x 2 1 y =. Use reduction of order to find the second homogenous solution y 2 and then use variation of parameters to find the particular and general solution of: 39. y 2x x 2 1 y + 2 x 2 1 y = 2x. Show that y 1 = x is a solution to the homogenous differential equation: (x + 1)y + xy y = Use reduction of order to find the second homogenous solution y 2 and then use variation of parameters to find the particular and general solution of: 391. (x + 1)y + xy y = (x + 1) 2 Show that y 1 = x is a solution to the homogenous differential equation:

87 2.6. VARIATION OF PARAMETERS 87 (x 2 1)y 2xy + 2y = Use reduction of order to find the second homogenous solution y 2 and then use variation of parameters to find the particular and general solution of: 392. (x 2 1)y 2xy + 2y = x 2 1 Show that y 1 = 5x 1 is a solution to the homogenous differential equation: xy + (5x 1)y 5y = Use reduction of order to find the second homogenous solution y 2 and then use variation of parameters to find the particular and general solution of: 393. xy + (5x 1)y 5y = x 2 e 5x Show that y 1 = x + 1 is a solution to the homogenous differential equation: (x 2 + 2x)y 2(x + 1)y + 2y = Use reduction of order to find the second homogenous solution y 2 and then use variation of parameters to find the particular and general solution of: 394. (x 2 + 2x)y 2(x + 1)y + 2y = (x + 2) 2 Show that y 1 = sin(x 2 ) is a solution to the homogenous differential equation: xy y + 4x 3 y = Use reduction of order to find the second homogenous solution y 2 and then use variation of parameters to find the particular and general solution of: 395. xy y + 4x 3 y = 2x 3 Show that y 1 = sin(x) is a solution to the homogenous differential equation: sin 2 (x)y 2 sin(x) cos(x)y + (1 + cos 2 (x))y = Use reduction of order to find the second homogenous solution y 2 and then use variation of parameters to find the particular and general solution of: 396. sin 2 (x)y 2 sin(x) cos(x)y + (1 + cos 2 (x))y = sin 3 (x)

88 88 CHAPTER 2. SECOND ORDER EQUATIONS. Show that y 1 = sin(x) is a solution to the homogenous differential equation: y 3 cot(x)y sin2 (x) sin 2 y = (x) Use reduction of order to find the second homogenous solution y 2 and then use variation of parameters to find the particular and general solution of: 397. y 3 cot(x)y sin2 (x) sin 2 y = sin 3 (x) (x) Solve by first guessing a solution to the homogenous equation then using reduction of order to find the second homogenous solution y 2 and then use variation of parameters to find the particular and general solution of: 398. The Bessel Equation of order one half is: y 2x 1 + x 2 y x 2 y = 1 + x2 ( x 2 y + xy + x 2 1 ) y = 4 and has solutions y 1 = cos(x) x and y 2 = sin(x) x. Use variation of parameters to solve ( x 2 y + xy + x 2 1 ) y = x One solution to the equation: y + P (x)y + Q(x)y = is (1 + x) 2, and the Wronskian of the two solutions is 1. Find the general solution to: y + P (x)y + Q(x)y = 1 + x 2.7 Cauchy Euler Equation : The second order Cauchy Euler Equation is: ax 2 d2 y + bx 2 + cy = This equation can be transformed into a second order liner differential equation with constant coefficients with use of the substitution: x = e t

89 2.7. CAUCHY EULER EQUATION 89 dt Differentiating with respect to t gives: dt = et In the Cauchy Euler equation we see the term x = x by : So dt = x which we need to substitute for, so I will multiply both sides of Differentiating dt = x dt = x with respect to x gives: This simplifies to dt = x d dt = + x d2 y 2 In the Cauchy Euler equation we see the term x 2 d2 y which we need to substitute for, so I will multiply the left side 2 of the above equation by dt and the right hand side by x (Remember they are equal): Replacing x d dt dt = ( ) + x d2 y 2 x with dt and solving for x2 d2 y 2 gives: This simplifies to x 2 d2 y 2 = d2 y dt 2 dt So under this substitution the Cauchy Euler equation becomes: ( d 2 y a dt 2 ) + b dt dt + cy = d 2 y dt 2 This simplifies to the second order linear equation with constant coefficients: a d2 y + (b a) dt2 dt + cy = Which we can solve by finding the roots of the characteristic polynomial: = x + x2 d2 y 2 ar 2 + (b a)r + c = Again there are three cases: the roots are real and distinct, the roots are real and repeated or the roots are complex. Case 1: we have two real and distinct roots r 1 and r 2. Then the solutions to the differential equation are: Since x = e t, t = ln(x) Making the solution: y 1 = e r1t and y 2 = e r2t y 1 = e r1 ln(x) = e ln(xr 1 ) and y 2 = e r2 ln(x) = e ln(xr 2 ) So y 1 = x r1 and y 2 = x r2 Case 2: The roots are real and repeated r 1 = r 2. Then the solutions to the differential equation are:

90 9 CHAPTER 2. SECOND ORDER EQUATIONS. Since x = e t, t = ln(x) Making the solution: y 1 = e r1t and y 2 = te r1t y 1 = e r1 ln(x) = e ln(xr 1 ) and y 2 = ln(x)e r1 ln(x) = ln(x)e ln(xr 1 ) So y 1 = x r1 and y 2 = ln(x)x r1 Case 3: The roots are complex r 1 = α + βı and r 2 = α βı. Then the solutions to the differential equation are: Since x = e t, t = ln(x) Making the solution: y 1 = e αt cos(βt) and y 2 = e αt sin(βt) An Example: y 1 = x α cos(β ln(x)) and y 2 = x α sin(β ln(x)) Forming the characteristic polynomial x 2 y 5xy + 13y = r 2 + ( 5 1)r + 13 = r 2 6r + 13 = (r 3) 2 = 4 r = 3 ± 2ı So we have complex roots so the solution is: Converting back to x gives: y h = C 1 e 3t cos(2t) + C 2 e 3t sin(2t) y h = C 1 x 3 cos(2 ln(x)) + C 2 x 3 sin(2 ln(x)) An Example: sin 2 (x) d2 y + tan(x) 2 k2 cos 2 (x)y = Although this is not the Cauchy-Euler equation we can transform it into one using the following substitution: u = sin(x) Using the product rule gives = du du = cos(x) du d 2 y 2 = d ( cos(x) ) = sin(x) du du + cos(x) d du

91 2.7. CAUCHY EULER EQUATION 91 d 2 y = sin(x) 2 du + cos(x) d ( ) du du du d 2 y = sin(x) 2 du + cos(x) d2 y du 2 du d 2 y = sin(x) 2 du + cos2 (x) d2 y du 2 Substituting these expressions into the differential equation gives Rearranging the terms gives ( sin 2 (x) sin(x) ) du + cos2 (x) d2 y du 2 + tan(x) cos(x) du k2 cos 2 (x)y = ( ) sin 2 cos 2 (x) d2 y du 2 + sin(x) sin 3 (x) du k2 cos 2 (x)y = ( ) sin 2 cos 2 (x) d2 y du 2 + sin(x) 1 sin 2 (x) du k2 cos 2 (x)y = After a trig identity we see a cos 2 (x) in each term that we can eliminate yielding sin 2 d2 y + sin(x) du2 du k2 y = Since u = sin(x) we get the Cauchy-Euler equation Now the Cauchy-Euler substitution u 2 d2 y du 2 + u du k2 y = u = e t Our differential equation now becomes u du = dt u 2 d2 y du 2 = d2 y dt 2 dt which has the characteristic equation d 2 y dt 2 k2 y = r 2 k 2 = r = ±k So the solution is y = C 1 e kt + C 2 e kt Converting back to the variable u y = C 1 u k + C 2 u k Converting back to the variable x gives the final solution y = C 1 sin k (x) + C 2 sin k (x)

92 92 CHAPTER 2. SECOND ORDER EQUATIONS x 2 d2 y + 7x 2 + 8y = x 2 d2 y + 9x y = x 2 d2 y 3x 2 + 2y = x 2 d2 y 11x y = x 2 d2 y 4x 2 + 6y = x3 ln(x) x 2 d2 y + 3x 2 8y = (ln(x))3 ln(x) x 2 d2 y 2 + x + y = x x 2 d2 y 5x 2 + 8y = x3 arctan(x) x 2 d2 y 2 + x + 4y = 1 x

93 2.7. CAUCHY EULER EQUATION x 2 d2 y + 3x 2 + y = 8x x 2 d2 y 7x + 16y = x3 2 x 2 d2 y 4x 2 + 6y = 1 x 2 x 2 d2 y 2 + x + 4y = x 3 d2 y + x2 2 + xy = Find a Cauchy Euler equation with the following solution 415. y = C 1x 2 + C 2 x Find a Cauchy Euler equation with the following solution 416. y = C 1 x 2 cos(4 ln(x)) + C 2 x 2 sin(4 ln(x)) 417. xy + y = (x 4) 2 d2 y + 5(x 4) 2 2y = x 3 d3 y 3 4x2 d2 y + 8x 8y = 4 ln(x) 2

94 94 CHAPTER 2. SECOND ORDER EQUATIONS. 42. Find the values of α that make the solution: y, to the given equation tend to zero as x Find the value of α that makes y as x x 2 d2 y + αx y = x 2 d2 y 2 6y = y(1) = 1 y (1) = α 421. The nonlinear equation y + y 2 + P (x)y + Q(x) = is an example of a Riccati Equation. Show the substitution y = z z transform the equation to 422. Use the results of the previous problem to solve z + P (x)z + Q(x)z = solve. Use the results of the previous problem to solve y + y 2 4 x y + 6 x 2 = y + y 2 4 x y + 12 x 2 = Use the substitution x = t to transform the differential equation to an equation with constant coefficients and then 425. y 1 x y + 4x 2 y = Show that if y(x) is a solution to the Cauchy Euler Equation for x > then y( x) is a solution for x < 2.8 Everyone Loves a Slinky: Springs The goal of this section is to develop a differential equation that governs the motion of a mass connected to an ideal spring. We will first stu the theoretical case of a spring with no damping: (internal resistance of the spring, air friction ect.). We will also stu springs with damping and then with a forcing function attached to the mass.

95 2.8. EVERYONE LOVES A SLINKY: SPRINGS 95 Newton s Second law states that force equals mass times acceleration: F = ma. So if y(t) represents the position of a moving mass on a spring then its acceleration is a = d2 y dt 2. Now consider a mass spring system with a mass m attached and stretched so that the mass is still. This unmoving system is said to be in equilibrium. We measure the distance, y, to be the displacement of the mass from equilibrium. When the mass is displaced from equilibrium, the spring is stretched or compressed and it exerts a force in the opposite direction of the displacement. The force exerted by the spring is given by Hooke s Law: F spring = ky k > where k is a constant dependent on the stiffness of the spring and y is the displacement of the mass from equilibrium. All mass spring systems experience some form of internal resistance known as damping which is proportional to the velocity of the mass. Since the mass has a velocity v = dt the damping force is given by: F damping = b b > where b is the damping coefficient. All other forces on the system are external making the differential equation governing the mass spring system: Or m d2 y 2 = b ky + F external(t) m d2 y 2 + b + ky = F external(t) In the absence of damping and an external force: b =, F external (t) = the differential equation becomes: m d2 y 2 + ky = Which has an auxiliary mr 2 + k = which has purely imaginary roots r = ±ωı making the solution: This solution can be written in the form: y = C 1 cos(ωt) + C 2 sin(ωt) ω = k m by first applying a trig identity to sin(ωt + φ). y = A sin(ωt + φ) These two solution are equal if y = A sin(ωt + φ) = A(sin(ωt) cos(φ) + cos(ωt) sin(φ)) We see the amplitude of the solution: A is given by: A sin(φ) = C 1 and A cos(φ) = C 2 A = C C2 2 and tan(φ) = C 1 C 2

96 96 CHAPTER 2. SECOND ORDER EQUATIONS. k We see the solution is a sinusoid with angular frequency ω = m and Period T = 2π ω. All springs experience some form of damping. To explore the nature of this damping let us consider the equation: The auxiliary equation is: my + by + ky = with roots: r = b ± b 2 4mk 2m mr 2 + br + k = The nature of the solution depends on the discriminate b 2 4mk. = b 2m ± 1 b2 4mk 2m If b 2 4mk < the roots will be complex and we say the spring system has Underdamped Motion. Letting α be the real part and β the imaginary part of the roots we have: The solution is: α = b 2m and β = 1 4mk b 2 2m y = e αt (C 1 cos(βt) + C 2 sin(βt)) We can express this solution in a alternate form as we did earlier: y = Ae αt sin(βt + φ) A = C C2 2 and tan(φ) = C 1 C 2 So our solution is the product of a sinusoid: sin(βt+φ) and an exponential damping factor: Ae αt. As t Ae αt and our solution also tends to zero. Further as b α = α = b 2m and the solution tends to the sinusoid: y = A sin(βt + φ) Going back to the discriminate: b 2 4mk. If b 2 4mk > the roots will real and distinct and we say the spring system has Overdamped Motion. The roots to the auxiliary equation are: And the solution is: r 1 = b 2m + 1 b2 4mk 2m r 2 = b 2m 1 b2 4mk 2m y = C 1 e r1t + C 2 e r2t It is clear that r 2 is negative; r 1 is negative as well since b 2 > b 2 4mk making b > b 2 4mk. Subtracting b from this inequality and dividing by 2m gives r 1 = b 2m + 1 2m b2 4mk <. Since both r 1 and r 2 are negative the solution y will approach zero as t. Going back to the discriminate: b 2 4mk. If b 2 4mk = the roots will real and repeated and we say the spring system has Critically Damped Motion. The roots to the auxiliary equation are: r 1 = r 2 = b 2m

97 2.8. EVERYONE LOVES A SLINKY: SPRINGS 97 And the solution is: As t our solution will tend to zero. An Example: y = e b 2m (C1 + C 2 t) A 1kg mass hangs from a spring stretching it.392m from equilibrium. The mass is then pulled down.5m and released. Find the equation of the motion of the mass if: Law: 1) damping constant b = 2) damping constant b = 8 3) damping constant b = 1 4) damping constant b = 26 Solution: We alrea know mass m and damping constant b so all we need is the spring constant k. Using Hook s The differential equation governing the system is: 9.8 = k(.392) k = 25 y + by + 25y = y() =.392 y () = 1) If there is no damping then b = and our equation becomes: The auxiliary equation and roots are: y + 25y = The solution is: r = r = ±5ı y = C 1 cos(5t) + C 2 sin(5t) After the laborious task of applying the initial conditions we get: y =.392 cos(5t) We see the Amplitude is A =.392 and φ = π 2 The solution can be written in the form: ( y =.392 sin 5t + π ) 2 2) The damping constant is b = 8. Our equation becomes: y + 8y + 25y =

98 98 CHAPTER 2. SECOND ORDER EQUATIONS. The auxiliary equation and roots are: r 2 + 8r + 25 = r = 4 ± 3ı The solution is: y = C 1 e 4t cos(3t) + C 2 e 4t sin(3t) After the laborious task of applying the initial conditions we get: y =.392e 4t cos(3t).52267e 4t sin(3t) We see the Amplitude is A = and φ = Since the initial displacement is down (against the force of the spring) we will use A = The solution can be written in the form: y =.65336e 4t sin(3t ) 3) The damping constant is b = 1. Our equation becomes: The auxiliary equation and roots are: y + 1y + 25y = r 2 + 1r + 25 = r = 5 is repeated root The solution is: y = C 1 e 5t + C 2 te 5t After the laborious task of applying the initial conditions we get: y =.392e 5t 1.96te 5t 4) The damping constant is b = 26. Our equation becomes: The auxiliary equation and roots are: y + 26y + 25y = r r + 25 = r = 1, 25 The solution is: y = C 1 e t + C 2 e 26t After the laborious task of applying the initial conditions we get: 426. y =.4768e t.1568e 26t

99 2.8. EVERYONE LOVES A SLINKY: SPRINGS 99 A 3kg mass is attached to a spring with stiffness k = 48N/m. The mass is displaced 1/2m to the left of equilibrium point and given a velocity of 2m/s to the right. The damping constant is. Find the equation of motion of the mass along with the amplitude, period, and frequency A 1/8kg mass is attached to a spring with stiffness k = 16N/m. The mass is displaced 3/4m to the left of equilibrium point and given a velocity of 2m/s to the left. The damping constant is 2Ns/m. Find the equation of motion of the mass Consider the following differential equation y + ty + y = Although we cannot solve this differential equation we can determine the nature of the solution for large t by thinking of the equation in terms of a mass spring system. Find lim y(t) t Now let us consider the mass spring system with a forcing function applied to the system. The differential equation governing this system is: my + by + ky = F cos(ωt) F > ω > Let us first explore the underdamped case ( < b 2 < 4mk). solution is: From previous discussion we know the homogenous ( ) y h = Ae b 4mk b 2m t 2 sin t + φ 2m With A = C C2 2 tan(φ) = C 1 C 2 To find the particular solution we apply the method of undetermined coefficients. We choose the form of the particular solution to be: Making: y p = A 1 cos(ωt) + A 2 sin(ωt) y p = A 1 ω sin(ωt) + A 2 ω cos(ωt) y p = A 1 ω 2 cos(ωt) A 2 ω 2 sin(ωt) Substituting this into the differential equation and simplifying gives: ( ) ( ) (k mω 2 )A 1 + A 2 bω cos(ωt) + (k mω 2 )A 2 + A 1 bω sin(ωt) = F cos(ωt) Equating corresponding coefficients gives:

100 1 CHAPTER 2. SECOND ORDER EQUATIONS. Solving this system of equations gives: (k mω 2 )A 1 + A 2 bω = F (k mω 2 )A 2 + A 1 bω = Making the solution : Let A 1 = y p = F (k mω 2 ) F bω (k mω 2 ) 2 + b 2 ω 2 A 2 = (k mω 2 ) 2 + b 2 ω 2 ( ) F (k mω 2 ) 2 + b 2 ω 2 (k mω 2 ) cos(ωt) + bω sin(ωt) tan(θ) = A 1 A 2 Drawing a triangle for tan(θ) = y p = k mω2 bω (k mω2 ) 2 + b 2 ω 2 k mω 2 θ bω From the triangle we see: Making: sin(θ) = k mω 2 bω cos(θ) = (k mω2 ) 2 + b 2 ω 2 (k mω2 ) 2 + b 2 ω 2 k mω 2 = (k mω 2 ) 2 + b 2 ω 2 sin(θ) bω = (k mω 2 ) 2 + b 2 ω 2 cos(θ) Now our solution is: y p = ( F (k mω2 (k mω 2 ) 2 + b 2 ω 2 ) 2 + b 2 ω 2 sin(θ) cos(ωt) + (k mω 2 ) 2 + b 2 ω 2 cos(θ) sin(ωt)) After a trig identity we get: y p = F (sin(θ) cos(ωt) + cos(θ) sin(ωt)) (k mω2 ) 2 + b 2 ω2 So the general solution is: y p = F sin(ωt + θ) (k mω2 ) 2 + b 2 ω2 ( ) y = y h + y p = Ae b 4mk b 2m t 2 F sin t + φ + sin(ωt + θ) 2m (k mω2 ) 2 + b 2 ω2 The first term in the solution y h tends to zero as t tends to infinity. So we refer to this term as the transient solution. As t gets large and y h approaches zero the solution approaches the particular solution y p. Hence we call this term the stea state solution.

101 2.8. EVERYONE LOVES A SLINKY: SPRINGS 11 The factor: 1 (k mω2 ) 2 + b 2 ω 2 in the particular solution represents the ratio of the magnitude of the forcing function F to the magnitude of the sinusoidal response to the input force so we call it: the frequency gain and has units length/force. An Example: An 8-kg mass is attached to a spring hanging from the ceiling causing the spring to stretch 1.96m upon coming to rest at equilibrium. At t = the forcing function F (t) = cos(2t) is applied to the system. The damping constant for the system is 3 N-sec/m. Find the stea state solution and the frequency gain. Solution: At t = the system is equilibrium so it has an initial position y() = and initial velocity y () = First we need the spring constant k. Since the 8-kg mass stretched the spring 1.96m Hooks Law gives: The differential equation governing the system is: 8(9.8) = k(1.96) k = 4 8y + 2y + 4y = cos(2t) We could use the method of undetermined coefficients to find the stea state solution but we have alrea derived equations for it: y p = F sin(ωt + θ) (k mω2 ) 2 + b 2 ω2 k mω2 tan(θ) = bω Plugging in the values for m, b, k, F, θ and ω gives: tan(θ) = 1 2 θ = And the stea state solution is: y p = 1 8 sin(2t ) The frequency gain is: (k mω2 ) 2 + b 2 ω = An 8-kg mass is attached to a spring hanging from the ceiling causing the spring to stretch 7.84m upon coming to rest at equilibrium. At t = the forcing function F (t) = 2 cos(2t) is applied to the system. The damping constant for the system is 1 N-sec/m. Find the stea state solution and the frequency gain. 43. An 2-kg mass is attached to a spring hanging from the ceiling causing the spring to stretch.2m upon coming to rest at equilibrium. At t = the mass is displaced.5m below equilibrium and released. At t = the forcing function F (t) =.3 cos(t) is applied to the system. The damping constant for the system is 5 N-sec/m. Find the stea state solution and the frequency gain.

102 12 CHAPTER 2. SECOND ORDER EQUATIONS Although we cannot solve the following differential equation y + e t y + y = we can determine the limiting behavior of the solution by thinking about the differential equation in terms of a spring equation. Find lim y(t) t For a given mass spring system with known mass: m, damping constant: b and spring constant k with a forcing function F cos(ωt) we know the frequency gain: M(ω), will be a be a function of the variable ω and is given by: M(ω) = 1 (k mω2 ) 2 + b 2 ω 2 Often times we want to know the value of ω that maximizes the frequency gain. Differentiating gives: Simplifying: So M has critical numbers: M (ω) = 1 2 ((k mω2 ) 2 + b 2 ω 2 ) 3 2 (2(k mω 2 )( 2mω) + 2b 2 ω) ( 2m M 2 ω 2 b 2 ) + 2km (ω) = ω (k mω 2 ) 2 + b 2 ω 2 ) 3 2 ω = in this case the forcing function is constant The critical number we care about is: And the maximum frequency gain occurs when: ω = k m b2 2m 2 ω = k m The maximum Amplitude of the stea state response is: b2 2m 2 F M(ω) = F 1 (k mω2 ) 2 + b 2 ω Let the following differential equation govern the motion of a mass on a spring. 1 2 y + by + 1y = 3 cos(2t) Find the value of b that maximizes the amplitude of the stea state response.

103 2.9. CIRCUITS Circuits We now turn our stu to the circuit consisting of a resister whose letter representation is R and is measured in Ohms, a capacitor whose letter representation is C and the inductor whose letter representation is L connected to a voltage source whose letter representation is E. This circuit will be governed by Kirchhoff s loop rules. Here they are: 1. The sum of the currents flowing into any junction point are zero. 2 The sum of the voltage around any closed loop is zero. From physics we can find the voltage drop by the resistor, capacitor and the inductor. Here they are 1. The voltage drop across a resistor is given by E R = IR where I is the current passing through the resistor 2. The voltage drop across a capacitor is E C = 1 C Q where Q is the charge on the capacitor 3 The voltage drop across an inductor is E L = L di dt If a voltage source is connected to the circuit an adds voltage at a level of E(t) then Kirchhoff s voltage law gives: Or E L + E R + E C = E(t) L di dt + RI + 1 C Q = E(t) Since the change in charge is the current we have Making dq dt = I di dt = d2 Q dt 2

104 14 CHAPTER 2. SECOND ORDER EQUATIONS Now our differential equation becomes L d2 Q dt 2 + R dq dt + 1 C Q = E(t) Sometimes we want to determine the current I(t) in the circuit so we differentiate the above equation to get: L d2 I dt 2 + R di dt + 1 C I = E (t) A RLC circuit has a voltage source given by E(t) = 4 cos(2t)v a resistor of 2 ohms, a inductor of.25 henrys and a 1 capacitor of 13 farads. If the initial current is zero and the initial charge on the capacitor is 3.5 coulombs, determine the charge on the capacitor as a function of t A RLC circuit with no voltage source has a resistor of 2 ohms, a inductor of.1 henrys and a capacitor of 1 25 farads. If the initial current is zero and the initial charge on the capacitor is 1 coulombs, determine the charge on the capacitor as a function of t A RLC circuit has a voltage source given by E(t) = 4V a resistor of 1 ohms, a inductor of.2 henrys and a capacitor of 1 13 farads. If the initial current is zero and the initial charge on the capacitor is, determine the current as a function of t.

105 Chapter 3 Series Solution In calculus we learned that all continuously differentiable function can be represented by a Taylor series. The Taylor series for a function centered at x = c is: f(x) = f(c) + f (c)(x c) + f (c)(x c) 2 If the series is centered at zero then we call it a Mclauren series. Some common power series are: 2! + f (c)(x c) 3 3! e x = 1 + x + x2 2! + x3 3! + x4 4! +... = sin(x) = x x3 3! + x5 5! x7 7! +... = n= cos(x) = 1 x2 2! + x4 4! x6 6! +... = n= 1 1 x = 1 + x + x2 + x = arctan(x) = x x3 3 + x5 5 x7 7 = 3.1 Series Solutions Around Ordinary Points n= n= + f (4) (c)(x c) 4 4! x n n! ( 1) n x 2n+1 (2n + 1)! ( 1) n x 2n (2n)! n= x n ( 1) n x 2n+1 2n + 1 In this chapter we will not be looking for some equation f(x) that is the solution to a differential equation, instead we will be looking for its Power Series (normally a Taylor Series). For the case of the Taylor Series we will look for a solution to the differential equation of the form: y = a n x n n=

106 16 CHAPTER 3. SERIES SOLUTION with the sequence a n to be determined by substituting y, y and y into the differential equation and developing a recurrence relation for a n and solving the recurrence relation for a formula for a n. An Example: Find at least the first seven terms in the power series that is a solution to the differential equation We will look for a solution of the form: n= y + 3xy + 2y = y = a n x n making y = na n x n 1 y = n(n 1)a n x n 2 n=1 Substituting y, y and y into the differential equation produces: n=2 n=1 n=2 n(n 1)a n x n n(n 1)a n x n + 2 a n x n = I will now shift the first series in the above expression so that it too has an x n factor: n= n=1 n= (n + 2)(n + 1)a n+2 x n + 3 na n x n + 2 a n x n = Now I will add the zero term in the first and third series so that all indexes will be n = 1 2a 2 + 2a + (n + 2)(n + 1)a n+2 x n + 3 na n x n + 2 a n x n = n=1 Now that all three series have an x n factor and all 3 indexes are the same: n = 1, we can combine the three series into one series: 2a 2 + 2a + n=1 n=1 n= n=1 ((n + 2)(n + 1)a n+2 + (3n + 2)a n ) x n = Setting the constant term on the left: 2a 2 + 2a equal to the constant term on the right: and setting the coefficient on x n on the left: (n + 2)(n + 1)a n+2 + (3n + 2)a n equal to the coefficient of x n on the right: gives: 2a 2 + 2a = (n + 2)(n + 1)a n+2 + (3n + 2)a n = a 2 = a and our recurrence relation is: a n+2 = (3n + 2)a n (n + 2)(n + 1) Substituting n = 1, 2,...5 in to the recurrence relation gives: The solution is a 3 = 5 6 a 1 a 4 = 2 3 a a 5 = a 1 a 6 = a y = a + a 1 x a x a 1x a x a 1x a x 6 Separating this solution into two linearly independent solutions:

107 3.1. SERIES SOLUTIONS AROUND ORDINARY POINTS 17 ( y = a 1 x x4 14 ) ( 45 x6 + a 1 x 5 6 x ) 24 x5 Since a pattern in the terms cannot be found we shall leave the solution as a sixth degree polynomial. Sometimes a pattern can be found and the solution can be written much more concisely. example: Consider the following Example: Solve using power series about x = : (x + 1)y 2xy 4y = First lets note that y = e 2x is a solution. We will try to find this solution using power series. The series expansion for e 2x that we are trying to obtain is: e 2x 2 n x n = n! n= We will look for a solution of the form: = 1 + 2x + 2x x x x5... y = a n x n making y = na n x n 1 y = n(n 1)a n x n 2 n= n=1 Substituting y, y and y into the differential equation produces: n(n 1)a n x n 1 + n(n 1)a n x n 2 2 na n x n 4 a n x n = n=2 Shifting the first and second series so that they each have an x n factor. n=1 n= n=2 (n + 1)(n)a n+1 x n + (n + 2)(n + 1)a n+2 x n 2 na n x n 4 a n x n = Adding the n = term in he second and fourth series so that all series start with an index of n = 1 and condensing into one series give: 2a 2 4a + n=1 n=1 n=1 n=2 n= n= ((n + 1)(n)a n+1 + (n + 2)(n + 1)a n+2 2na n 4a n ) x n = 2a 2 4a = (n + 1)(n)a n+1 + (n + 2)(n + 1)a n+2 2na n 4a n = So our recurrence relation simplifies to a 2 = 2a a n+2 = 2(n + 2)a n n(n + 1)a n+1 (n + 2)(n + 1) a n+2 = 2 n + 1 a n n n + 2 a n+1

108 18 CHAPTER 3. SERIES SOLUTION a 3 = a a 2 = a a a 4 = 2 3 a a 3 = 5 3 a 1 2 a 1 As of now our solution is: Or a 5 = a a a 6 = 14 9 a 4 5 a 1 ( y = a + a 1 x + 2a x 2 + a 1 2 ) ( 5 3 a x a 1 ) ( 2 a 1 x 4 + a 1 4 ) ( 14 3 a x a 12 ) 15 a 1 x 6 y = a ( 1 + 2x x x4 4 3 x x6 ) + a 1 ( x + x x4 + x x6 ) This solution does not look like the series expansion for e 2x that we are expecting. Noticing the first and third terms in the first linearly independent solution: 1 + 2x 2 match the first and third terms in the series but we seem to be missing the second term: 2x. I will rewrite the linear term in the second linearly independent solution so that it has a 2x term in it. I will do this by letting Making a 1 = 2a + K a 3 = a a 2 = 4 3 a + K a 4 = 2 3 a a 3 = 2 3 a 1 2 K Now our solution is a 5 = a a = 4 15 a K ( ) ( 4 2 y = a + (2a + K)x + 2a x a + K x a 1 ) ( 4 2 K x a + 4 ) 5 K x 5 Separating this into two linearly independent solutions gives ( y = a 1 + 2x + 2x x x4 + 4 ) 15 x5 + K (x + x 3 12 x ) x5 Now the first linearly independent solution has the expansion for e 2x so our solution simplifies to y = a e 2x + K (x + x 3 12 x ) x5 Now that we have one solution we normally would apply the reduction of order algorithm to find the second solution but the integral it produces is quite unpleasant so we must accept the series expansion as our second linearly independent solution Find the first six terms of the solution to the differential equation: y + xy + y =

109 3.1. SERIES SOLUTIONS AROUND ORDINARY POINTS Find the first six terms of the solution to the differential equation: (x + 1)y xy y = 438. Find the first six terms of the solution to the differential equation: y + (3x 1)y y = 439. Find the first six terms of the solution to the differential equation: (2x + 3)y (4x + 8)y + 4y = 44. Find the first six terms of the solution to the differential equation: (3x + 4)y (3x + 4)y + (2x + 3)y = 441. Find the first six terms of the solution to the differential equation: (x 2 2x)y + (2 x 2 )y + (2x 2)y = 442. Find the first six terms of the solution to the differential equation: y x x 1 y + 1 x 1 y = 443. Find the first six terms of the solution to the differential equation: 4xy + 3y + xy = 444. Find the first six terms of the solution to the differential equation: (x 2 + 1)y + y = 445. Find the first six terms of the solution to the differential equation: (2x + 1)y 2y (2x + 3)y = 446. Find the first six terms of the solution to the differential equation: (x 2 + 2)y + xy y =

110 11 CHAPTER 3. SERIES SOLUTION 447. Find the first 5 terms in y 1 in the series expansion about x = for a solution to: 448. y 2xy 2y = Find the first 5 terms in y 1 in the series expansion about x = for a solution to: 449. The Hermite equation is an equation of the form: y + xy (4 + 2x)y = y 2xy + λy = Show that one of the solution for the given values of λ is a finite polynomial. Find the polynomial then use reduction of order to find the second linearly independent solution. A) λ = 4 B) λ = Show that the solutions to y = y + y is given by F n x n where F n is the n th Fibonacci number 451. Use the power series for sin(x), cos(x) and e x to derive Euler s Equation: n= n! 452. Use your knowledge of power series to evaluate 3.2 Method of Frobenius: e ix = cos(x) + i sin(x) n= ( 1) n 2n + 1 We will now try to find a power series solution to the differential equation: y + P (x)y + Q(x)y =

111 3.2. METHOD OF FROBENIUS: 111 centered at a point where either P (x) or Q(x) is not analytic. To motivate our procedure lets reconsider the Cauchy Euler equation. After dividing by x 2 we get So both x 2 d2 y + ax 2 + by = d 2 y 2 + a x + b x 2 y = P (x) = a and x are not analytic at x =. The Cauchy Euler equation has a characteristic equation Q(x) = b x 2 which can be created by the following equation r(r 1) + ar + b = r(r 1) + xp (x) + x 2 Q(x) = This equation is quite similar to the characteristic equation we use in the method of Frobenous. First a definition: x = x is a Singular Point of the above differential equation if either P (x) or Q(x) is not analytic at x = x. x = x is a Regular Singular Point if the following limits exist: p = lim x x (x x )P (x) q = lim x x (x x ) 2 Q(x) To find a series solution about a regular singular point we use the Method of Frobenius. In the Method of Frobenius we look for a series solution of the form: y = a n x n+r making y = (n + r)a n x n+r 1 y = (n + r)(n + r 1)a n x n+r 2 n= The values of r that we will use are the roots of the Indicial Equation: n= n= r(r 1) + p r + q = There will be three cases we will have to consider based on the roots: r 1 and r 2 to the indical equation. Note: we always take r 1 to be the larger of the two roots. The first case we will consider is the case when the roots differ by a non integer. That is: An Example: r 1 r 2 Z Find the first 6 terms in the series expansion for the solution to the following differential equation centered at x =. 2x(x 1)y + 3(x 1)y y =

112 112 CHAPTER 3. SERIES SOLUTION In standard form this equation is: y x y + 2x(x 1) y = The indical equation is: p = lim x 3 x 2x = 3 2 q = lim x x 2 1 2x(x 1) = r(r 1) + 3 ( 2 r = or r r + 1 ) = 2 The roots are r 1 = and r 2 = 1 2. Inserting: y = a n x n+r making y = (n + r)a n x n+r 1 y = (n + r)(n + r 1)a n x n+r 2 n= into the original differential equation gives: n= n= 2 (n+r)(n+r 1)a n x n+r 2 (n+r)(n+r 1)a n x n+r 1 +3 (n+r)a n x n+r 3 (n+r)a n x n+r 1 a n x n+r = n= n= Shifting the first, third and fifth summation so that all series will have an x n+r 1 factor: 2 (n + r 1)(n + r 2)a n 1 x n+r 1 2 (n + r)(n + r 1)a n x n+r 1 + n=1 3 (n + r 1)a n 1 x n+r 1 3 (n + r)a n x n+r 1 a n 1 x n+r 1 = n=1 Adding the n = terms in the second and forth series and condensing into a single series gives: n= ) ( 2r(r 1)a 3ra )x r 1 + (2(n+r 1)(n+r 2)a n 1 2(n+r)(n+r 1)a n +3(n+r 1)a n 1 3(n+r)a n a n 1 x n+r 1 = n=1 Setting the coefficients of the polynomial on the left hand side equal to zero: the coefficients of the polynomial on the right hand side. We see that the coefficient of x r 1 is zero at both r 1 = and r 2 = 1 2 so a is a free is not necessarily zero. We also get our recurrence relation from setting the coefficient of x n+r 1 to zero. n= n= n=1 n= n= r 1 = Solving for a n 2(n + r 1)(n + r 2)a n 1 2(n + r)(n + r 1)a n + 3(n + r 1)a n 1 3(n + r)a n a n 1 = a n = a n 1 1 3(n + r 1) 2(n + r 1)(n + r 2) 2(n + r)(n + r 1) 3(n + r) We will find two linearly independent solutions by substituting our two values of r into the recurrence relation. For

113 3.2. METHOD OF FROBENIUS: 113 Which simplifies to: a n = a n 1 1 3(n 1) 2(n 1)(n 2) 2n(n 1) 3n a n = ( ) 2n 3 a n 1 2n + 1 To obtain the first 6 terms in the solution we will find the first 3 terms in y 1 using the above recurrence relation created by using r 1 = and the first 3 terms in y 2 using the using a recurrence relation created by using r 2 = 1 2. The first 3 terms in this recurrence relation will have coefficients a, a 1 and a 2. They are: Using r 1 = the first 3 terms in y 1 are: a 1 = 1 3 a a 2 = 1 5 a 1 = a = 1 15 a y 1 = a + a 1 x + a 2 x 2 ( y 1 = a 1 x ) 3 x2 15 Since this is a second order differential equation we would expect the form of the solution to be: In our answer C 1 is the constant a. To find y 2 we insert r 2 = 1 2 y = C 1 y 1 + C 2 y 2 into the recurrence relation: a n = 1 3(n 3 2 ) 2(n 3 2 )(n 5 2 ) 2(n 1 2 )(n 3 2 ) 3(n 1 2 ) After a bit of simplifying we arrive at our recurrence relation: ( ) 2n 1 a n = a n 1 n The first three terms in this recurrence relation will have coefficients a, a 1 and a 2. They are: a 1 = a a 2 = 3 2 a 1 = 3 2 a y 2 = a x a1 x a2 x 3 2 An Example: y 2 = a x a x a x 3 2 ( ) y 2 = a x x x 3 2 Solve the following differential equation by method of Forbenious.

114 114 CHAPTER 3. SERIES SOLUTION 4xy + 2y + y = In standard form our equation is: y + 1 2x y + 1 4x y = p = lim x 1 x 2x = 1 2 Our indical equation becomes: q = lim x 2 1 x 4x = Which has roots r 1 = 1 2 and r 2 = r(r 1) r = Assume a solution to the differential equation of the form: Therefore: y = a n x n+r n= y = (n + r)a n x n+r 1 y = (n + r)(n + r 1)a n x n+r 2 n= n= Inserting the series for y, y and y into our differential equation yields the following: 4(n + r)(n + r 1)a n x n+r 1 + 2(n + r)a n x n+r 1 + a n x n+r = n= n= n= Shifting the last series on the LHS of the above equation yields: 4(n + r)(n + r 1)a n x n+r 1 + 2(n + r)a n x n+r 1 + a n 1 x n+r 1 = n= n= n=1 Adding the n = terms in the first two series and then combining the rest into one series yields: (4r(r 1)a + 2ra )x r 1 + [4(n + r)(n + r 1)a n + 2(n + r)a n + a n 1 ]x n+r 1 = This gives the recurrence relation: n=1 Which simplifies to: 4(n + r)(n + r 1)a n + 2(n + r)a n + a n 1 = a n = a n 1 (2n + 2r)(2n + 2r 1)

115 3.2. METHOD OF FROBENIUS: 115 For r 1 = 1 2 our recurrence relation becomes: a n = Substituting values of n into our recurrence relation yields: a n 1 (2n + 1)(2n) a 1 = a 3 2 a 2 = a = a The solution to this recurrence relation is: Making the solution: a 3 = a = a a n = ( 1)n a (2n + 1)! y 1 = For r 2 = our recurrence relation becomes: n= ( 1) n (2n + 1)! xn+1/2 = sin( x) a n = Substituting values of n into our recurrence relation yields: a n 1 (2n)(2n 1) a 1 = a 2 1 a 2 = a = a The solution to this recurrence relation is: Making the solution: a 3 = a = a a n = ( 1)n a (2n)! 453. y 2 = n= ( 1) n (2n)! xn = cos( x) Determain if x = is a regular or iregular singular point. If x = is a regular singular point find the indicial equation and its roots ( e y 2x ) ( ) 2x 1 sin(4x) + xe x y + + x (x + sin(x)) 2 y = Determain if x = is a regular or iregular singular point. If x = is a regular singular point find the indicial equation and its roots.

116 116 CHAPTER 3. SERIES SOLUTION 455. y + x sin ( ) 2 y + + x ( arctan(x) x ) y = Determain if x = is a regular or iregular singular point. If x = is a regular singular point find the indicial equation and its roots ( 1 y + x 1 ) y + + sin(x) ( arcsin(x) ln(x + 1) ) y = Solve by method of Frobenious. You should be able to recognise a pattern and identify the power series as a known function. 2xy + (x + 1)y + y = 457. Solve by method of Frobenious. You should be able to recognise a pattern and identify the power series as a known function y + 2 x y + y = Find the first 5 terms in y 1 in the series expansion about x = for a solution to: 459. x 2 y xy + (1 x)y = Find the first 5 terms in y 1 in the series expansion about x = for a solution to: 46. (x 2 2x)y + (2 x 2 )y + (2x 2)y = Find the first 5 terms in y 1 in the series expansion about x = for a solution to: 461. (6x 2 + 2x)y + (x + 1)y y = Find the first 5 terms in y 1 in the series expansion about x = for a solution to: 462. xy + y + xy = Find the first 5 terms in y 1 in the series expansion about x = for a solution to: 463. xy + y 4y = Find the first 5 terms in y 1 in the series expansion about x = for a solution to:

117 3.3. THE GAMMA FUNCTION Show that one solution to xy + 2y + xy = x 2 y = (a 2 a + bx)y is ( y = x a 1 + bx 1! 2a + (bx) 2 2! (2a)(2a + 1) + (bx) 3 ) 3! (2a)(2a + 1)(2a + 2) The Gamma Function As you have seen many of our series solutions involve factorials. The problem factorials is that they are only defined for non negative integers. The gamma function extend the idea of factorials to all positive real numbers. The Gamma Function is given by the improper integral: Γ(x) = e t t x 1 dt x > The first important property that we will prove of the gamma function shows its similarities to the factorial function: Thm: Γ(x + 1) = xγ(x) Proof: Using integration by parts Γ(x + 1) = e t t x dt u = t x dv = e t dt du = xt x 1 dt v = e t Γ(x + 1) = lim b tx e t The first term is zero at both zero and infinity so we hvae Γ(x + 1) = x b + x b t x 1 e t dt e t t x 1 dt = xγ(x) This theorem demonstrates the relationship with the factorial function. The next result is a direct corollary to the above theorem and is the most well known property of the gamma function. If n is a positive integer Γ(n) = (n 1)! Example:

118 118 CHAPTER 3. SERIES SOLUTION Calculate Γ( 1 2 ) Substituting ( ) 1 Γ = 2 e t t 1 2 dt = e t t dt u = t 2du = dt t when t = u = as t u ( ) 1 Γ = 2 2 e u2 du Although we cannot find an antiderivative for e u2 we can evaluate this integral with a clever trick So ( Γ ( 1 2 )) 2 = ( 2 Converting to polar coordinates So ( Γ ( ) 1 Γ = 2 2 ( 1 2 ) ( e u2 du 2 ( Γ ( 1 2 e u2 du = 2 )) 2 = 4 π 2 )) 2 = 2 π 2 lim ) e v2 dv = 4 b b e r2 ( ) 1 Γ = π 2 e v2 dv e r2 rdrdθ π 2 dθ = 2 dθ = π e u2 v 2 dudv 465. Find 466. Show ( ) 3 Γ Use the principle of mathematical induction to prove: lim Γ(x) = x + ( Γ n + 1 ) = (2n)! π 2 4 n n! n =, 1, 2,...

119 3.4. BESSEL S EQUATION Show that the definition of the Gamma function is equivalent to Euler s original definition: Γ(x) = 1 ( ( )) x 1 1 ln dt t Another important function related to the Gamma function is Euler s Psi function: the derivative of the logarithm of the Gamma function. Show the following property of the Psi function ψ(x) = d ( ) ln Γ(x) = Γ (x) Γ(x) ψ(x + 1) = 1 x + ψ(x) Use the above results to also show for positive integers n 3.4 Bessel s Equation ψ(n + 1) = ψ(1) + We will now consider a differential equation of great importance in applied mathematics. The Bessel Equation of order v is: n k=1 1 k or in standard form: x 2 y + xy + (x 2 v 2 )y = y + 1 ) x y + (1 v2 y = We see that x = is a singular point of the Bessel Equation. Since both P = lim x 1 ) x x = 1 And Q = lim x (1 2 v2 = v 2 x exist x = is a regular singular point and our indical equation is x 2 x 2 Which has roots r(r 1) + r v 2 = Or r 2 v 2 = r = ±v If the difference between the roots: 2n is not an integer then the method of Frobenius gives two linearly independent solutions: and J v = n= ( 1) n x 2n+v 2 2n+v n!γ(1 + v + n)

120 12 CHAPTER 3. SERIES SOLUTION J v = n= ( 1) n x 2n v 2 2n v n!γ(1 v + n) An Example: Solve the Bessel equation of order 1 2 In standard form we have ( x 2 y + xy + x 2 1 ) = 4 y + 1 ( x y ) 4x 2 y = We see that x = is a singular point. To show it is a regular singular point we compute: P = lim x x 1 x = 1 ( Q = lim x ) x 4x 2 = 1 4 Since both limits exist we see that x = is a regular singular point and we can use the method of Frobenius to find a series solution about x =. The indical equation and roots are: r(r 1) + r 1 4 = r = ±1 2 y = a n x n+r y = (n + r)a n x n+r 1 y = (n + r)(n + r 1)a n x n+r 2 n= n= Inserting the series for y, y and y into the original differential equation gives: (n + r)(n + r 1)a n x n+r + (n + r)a n x n+r + a n x n+r a nx n+r = n= n= Shifting the third series so that it too has an exponent of n + r (n + r)(n + r 1)a n x n+r + (n + r)a n x n+r + a n 2 x n+r 1 4 a nx n+r = n= n= Adding the first and second terms in the first, second and fourth series will produce four series all with an index starting at n = 2 that can be simplified into a single series. n= n=2 n= n= n= ( r(r 1) + r 1 ) ( a x r + (1 + r)r + (1 + r) 1 ) a 1 x 1+r n=2 (( (n + r)(n + r 1) + (n + r) 1 ) )a n + a n 2 x n+r = 4 The coefficient of a x r is identical to the indical equation and is zero at both values of r making a not zero whereas the coefficient of a 1 x 1+r is not zero at both values of r making a 1 =. Our recurrence relation is: ( (n + r)(n + r 1) + (n + r) 1 ) a n + a n 2 = 4

121 3.4. BESSEL S EQUATION 121 a n 2 a n = (n + r) For the larger root r = 1 2 our recurrence relation simplifies to: a n = a n 2 n(n + 1) Producing a sequence of terms in a n a 2 = a 2 3 = a 3! a 3 = a = Since a 5 depends on a 3 it too must be zero. In fact a n = for all odd values of n Recognizing the pattern we see a 4 = a = a = a 5! a 6 = a = a 7! And the first solution is a 2n = ( 1)n a (2n + 1)! y 1 = n= Recognizing the series gives: ( 1) n a (2n + 1)! x2n+ 1 ( 1) n a x 2n+1 2 = = 1 ( 1) n a (2n + 1)! n= x x (2n + 1)! x2n+1 n= y 1 = J 1 (x) = a cos(x) 2 x Since r 1 r 2 is an integer the second linearly independent solution would be quite difficult to find using series, but we were able to find a closed form expression for y 1 = cos(x) x so we can use the method of reduction of order form chapter 2 to find the second linearly independent solution. y + 1 ( x y ) 4x 2 y = e 1 v = Our second linearly independent solution is x cos 2 (x) x = sec 2 (x) = tan(x) y 2 = y 1 v = cos(x) x tan(x) y 2 = J 1 (x) = sin(x) 2 x And the homogenous solution is: y = C 1 cos(x) x + C 2 sin(x) x

122 122 CHAPTER 3. SERIES SOLUTION A few important properties of the solutions to the Bessel equation are: ( ) d x v J v (x) = x v J v 1 (x) ( ) d x v J v (x) = x v J v+1 (x) J v+1 (x) = 2v x J v(x) J v 1 (x) J v+1 (x) = J v 1 (x) 2J v(x) 47. The Bessel functions of order n for integer n are related to the spherical Bessel functions. Use one of the above properties of the Bessel function and the results of the example to calculate J 3 2 and J Show the orthogonality of the Bessel functions by showing 1 xj 1 J 1 = 2 2 Show that the substitution z = xy transforms the Bessel equation to normal form: The parametric Bessel equation is: z + (1 + 1 ) 4v2 4x 2 z = Show x 2 y + xy + (λ 2 x 2 v 2 )y = x > y = C 1 J v (λx) + C 2 J v (λx) v / Z is the solution Use the results from the previous problem and to find the solution to ( x 2 y + xy + 25x 2 1 ) y = x > 4 Use ideas from the previous two problems and the fact ı 2 x 2 = x 2 to solve Use the change of variable y = x 1 2 v(x) to solve ( x 2 y + xy x ) y = x > 4 x 2 y + 2xy + λ 2 x 2 y =

123 Chapter 4 Laplace Transform 4.1 Calculating Laplace and Inverse Laplace Transforms The Laplace Transform of a function f(t) will be a function of s given by the improper integral: L(f) = f(t)e st dt provided the integral converges. Functions that outgrow e kt, for constant k, do not have a Laplace Transform since the integral diverges. So f(t) = e tn Transform of f(t) = e at. For s > a. will not have a Laplace Transform for n > 1. Let us now try to find the Laplace = lim b L(e at ) = e (a s)t a s b e at e st dt = e (a s)t dt e (a s)b = lim b a s 1 a s = 1 s a One key property of the Laplace Transform is that it is a Linear Transformation, meaning: L(af(t) + bg(t)) = al(f(t)) + bl(g(t)) To derive the Laplace Transform of sin(t) and cos(t) we will use the linearity of the Laplace Transform and: Euler s Identity Making e ıat = cos(at) + ı sin(at) L(e ıat ) = L(cos(at)) + ıl(sin(at)) L(e ıat ) = e ıat e st dt = 123 e (ıa s)t dt

124 124 CHAPTER 4. LAPLACE TRANSFORM = lim b e (ıa s)t ıa s Multiplying the result by the complex conjugant b e (ıa s)b = lim b ıa s 1 ıa s = 1 s ıa Separating into real and imaginary parts gives 1 s ıa s + ıa s + ıa = s + ıa s 2 + a 2 L(e ıat s ) = L(cos(at)) + ıl(sin(at)) = s 2 + a 2 + ı a s 2 + a 2 So L(cos(at)) = s a s 2 + a 2 L(sin(at)) = s 2 + a 2 How would one compute L(t n f(t))? L(f(t)) = Differentiating with respect to s f(t)e st dt Differentiating again with respect to s d ds L(f(t)) = d ds f(t)e st dt = tf(t)e st dt = L( tf(t)) In general d 2 d 2 s L(f(t)) = d ds tf(t)e st dt = t 2 f(t)e st dt = L(t 2 f(t)) d n d n s L(f(t)) = L(( 1)n t t f(t)) Due to linearity we can factor out the ( 1) n and arrive at Here is a basic table of laplace transforms: L(t t f(t)) = ( 1) n dn d n s L(f(t))

125 4.1. CALCULATING LAPLACE AND INVERSE LAPLACE TRANSFORMS 125 f(t) F(s) = L(f(t)) e at 1 s a a s 2 +a 2 s s 2 +a 2 sin(at) cos(at) t n n! n N s n+1 e at t n n! n N (s a) n+1 e at e bt a b (s a)(s b) b (s a) 2 +b 2 s a (s a) 2 +b 2 2as (s 2 +a 2 ) 2 e at sin(bt) e at cos(bt) t sin(at) s t cos(at) 2 a 2 a sinh(at) s 2 a cosh(at) 2 s s 2 a 2 t r Γ(r+1) r R r > 1 s r+1 t π (s 2 +a 2 ) 2 s 1 t 2s 3 2 π t n (2n 1) 2 n N π 2 n s n a sin(at) cosh(at) cos(at) sinh(at) 3 s 4 +4a a 2a sin(at) sinh(at) 2 s s 4 +4a 4 2a sinh(at) sin(at) 3 s 4 a 4 2a cosh(at) cos(at) 2 s s 4 a 4 2a sin(at) at cos(at) 3 (s 2 +a 2 ) 2 sin(at) + at cos(at) 2as 2 (s 2 +a 2 ) 2 t 2 2a(a sin(at) 2 3s 2 ) (s 2 +a 2 ) 3 t 2 2s(s cos(at) 2 3a 2 ) (s 2 +a 2 ) 3 e at g(t) G(s a) G(s) = L(g(t)) t n g(t) ( 1) n dn ds n (L(g(t)) Notice there is not a Laplace Transform for any function that outgrows f(x) = e at. This is because the improper integral from the definition will diverge. An Example: Use the table to find the Laplace Transform of: ) f(t) = 4t sin(3t) + t 2 e 6t Using the table we see that the Laplace Transform of 4t sin(3t) is 4 2 3s (s ) 2 and the Laplace Transform of t 2 e 6t is 2 (s 6) 3. So: L(f(t)) = 24s (s 2 + 9) (s 6) 3

126 126 CHAPTER 4. LAPLACE TRANSFORM An Example: Find the inverse Laplace Transform of: F (s) = s3 8s s 7 (s 2 4s + 2)(s 3) 2 Looking at the table of Laplace Transforms we notice that there is not an inverse Laplace Transform for a function with a repeated linear factor multiplied by a quadratic factor so we must use partial fraction decomposition to separate this function into a sum of functions that do have an inverse Laplace Transform. By partial fractions F (s) = s 3 s 2 4s (s 3) 2 Looking at the table we notice all terms with a quadratic denominator are written in the completed square form. So we will complete the square on the quadratic denominator and do nothing to the second term since we can find the inverse Laplace Transform it as it is: F (s) = s 3 (s 2) (s 3) 2 To find the inverse Laplace of a term with a denominator: (s 2) we need to have either an s 2 or a 4 in the numerator so I will rewrite the s 3 term as s 2 1 and separate the fraction into two fractions: F (s) = I will now multiply the second term by 4 4 F (s) = s 2 (s 2) (s 2) (s 3) 2 to make it fit the table: s 2 (s 2) ( 4 Using the table to find the inverse Laplace Transform gives: 4 (s 2) ) + 1 (s 3) Find the Laplace Transform of: f(x) = e 2t cos(4t) 1 4 e2t sin(4t) + te 3t 478. Find the Laplace Transform of: f(x) = t 3 3t cos(4t) 479. Find the Laplace Transform of: f(t) = t 2 sinh(3t) + e 2t sin(3t) 48. f(t) = t 4 e 5t sin(2t) sinh(2t) Use trig identities and the table in this section to find the Laplace transform of: 481. f(t) = sin(at + B) g(t) = cos(at + B) Use trig identities and the table in this section to find the Laplace transform of:

127 4.1. CALCULATING LAPLACE AND INVERSE LAPLACE TRANSFORMS 127 f(t) = sin 2 (At) g(t) = cos 2 (At) 482. Use the definition to find the Laplace Transform of: 483. Find the Laplace Transform of: 1 t < 2 f(t) = t 2 t < 6 t 2 t 6 f(t) = t 3 2 t Find the Inverse Laplace Transform of: 485. Find the Inverse Laplace Transform of: F (s) = 3s s s 2 1s Find the Inverse Laplace Transform of: F (s) = 5 + 4s (s ) 2 F (s) = 4s3 + 4s 2 27s 18 s 4 3s 3 + 2s Find the Inverse Laplace Transform of: F (s) = 3s4 + s 3 5s 2 1s 25 s 5 + 2s 4 + 5s Find the Inverse Laplace Transform of: 489. Find the Inverse Laplace Transform of: F (s) = 9s2 3s + 49 (s 3) 2 (s 2 + 1) 49. Find the Inverse Laplace Transform of: F (s) = 3s3 6s s + 54 (s 2 4s + 13)(s 2 + 9) 491. You should be able to recognize the power series. Find the Inverse Laplace Transform of: You should be able to recognize the power series. F (s) = F (s) = n=1 n= 1 s n ( 1) n s 2n+2

128 128 CHAPTER 4. LAPLACE TRANSFORM Find the Inverse Laplace Transform of: F (s) = You should be able to recognize the power series. Use the series expansion for ln(1 + t) to find n= ( 1) n (2n)! s 2n Show L(e t2 ) does not exist ( ) 1 Show L t does not exist Use L(ln(1 + t)) to derive formulas for cosh(t) = et + e t 2 sinh(t) = et e t 2 and L{cosh(at + b)} L{sinh(at + b)} L{cosh 2 (t)} L{sinh 2 (t)} Then find the inverse Laplace transform of L{cosh 2 (t)} L{sinh 2 (t)} What can you conclude about the value of cosh 2 (t) sinh 2 (t) 497. Calculate: L(t 2 y ) 498. Calculate: L(te at cos(t)) 499. Calculate:

129 4.1. CALCULATING LAPLACE AND INVERSE LAPLACE TRANSFORMS Let L(te at sin(t)) and n y = (1 + t) n i= F (s) = L(y) Show that the coefficients of both 1 s n and 1 s n+1 in F (s) are both n! Use the following property: to find Use a power series expansion to show: ( ) f(t) L = t s ( ) sinh(t) L t F (t)dt L 1 ( e 1 s s ) = cos(2 t) πt Recall the Gamma function from the last chapter is given by 54. Show that Show L(t r ) = Γ(t) = Γ(r + 1) s r+1 L{y y } = 1 2 u t 1 e u du r > 1 ( ) sl{y 2 } y 2 () 55. Another interesting inverse Laplace Transform is: ) L (F 1 (s) = 1 ( ) x L 1 F (s) Use this transform to calculate the inverse Laplace Transform of

130 13 CHAPTER 4. LAPLACE TRANSFORM 56. F (s) = arctan ( ) 1 s Use the previous problem to find the inverse Laplace Transform of F (s) = ln(1 + s 2 ) In the special case where you are trying to find the inverse Laplace Transform of a rational function F (s) = P (s) Q(s) with the degree of P less than the degree of Q, if Q has n distinct, possibly complex, roots r i, the inverse Laplace Transform is given by ) L (F 1 (s) = n i=1 P (r i ) Q (r i ) Use the previous above results to find the inverse Laplace Transform of F (s) = (s 1)(s 3)(s 5) (s 2)(s 4)(s 6) Use the previous above results to find the inverse Laplace Transform of F (s) = s 2 (s 2 + 1)(s 5) 4.2 Solving Initial Value Problems What is the use of Laplace Transforms in differential equations? Laplace Transform of y (t): The answer comes from the next derivation of the L(y (t)) = y (t)e st dt using integration by parts u = e st dv = y (t)dt du = se st dt v = y(t) L(y (t)) = y (t)e st dt = lim b b e st y(t) b = lim b e sb y(b) y() + sl(y(t)) sy(t)e st dt

131 4.2. SOLVING INITIAL VALUE PROBLEMS 131 = sl(y(t)) y() In a similar way we can find the Laplace Transform of y, y... L(y (t)) = sl(y(t)) y() L(y (t)) = s 2 L(y(t)) sy() y () In general L(y (t)) = s 3 L(y(t)) s 2 y() sy () y () L(y (n) (t)) = s n L(y(t)) s n 1 y() s n 2 y () s n 3 y ()... y (n 1) () From the above equations it should be clear that you must have initial conditions evaluated at x = to use Laplace Transforms to solve a differential equation. The procedure to solve a differential equation using Laplace Transforms is: First, using the above tables take the Laplace Transform of both sides of the differential equation; Second, Solve for L(y(t)) as a function of s; Third, using the above tables calculate the inverse Laplace of both sides of the equation. A Example: Taking the Laplace transform of both sides gives: y + 4y = 2e t cos(t) y() = 7 y () = 1 Solving for L(y): s 2 s 1 L(y) 7s 1 + 4L(y) = 2 (s 1) yields L(y)(s 2 s 1 + 4) = 7s (s 1) L(y) = 7s + 1 s s 1 ((s 1) 2 + 1)(s 2 + 4) Applying Partial Fractions to the second fraction on the right hand side and adding the results to the first fraction Completing the square on the first fraction L(y) = 4s 2 s 2 2s s + 4 s L(y) = 4s 2 (s 1) s + 4 s 2 + 4

132 132 CHAPTER 4. LAPLACE TRANSFORM Manipulating the right hand side into our table of Laplace Transforms s 1 L(y) = 4 (s 1) (s 1) s s s Taking the inverse Laplace of each side An Example: y = 4e t cos(t) + 2e t sin(t) + 3 cos(2t) + 2 sin(2t) Taking the Laplace transform of both sides gives: Solving for L(y): Solving for L(y) y 2y + y = 4t 2 e 2t y() = 1 y () = 3 ( ) ( ) s 2 2 L(y) s 3 2 sl(y) 1 + L(y) = 4 (s 1) 3 ( L(y)(s 2 2s + 1) = 4 ( L(y) = 4 Manipulating the right hand side to fit the table ( L(y) = 4 2 (s 1) 5 L(y) = 1 3 Calculating the inverse Laplace Transform 2 (s 1) 5 2 (s 1) 3 ) + s + 1 (s 1) 2 ) + s + 1 ) + s + 1 (s 1) 2 = 8 ( ) 4! (s 1) + 2 4! (s 1) 5 + (s 1) 2 ( ) 4! (s 1) ( ) s (s 1) 2 y = 1 3 t4 e t + 2te t + e t The Laplace Transform can also be used to solve linear differential equations without constant coefficients. To do so we would like to have nice formula for: L(f(t)y) L(f(t)y ) L(f(t)y ) Unfortunately, these formulas either do not exist or are well beyond the scope of this book, so instead we will find formulas for the specific case f(t) = t. Lets now calculate L(ty) We know So L(tf(t)) = d ds L(f(t))

133 4.2. SOLVING INITIAL VALUE PROBLEMS 133 L(ty) = d ds L(y) And And L(ty ) = d ds L(y ) = d ds L(ty ) = d ds L(y ) = d ds ( ) sl(y) y() = L(y) s d ds L(y) ( ) s 2 L(y) sy() y () = 2sL(y) s 2 d L(y) + y() ds Using the notation L (y) = d dsl(y) our formulas become: A Example: L(ty) = L (y) L(ty ) = L(y) sl (y) L(ty ) = 2sL(y) s 2 L (y) + y() Taking the Laplace Transform of each side gives: ty + 2(t 1)y 2y = y() = 2sL(y) s 2 L (y) + y() 2L(y) 2sL (y) sl(y) + y() 2L(y) = Which simplifies to: 2sL(y) s 2 L (y) 2L(y) 2sL(y) sl (y) 2L(y) = This equation is now separable Applying partial fraction to the right hand side gives (s 2 + 2s)L (y) + (4s + 4)L(y) = L (y) L(y) = 4s + 4 s(s + 2) Integrating gives L (y) L(y) = 2 s 2 s + 2 ( ) ln L(y) = 2 ln(s) 2 ln(s + 2) + C Treating C as ln(k) and using some log rules we get: ln(s 2 (s + 2) 2 L(y)) = ln(k)

134 134 CHAPTER 4. LAPLACE TRANSFORM So L(y) = Applying partial fraction to the right hand side gives K s 2 (s + 2) 2 ( 1 L(y) = K 4 1 s s s ) 1 (s + 2) 2 Absorbing the 1 4 into the constant and calculating the inverse Laplace Transform gives: ( ) y = K 1 + t + e 2t + te 2t We see the first initial condition y() = gives us no information about the constant K but our second initial condition y(1) = 2e 2 does. Applying this condition gives ( ) 2e 2 = K e 2 + e 2 So K = 1 and the solution is ( ) y = 1 + t + e 2t + te 2t 59. y + y = e t y() = y + 2y = sin(2t) y() = y + 6y + 5y = 12e t y() = 1 y () = y 2y + y = 6te t y() = 1 y () = y 2y 3y = 8 16t 12t 2 y() = 2 y () = y + y 2y = 3e t y() = 5 y () =

135 4.2. SOLVING INITIAL VALUE PROBLEMS y + y = e t (3 cos(t) sin(t)) y() = 3 y () = y 2y + y = (t + 2)e 2t y() = 1 y () = 518. y 4y + 5y = te 2t y() = 1 y () = y 3y + 2y = (1 2t)e t y() = 3 y () = y 4y + 3y = e t (3 sin(t) + cos(t)) y() = 1 y () = y + y = 2 sin(t) + 4t cos(t) y() = 3 y () = y + 4y = sin(2t) y() = 1 y () = 523. y 7y + 1y = 9 cos(t) + 7 sin(t) y() = 5 y () = y + 4y = 4t 2 4t + 1 y() = y () = y + 4y + 5y = e 2t sin(t) y() = 1 y () = y 2y + y = 18te t y() = 1 y () = y 5y + 6y = e t (4 sin(t) 2 cos(t)) y() = 3 y () = 3

136 136 CHAPTER 4. LAPLACE TRANSFORM 528. y + y = e 2t (4t t 2 + 6t) y() = 1 y () = y y 2y = e 2t (t 2 + 6t + 2) y() = 2 y () = y 2y + 1y = 12 cos(3t) + t sin(t) + sin(t) 6t cos(t) y() = 1 y () = y y + y y = 2e t y() = 2 y () = 4 y () = y 6y + 11y 6y = e t + e 2t + e 3t y() = y () = y () = 533. y + y + 3y 5y = 16e t y() = y () = 2 y () = y 2y + 4y 8y = 8e 2t cos(2t) 16e 2t sin(2t) y() = 4 y () = 8 y () = 535. y 8y + 21y 18y = 2e 3t y() = 2 y () = 5 y () = y y = e nt y() = y () = n= ty y = t 2 y() = y(1) = ty + y 2ty = e t y() = 1 y(1) = ty + 2ty + 2y = y() = y(1) = ty + (t + 2)y + y = 1 y() = y(1) = 2

137 4.2. SOLVING INITIAL VALUE PROBLEMS Find the Laplace Transform of the solution to Bessel order Use the formula ty + y + ty = To find the Laplace transform of L(y (t)) = s 2 L(y(t)) sy() y () y(t) = sin(at) Convert the Cauchy Euler equation to the variable t and then use Laplace transforms to solve it. x 2 d2 y 2 + x 4y = sin(ln(x)) y(1) = 1 y (1) = 3 Derive a formula for L(t 2 y (t)) and use it along with the formula that we created for L(ty (t)) to try to solve the Cauchy Euler Equation Solve Hint Use at 2 y + bty + cy = y() = k 1 y () = k 2 y + 2y + to find the inverse Laplace Transform of 1 s(s 1) y(u)du = e t y() = 1 y () = { } L y(u)du = L{y} s { } L y(u)du = L{y} s

138 138 CHAPTER 4. LAPLACE TRANSFORM 4.3 Unit Step Function So far we have learned how to use Laplace Transforms to solve differential equations involving continuous functions. We will now learn how to solve differential equations involving piecewise functions. First a definition. The Unit Step Function is defined as: To express a the piecewise function: we write it in terms of the unit step function It can be shown that: u c (t) = { t < c 1 t c f 1 t < c 1 g(t) = f 2 c 1 < t c 2 c 2 < t f 3 ) ) g(t) = f 1 + u c1 (t) (f 2 f 1 + u c2 (t) (f 3 f 2 An Example: L(u c (t)f()) = e cs L(f(t + c)) L 1 (e cs F (s)) = u c (t)f(t c) y + y = g(t) y() = y () = 1 { t t < 2 g(t) = 4 2 < t Start by writing the equation using the unit step function: Take the Laplace Transform of both sides: y + y = t + (4 t)u 2 (t) s 2 L(y) 1 + L(y) = 1 s 2 + e 2s L(4 (t + 2)) L(y) = L(y)(s 2 + 1) = 1 s 2 + e 2s ( 2 s 1 s 2 ) + 1 ( ) 1 s 2 (s 2 + 1) + 1 (s 2 + 1) + 2 e 2s s(s 2 + 1) 1 s 2 (s 2 + 1) Applying partial fraction to the first term and on the terms multiplied by e 2s gives: L(y) = 1 s 2 1 ( s s (s 2 + 1) + e 2s s s s 1 ) s 2 L(y) = 1 ( 2s s 2 + e 2s s s s 1 ) s 2

139 4.3. UNIT STEP FUNCTION 139 Calculating the inverse Laplace Transform: ( y = t + u 2 (t) 2 cos(t) + sin(t) + 2 t) t 2 ( ) y = t + u 2 (t) 2 cos(t 2) + sin(t 2) + 2 (t 2) ( ) y = t + u 2 (t) 2 cos(t 2) + sin(t 2) t 546. Express the piecewise function using the unit step function and then find its Laplace Transform: f(t) = { t t < 4 e 3t t > Express the piecewise function using the unit step function and then find its Laplace Transform: 548. Find the Inverse Laplace Transform of: sin(2t) t < 3 f(x) = te 4t 3 < t < 6 cosh(2t) 6 < t 549. Find the Inverse Laplace Transform of: 55. Find the Inverse Laplace Transform of: F (s) = e 5s (s + 4) F (s) = e 3s (s 5) (s + 1)(s + 2) 551. F (s) = e s 4s 2 17s + 17 (s 1)(s 2)(s 3) y 4y = 1 + u π (t)t sin(t) y() = y + 3y + 2y = g(t) y() = 2 y () = g(t) = { t 2 t < < t

140 14 CHAPTER 4. LAPLACE TRANSFORM y + y = g(t) y() = 2 y () = 1 g(t) = { t t < 1 t 2 t > y + 5y + 6y = g(t) y() = 1 y () = t < 1 g(t) = 4t 1 < t < < t 555. y 2y + y = g(t) y() = 1 y () = 3 2t t < 2 g(t) = t 2 2 < t < < t 556. y + 8y + 17y = g(t) y() = 1 y () = t t < 1 g(t) = t 2 1 < t < 5 t 5 < t 557. y + 4y = g(t) y() = y () = t t < 1 g(t) = t 2 1 < t < < t 558. y + y = g(t) y() = y () = 1

141 4.4. CONVOLUTION g(t) = { cos(2t) t < π 2 π sin(2t) 2 < t y + 4y = g(t) y() = 3 y () = Show: if Then g(t) = { Y (s) = ) L (Y 1 = sin(t) t < 2π t > 2π ( 1 e ns s 2 + n ) s n= t t < 1 2t 1 < t < 2 3t 2 < t < 3. nt n 1 < t < n 561. Express the floor function as a sum of unit step functions and find its Laplace Transform. 4.4 Convolution If you are asked to find the inverse Laplace Transform of F (s)g(s) and you know the inverse Laplace Transform of both F (s) and G(s) what is the relationship between the Laplace Transform of f(t)g(t) and Laplace Transform of f(t) and g(t)? The answer is a new operation called Convolution. The Convolution of f(t) and g(t) is denoted f g and is given by the integral: For example the Convolution of t 2 and t 3 is: t t 2 t 3 = t f g = t (t v) 2 v 3 dv = (t 2 v 3 2tv 4 + v 5 )dv = t2 v 4 Some basic properties of Convolution are: f(t v)g(v)dv t 4 2tv5 5 (t 2 2tv + v 2 )v 3 dv = + v6 6 t = t6 4 2t6 5 + t6 6 = t6 6

142 142 CHAPTER 4. LAPLACE TRANSFORM f g = g f f (g + h) = f g + f h (f g) h = f (g h) f = It is also true that f 1 f since f 1 = t f(t v)dv f What makes Convolution useful in differential equations are the following properties involving the Laplace Transform: L(f g) = L(f) L(g) (L) 1 (F (s)g(s)) = ((L) 1 (F (s))) ((L) 1 (G(s))) To show the first property: L(f g) = L(f) L(g) holds we let L(f g) = F (s) = L(f) = e st ( t Remember u t v (t) will be zero if v > t Reversing the order if integration gives L(f g) = f(t)e st dt G(s) = L(f) = ) f(t v)g(v)dv dt = The integral in parentheses is equal to e sv F (s) so we have: e st ( ( ) g(v) e st u t v (t)f(t v)dt dv g(y)e sy ) u t v (t)f(t v)g(v)dv dt So L(f g) = g(v)e sv F (s)dv = F (s) g(v)e sv dv L(f g) = F (s) G(s) An Example: y 2 Rewriting the integral as convolution t e t v y(v)dv = t y() = 2

143 4.4. CONVOLUTION 143 Taking the Laplace Transform of each side gives: Solving for L(y) y 2e t y = t y() = 2 ( ) 1 sl(y) 2 2 s 1 L(y) = 1 s 2 (s 1)sL(y) 2L(y) = s 1 s 2 + 2(s 1) L(y)(s 2 s 2) = s 1 s 2 + 2(s 1) L(y) = s 1 2(s 1) s 2 (s 2 + s 2) s 2 s 2 After partial fractions we have: L(y) = s 1 s 2 (s 2)(s + 1) + 2(s 1) (s 2)(s + 1) L(y) = 2 s s s s 2 Taking the inverse Laplace Transform y = 2e t e2t t Convolution can also be used to find the output response y(t) of a physical system for some input function f(t). Consider the physical system governing the motion of a mass connected to a spring: For Simplicity lets assume my + by + ky = f(t) y() = y () = Taking the Laplace transform of both sides of the differential equation gives ms 2 L(y) + bsl(y) + kl(y) = L(f(t)) The function L(y) = L(f(t)) ms 2 + bs + k 1 W (s) = ms 2 + bs + k is called the Transfer Function for the physical system.

144 144 CHAPTER 4. LAPLACE TRANSFORM The function is called the Weight Function of the system. L(y) = L(f(t))W (s) ) w(t) = L (W 1 (s) Through convolution we see the solution to the differentia equations is y(t) = t w(u)f(t u)du This equation reduces solving the same mass spring system for different input functions into solving a definite integral for each input function Find: 563. Find: t e t 564. If y() = show: sin(t) sin(2t) 565. Find the Laplace Transform of: 2 (y(t) y (t)) = y 2 (t) 566. Find the Laplace Transform of: f(t) = t (t v) 2 e 5v dv f(t) = t cos(t v) sin(4v)dv Find the inverse Laplace Transform of the following function by using Convolution: F (s) = 1 s 2 (s 2 + 1) Find the inverse Laplace Transform of the following function by using Convolution:

145 4.4. CONVOLUTION y + y y + 8 t t F (s) = s (s 2 + 1) 2 (t v)y(v)dv = t y() = sin(t v)y(v)dv = sin(t) y() = 1 y = 1 sin(t) t ty(v)dv y() = y + e t y + e t y = y() = y + t y = y() = y + y = 2t e t y() = y () = y y = 2t sin(t) y() = 4 y () = 2 Solve using convolution. Leave your answer in terms of an integral involving g(t). y + y = g(t) y() = 1 y () = Use convolution to evaluate the following integral t (t u) 5 u 8 du

146 146 CHAPTER 4. LAPLACE TRANSFORM 578. Use convolution to evaluate the following integral 579. If f and g have the following properties t (t u) n u m du f(t) f(t) = tf(t) f() = 4 Find f(t) 58. Without using the definition of convolution calculate f(t) = u 1 (t)t u 2 (t)t 2 By calculating the Laplace Transform of f(t) simplifying and then calculating the inverse Laplace transform to find f(t) 581. If f(t) f (t) = t2 2 f() = f () = 582. Find f(t) Prove The following with mathematical induction 583. Show the following property holds 584. If f(t) = (1 + t) 2 n-times {}}{ t t t... t = t2n 1 (2n 1)! t t n = t n+2 (n + 1)(n + 2) f(t) g(t) = f(t) g(t) g() = e Find g(t) Show f g = f g

147 4.5. DELTA FUNCTION Delta Function The Dirac Delta Function δ(x) is defined as And has the property: δ(t) = { t t = f(t)δ(t)dt = f() L(δ(t c)) = e cs The delta function shows up in science when considering the impulse of a force over a short interval. If a force F (t) on the time interval t to t 1 then the impulse due to the force is: By Newton s second law Impulse = t1 t F (t)dt t1 t F (t)dt = t1 t m dv dt dt = mv(t 1) mv(t ) where m is the mass and v is the velocity. Since an objects momentum is the product of mass and velocity we see that the impulse is equal to the change in momentum. An Example: Taking the Laplace Transform of both sides gives: y + y = δ(t π) y() = y () = s 2 L(y) + L(y) = e πs L(y)(s 2 + 1) = e πs Finding the inverse Laplace Transform: L(y) = e πs 1 s y = u π (t) sin(t) t π y = u π (t) sin(t π) After a trig identity y = u π (t) sin(t)

148 148 CHAPTER 4. LAPLACE TRANSFORM 586. Find: 587. Find the value of k so that 588. Find 1 3 e t2 δ(t 1) ( sin 2 (π(t k))δ t 1 ) dt = L{δ(sin(πt))} 589. Solve 59. Solve 591. Solve 592. Solve 593. Solve y + y = δ(t 1) y() = 2 y 4y + 4y = e 2t + δ(t 2) y() = 1 y () = 3 y + 2y + 2y = δ(t π) y() = 1 y () = 1 y + 2y 3y = δ(t 1) δ(t 2) y() = 2 y () = 2 y y 2y = 3δ(t 1) + e t y() = y () = Solve 595. Solve 596. Solve 597. Solve ( ) ( ) y 3y + 2y = δ t 1 δ t 2 ( y + y = δ t π ) ( δ t 3π ) 2 2 ( ) y 4y + 13y = tu 2 (t) + δ t 2 ( ) y y = t e t + δ t 1 y() = 2 y () = 3 y() = y () = y() = 1 y () = 1 y() = Solve 599. Show y + y = n= ( ) δ t nπ y() = y () = L{δ(t n) δ(t m)} = L{δ(t m n)}

149 Chapter 5 First Order Systems of Differential Equations In this chapter we will stu systems of differential equation of the form: dt = F (t, x, y) dt = G(t, x, y) Where the dependent variables x and y are linked together by the independent variable t. 5.1 Homogenous Linear Systems The theory of first order linear systems is very similar to the theory of second order equation that we studied in chapter 2. Consider the following system of equations: dt = 4x y; dt = 2x + y This system can be transformed into a second order equation by solving for y in the first equation and substituting it into the second: y = 4x dt This produces the second order equation: ( d 4x ) = 2x + 4x dt dt dt Which simplifies to This has the characteristic equation: 4 dt d2 x dt 2 = 2x + 4x dt d 2 x dt 2 5 dt + 6x = 149

150 15 CHAPTER 5. FIRST ORDER SYSTEMS OF DIFFERENTIAL EQUATIONS Giving the solution: r 2 5r + 6 = (r 3)(r 2) = x 1 = e 2t x 2 = e 3t Substituting these equations into y = 4x dt gives two solution for y y 1 = 2e 2t y 2 = e 3t Making the general solution: x = C 1 e 3t + C 2 e 2t y = C 1 e 3t + 2C 2 e 2t In chapter 2 we learned that if the Wronskian of the two solutions to a second order equation is nonzero on an interval then the two solutions are linearly independent and form a Fundamental Solution Set. For systems of equations the Wronskian is: x 1 x 2 W (t) = y 1 y 2 = x 1y 2 x 2 y 1 It can be shown that if the homogenous system: has solutions: dt = a 1(t)x(t) + b 1 y(t) dt = a 2(t)x(t) + b 2 y(t) x = x 1 (t) y = y 1 (t) and x = x 2 (t) y = y 2 (t) and the Wronskian is non zero on the interval [a, b] then: x = x 1 (t) y = y 1 (t) and x = x 2 (t) y = y 2 (t) is the general solution to the system of differential equations on the interval [a, b]. We see that the Wronskian for the last problem we solved is: So the general solution is indeed: W (t) = e 3t e 3t e 2t 2e 2t = e5t x = C 1 e 3t + C 2 e 2t y = C 1 e 3t + 2C 2 e 2t You can also solve the same system of differential equations using matrices. Let us first write the system of equations as a matrix equation of the form: [ ] x Ax = x where x = y

151 5.1. HOMOGENOUS LINEAR SYSTEMS 151 The system in matrix form is: dt [ = 4x y; ] [ x y dt = 2x + y As we earlier showed the system of equations can be reduced to a second order equation with constant coefficients whose solutions were of the form: e rt. It is reasonable to assume the above matrix equation will have a solution of the form: x(t) = [ x y ] ] = [ = e rt u Where r is a constant and u is a constant nonzero vector. Substituting x(t) = e rt u into Ax = x gives: x y ] re rt u = Ae rt u Dividing by the nonzero factor e rt and rearranging the terms gives: ( ) A ri u = The values of r and u that satisfy the above equation are the Eigenvalues and Eigenvectors of the matrix A. To find the eigenvalues r of a matrix we take the determinant of both sides to the above equation: ( ) A ri u = = Since u is nonzero the solutions: r, to the above equation come from the solutions to: A ri = This equation is a polynomial with the variable r. This equation is called the Characteristic Equation whose roots are the eigenvalues of the matrix A. Back to the problem we were solving. Our characteristic equation is: Factoring the characteristic equation and solving gives: 4 r 1 = (4 r)(1 r) + 2 = 2 1 r (r 2)(r 3) = r 1 = 2 r 2 = 3 NOTE: this is the same characteristic equation we got in our first solution to this problem. Now that we have the eigenvalues for A we need the eigenvectors u. To find the eigenvector for each eigenvalue we must solve the following equation for u. For r 1 = 2 we have: ( ) A ri u =

152 152 CHAPTER 5. FIRST ORDER SYSTEMS OF DIFFERENTIAL EQUATIONS [ ] [ x y ] = We see the solution to this matrix equation is y = 2x. Taking x to be 1 we get our eigenvector: [ ] 1 u 1 = 2 For r 2 = 3 we have: [ ] [ x y ] = We see the solution to this matrix equation is y = x. Taking x to be 1 we get our eigenvector: [ ] 1 u 2 = 1 Making the solution to the differential equation: [ x ] = C 1 e 2t [ 1 ] + C 2 e 3t [ 1 ] y 2 1 Making: x = C 1 e 2t + C 2 e 3t y = 2C 1 e 2t + C 2 e 3t is: The same solution we obtained earlier. The matrix with column i given by e rit u i is called the Fundamental Matrix. The fundamental matrix for our problem [ X(t) = e 2t e 3t 2e 2t e 3t ] Some times the matrix has complex eigenvalues: r = α ± βı and eigenvectors a ± bı the solution becomes: Example: ) ( ) x(t) = C 1 (e αt cos(βt)a e αt sin(βt)b + C 2 e αt cos(βt)b + e αt sin(βt)a Solve the system of differential equations: x = x 2y y = 8x y Writing the system as a matrix equation gives: [ ] [ x y ] = [ x y ] Find the characteristic equation:

153 5.1. HOMOGENOUS LINEAR SYSTEMS r r = ( 1 r) = Which has roots: r = 1 ± 4ı Using r = 1 + 4ı the eigenvector is: [ 4ı 2 8 4ı ] [ x y ] = This has the solution: y = 2xı taking x = 1 the eigenvector is u 1 = [ 1 2ı ] = [ We could find the eigenvector corresponding to r = 1 4ı in the same we found the first eigenvector but we do not need to. It is true that if u 1 = a + ıb is a eigenvector for eigenvalue r 1 = α + βı then u 2 = a ıb is a eigenvector for r 1 = α βı. This means the eigenvector for r = 1 4ı is Making the solution: x(t) = C 1 (e t cos(4t) [ 1 ] u 2 = [ 1 2ı e t sin(4t) [ ] 2 = [ 1 1 ] ] + ı + ı [ [ 2 2 ] ] ] ) ( [ + C 2 e t cos(4t) 2 ] + e t sin(4t) [ 1 ] ) There are cases where the algebraic multiplicity of an eigenvalue is greater than its geometric multiplicity. This can occur when you have repeated eigenvalues. We see this in the next example Example: Solve the system of differential equations: x = x + y y = y Writing the system as a matrix equation gives: [ Find the characteristic equation: ] [ ] [ ] 1 1 x = 1 y x y 1 r 1 1 r = (1 r)2 =

154 154 CHAPTER 5. FIRST ORDER SYSTEMS OF DIFFERENTIAL EQUATIONS Which has the repeated root r = 1 and only one eigenvector v 1 = [ 1 ] Your options at this point are either find the a generalized eigenvector or convert the system into a second order equation. First converting to a second order equation. Solving the first equation for y and differentiating gives Substituting this into the second equation gives y = x x y = x x x x = x x x 2x + x = Forming the characteristic equation and finding the roots The solution is r 2 2r + 1 = r = 1 x = C 1 e t + C 2 te t y = x x = C 1 e t + C 2 (t + 1)e t (C 1 e t + C 2 te t ) y = C 2 e t [ x y ] = [ C 1 e t + C 2 te t C 2 e t ] = C 1 e t [ 1 ] + C 2 e t [ 1 ] + C 2 te t [ 1 ] Or you can find a generalized eigenvector by solving (A ri)v 2 = v 1 [ 1 ] [ x y ] = [ 1 ] Making v 2 = [ ] 1

155 5.1. HOMOGENOUS LINEAR SYSTEMS 155 And the general solution will have the form Making our solution x = C 1 e rt v 1 + C 2 te rt v 1 + C 2 e rt v 2 x = C 1 e t [ 1 ] + C 2 te t [ 1 ] + C 2 e t [ 1 ] 6. x = 2x + y y = x + 4y 61. USN x = 2x + 4y y = 5x 2y 62. C x = x 2y y = 13x + y 63. C x = 7x 2y y = 5x y 64. SSp x = x + 2y y = 21x + 2y 65. SP x = x + 2y y = x 66. SP

156 156 CHAPTER 5. FIRST ORDER SYSTEMS OF DIFFERENTIAL EQUATIONS x = 2x + 3y y = 5x 2y 67. SN x = x 4y y = 2x + 5y 68. USp x = x + 3y y = 12x + y 69. x = x + 2y + 2z y = 2x + 3y z = 2x + 3y 61. x = 2x 4y y = 2x 2y 611. x = 2x 5y y = x + 2y 612. x = 4x y y = x + 2y 613. x = x + 5y y = x + 3y 614. x = 6x + 4y y = 5x + 3y 615. Convert the following differential equation governing the motion of a mass attached to a spring into a system of equations

157 5.2. NON HOMOGENOUS LINEAR EQUATIONS 157 my + by + ky = 616. [ ] [ x y ] [ = x y ] 617. [ ] [ x y ] [ = x y ] 618. Use the definition of the Wronskian in this section to prove Abel s Theorem for systems: If are solutions to {y 1, y 2 } Then x = Ax 619. Given a Linear System t tr(a)du t W (y 1, y 2 ) = Ce x = Ax with fundamental matrix X(t). The matrix exponential e At can be found with the following formula: Find the matrix exponential for x = Ax with e At = X(t)X 1 () A = Non Homogenous Linear Equations In this section we will develop ways to solve the non homogenous system: x (t) = Ax(t) + f(t)

158 158 CHAPTER 5. FIRST ORDER SYSTEMS OF DIFFERENTIAL EQUATIONS As in chapter 2 these nonhomogeneous systems will have a homogenous solution: x h (t), and a particular solution: x p (t) associated with them. And as in chapter 2 we will find the nonhomogeneous solution using the methods of Undetermined Coefficients and Variation of Parameters. Undetermined Coefficients The method of Undetermined Coefficients can be applied to the above nonhomogeneous linear system if f(t) is a polynomial, exponential function, sines and cosines and any product of these functions. The table in section 2.5 is still useful in picking the form of the particular solution: x p (t). An Example: [ x y ] = [ ] [ x y ] + [ 1 5t 7t ] From the previous section we know the homogenous solution is [ ] [ ] [ x x h = = C 1 e 2t 1 + C 2 e 3t y ] Seeing that the f(t) is a two row column vector containing two linear equations we will assume a particular solution also be a row column vector containing two linear equations. [ ] At + B x p = Ct + D Differentiating gives x p = [ A C ] Substituting x and x into the differential equation gives: [ A C ] [ = ] [ At + B Ct + D ] + [ 1 5t 7t ] After matrix multiplication we see the top row produces the equation: And the Second Row produces the equation: A = 4At + 4B Ct D 1 5t C = 2At + 2B + Ct + D 7t Equating corresponding coefficients yields the following system of equations

159 5.2. NON HOMOGENOUS LINEAR EQUATIONS 159 This system has the solution A + D 4B = 1 4A C = 5 2B + D C = 2A + C = 7 A = 2 B = 1 C = 3 D = 1 Making the particular solution x p = [ 2t + 1 3t + 1 ] As in chapter 2 the general solution is the sum of the homogenous solution and the particular solution [ ] [ ] [ ] [ ] x x = = C 1 e 2t 1 + C 2 e 3t 1 2t y 2 1 3t Solve using Undetermined Coefficients [ 621. ] [ ] [ ] [ 3 2 x = y x y Solve using Undetermined Coefficients [ 622. x y Solve using Undetermined Coefficients [ 623. ] 5t 2 + t 1 7t 2 3t + 2 ] [ ] [ ] [ ] 2 2 x ( 2t 1)e 2t = y 2te 2t ] [ ] [ ] [ 1 3 x = y x y Consider the nonhomogeneous system [ ] [ ] [ ] [ 1 1 x = + 1 y x y ] 6e 2t 2e 2t 5e t e t e t ] The homogenous solution was found to be x = C 1 e t [ 1 ] + C 2 te t [ 1 ] + C 2 e t [ 1 ] Show that you cannot find a particular solution of the form e t v or te t v. Then find a particular solution of the form te t u 1 + e t u 2 Variation of Parameters

160 16 CHAPTER 5. FIRST ORDER SYSTEMS OF DIFFERENTIAL EQUATIONS The method of variation of parameters can be applied to most nonhomogeneous linear systems. Let X(t) be the fundamental matrix for the homogenous system: x (t) = Ax A n n This makes the general solution to the system X(t)c where c is a n 1 column vector of constants. To find a solution to the nonhomogeneous system we look for a particular solution of the form: x (t) = Ax(t) + f(t) Where v(t) is a n 1 column vector of functions. x p (t) = X(t)v(t) Differentiating x p and substituting it and x p in to the nonhomogeneous equation gives x p = X(t)v (t) + X (t)v(t) Since X (t) = AX(t) the above equation becomes X(t)v (t) + X (t)v(t) = AX(t)v(t) + f(t) So X(t)v (t) + X (t)v(t) = X (t)v(t) + f(t) X(t)v (t) = f(t) v (t) = X 1 (t)f(t) v(t) = X 1 (t)f(t)dt x p = X(t) X 1 (t)f(t)dt An Example: Solve [ x y ] = [ ] [ x y ] + [ 9e t 18e 2t ] We first find the solution to the homogeneous system: [ x y ] [ = ] [ x y ] This homogeneous system has a solution

161 5.2. NON HOMOGENOUS LINEAR EQUATIONS 161 [ x ] = C 1 e 6t [ 2 ] + C 2 e 3t [ 1 ] y 5 2 and a Fundamental Matrix X(t) = [ 2e 6t 5e 6t e 3t 2e 3t ] whose inverse is X 1 (t) = 1 9 [ 2e 6t 5e 3t e 6t 2e 3t ] The particular solution is And the general solution is x p = [ 2e 6t 5e 6t x p = [ x = C 1 e 6t [ e 3t 2e 3t 2e 6t 5e 6t 2 5 ] [ 1 9 e 3t 2e 3t x p = ] + C 2 e 3t [ 2e 6t 5e 3t ] [ [ 9 2 et 9 5 e2t 9 2 et 9 1 e2t 1 2 ] e 6t 2e 3t ] [ 2e 5t + 2e 4t 5e 4t 4e 5t ] [ e t 18e 2t ] dt e t 4e 2t 1e t 2e 2t ] dt ] Cauchy Euler Equation The Cauchy Euler equation for first order systems is an equation of the form tx = Ax This system can be converted to a system of differential equations with constant coefficients with the following substitution Making x = t r v x = rt r 1 v So tx = rt r v Substituting x and tx into the Cauchy Euler equation yields

162 162 CHAPTER 5. FIRST ORDER SYSTEMS OF DIFFERENTIAL EQUATIONS rt r v = At r v rv = Av So we see r is the eigenvalue and v is the eigenvector of matrix A An Example: Solve [ t x y ] [ ] [ 4 1 = 2 1 x y ] We have alrea shown that the eigenvalues and eigenvectors of [ ] are [ ] [ r 1 = 2 v 1 = 1 2 and r 2 = 3 v 1 = 1 1 ] Making the Solution [ ] [ ] [ ] x = C 1 t C 2 y Solve using Variation of Parameters [ 625. ] [ ] [ ] [ 2 2 x 2t 2 2t 1 = y t 2 3t + 1 x y Solve using Variation of Parameters [ 626. Solve using Variation of Parameters [ 627. Solve the Cauchy-Euler equation. [ t 628. ] [ ] [ ] [ ] x 2 8 x 2e 2t = + y 2 2 y e 6t ] [ ] [ ] [ ] 1 4 x 3e t = y 3te t x y ] [ ] [ ] [ 2 1 x = y x y t 1 1 ] ]

163 5.3. LOCALLY LINEAR SYSTEMS 163 Solve the Cauchy-Euler equation. [ t x y ] [ = ] [ x y ] [ + t 2 t ] 629. Solve the Cauchy-Euler equation. [ t x y ] [ = ] [ x y ] [ + t 2 t ] 63. Solve the Cauchy-Euler equation. [ t x y ] [ = ] [ x y ] [ + t 2 t ] 5.3 Locally Linear Systems We will now discuss nonlinear systems around their critical or equilibrium points. The general system of equations we will be stuing are systems of the form: x = F (x, y) y = G(x, y) The Critical or Equilibrium Points of this system are the values (x, y ) such that x = F (x, y ) = and y = G(x, y ) = If both x > and y > then the critical point is defined to be a Positive Equilibrium Point and will be discussed when we consider the competing species problem. The system is said to be Locally Linear around a critical or equilibrium point if both F and G have continuous first and second order partial derivatives at the critical point (x, y ). For the general system: x = F (x, y) y = G(x, y) with equilibrium point (x, y ) we can form the locally linear system in matrix form: [ ] [ ] [ F x (x, y ) F y (x, y ) x = G x (x, y ) G y (x, y ) y x y ] With the matrix: J = [ F x (x, y ) F y (x, y ) G x (x, y ) G y (x, y ) ] called the Jacobian Matrix An Example

164 164 CHAPTER 5. FIRST ORDER SYSTEMS OF DIFFERENTIAL EQUATIONS Find the positive equilibrium solution to the system and discuss the stability near this point. ( ) dt = x 4 2y ( ) dt = y 2 + x We see that the positive equilibrium solutions come from the equations : 4 2y = 2 + x = Giving the positive equilibrium solution (2, 2). The Jacobian Matrix for this problem is: J = [ 4 2y 2x y x 2y ] The Jacobian Matrix at the equilibrium point (2, 2) is: J = [ ] Producing the locally linear system: [ ] [ x y ] = [ x y ] Now we need the eigenvalues and eigenvector of our Jacobian Matrix evaluated at the equilibrium points. characteristic equation is: The J = r r = r( 2 r) + 8 = r2 + 2r + 8 = Which has roots: r 1,2 = 1 ± 7ı I have no desire to find the eigenvectors so, instead of the two eigenvectors I present you with one rabbit with two pancakes on its head.

165 5.3. LOCALLY LINEAR SYSTEMS modle. Find all equilibrium solutions and discuss the stability of each point and interpret the results of the competing species ( ) dt = x 1 x y ( ) dt = y 2 y 3x Show that if the initial condition is on the seperatrix: the line connection the origin to the positive equilibrium solution the the constant corresponding to the positive eigenvalue is zero and the solution will tend towards the positive equilibrium solution modle modle modle. Find all equilibrium solutions and discuss the stability of each point and interpret the results of the competing species ( ) dt = x 1 x y ( ) dt = y 3 2x 4y Find all equilibrium solutions and discuss the stability of each point and interpret the results of the competing species ( ) dt = x 2 x y ( ) dt = y 3 y 2x Find all equilibrium solutions and discuss the stability of each point and interpret the results of the competing species

First Order Differential Equations Chapter 1

First Order Differential Equations Chapter 1 First Order Differential Equations Chapter 1 Doreen De Leon Department of Mathematics, California State University, Fresno 1 Differential Equations and Mathematical Models Section 1.1 Definitions: An equation

More information

Formulas to remember

Formulas to remember Complex numbers Let z = x + iy be a complex number The conjugate z = x iy Formulas to remember The real part Re(z) = x = z+z The imaginary part Im(z) = y = z z i The norm z = zz = x + y The reciprocal

More information

ORDINARY DIFFERENTIAL EQUATIONS

ORDINARY DIFFERENTIAL EQUATIONS ORDINARY DIFFERENTIAL EQUATIONS Basic concepts: Find y(x) where x is the independent and y the dependent varible, based on an equation involving x, y(x), y 0 (x),...e.g.: y 00 (x) = 1+y(x) y0 (x) 1+x or,

More information

Practice Questions From Calculus II. 0. State the following calculus rules (these are many of the key rules from Test 1 topics).

Practice Questions From Calculus II. 0. State the following calculus rules (these are many of the key rules from Test 1 topics). Math 132. Practice Questions From Calculus II I. Topics Covered in Test I 0. State the following calculus rules (these are many of the key rules from Test 1 topics). (Trapezoidal Rule) b a f(x) dx (Fundamental

More information

Ordinary Differential Equations (ODEs)

Ordinary Differential Equations (ODEs) c01.tex 8/10/2010 22: 55 Page 1 PART A Ordinary Differential Equations (ODEs) Chap. 1 First-Order ODEs Sec. 1.1 Basic Concepts. Modeling To get a good start into this chapter and this section, quickly

More information

Chapter1. Ordinary Differential Equations

Chapter1. Ordinary Differential Equations Chapter1. Ordinary Differential Equations In the sciences and engineering, mathematical models are developed to aid in the understanding of physical phenomena. These models often yield an equation that

More information

Partial Derivatives for Math 229. Our puropose here is to explain how one computes partial derivatives. We will not attempt

Partial Derivatives for Math 229. Our puropose here is to explain how one computes partial derivatives. We will not attempt Partial Derivatives for Math 229 Our puropose here is to explain how one computes partial derivatives. We will not attempt to explain how they arise or why one would use them; that is left to other courses

More information

First order differential equations

First order differential equations First order differential equations Samy Tindel Purdue University Differential equations and linear algebra - MA 262 Taken from Differential equations and linear algebra by Goode and Annin Samy T. First

More information

Basic Theory of Differential Equations

Basic Theory of Differential Equations page 104 104 CHAPTER 1 First-Order Differential Equations 16. The following initial-value problem arises in the analysis of a cable suspended between two fixed points y = 1 a 1 + (y ) 2, y(0) = a, y (0)

More information

Mth Review Problems for Test 2 Stewart 8e Chapter 3. For Test #2 study these problems, the examples in your notes, and the homework.

Mth Review Problems for Test 2 Stewart 8e Chapter 3. For Test #2 study these problems, the examples in your notes, and the homework. For Test # study these problems, the examples in your notes, and the homework. Derivative Rules D [u n ] = nu n 1 du D [ln u] = du u D [log b u] = du u ln b D [e u ] = e u du D [a u ] = a u ln a du D [sin

More information

4 Differential Equations

4 Differential Equations Advanced Calculus Chapter 4 Differential Equations 65 4 Differential Equations 4.1 Terminology Let U R n, and let y : U R. A differential equation in y is an equation involving y and its (partial) derivatives.

More information

There are some trigonometric identities given on the last page.

There are some trigonometric identities given on the last page. MA 114 Calculus II Fall 2015 Exam 4 December 15, 2015 Name: Section: Last 4 digits of student ID #: No books or notes may be used. Turn off all your electronic devices and do not wear ear-plugs during

More information

2.1 The derivative. Rates of change. m sec = y f (a + h) f (a)

2.1 The derivative. Rates of change. m sec = y f (a + h) f (a) 2.1 The derivative Rates of change 1 The slope of a secant line is m sec = y f (b) f (a) = x b a and represents the average rate of change over [a, b]. Letting b = a + h, we can express the slope of the

More information

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

3 Algebraic Methods. we can differentiate both sides implicitly to obtain a differential equation involving x and y: 3 Algebraic Methods b The first appearance of the equation E Mc 2 in Einstein s handwritten notes. So far, the only general class of differential equations that we know how to solve are directly integrable

More information

Final Exam 2011 Winter Term 2 Solutions

Final Exam 2011 Winter Term 2 Solutions . (a Find the radius of convergence of the series: ( k k+ x k. Solution: Using the Ratio Test, we get: L = lim a k+ a k = lim ( k+ k+ x k+ ( k k+ x k = lim x = x. Note that the series converges for L

More information

First Order Differential Equations

First Order Differential Equations Chapter 2 First Order Differential Equations Introduction Any first order differential equation can be written as F (x, y, y )=0 by moving all nonzero terms to the left hand side of the equation. Of course,

More information

Math 147 Exam II Practice Problems

Math 147 Exam II Practice Problems Math 147 Exam II Practice Problems This review should not be used as your sole source for preparation for the exam. You should also re-work all examples given in lecture, all homework problems, all lab

More information

Solutions to Section 1.1

Solutions to Section 1.1 Solutions to Section True-False Review: FALSE A derivative must involve some derivative of the function y f(x), not necessarily the first derivative TRUE The initial conditions accompanying a differential

More information

FINAL REVIEW FALL 2017

FINAL REVIEW FALL 2017 FINAL REVIEW FALL 7 Solutions to the following problems are found in the notes on my website. Lesson & : Integration by Substitution Ex. Evaluate 3x (x 3 + 6) 6 dx. Ex. Evaluate dt. + 4t Ex 3. Evaluate

More information

Practice Exam 1 Solutions

Practice Exam 1 Solutions Practice Exam 1 Solutions 1a. Let S be the region bounded by y = x 3, y = 1, and x. Find the area of S. What is the volume of the solid obtained by rotating S about the line y = 1? Area A = Volume 1 1

More information

Differential equations

Differential equations Differential equations Math 27 Spring 2008 In-term exam February 5th. Solutions This exam contains fourteen problems numbered through 4. Problems 3 are multiple choice problems, which each count 6% of

More information

Handbook of Ordinary Differential Equations

Handbook of Ordinary Differential Equations Handbook of Ordinary Differential Equations Mark Sullivan July, 28 i Contents Preliminaries. Why bother?...............................2 What s so ordinary about ordinary differential equations?......

More information

Lecture Notes on. Differential Equations. Emre Sermutlu

Lecture Notes on. Differential Equations. Emre Sermutlu Lecture Notes on Differential Equations Emre Sermutlu ISBN: Copyright Notice: To my wife Nurten and my daughters İlayda and Alara Contents Preface ix 1 First Order ODE 1 1.1 Definitions.............................

More information

Chapters 8.1 & 8.2 Practice Problems

Chapters 8.1 & 8.2 Practice Problems EXPECTED SKILLS: Chapters 8.1 & 8. Practice Problems Be able to verify that a given function is a solution to a differential equation. Given a description in words of how some quantity changes in time

More information

Practice Final Exam Solutions

Practice Final Exam Solutions Important Notice: To prepare for the final exam, study past exams and practice exams, and homeworks, quizzes, and worksheets, not just this practice final. A topic not being on the practice final does

More information

EXAM. Exam #1. Math 3350 Summer II, July 21, 2000 ANSWERS

EXAM. Exam #1. Math 3350 Summer II, July 21, 2000 ANSWERS EXAM Exam #1 Math 3350 Summer II, 2000 July 21, 2000 ANSWERS i 100 pts. Problem 1. 1. In each part, find the general solution of the differential equation. dx = x2 e y We use the following sequence of

More information

AP Calculus Testbank (Chapter 6) (Mr. Surowski)

AP Calculus Testbank (Chapter 6) (Mr. Surowski) AP Calculus Testbank (Chapter 6) (Mr. Surowski) Part I. Multiple-Choice Questions 1. Suppose that f is an odd differentiable function. Then (A) f(1); (B) f (1) (C) f(1) f( 1) (D) 0 (E). 1 1 xf (x) =. The

More information

Calculus II. George Voutsadakis 1. LSSU Math 152. Lake Superior State University. 1 Mathematics and Computer Science

Calculus II. George Voutsadakis 1. LSSU Math 152. Lake Superior State University. 1 Mathematics and Computer Science Calculus II George Voutsadakis 1 1 Mathematics and Computer Science Lake Superior State University LSSU Math 152 George Voutsadakis (LSSU) Calculus II February 2015 1 / 28 Outline 1 Introduction to Differential

More information

Math Exam 02 Review

Math Exam 02 Review Math 10350 Exam 02 Review 1. A differentiable function g(t) is such that g(2) = 2, g (2) = 1, g (2) = 1/2. (a) If p(t) = g(t)e t2 find p (2) and p (2). (Ans: p (2) = 7e 4 ; p (2) = 28.5e 4 ) (b) If f(t)

More information

Calculus I Review Solutions

Calculus I Review Solutions Calculus I Review Solutions. Compare and contrast the three Value Theorems of the course. When you would typically use each. The three value theorems are the Intermediate, Mean and Extreme value theorems.

More information

PUTNAM PROBLEMS DIFFERENTIAL EQUATIONS. First Order Equations. p(x)dx)) = q(x) exp(

PUTNAM PROBLEMS DIFFERENTIAL EQUATIONS. First Order Equations. p(x)dx)) = q(x) exp( PUTNAM PROBLEMS DIFFERENTIAL EQUATIONS First Order Equations 1. Linear y + p(x)y = q(x) Muliply through by the integrating factor exp( p(x)) to obtain (y exp( p(x))) = q(x) exp( p(x)). 2. Separation of

More information

Inverse Trig Functions

Inverse Trig Functions 6.6i Inverse Trigonometric Functions Inverse Sine Function Does g(x) = sin(x) have an inverse? What restriction would we need to make so that at least a piece of this function has an inverse? Given f (x)

More information

Summer Review for Students Entering AP Calculus AB

Summer Review for Students Entering AP Calculus AB Summer Review for Students Entering AP Calculus AB Class: Date: AP Calculus AB Summer Packet Please show all work in the spaces provided The answers are provided at the end of the packet Algebraic Manipulation

More information

Free Response Questions Compiled by Kaye Autrey for face-to-face student instruction in the AP Calculus classroom

Free Response Questions Compiled by Kaye Autrey for face-to-face student instruction in the AP Calculus classroom Free Response Questions 1969-010 Compiled by Kaye Autrey for face-to-face student instruction in the AP Calculus classroom 1 AP Calculus Free-Response Questions 1969 AB 1 Consider the following functions

More information

a x a y = a x+y a x a = y ax y (a x ) r = a rx and log a (xy) = log a (x) + log a (y) log a ( x y ) = log a(x) log a (y) log a (x r ) = r log a (x).

a x a y = a x+y a x a = y ax y (a x ) r = a rx and log a (xy) = log a (x) + log a (y) log a ( x y ) = log a(x) log a (y) log a (x r ) = r log a (x). You should prepare the following topics for our final exam. () Pre-calculus. (2) Inverses. (3) Algebra of Limits. (4) Derivative Formulas and Rules. (5) Graphing Techniques. (6) Optimization (Maxima and

More information

Chapter 3. Reading assignment: In this chapter we will cover Sections dx 1 + a 0(x)y(x) = g(x). (1)

Chapter 3. Reading assignment: In this chapter we will cover Sections dx 1 + a 0(x)y(x) = g(x). (1) Chapter 3 3 Introduction Reading assignment: In this chapter we will cover Sections 3.1 3.6. 3.1 Theory of Linear Equations Recall that an nth order Linear ODE is an equation that can be written in the

More information

Math Applied Differential Equations

Math Applied Differential Equations Math 256 - Applied Differential Equations Notes Existence and Uniqueness The following theorem gives sufficient conditions for the existence and uniqueness of a solution to the IVP for first order nonlinear

More information

Core Mathematics 3 Differentiation

Core Mathematics 3 Differentiation http://kumarmaths.weebly.com/ Core Mathematics Differentiation C differentiation Page Differentiation C Specifications. By the end of this unit you should be able to : Use chain rule to find the derivative

More information

Math 308 Exam I Practice Problems

Math 308 Exam I Practice Problems Math 308 Exam I Practice Problems This review should not be used as your sole source for preparation for the exam. You should also re-work all examples given in lecture and all suggested homework problems..

More information

Brief answers to assigned even numbered problems that were not to be turned in

Brief answers to assigned even numbered problems that were not to be turned in Brief answers to assigned even numbered problems that were not to be turned in Section 2.2 2. At point (x 0, x 2 0) on the curve the slope is 2x 0. The point-slope equation of the tangent line to the curve

More information

SMA 208: Ordinary differential equations I

SMA 208: Ordinary differential equations I SMA 208: Ordinary differential equations I Modeling with First Order differential equations Lecturer: Dr. Philip Ngare (Contacts: pngare@uonbi.ac.ke, Tue 12-2 PM) School of Mathematics, University of Nairobi

More information

b n x n + b n 1 x n b 1 x + b 0

b n x n + b n 1 x n b 1 x + b 0 Math Partial Fractions Stewart 7.4 Integrating basic rational functions. For a function f(x), we have examined several algebraic methods for finding its indefinite integral (antiderivative) F (x) = f(x)

More information

Ma 221 Homework Solutions Due Date: January 24, 2012

Ma 221 Homework Solutions Due Date: January 24, 2012 Ma Homewk Solutions Due Date: January, 0. pg. 3 #, 3, 6,, 5, 7 9,, 3;.3 p.5-55 #, 3, 5, 7, 0, 7, 9, (Underlined problems are handed in) In problems, and 5, determine whether the given differential equation

More information

Calculus I (Math 241) (In Progress)

Calculus I (Math 241) (In Progress) Calculus I (Math 241) (In Progress) The following is a collection of Calculus I (Math 241) problems. Students may expect that their final exam is comprised, more or less, of one problem from each section,

More information

Derivatives and Integrals

Derivatives and Integrals Derivatives and Integrals Definition 1: Derivative Formulas d dx (c) = 0 d dx (f ± g) = f ± g d dx (kx) = k d dx (xn ) = nx n 1 (f g) = f g + fg ( ) f = f g fg g g 2 (f(g(x))) = f (g(x)) g (x) d dx (ax

More information

Math 251, Spring 2005: Exam #2 Preview Problems

Math 251, Spring 2005: Exam #2 Preview Problems Math 5, Spring 005: Exam # Preview Problems. Using the definition of derivative find the derivative of the following functions: a) fx) = e x e h. Use the following lim =, e x+h = e x e h.) h b) fx) = x

More information

LECTURE 4-1 INTRODUCTION TO ORDINARY DIFFERENTIAL EQUATIONS

LECTURE 4-1 INTRODUCTION TO ORDINARY DIFFERENTIAL EQUATIONS 130 LECTURE 4-1 INTRODUCTION TO ORDINARY DIFFERENTIAL EQUATIONS DIFFERENTIAL EQUATIONS: A differential equation (DE) is an equation involving an unknown function and one or more of its derivatives. A differential

More information

MAS113 CALCULUS II SPRING 2008, QUIZ 5 SOLUTIONS. x 2 dx = 3y + y 3 = x 3 + c. It can be easily verified that the differential equation is exact, as

MAS113 CALCULUS II SPRING 2008, QUIZ 5 SOLUTIONS. x 2 dx = 3y + y 3 = x 3 + c. It can be easily verified that the differential equation is exact, as MAS113 CALCULUS II SPRING 008, QUIZ 5 SOLUTIONS Quiz 5a Solutions (1) Solve the differential equation y = x 1 + y. (1 + y )y = x = (1 + y ) = x = 3y + y 3 = x 3 + c. () Solve the differential equation

More information

4 Partial Differentiation

4 Partial Differentiation 4 Partial Differentiation Many equations in engineering, physics and mathematics tie together more than two variables. For example Ohm s Law (V = IR) and the equation for an ideal gas, PV = nrt, which

More information

Math 222 Spring 2013 Exam 3 Review Problem Answers

Math 222 Spring 2013 Exam 3 Review Problem Answers . (a) By the Chain ule, Math Spring 3 Exam 3 eview Problem Answers w s w x x s + w y y s (y xy)() + (xy x )( ) (( s + 4t) (s 3t)( s + 4t)) ((s 3t)( s + 4t) (s 3t) ) 8s 94st + 3t (b) By the Chain ule, w

More information

Math 250 Skills Assessment Test

Math 250 Skills Assessment Test Math 5 Skills Assessment Test Page Math 5 Skills Assessment Test The purpose of this test is purely diagnostic (before beginning your review, it will be helpful to assess both strengths and weaknesses).

More information

7.1. Calculus of inverse functions. Text Section 7.1 Exercise:

7.1. Calculus of inverse functions. Text Section 7.1 Exercise: Contents 7. Inverse functions 1 7.1. Calculus of inverse functions 2 7.2. Derivatives of exponential function 4 7.3. Logarithmic function 6 7.4. Derivatives of logarithmic functions 7 7.5. Exponential

More information

Assignment # 3, Math 370, Fall 2018 SOLUTIONS:

Assignment # 3, Math 370, Fall 2018 SOLUTIONS: Assignment # 3, Math 370, Fall 2018 SOLUTIONS: Problem 1: Solve the equations: (a) y (1 + x)e x y 2 = xy, (i) y(0) = 1, (ii) y(0) = 0. On what intervals are the solution of the IVP defined? (b) 2y + y

More information

Practice problems from old exams for math 132 William H. Meeks III

Practice problems from old exams for math 132 William H. Meeks III Practice problems from old exams for math 32 William H. Meeks III Disclaimer: Your instructor covers far more materials that we can possibly fit into a four/five questions exams. These practice tests are

More information

Introductory Differential Equations

Introductory Differential Equations Introductory Differential Equations Lecture Notes June 3, 208 Contents Introduction Terminology and Examples 2 Classification of Differential Equations 4 2 First Order ODEs 5 2 Separable ODEs 5 22 First

More information

Differential Equations Class Notes

Differential Equations Class Notes Differential Equations Class Notes Dan Wysocki Spring 213 Contents 1 Introduction 2 2 Classification of Differential Equations 6 2.1 Linear vs. Non-Linear.................................. 7 2.2 Seperable

More information

1. Find and classify the extrema of h(x, y) = sin(x) sin(y) sin(x + y) on the square[0, π] [0, π]. (Keep in mind there is a boundary to check out).

1. Find and classify the extrema of h(x, y) = sin(x) sin(y) sin(x + y) on the square[0, π] [0, π]. (Keep in mind there is a boundary to check out). . Find and classify the extrema of hx, y sinx siny sinx + y on the square[, π] [, π]. Keep in mind there is a boundary to check out. Solution: h x cos x sin y sinx + y + sin x sin y cosx + y h y sin x

More information

Math 308 Exam I Practice Problems

Math 308 Exam I Practice Problems Math 308 Exam I Practice Problems This review should not be used as your sole source of preparation for the exam. You should also re-work all examples given in lecture and all suggested homework problems..

More information

Copyright 2015 Jimmy Broomfield. License: Creative Commons CC BY-NC 4.0

Copyright 2015 Jimmy Broomfield.   License: Creative Commons CC BY-NC 4.0 J I M M Y B R O O M F I E L D A B R I E F G U I D E T O C A L C U L U S I I T H E U N I V E R S I T Y O F M I N N E S O TA Copyright 5 Jimmy Broomfield http://moodle.umn.edu License: Creative Commons CC

More information

Math 2214 Solution Test 1D Spring 2015

Math 2214 Solution Test 1D Spring 2015 Math 2214 Solution Test 1D Spring 2015 Problem 1: A 600 gallon open top tank initially holds 300 gallons of fresh water. At t = 0, a brine solution containing 3 lbs of salt per gallon is poured into the

More information

Math Final Exam Review

Math Final Exam Review Math - Final Exam Review. Find dx x + 6x +. Name: Solution: We complete the square to see if this function has a nice form. Note we have: x + 6x + (x + + dx x + 6x + dx (x + + Note that this looks a lot

More information

Solutions to the Review Questions

Solutions to the Review Questions Solutions to the Review Questions Short Answer/True or False. True or False, and explain: (a) If y = y + 2t, then 0 = y + 2t is an equilibrium solution. False: (a) Equilibrium solutions are only defined

More information

c) xy 3 = cos(7x +5y), y 0 = y3 + 7 sin(7x +5y) 3xy sin(7x +5y) d) xe y = sin(xy), y 0 = ey + y cos(xy) x(e y cos(xy)) e) y = x ln(3x + 5), y 0

c) xy 3 = cos(7x +5y), y 0 = y3 + 7 sin(7x +5y) 3xy sin(7x +5y) d) xe y = sin(xy), y 0 = ey + y cos(xy) x(e y cos(xy)) e) y = x ln(3x + 5), y 0 Some Math 35 review problems With answers 2/6/2005 The following problems are based heavily on problems written by Professor Stephen Greenfield for his Math 35 class in spring 2005. His willingness to

More information

Solutions to the Review Questions

Solutions to the Review Questions Solutions to the Review Questions Short Answer/True or False. True or False, and explain: (a) If y = y + 2t, then 0 = y + 2t is an equilibrium solution. False: This is an isocline associated with a slope

More information

. CALCULUS AB. Name: Class: Date:

. CALCULUS AB. Name: Class: Date: Class: _ Date: _. CALCULUS AB SECTION I, Part A Time- 55 Minutes Number of questions -8 A CALCULATOR MAY NOT BE USED ON THIS PART OF THE EXAMINATION Directions: Solve each of the following problems, using

More information

Differential Equations

Differential Equations Math 181 Prof. Beydler 9.1/9.3 Notes Page 1 of 6 Differential Equations A differential equation is an equation that contains an unknown function and some of its derivatives. The following are examples

More information

Solutions to old Exam 3 problems

Solutions to old Exam 3 problems Solutions to old Exam 3 problems Hi students! I am putting this version of my review for the Final exam review here on the web site, place and time to be announced. Enjoy!! Best, Bill Meeks PS. There are

More information

APPLIED MATHEMATICS. Part 1: Ordinary Differential Equations. Wu-ting Tsai

APPLIED MATHEMATICS. Part 1: Ordinary Differential Equations. Wu-ting Tsai APPLIED MATHEMATICS Part 1: Ordinary Differential Equations Contents 1 First Order Differential Equations 3 1.1 Basic Concepts and Ideas................... 4 1.2 Separable Differential Equations................

More information

Practice Final Exam Solutions

Practice Final Exam Solutions Important Notice: To prepare for the final exam, one should study the past exams and practice midterms (and homeworks, quizzes, and worksheets), not just this practice final. A topic not being on the practice

More information

Final Examination Solutions

Final Examination Solutions Math. 5, Sections 5 53 (Fulling) 7 December Final Examination Solutions Test Forms A and B were the same except for the order of the multiple-choice responses. This key is based on Form A. Name: Section:

More information

AP Calculus Free-Response Questions 1969-present AB

AP Calculus Free-Response Questions 1969-present AB AP Calculus Free-Response Questions 1969-present AB 1969 1. Consider the following functions defined for all x: f 1 (x) = x, f (x) = xcos x, f 3 (x) = 3e x, f 4 (x) = x - x. Answer the following questions

More information

2. Which of the following is an equation of the line tangent to the graph of f(x) = x 4 + 2x 2 at the point where

2. Which of the following is an equation of the line tangent to the graph of f(x) = x 4 + 2x 2 at the point where AP Review Chapter Name: Date: Per: 1. The radius of a circle is decreasing at a constant rate of 0.1 centimeter per second. In terms of the circumference C, what is the rate of change of the area of the

More information

WW Prob Lib1 Math course-section, semester year

WW Prob Lib1 Math course-section, semester year Peter Alfeld WeBWorK problems WW Prob Lib Math course-section, semester year WeBWorK assignment due /5/06 at :59 PM ( pt) Evaluate the following expressions (a) log ( 6 ) = (b) log = (c) log 5 65 = (d)

More information

Chapter 2 Notes, Kohler & Johnson 2e

Chapter 2 Notes, Kohler & Johnson 2e Contents 2 First Order Differential Equations 2 2.1 First Order Equations - Existence and Uniqueness Theorems......... 2 2.2 Linear First Order Differential Equations.................... 5 2.2.1 First

More information

P1: PBU/OVY P2: PBU/OVY QC: PBU/OVY T1: PBU JWDD JWDD027-Salas-v1 November 25, :21. is a solution. (e x +1) 2 + 1

P1: PBU/OVY P2: PBU/OVY QC: PBU/OVY T1: PBU JWDD JWDD027-Salas-v1 November 25, :21. is a solution. (e x +1) 2 + 1 P: PBU/OVY P: PBU/OVY QC: PBU/OVY T: PBU JWDD07-09 JWDD07-Salas-v November 5, 006 9: CHAPTER 9 SECTION 9. 48 SECTION 9.. y (x) = ex/ ; y y = ( ) e x/ e x/ =0; y is a solution. y (x) =x + e x/ ; y y = (

More information

DIFFERENTIAL EQUATIONS

DIFFERENTIAL EQUATIONS HANDOUT DIFFERENTIAL EQUATIONS For International Class Nikenasih Binatari NIP. 19841019 200812 2 005 Mathematics Educational Department Faculty of Mathematics and Natural Sciences State University of Yogyakarta

More information

Fall 2009 Math 113 Final Exam Solutions. f(x) = 1 + ex 1 e x?

Fall 2009 Math 113 Final Exam Solutions. f(x) = 1 + ex 1 e x? . What are the domain and range of the function Fall 9 Math 3 Final Exam Solutions f(x) = + ex e x? Answer: The function is well-defined everywhere except when the denominator is zero, which happens when

More information

Differential Equations: Homework 2

Differential Equations: Homework 2 Differential Equations: Homework Alvin Lin January 08 - May 08 Section.3 Exercise The direction field for provided x 0. dx = 4x y is shown. Verify that the straight lines y = ±x are solution curves, y

More information

Math 226 Calculus Spring 2016 Exam 2V1

Math 226 Calculus Spring 2016 Exam 2V1 Math 6 Calculus Spring 6 Exam V () (35 Points) Evaluate the following integrals. (a) (7 Points) tan 5 (x) sec 3 (x) dx (b) (8 Points) cos 4 (x) dx Math 6 Calculus Spring 6 Exam V () (Continued) Evaluate

More information

5, tan = 4. csc = Simplify: 3. Simplify: 4. Factor and simplify: cos x sin x cos x

5, tan = 4. csc = Simplify: 3. Simplify: 4. Factor and simplify: cos x sin x cos x Precalculus Final Review 1. Given the following values, evaluate (if possible) the other four trigonometric functions using the fundamental trigonometric identities or triangles csc = - 3 5, tan = 4 3.

More information

Title: Solving Ordinary Differential Equations (ODE s)

Title: Solving Ordinary Differential Equations (ODE s) ... Mathematics Support Centre Title: Solving Ordinary Differential Equations (ODE s) Target: On completion of this workbook you should be able to recognise and apply the appropriate method for solving

More information

LB 220 Homework 4 Solutions

LB 220 Homework 4 Solutions LB 220 Homework 4 Solutions Section 11.4, # 40: This problem was solved in class on Feb. 03. Section 11.4, # 42: This problem was also solved in class on Feb. 03. Section 11.4, # 43: Also solved in class

More information

University of Regina Department of Mathematics and Statistics Math 111 All Sections (Winter 2013) Final Exam April 25, 2013

University of Regina Department of Mathematics and Statistics Math 111 All Sections (Winter 2013) Final Exam April 25, 2013 University of Regina Department of Mathematics and Statistics Math 111 All Sections (Winter 013) Final Exam April 5, 013 Name: Student Number: Please Check Off Your Instructor: Dr. R. McIntosh (001) Dr.

More information

MATH 320, WEEK 4: Exact Differential Equations, Applications

MATH 320, WEEK 4: Exact Differential Equations, Applications MATH 320, WEEK 4: Exact Differential Equations, Applications 1 Exact Differential Equations We saw that the trick for first-order differential equations was to recognize the general property that the product

More information

Math 226 Calculus Spring 2016 Practice Exam 1. (1) (10 Points) Let the differentiable function y = f(x) have inverse function x = f 1 (y).

Math 226 Calculus Spring 2016 Practice Exam 1. (1) (10 Points) Let the differentiable function y = f(x) have inverse function x = f 1 (y). Math 6 Calculus Spring 016 Practice Exam 1 1) 10 Points) Let the differentiable function y = fx) have inverse function x = f 1 y). a) Write down the formula relating the derivatives f x) and f 1 ) y).

More information

Solutions to Math 41 Final Exam December 10, 2012

Solutions to Math 41 Final Exam December 10, 2012 Solutions to Math 4 Final Exam December,. ( points) Find each of the following limits, with justification. If there is an infinite limit, then explain whether it is or. x ln(t + ) dt (a) lim x x (5 points)

More information

Math 201 Solutions to Assignment 1. 2ydy = x 2 dx. y = C 1 3 x3

Math 201 Solutions to Assignment 1. 2ydy = x 2 dx. y = C 1 3 x3 Math 201 Solutions to Assignment 1 1. Solve the initial value problem: x 2 dx + 2y = 0, y(0) = 2. x 2 dx + 2y = 0, y(0) = 2 2y = x 2 dx y 2 = 1 3 x3 + C y = C 1 3 x3 Notice that y is not defined for some

More information

13 Implicit Differentiation

13 Implicit Differentiation - 13 Implicit Differentiation This sections highlights the difference between explicit and implicit expressions, and focuses on the differentiation of the latter, which can be a very useful tool in mathematics.

More information

MATH 104 Practice Problems for Exam 2

MATH 104 Practice Problems for Exam 2 . Find the area between: MATH 4 Practice Problems for Exam (a) x =, y = / + x, y = x/ Answer: ln( + ) 4 (b) y = e x, y = xe x, x = Answer: e6 4 7 4 (c) y = x and the x axis, for x 4. x Answer: ln 5. Calculate

More information

MATH 1231 MATHEMATICS 1B Calculus Section 3A: - First order ODEs.

MATH 1231 MATHEMATICS 1B Calculus Section 3A: - First order ODEs. MATH 1231 MATHEMATICS 1B 2010. For use in Dr Chris Tisdell s lectures. Calculus Section 3A: - First order ODEs. Created and compiled by Chris Tisdell S1: What is an ODE? S2: Motivation S3: Types and orders

More information

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

2t t dt.. So the distance is (t2 +6) 3/2 Math 8, Solutions to Review for the Final Exam Question : The distance is 5 t t + dt To work that out, integrate by parts with u t +, so that t dt du The integral is t t + dt u du u 3/ (t +) 3/ So the

More information

SOLUTIONS FOR PRACTICE FINAL EXAM

SOLUTIONS FOR PRACTICE FINAL EXAM SOLUTIONS FOR PRACTICE FINAL EXAM ANDREW J. BLUMBERG. Solutions () Short answer questions: (a) State the mean value theorem. Proof. The mean value theorem says that if f is continuous on (a, b) and differentiable

More information

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

Exam 1 Review: Questions and Answers. Part I. Finding solutions of a given differential equation. Exam 1 Review: Questions and Answers Part I. Finding solutions of a given differential equation. 1. Find the real numbers r such that y = e x is a solution of y y 30y = 0. Answer: r = 6, 5 2. Find the

More information

JUST THE MATHS UNIT NUMBER PARTIAL DIFFERENTIATION 1 (Partial derivatives of the first order) A.J.Hobson

JUST THE MATHS UNIT NUMBER PARTIAL DIFFERENTIATION 1 (Partial derivatives of the first order) A.J.Hobson JUST THE MATHS UNIT NUMBER 14.1 PARTIAL DIFFERENTIATION 1 (Partial derivatives of the first order) by A.J.Hobson 14.1.1 Functions of several variables 14.1.2 The definition of a partial derivative 14.1.3

More information

Department of Mathematics. MA 108 Ordinary Differential Equations

Department of Mathematics. MA 108 Ordinary Differential Equations Department of Mathematics Indian Institute of Technology, Bombay Powai, Mumbai 476, INDIA. MA 8 Ordinary Differential Equations Autumn 23 Instructor Santanu Dey Name : Roll No : Syllabus and Course Outline

More information

1. Compute the derivatives of the following functions, by any means necessary. f (x) = (1 x3 )(1/2)(x 2 1) 1/2 (2x) x 2 1( 3x 2 ) (1 x 3 ) 2

1. Compute the derivatives of the following functions, by any means necessary. f (x) = (1 x3 )(1/2)(x 2 1) 1/2 (2x) x 2 1( 3x 2 ) (1 x 3 ) 2 Math 51 Exam Nov. 4, 009 SOLUTIONS Directions 1. SHOW YOUR WORK and be thorough in your solutions. Partial credit will only be given for work shown.. Any numerical answers should be left in exact form,

More information

Consider an ideal pendulum as shown below. l θ is the angular acceleration θ is the angular velocity

Consider an ideal pendulum as shown below. l θ is the angular acceleration θ is the angular velocity 1 Second Order Ordinary Differential Equations 1.1 The harmonic oscillator Consider an ideal pendulum as shown below. θ l Fr mg l θ is the angular acceleration θ is the angular velocity A point mass m

More information

Limited Growth (Logistic Equation)

Limited Growth (Logistic Equation) Chapter 2, Part 2 2.4. Applications Orthogonal trajectories Exponential Growth/Decay Newton s Law of Cooling/Heating Limited Growth (Logistic Equation) Miscellaneous Models 1 2.4.1. Orthogonal Trajectories

More information

f(g(x)) g (x) dx = f(u) du.

f(g(x)) g (x) dx = f(u) du. 1. Techniques of Integration Section 8-IT 1.1. Basic integration formulas. Integration is more difficult than derivation. The derivative of every rational function or trigonometric function is another

More information

Welcome to AP Calculus!!!

Welcome to AP Calculus!!! Welcome to AP Calculus!!! In preparation for next year, you need to complete this summer packet. This packet reviews & expands upon the concepts you studied in Algebra II and Pre-calculus. Make sure you

More information