A brief note on First-Order Equations . Read it before a test. Try each question at the end before you open its answer.
Separable equations Form: d y d x = f ( x ) g ( y ) \dfrac{dy}{dx} = f(x)\,g(y) d x d y = f ( x ) g ( y ) . NCERT says "variable separable". A-Level, IB and AP say "separable". Method: d y g ( y ) = f ( x ) d x \dfrac{dy}{g(y)} = f(x)\,dx g ( y ) d y = f ( x ) d x . Integrate both sides, with one constant, then use the point. Lost solutions: every y y y with g ( y ) = 0 g(y) = 0 g ( y ) = 0 gives a constant solution. Check whether the general solution has it. Homogeneous equations Form: d y d x = F ( y x ) \dfrac{dy}{dx} = F\!\left(\dfrac{y}{x}\right) d x d y = F ( x y ) . The top and the bottom are homogeneous of the same degree. Method: put y = v x y = vx y = v x , so d y d x = v + x d v d x \dfrac{dy}{dx} = v + x\dfrac{dv}{dx} d x d y = v + x d x d v . Then x d v d x = F ( v ) − v x\dfrac{dv}{dx} = F(v) - v x d x d v = F ( v ) − v separates. Shortcut: use x = v y x = vy x = v y when the equation is simpler for d x d y \dfrac{dx}{dy} d y d x . The word: A-Level Further Maths uses "homogeneous" for a different idea (zero on the right side). Linear equations Form: d y d x + P y = Q \dfrac{dy}{dx} + Py = Q d x d y + P y = Q . The coefficient of d y d x \dfrac{dy}{dx} d x d y must be 1 1 1 . Integrating factor: I = e ∫ P d x I = e^{\int P\,dx} I = e ∫ P d x , and I y = ∫ I Q d x + C I\,y = \int IQ\,dx + C I y = ∫ I Q d x + C . Other form: d x d y + P 1 x = Q 1 \dfrac{dx}{dy} + P_1x = Q_1 d y d x + P 1 x = Q 1 uses e ∫ P 1 d y e^{\int P_1\,dy} e ∫ P 1 d y . Shape of the answer: transient plus steady state. The transient fades. A worked example Solve d y d x = y x + x y \dfrac{dy}{dx} = \dfrac{y}{x} + \dfrac{x}{y} d x d y = x y + y x for x > 0 x > 0 x > 0 and y > 0 y > 0 y > 0 .
Check. The right side is v + 1 v v + \dfrac{1}{v} v + v 1 with v = y x v = \dfrac{y}{x} v = x y . The equation is homogeneous. Substitute. v + x d v d x = v + 1 v v + x\dfrac{dv}{dx} = v + \dfrac{1}{v} v + x d x d v = v + v 1 , so v d v = d x x v\,dv = \dfrac{dx}{x} v d v = x d x . Integrate. v 2 2 = ln x + c \dfrac{v^2}{2} = \ln x + c 2 v 2 = ln x + c . Put v = y x v = \dfrac{y}{x} v = x y : y 2 = 2 x 2 ( ln x + C ) y^2 = 2x^2(\ln x + C) y 2 = 2 x 2 ( ln x + C ) . Practice with new numbers
A program to try The program checks that y = 6 − 2 x y = 6 - \dfrac{2}{x} y = 6 − x 2 solves x d y d x + y = 6 x\dfrac{dy}{dx} + y = 6 x d x d y + y = 6 at four points.
Run it. Does every line print 6 6 6 ?
1. Change 2 / x to 5 / x. Does the equation still hold? Why?
Mistakes to avoid Dividing by g ( y ) g(y) g ( y ) and forgetting its zeros. Constant solutions can be lost. Forgetting d y d x = v + x d v d x \dfrac{dy}{dx} = v + x\dfrac{dv}{dx} d x d y = v + x d x d v . Treating v v v as a constant drops a term. Using the factor before the equation is in standard form. Divide by the coefficient of d y d x \dfrac{dy}{dx} d x d y first. Forgetting to divide C C C by the integrating factor. Check yourself Solve d y d x = 3 x 2 y 2 \dfrac{dy}{dx} = 3x^2y^2 d x d y = 3 x 2 y 2 . Stuck? Show a hint Show the answerIs d y d x = x + 3 y 2 x − y \dfrac{dy}{dx} = \dfrac{x + 3y}{2x - y} d x d y = 2 x − y x + 3 y homogeneous? Stuck? Show a hint Show the answerFind the integrating factor of d y d x + 2 y = e 3 x \dfrac{dy}{dx} + 2y = e^{3x} d x d y + 2 y = e 3 x . Stuck? Show a hint Show the answerFind the constant solutions of d y d x = y ( 3 − y ) \dfrac{dy}{dx} = y(3 - y) d x d y = y ( 3 − y ) . Stuck? Show a hint Show the answerSolve d y d x + y = 4 \dfrac{dy}{dx} + y = 4 d x d y + y = 4 with y = 0 y = 0 y = 0 at x = 0 x = 0 x = 0 . Stuck? Show a hint Show the answerSources OpenStax, Calculus Volume 2 , Chapter 4, sections 4.3 and 4.5. NCERT, Mathematics Part II for Class XII, Chapter 9, the sections on methods of solving first-order, first-degree equations.