


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



= g(x)h(y).
p(y)
dy dx
= g(x).
Solution method employs the equation ∫ p(y)dy =
∫ g(x)dx.
In the above we assumed that h(y) 6 = 0. But it is possible that constant function y defined by h(y) = 0 is also a solution, that was “lost” in the process above. This needs to be checked separately
y
∫
The constant function y = 0 (for every x) is also a solution since it satisfied the differential equation. It is not a special case of the general solution for any value of c - it was lost by the general solution process.
y^2
∫ (^) dx
x
y
= lg(|x|) + C = lg(|cx|) ⇒ y = −(log(|cx|))−^1
The constant function y = 0 (for every x) is also a solution since it satisfied the differential equation. It is not a special case of the general solution for any value of c - it was lost by the general solution process.
∫ e^2 xdx ⇒ −^14 e−^4 y^ = 12 e^2 x^ + C ⇒ − 4 y = −(log(| − 2 e^2 x^ + c|))
⇒ y = −^14 (log(| − 2 e^2 x^ + c|)). Given the initial value y(0) = 0, we get 0 = −^14 log | − 2 + c|, which implies that log | − 2 + c| = 0, hence −2 + c = 1, or c = 3.
a 1 (x)
dy dx
If g(x) = 0 the equation is homogeneous, otherwise it is nonhomogeneous. Dividing this equation by a 0 (x) gives the standard form of the equation:
dy dx
2.1. The Homogeneous Equation
dy y
= −P (x)dx = 0.
Integrating gives log |y| = −
∫ P (x)dx + C
so that |y| = e−^
∫ P (x)dx+C (^) = C 1 e −
∫ P (x)dx. (^) Thus the general solution to the homogeneous equation is yc = ce−^
∫ P (x)dx.
This is a family of solutions, with different curves corresponding to different values of c.
∫ ∫ (P^ (x)dx^ = sin(x)dx = − cos(x) (the constant has already been figured into the solution expression, hence can be ignored).Then
yc = ce−^
∫ P (x)dx. (^) = cecos(x)
∫ (P (x)dx =
∫ dx/ 2 x = log |x|/2 = log |x|^1 /^2. Then
yc = ce−^
∫ P (x)dx (^) = ce− log |x|^1 /^2 = celog |x|−^1 /^2 = c|x|− 1 / 2
note that this means that for x > 0, y = c/
x), while for x < 0, y = c/
√ (−x) (check the solution!). At x = 0 y′^ is not defined and the differential equation is not defined.
2.2. The Nonhomogeneous Equation
q(x) = e−^
∫ P (x)dx (^) = e−x−2 log(|x|) (^) = e−xx− (^2) ,
and y = e−xx−^2
( c +
∫ exx^2 x−^2 exdx
) = e−xx−^2
( c +
e^2 x 2
c x^2
e−x^ +
ex 2 x^2
The solution is define on x 6 = 0.