Q.Solve: xsinxydy=[ysinxy−x]dx
Concept understanding — Homogeneous Differential Equations
A function f(x,y) is a homogeneous function of degree n if f(tx,ty)=tnf(x,y) for every suitably restricted x,y,t (Euler's homogeneity). A homogeneous function of degree zero can always be written purely as a function of the single ratio xy (or yx): f(x,y)=g(xy).
Homogeneous differential equation. An ODE is in homogeneous form if it can be written as
dxdy=g(xy).
Equivalently, M(x,y)dx+N(x,y)dy=0 is homogeneous exactly when M and N are homogeneous functions of the same degree — because then f(x,y)=−M/N is automatically homogeneous of degree 0. (This use of the word "homogeneous" for the equation is a different meaning from calling the constant term g(x)=0 in a linear equation "homogeneous" — Definition 10.7 versus Definition 10.12 in the textbook — so the two uses should not be confused.)
Solution method (Theorem 10.1). Substitute y=vx (so v=xy), giving dxdy=v+xdxdv. The homogeneous equation becomes
v+xdxdv=g(v) ⟹ xdxdv=g(v)−v,
which is variables-separable in v and x:
g(v)−vdv=xdx.
Integrate both sides, then replace v by xy to return to the original variables.
When to substitute x=vy instead. If the equation naturally involves the ratio yx (for instance dydx=g(yx), or the algebra is simply cleaner that way), put x=vy instead, giving dydx=v+ydydv, and proceed by the same separation-of-variables logic with the roles of x and y exchanged.
Practical check. To test whether a given equation is homogeneous, rewrite dxdy as a ratio of two expressions in x,y and confirm that scaling both x→tx, y→ty leaves the ratio unchanged (the t's cancel) — equivalently, that every term in M and N has the same total degree in x and y.
Substitute y=vx (or x=vy), reduce to a separable equation in v and x (or y), integrate, then substitute back.
cos(xy)=log∣x∣+c
xsin(xy)dy=[ysin(xy)−x]dx is homogeneous. Put y=vx, dxdy=v+xdxdv: xsinv(v+xdxdv)=vxsinv−x. Dividing by x: vsinv+xsinvdxdv=vsinv−1, so xsinvdxdv=−1, i.e. sinvdv=−xdx. Integrating: −cosv=−logx+c1, i.e. cosv=logx+c. Substituting v=y/x: cos(xy)=log∣x∣+c.
cos(xy)=log∣x∣+c
Confirm the equation is homogeneous, substitute y=vx (dy/dx = v + x dv/dx) or x=vy as convenient, separate the resulting equation in v and the remaining variable, integrate, then replace v by y/x (or x/y) to state the solution in x and y.
Forgetting to replace dy/dx by v + x dv/dx after substituting y=vx (dropping the product-rule term); not simplifying the equation in v before separating, leaving an x still tangled in with v; forgetting to substitute v=y/x back at the very end.
- CBSE 2018Set ANNUAL1 markMCQQ.If dxdy=x+yx−y then :(a) x2+y2−2xy=c(b) 2xy+y2+x2=c(c) x2−y2−2xy=c(d) x2+y2−x+y=c
›Reveal solutionSolution
Treating dxdy=x+yx−y as an exact differential equation and integrating gives the solution x2−y2−2xy=c.
- Cross-multiply: (x+y)dy=(x−y)dx, i.e. (x−y)dx−(x+y)dy=0.
- Identify M(x,y)=x−y and N(x,y)=−(x+y)=−x−y.
- Test exactness: ∂y∂M=−1 and ∂x∂N=−1. Since these are equal, the equation is exact.
- Find F(x,y) with ∂x∂F=M=x−y: integrate with respect to x: F=2x2−xy+g(y).
- Differentiate with respect to y: ∂y∂F=−x+g′(y), and this must equal N=−x−y, so g′(y)=−y, giving g(y)=−2y2.
- So F(x,y)=2x2−xy−2y2, and the general solution is F=c1: 2x2−xy−2y2=c1.
- Multiply through by 2 and rename the constant: x2−2xy−y2=c, i.e. x2−y2−2xy=c.
✓Final answerThe solution is x2−y2−2xy=c — option (c).
🎓Unlock everything free for 14 days
- ✓Full step-by-step solutions
- ✓Concept-first explanations
- ✓Methods, shortcuts & mistakes
- ✓PYQ mapping + timed mock tests
Full access for 14 days. No credit card required.