Professional Documents
Culture Documents
Quiz2
Problem1
Solve the given differential equation
SOLUTION
∂M
M = 2xy = 2x
∂y
∂N
N = x2 + 1 = 2x
∂x
My = Nx ⇒ This is an exact diff. equ.
Z Z
Φ(x, y) = M dx = 2xydx = x2 y + h(y)
∂Φ
N = ⇒ x2 + 1 = x2 + h0 (y) ⇒ h0 (y) = 1 ⇒ h(y) = y + C
∂y
Therefore,
Φ(x, y) = x2 y + y + C (1)
Problem2
Solve the given initial-value problem
SOLUTION
∂y
v=
∂x
∂v
= y 00
∂x
Plug in
It is separable.
dv 1
= dx
v−1 (x − 1)(x − 2)
−1 1
= + dx (a lot of mistakes here)
x−1 x−2
ln |v − 1| = − ln |x − 1| + ln |x − 2| + C
x − 2
= ln +C
x − 1
x−2
v−1 = C
x−1
Use the initial condition y 0 (0) = −1
0−2
−1 − 1 = C = C · 2 ⇒ C = −1
0−1
Therefore,
x−2 2−x 1
v=C +1= +1=
x−1 x−1 x−1
0 = ln |0 − 1| + C ⇒ C = 0
y = ln(1 − x)
Remark: Equation (2) is also linear. Try the method for a linear
equation to solve it!