You solve equations written as M dx + N dy = 0. Check one test: does M_y equal N_x? If yes, find a potential function F and write F(x, y) = C. If no, multiply by an integrating factor first. Substitutions v = y/x and u = y^(1-n) turn two other forms into earlier methods. Recognition cue: the equation arrives as M dx + N dy = 0, the right side depends only on y/x, or one power y^n spoils a linear equation. You will practice: exactness test, potential function, integrating factor, homogeneous substitution, Bernoulli substitution.
10 problems, each with a worked answer. Verified by an independent second solve.
Work them on paper, in order; difficulty ramps gently.
1.
Basic
Let M = 2xy and N = x². Compute M_y, the derivative of M with respect to y, and N_x, the derivative of N with respect to x. Is the equation M dx + N dy = 0 exact?
Show answer
Answer: My=2x,Nx=2x
Differentiate M with respect to y and N with respect to x. The results are equal, so the equation is exact.
My=2x,Nx=2x
2.
Basic
Solve (2xy) dx + (x²) dy = 0. Give the general solution.
Show answer
Answer: x2y=C
The equation is exact. The potential function is F = x²y.
F=x2y,x2y=C
3.
Basic
The equation dy/dx + y = y³ is a Bernoulli equation with n = 3. Which substitution u turns it into a linear equation?
Show answer
Answer: u=y−2
Bernoulli uses u = y^(1-n). Here n = 3.
u=y1−3=y−2
4.
Basic
Solve y dx + x dy = 0 with y(2) = 3.
Show answer
Answer: y=x6
The equation is exact with potential F = xy. Apply the initial condition.
xy=C,C=2⋅3=6
y=x6
5.
Basic
Solve (2x + y) dx + (x + 2y) dy = 0. Give the general solution.
Show answer
Answer: x2+xy+y2=C
M_y = 1 = N_x, so the equation is exact. Integrate M in x, then match F_y to N.
F=x2+xy+g(y),g′(y)=2y
x2+xy+y2=C
6.
Basic
Solve (y cos x) dx + (sin x) dy = 0 with y(π/2) = 2.
Show answer
Answer: ysinx=2
M_y = cos x = N_x, so the equation is exact with F = y sin x. Insert the initial point.
ysinx=C,C=2⋅1=2
7.
Basic
The equation (3y) dx + (x) dy = 0 is not exact. Find an integrating factor of the form μ(x).
Show answer
Answer: μ=x2
Compute the ratio (M_y - N_x)/N. It depends on x only.
NMy−Nx=x3−1=x2
μ=e∫x2dx=x2
8.
Basic
Solve y dx + 2x dy = 0. Use an integrating factor of the form μ(y). Give the general solution.
Show answer
Answer: xy2=C
Compute (N_x - M_y)/M = 1/y, so μ = y. Multiply and solve the exact equation.
μ=y,y2dx+2xydy=0
xy2=C
9.
Basic
Solve x dy/dx = x + y with y(1) = 0.
Show answer
Answer: y=xlnx
Divide by x to get dy/dx = 1 + y/x. Substitute v = y/x.
v+xdxdv=1+v,xdxdv=1
v=lnx+C,y=xlnx+Cx
The initial condition y(1) = 0 gives C = 0.
10.
Basic
A product's market share s(t) satisfies ds/dt = s² - s with s(0) = 1/2. Find s(t).
Show answer
Answer: s=1+et1
This is Bernoulli with n = 2. Set u = 1/s.
dtdu=u−1,u=1+Cet
u(0)=2,C=1,s=1+et1