Homogeneous equations · Mathematics Class 11–12 | StemPy Lab
Course 13.2·Lesson 2 of 3
Homogeneous equations
A homogeneous equation has a slope that depends only on the ratio xy, so dxdy=F(xy)
Lesson 2 of 3Show all lessonsHide
Try the code and the simulations beside the lesson.
What you will be able to do
decide whether a function or an equation is homogeneous;
solve a homogeneous equation with y=vx, or with x=vy when that is shorter;
return to x and y and fix the constant from a point.
The same slope along every ray
Look at dxdy=2xyx2+y2. Replace x by 3x and y by 3y. The top becomes 9(x2+y2) and the bottom becomes 9×2xy. The nine cancels, and the slope is the same. So the slope at (3,6) equals the slope at (1,2). Both points lie on the ray y=2x.
This is the idea. In a homogeneous equation the slope is the same at every point of a ray from the origin. The simulation shows it.
Homogeneous functions
A function f(x,y) is homogeneous of degree n if
f(λx,λy)=λnf(x,y)
for every λ>0 in the domain. For example, x2+3xy has degree 2, x−yx+y has degree 0, and x2+y is not homogeneous.
An equation dxdy=Q(x,y)P(x,y) is homogeneous when P and Q are homogeneous of the same degree. Then the right side is a function of xy alone, which is F(xy), because we can take λ=x1.
A warning about the word. In NCERT and JEE Main this is a "homogeneous differential equation". In A-Level Further Maths, "homogeneous" means a linear equation with zero on the right side, such as y′′+3y′+2y=0. Those are different ideas. Here we use the Indian meaning.
A graph for the equation dy/dx = (x squared + y squared) over 2xy in the first quadrant. Three dotted rays from the origin are drawn, y = 0.5x, y = x and y = 2x. On each ray three short red tick marks show the slope of the field at x = 1, 2 and 3, and the three marks on one ray are parallel. The rays y = 0.5x and y = 2x have the same slope, 1.25. Four blue curves, the solutions x squared minus y squared equals Cx, cross the rays and leave the x-axis or the origin.
The steps
Check. Write the equation as dxdy=F(xy). Test the degrees, or replace x,y by λx,λy.
Substitute. Put y=vx. By the product rule, dxdy=v+xdxdv.
Separate. The equation becomes xdxdv=F(v)−v. Then F(v)−vdv=xdx.
Integrate both sides.
Return. Replace v by xy. Then use the point to fix C.
If F(v)−v is zero for some v=v1, then y=v1x is a straight-line solution that the division loses.
Worked examples
Example 1. Solve (x2+y2)dx=2xydy.
Write dxdy=2xyx2+y2. This is homogeneous of degree 0.
So x(1−v2)=C. Put v=xy: x−xy2=C. Multiply by x: x2−y2=Cx.
Example 2. Solve xdxdy=y+xsin2xy with y=4π at x=1.
Divide by x: dxdy=xy+sin2xy. With y=vx: v+xdxdv=v+sin2v.
So xdxdv=sin2v. Separate: cosec2vdv=xdx.
Integrate: −cotv=lnx+c for x>0. So cotxy=C−lnx.
At (1,4π): cot4π=1=C−0. So cotxy=1−lnx.
Example 3. Solve dxdy=x+yy. Here x=vy is shorter, because the equation is easier to write for dydx.
Turn it over: dydx=yx+y=yx+1.
Put x=vy, so dydx=v+ydydv. Then v+ydydv=v+1.
So dydv=y1 and v=ln∣y∣+C.
Return: yx=ln∣y∣+C, or x=yln∣y∣+Cy.
With y=vx the same equation takes more steps. Choose the substitution that gives the simpler right side.
A non-example. Try dxdy=x−yx+y+1. The top has a constant 1, so replacing x,y by λx,λy does not give a power of λ. The equation is not homogeneous, and y=vx does not separate it. It needs a shift of origin, which the Standard course of this chapter explains.
Practise with new numbers
Try it in Python
The first part prints the slope of dxdy=2xyx2+y2 at three points on each of three rays. The second part compares the slope of a solution x2−y2=3x with the equation.
Common mistakes
Forgetting that dxdy=v+xdxdv. Treating v as a constant loses the second term.
Mixing x and v after the substitution. Separate completely before you integrate.
Not returning to y. The answer must be in x and y, not in v.
Using the substitution on a function that is not homogeneous. Check the degrees first.
Confusing the words. A-Level "homogeneous" is a different idea, as explained above.
Remember these
f(λx,λy)=λnf(x,y) means that f is homogeneous of degree n.
A homogeneous equation has dxdy=F(xy). Put y=vx, so dxdy=v+xdxdv.
After separating, integrate and replace v by xy.
Use x=vy when the equation is simpler for dydx.
Check yourself
Try each one on your own first. If you are stuck, open a hint. Then check with Show the answer.
Is f(x,y)=xyx3+y3 homogeneous? If so, of what degree?
Use y=vx to solve dxdy=x2x+y.
Is xdxdy=y+x2 homogeneous?
Solve dxdy=2xyx2+3y2.
Solve dxdy=x2+y2xy for y>0, using x=vy.
References
OpenStax, Calculus Volume 2, Chapter 4, section 4.3 Separable Differential Equations (for the separable form that the substitution reaches).
NCERT, Mathematics Part II for Class XII, Chapter 9, the section on homogeneous differential equations.
Enroll free in First-Order Equations: Separable, Homogeneous and Linear
Every lesson is open to read. Enrolling also lets you:
Mark lessons done and carry on where you stopped.
Take the tests of this lesson and its course.
Count the course towards the certificate for its chapter.