2.2 Separable Diff. Eqs.
let's revisit \(\frac{dy}{dx} = xy\)
we solved by using calculus
let \(u = y\) then \(du = \frac{dy}{dx} dx\)
integrate both sides
let's revisit \(\frac{dy}{dx} = xy\)
we solved by using calculus
let \(u = y\) then \(du = \frac{dy}{dx} dx\)
integrate both sides
notice it almost looked like we did this:
"multiply by \(dx\)" and "divide by \(y\)"
integrate
actually NOT mathematically "legal"
\(\frac{dy}{dx}\) is a notation for \(y'\)
it is NOT a quotient
BUT, we get the right result, so for the purpose of solving diff. eqs. we will pretend it's "legal"
\[ \frac{dy}{dx} = f(x,y) \] is separable if we can separate \( f(x,y) \) into a product or quotient of a function of \( x \) and a function of \( y \).
All separable diff. eqs. can be solved the same way as the previous example.
Let's solve
\( \cos(x) + \frac{1}{2} y^2 = C \)
or
resolved by initial condition \( y(x_0) = y_0 \)
for example, let's say \( y(0) = 3 \)
\( C = 11 \) and we must choose \( + \)
particular solution : \( y = \sqrt{11 - 2 \cos(x)} \)
ALWAYS separate by multiplication or division. NEVER by addition/subtraction
can find C using initial condition any time AFTER integration
implicit form
NOT all diff. eqs. have solutions in explicit form.
here, we can complete the square on the left
resolve this
one way: find domain of \( y \)
\( x = ? \)
not easy equation to solve
these bound intervals on which \( y \) is valid
DON'T differentiate \( y \)!
use the diff. eq. \( \frac{dy}{dx} \) to construct a slope field