Docsity

Math 256 -- Lesson 3, Lecture notes of Applied Differential Equations

Toggle sidebar
bg1
Math 256 - Applied Differential Equations Lesson 3
Lesson 3: Separable Equations
Sometimes we can solve a differential equation by integration:
Example: dy
dt =t3⇒y(t) =
1
4t4+C.
Sometimes we might have to manipulate things a little:
Example:
dy
dx =y
x}Note y= 0is a solution. Then divide by yand multiply by dx
dy
y=dx
x
⇒Zdy
y=Zdx
x
ln |y|= ln |x|+Constant
= ln |x|+ ln C
= ln C|x|
⇒ |y|=C|x|
⇒y=cx, where cis any real number is the general solution.
pf3
pf4
pf5
pf8
pf9

Partial preview of the text

Download Math 256 -- Lesson 3 and more Lecture notes Applied Differential Equations in PDF only on Docsity!

Math 256 - Applied Differential Equations Lesson 3

Lesson 3: Separable Equations

Sometimes we can solve a differential equation by integration:

Example:

dy dt

= t^3 ⇒ y(t) =

t^4 + C.

Sometimes we might have to manipulate things a little:

Example: dy dx

y x

} Note y = 0 is a solution. Then divide by y and multiply by dx

dy y

= dx x

⇒

Z

dy y

Z

dx x

ln |y| = ln |x|+Constant

= ln |x| + ln C

= ln C|x|

⇒ |y| = C|x|

⇒ y = cx, where c is any real number is the general solution.

dy y

dx x

Here with solutions through (1, 4), (1, 1) and (2, 1).

This is how the textbook defines it:

Definition: A first-order differential equation is SEPARABLE if it can be writ- ten as h(y)y ′^ = g(x).

Examples:

(A) Solve y ′^

x = − (^) y.

y · y ′^ = −x

y^2 = −^1 2

x^2 + Constant

⇒ x^2 + y^2 = C

Note: C ≥ 0 so C = a^2 for some a ≥ 0. Then the above can be rewritten as x^2 + y^2 = a^2 , which is a circle of radius a.

y =

a^2 − x^2 if y(x 0 ) > 0

y = −

a^2 − x^2 if y(x 0 ) < 0

(B) Solve the IVP y ′^

x = − , y(1) y

By part (A), and due to the negative initial y-value, the solution is of the form (^) p y = − a^2 − x^2.

y(1) = − 2 ⇒ p − 2 = − a^2 − 12

⇒ a^2 = 5

√ ⇒ a = ± 5

So the IVP solution is y = − 5 − x^2 , where (^) |− 5 <{zx < (^5) } “Interval of validity"

Example: Solve y ′^ = xy^2 ex. Note: y = 0 is a solution.

y−^2 y ′^ = xex

Z

y−^2 y ′^ dx =

Z

xex^ dx

Z

y−^2 dy =

Z

xex^ dx

y

Z

xex^ dx

Next integrate by parts

Z

u dv = uv −

Z

v du

u = x, dv = ex^ dx, du = dx, v = ex,

⇒ −^1

y

= xex^ −

Z

ex^ dx

⇒ −^1

y

= xex^ − ex^ + C

⇒ y =

xex^ − ex^ + C

( or y = 0)

  • Solutions to differential equations cannot always be written “explicitly" as y(t) = ... In the case when a solution is not written as y(t) = ..., we have an IMPLICIT SOLUTION.

Example: A previous example had x^2 +y^2 = a^2 as a general solution to y′^ = −

x y

This is an implicit solution to y′^ = −x y

Note that

y =

a^2 − x^2

y = −

a^2 − x^2

gives an explicit solution.