Download presentation
Presentation is loading. Please wait.
1
Separable Differential Equations
MAT 275
2
(c) ASU Math - Scott Surgent. Report errors to surgent@asu.edu
A separable differential equation is one that can be written so that the independent variable terms (along with its differential) are collected to one side of the equal sign, and the dependent variable terms (and its differential) to the other. Example: π¦ β² =π₯ π¦ 2 is separable. It is first written as ππ¦ ππ₯ =π₯ π¦ 2 , then βseparatedβ: ππ¦ π¦ 2 =π₯ ππ₯. (c) ASU Math - Scott Surgent. Report errors to
3
(c) ASU Math - Scott Surgent. Report errors to surgent@asu.edu
To solve a separable differential equation, integrate both sides and solve for y (if possible). For example, we had π¦ β² =π₯ π¦ 2 . This is separated as ππ¦ π¦ 2 =π₯ ππ₯. ππ¦ π¦ 2 = π₯ ππ₯ Integrate both sides. β 1 π¦ = 1 2 π₯ 2 +πΆ Donβt forget the constant of integration. 1 π¦ =πΆβ 1 2 π₯ Negate. The C βabsorbsβ the negative. π¦= 1 πΆβ 1 2 π₯ 2 = 2 πΆβ π₯ Solve for y. Note that 2C is written as C. (c) ASU Math - Scott Surgent. Report errors to
4
(c) ASU Math - Scott Surgent. Report errors to surgent@asu.edu
Example: find the general solution of π¦ β² =π₯+π₯π¦. Write π¦β² as ππ¦ ππ₯ : ππ¦ ππ₯ =π₯+π₯π¦ Factor: ππ¦ ππ₯ =π₯(1+π¦) Separate: ππ¦ 1+π¦ =π₯ ππ₯ π¦β β1 Integrate: ππ¦ 1+π¦ = π₯ ππ₯ β ln |1+π¦| = 1 2 π₯ 2 +πΆ Isolate y: 1+π¦ = π 0.5 π₯ 2 +πΆ β 1+π¦ =πΆ π 0.5 π₯ 2 1+π¦=Β±πΆ π 0.5 π₯ 2 =πΆ π 0.5 π₯ (Β±πΆ=πΆ) Thus, π¦=πΆ π 0.5 π₯ 2 β1 is the general solution of π¦ β² =π₯+π₯π¦. (c) ASU Math - Scott Surgent. Report errors to
5
(c) ASU Math - Scott Surgent. Report errors to surgent@asu.edu
The constant of integration C is just a generic constant at this point. It absorbs all constants that come near it, so to speak. For example, π πΆ =πΆ, βπΆ=πΆ, 2πΆ=πΆ, 1 πΆ =πΆ, and so on. The C can be determined with an initial condition. For example, suppose we have π¦ β² =π₯+π₯π¦ with π¦ 0 =3. The general solution is π¦= πΆ 0.5 π₯ 2 β1. To find C, let x = 0 and y = 3: 3=πΆ π β β =πΆβ β πΆ=4. Thus, the particular solution is π¦=4 π 0.5 π₯ 2 β1. (c) ASU Math - Scott Surgent. Report errors to
6
(c) ASU Math - Scott Surgent. Report errors to surgent@asu.edu
Example: the rate of change in the value of a stock is inversely-proportional to the square of the value of that stock. If the stockβs value was $20 at noon, and was $23 at 3 p.m., what is the stockβs value at 5 p.m.? π β² π‘ = π [π π‘ ] β ππ ππ‘ = π π 2 π 2 ππ=π ππ‘ β π 2 ππ = π ππ‘ 1 3 π 3 =ππ‘+πΆ (c) ASU Math - Scott Surgent. Report errors to
7
To find C, use (0,20), where t = 0 is noon: 20= 3 3π(0)+πΆ β 20 3 =πΆ
Example: the rate of change in the value of a stock is inversely-proportional to the square of the value of that stock. If the stockβs value was $20 at noon, and was $23 at 3 p.m., what is the stockβs value at 5 p.m.? 1 3 π 3 =ππ‘+πΆ π 3 =3ππ‘+πΆ π π‘ = 3 3ππ‘+πΆ . To find C, use (0,20), where t = 0 is noon: 20= 3 3π(0)+πΆ β =πΆ Thus, we have π π‘ = 3 3ππ‘ To find k, use (3,23): = 3 3π(3) β =9π+8000 23 3 β8000=9π β =9π β π= =463. The particular solution is π π‘ = 3 3(463)π‘ or π π‘ = π‘ At 5 p.m., the stockβs value is π 5 = (5)+8000 β$24.63. (c) ASU Math - Scott Surgent. Report errors to
8
(c) ASU Math - Scott Surgent. Report errors to surgent@asu.edu
Integration Factors (c) ASU Math - Scott Surgent. Report errors to
9
(c) ASU Math - Scott Surgent. Report errors to surgent@asu.edu
There is a process by which most first-order linear differential equations can be solved. This uses an integration factor, denoted π(π₯) (Greek letter βmuβ). The differential equation must be in the form π¦ β² +π π₯ π¦=π π₯ . To find π π₯ , we perform the following process (next slide) (c) ASU Math - Scott Surgent. Report errors to
10
(c) ASU Math - Scott Surgent. Report errors to surgent@asu.edu
Starting with π¦ β² +π π₯ π¦=π(π₯), multiply both sides by π(π₯): π(π₯)π¦ β² +π(π₯)π π₯ π¦=π(π₯)π(π₯) The left side is a product-rule derivative of (π π₯ π¦): π π₯ π¦ β² =π π₯ π¦ β² + π β² π₯ π¦. Thus, we have π π₯ π¦ β² + π β² π₯ π¦= π(π₯)π¦ β² +π(π₯)π π₯ π¦. This forces π β² π₯ =π π₯ π(π₯). (next slide) (c) ASU Math - Scott Surgent. Report errors to
11
(c) ASU Math - Scott Surgent. Report errors to surgent@asu.edu
Now we find π(π₯). From the last slide, we had π β² π₯ =π π₯ π(π₯). This is a separable differential equationβ¦ so separate: ππ π π₯ =π π₯ ππ₯. Integrating both sides, we have ππ π π₯ = π π₯ ππ₯ . (next slide) (c) ASU Math - Scott Surgent. Report errors to
12
(c) ASU Math - Scott Surgent. Report errors to surgent@asu.edu
After integration, we have ln π(π₯) = π π₯ ππ₯ +πΆ. Here, we only need one form of the antiderivative, so we let C = 0. Taking base-e on both sides, we now know π(π₯): π π₯ = π π π₯ ππ₯ . (c) ASU Math - Scott Surgent. Report errors to
13
(c) ASU Math - Scott Surgent. Report errors to surgent@asu.edu
Good newsβ¦ you donβt need to do all those steps each time. Just remember that if you have a differential equation of the form π¦ β² +π π₯ π¦=π(π₯), then find π π₯ = π β«π π₯ ππ₯ . Letβs take a few seconds to relax and look at kittens: (c) ASU Math - Scott Surgent. Report errors to
14
(c) ASU Math - Scott Surgent. Report errors to surgent@asu.edu
So letβs go back to the start: we have a differential equation of the form π¦ β² +π π₯ π¦=π π₯ . We have found π(π₯) and multiplied it to both sides: π(π₯)π¦ β² +π π₯ π π₯ π¦=π π₯ π π₯ . The left side is compressed as a product rule derivative: π π₯ π¦ β² =π π₯ π π₯ . (c) ASU Math - Scott Surgent. Report errors to
15
(c) ASU Math - Scott Surgent. Report errors to surgent@asu.edu
Now integrate both sides. Here, we need the constant of integration: (π π₯ π¦)β² = π π₯ π π₯ ππ₯ +πΆ. Since (π π₯ π¦)β² =π π₯ π¦, we can now solve for y: π¦= π π₯ π π₯ ππ₯ +πΆ π π₯ . You may memorize this as a formula. (c) ASU Math - Scott Surgent. Report errors to
16
Example: Find the general solution of π¦ β² + 2 π₯ π¦=π₯.
(Note that π π₯ = 2 π₯ and π π₯ =π₯ and that π₯β 0) Solution: First, we find π π₯ : Now, use the formula π¦= π π₯ π π₯ ππ₯ +πΆ π π₯ : (next slide) (c) ASU Math - Scott Surgent. Report errors to
17
Now we use the formula π¦= π π₯ π π₯ ππ₯ +πΆ π π₯ :
Solve π¦ β² + 2 π₯ π¦=π₯. From previous slide, we know that π π₯ = π₯ 2 . Now we use the formula π¦= π π₯ π π₯ ππ₯ +πΆ π π₯ : π¦= π₯ 2 π₯ ππ₯ +πΆ π₯ 2 = β« π₯ 3 ππ₯+πΆ π₯ 2 = π₯ 4 +πΆ π₯ 2 = 1 4 π₯ 2 +πΆ π₯ β2 . Thus, π¦= 1 4 π₯ 2 +πΆ π₯ β2 is the general solution of π¦ β² + 2 π₯ π¦=π₯. On the next slide, weβll check to be sure. (c) ASU Math - Scott Surgent. Report errors to
18
(c) ASU Math - Scott Surgent. Report errors to surgent@asu.edu
Check that π¦= 1 4 π₯ 2 +πΆ π₯ β2 is the general solution of π¦ β² + 2 π₯ π¦=π₯. First, differentiate y: π¦ β² = 1 2 π₯β2πΆ π₯ β3 Now insert π¦ β² and π¦ into the differential equation and simplify: 1 2 π₯β2πΆ π₯ β π₯ π₯ 2 +πΆ π₯ β2 =π₯ 1 2 π₯β2πΆ π₯ β π₯+2πΆ π₯ β3 =π₯ 1 2 π₯+ 1 2 π₯ + β2πΆ π₯ β3 +2πΆ π₯ β3 =π₯ π₯+0=π₯. (c) ASU Math - Scott Surgent. Report errors to
19
(c) ASU Math - Scott Surgent. Report errors to surgent@asu.edu
Example: Solve the IVP: π¦ β² +2π₯π¦=3π₯, π¦ 0 =5. Solution: Find π(π₯): Now find y using the formula π¦= π π₯ π π₯ ππ₯ +πΆ π π₯ : To find C, use y(0) = 5: 5= 3 2 +πΆ π β βπΆ= 7 2 . Thus, the particular solution is π¦= π β π₯ 2 . (c) ASU Math - Scott Surgent. Report errors to
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.