Put y = vx
A homogeneous equation dy/dx = g(y/x) becomes separable with y = vx.
Only yx matters
Example 10: dy/dx = (x + 2y)/(x − y). Divide the top and the bottom by x: the right side becomes (1 + 2v)/(1 − v), where v = yx. It depends only on the ratio yx.
What substitution could turn it into an equation we can separate?
What this lesson covers
The idea
dy/dx = F(x, y) is homogeneous if F is homogeneous of degree zero; substitute y = vx (so dy/dx = v + x dv/dx), separate variables, integrate and replace v by y/x. For dx/dy = F(x, y), substitute x = vy instead.
Only y/x matters
Example 10: dy/dx = (x + 2y)/(x − y). Divide the top and the bottom by x: the right side becomes (1 + 2v)/(1 − v), where v = y/x. It depends only on the ratio y/x.
What substitution could turn it into an equation we can separate?
- call the ratio v: y = vx
- put y = x + v
- differentiate again
Choose the substitution
For dy/dx = g(y/x) put y = vx; for dx/dy = h(x/y) put x = vy. Choose, and see what the equation becomes.
Solving a homogeneous equation
dy/dx = F(x, y) is homogeneous if F is homogeneous of degree 0, that is F = g(y/x). Put y = vx, so dy/dx = v + x dv/dx. Then x dv/dx = g(v) − v: separate the variables, integrate, and replace v by y/x. For dx/dy = F(x, y) put x = vy instead.
Why it works: y = vx turns g(y/x) into g(v), a function of v alone, so v and x can be separated.
Example 11: x cos(y/x) dy/dx = y cos(y/x) + x. With y = vx this becomes cos v dv = dx/x, so sin(y/x) = log |Cx|.
Notes
Homogeneous: dy/dx = g(y/x). Put y = vx, dy/dx = v + x dv/dx, separate, integrate, replace v by y/x. For dx/dy = h(x/y), put x = vy.
Check yourself
Exercise 9.4, Q16: a homogeneous equation dx/dy = h(x/y) is solved with the substitution …
Example 11 after y = vx: v + x dv/dx = (v cos v + 1)/cos v. Separating the variables gives …
Example 12: the general solution is 2eˣᐟʸ + log |y| = C, and x = 0 when y = 1. Find C.
Answer: 2
2e⁰ + log 1 = 2 + 0, so C = 2.
- y = vx. That is for dy/dx = g(y/x).
- x = vy — correct. Yes! Then x/y = v and dx/dy = v + y dv/dy.
- v = yx. v must be the ratio x/y, not the product.
- x = v. x/y = v means x = vy.
- cos v dv = dx/x — correct. Yes! x dv/dx = 1/cos v, so cos v dv = dx/x, and sin v = log |Cx|.
- dv/cos v = dx/x. x dv/dx = 1/cos v: multiply by cos v, so cos v goes with dv on top.
- cos v dv = x dx. x dv/dx = 1/cos v gives dx/x, not x dx.