Quick Recap — Order, Degree & Basic Solutions

  • Order = order of the highest derivative present; degree = power of that highest derivative (only when the equation is polynomial in derivatives).
  • The general solution of an nnth-order DE contains nn arbitrary constants; a particular solution has none.
  • Simple integrations: dydx=f(x)⇒y=∫f(x) dx+C\tfrac{dy}{dx}=f(x)\Rightarrow y=\int f(x)\,dx+C.

Beyond-NCERT JEE Formulae

These four devices handle the JEE first-order ODEs that fall outside the NCERT toolkit (separable, homogeneous, and linear-with-IF\mathrm{IF}).

1. Bernoulli's Equation

dydx+P(x) y=Q(x) yn,n≠0,1.\dfrac{dy}{dx}+P(x)\,y=Q(x)\,y^{n},\qquad n\neq 0,1. Divide throughout by yny^{n} and substitute v=y1−nv=y^{1-n}, so that dvdx=(1−n) y−ndydx\dfrac{dv}{dx}=(1-n)\,y^{-n}\dfrac{dy}{dx}. The equation linearises to dvdx+(1−n) P(x) v=(1−n) Q(x),\dfrac{dv}{dx}+(1-n)\,P(x)\,v=(1-n)\,Q(x), now solved by the ordinary integrating factor IF=e∫(1−n)P dx\mathrm{IF}=e^{\int (1-n)P\,dx}. [JEE Tip] Spot Bernoulli the moment a bare power yny^{n} sits on the right; do not waste time attempting separation first.

2. Linear in xx (swap the roles of the variables)

An equation that is messy in yy is often linear when xx is treated as the dependent variable: dxdy+P(y) x=Q(y),IF=e∫P dy,\dfrac{dx}{dy}+P(y)\,x=Q(y),\qquad \mathrm{IF}=e^{\int P\,dy}, after which x⋅IF=∫Q⋅IF dy+Cx\cdot\mathrm{IF}=\displaystyle\int Q\cdot\mathrm{IF}\,dy+C. Use this whenever yy enters awkwardly (through tan⁡−1y\tan^{-1}y, eye^{y}, ln⁡y\ln y, …) while xx appears only to the first power.

3. Exact-Differential Recognitions (regrouping)

Memorise these total differentials and read them backwards: d(xy)=x dy+y dx,d ⁣(yx)=x dy−y dxx2,d ⁣(xy)=y dx−x dyy2,d(xy)=x\,dy+y\,dx,\qquad d\!\left(\dfrac{y}{x}\right)=\dfrac{x\,dy-y\,dx}{x^{2}},\qquad d\!\left(\dfrac{x}{y}\right)=\dfrac{y\,dx-x\,dy}{y^{2}}, d ⁣(x2+y2)=2 (x dx+y dy),d ⁣(tan⁡−1yx)=x dy−y dxx2+y2.d\!\left(x^{2}+y^{2}\right)=2\,(x\,dx+y\,dy),\qquad d\!\left(\tan^{-1}\dfrac{y}{x}\right)=\dfrac{x\,dy-y\,dx}{x^{2}+y^{2}}. [JEE Tip] When you spot the block x dy−y dxx\,dy-y\,dx or x dx+y dyx\,dx+y\,dy, divide by the matching factor (x2x^{2}, y2y^{2}, x2+y2x^{2}+y^{2}, or 2x2+y22\sqrt{x^{2}+y^{2}}) to fold the whole equation into a single total differential, then integrate on sight.

4. Substitution dydx=f(ax+by+c)\dfrac{dy}{dx}=f(ax+by+c)

Put t=ax+by+ct=ax+by+c; then dtdx=a+b dydx=a+b f(t)\dfrac{dt}{dx}=a+b\,\dfrac{dy}{dx}=a+b\,f(t), which is always variables-separable: dta+b f(t)=dx.\dfrac{dt}{a+b\,f(t)}=dx. Integrate and back-substitute t=ax+by+ct=ax+by+c at the end.

Solved Examples — Beyond-NCERT Formulae

Example 1 (Bernoulli). Solve dydx+yx=y2\dfrac{dy}{dx}+\dfrac{y}{x}=y^{2}.

Here n=2n=2. Dividing by y2y^{2} gives y−2dydx+1x y−1=1y^{-2}\dfrac{dy}{dx}+\dfrac{1}{x}\,y^{-1}=1. Put v=y−1v=y^{-1}, so that dvdx=−y−2dydx\dfrac{dv}{dx}=-y^{-2}\dfrac{dy}{dx}, and the equation becomes −dvdx+vx=1⟹dvdx−vx=−1.-\dfrac{dv}{dx}+\dfrac{v}{x}=1\quad\Longrightarrow\quad \dfrac{dv}{dx}-\dfrac{v}{x}=-1. With IF=e−∫dx/x=1x\mathrm{IF}=e^{-\int dx/x}=\dfrac{1}{x}, this is ddx ⁣(vx)=−1x\dfrac{d}{dx}\!\left(\dfrac{v}{x}\right)=-\dfrac{1}{x}, so vx=−ln⁡x+C\dfrac{v}{x}=-\ln x+C. Hence v=x (C−ln⁡x)v=x\,(C-\ln x), and since v=1yv=\dfrac{1}{y}, 1y=x (C−ln⁡x).\dfrac{1}{y}=x\,(C-\ln x).

Example 2 (Bernoulli). Solve xdydx+y=y2ln⁡xx\dfrac{dy}{dx}+y=y^{2}\ln x.

Divide by xx to reach standard form dydx+yx=ln⁡xx y2\dfrac{dy}{dx}+\dfrac{y}{x}=\dfrac{\ln x}{x}\,y^{2} (n=2n=2). Dividing by y2y^{2} and putting v=y−1v=y^{-1} (so dvdx=−y−2dydx\dfrac{dv}{dx}=-y^{-2}\dfrac{dy}{dx}), dvdx−vx=−ln⁡xx.\dfrac{dv}{dx}-\dfrac{v}{x}=-\dfrac{\ln x}{x}. Here IF=1x\mathrm{IF}=\dfrac{1}{x}, so ddx ⁣(vx)=−ln⁡xx2\dfrac{d}{dx}\!\left(\dfrac{v}{x}\right)=-\dfrac{\ln x}{x^{2}}. Using ∫ln⁡xx2 dx=−ln⁡xx−1x\displaystyle\int\dfrac{\ln x}{x^{2}}\,dx=-\dfrac{\ln x}{x}-\dfrac{1}{x}, we get vx=ln⁡xx+1x+C\dfrac{v}{x}=\dfrac{\ln x}{x}+\dfrac{1}{x}+C, i.e. v=1+ln⁡x+Cxv=1+\ln x+Cx. Therefore 1y=1+ln⁡x+Cx.\dfrac{1}{y}=1+\ln x+Cx.

Example 3 (Linear in xx). Solve (1+y2) dx=(tan⁡−1y−x) dy(1+y^{2})\,dx=(\tan^{-1}y-x)\,dy.

The presence of tan⁡−1y\tan^{-1}y blocks a linear-in-yy reading, so divide by (1+y2) dy(1+y^{2})\,dy and collect xx: dxdy+x1+y2=tan⁡−1y1+y2.\dfrac{dx}{dy}+\dfrac{x}{1+y^{2}}=\dfrac{\tan^{-1}y}{1+y^{2}}. Here P(y)=11+y2P(y)=\dfrac{1}{1+y^{2}}, so IF=e∫dy/(1+y2)=etan⁡−1y\mathrm{IF}=e^{\int dy/(1+y^{2})}=e^{\tan^{-1}y}. Putting s=tan⁡−1ys=\tan^{-1}y, the right side integrates by parts as ∫s es ds=(s−1)es\displaystyle\int s\,e^{s}\,ds=(s-1)e^{s}, giving x etan⁡−1y=(tan⁡−1y−1) etan⁡−1y+Cx\,e^{\tan^{-1}y}=(\tan^{-1}y-1)\,e^{\tan^{-1}y}+C. Thus x=tan⁡−1y−1+C e−tan⁡−1y.x=\tan^{-1}y-1+C\,e^{-\tan^{-1}y}.

Example 4 (Linear in xx). Solve (2x−10y3)dydx+y=0(2x-10y^{3})\dfrac{dy}{dx}+y=0, with y>0y>0.

This is quadratic-looking in yy but linear in xx. Invert the derivative: dxdy=2x−10y3−y=−2xy+10y2⟹dxdy+2y x=10y2.\dfrac{dx}{dy}=\dfrac{2x-10y^{3}}{-y}=-\dfrac{2x}{y}+10y^{2}\quad\Longrightarrow\quad \dfrac{dx}{dy}+\dfrac{2}{y}\,x=10y^{2}. Then IF=e∫(2/y) dy=y2\mathrm{IF}=e^{\int (2/y)\,dy}=y^{2}, so ddy ⁣(x y2)=10y4\dfrac{d}{dy}\!\left(x\,y^{2}\right)=10y^{4}, giving x y2=2y5+Cx\,y^{2}=2y^{5}+C. Hence x=2y3+Cy2.x=2y^{3}+\dfrac{C}{y^{2}}.

Example 5 (Regrouping). Solve x dy−y dx=(x2+y2) dxx\,dy-y\,dx=(x^{2}+y^{2})\,dx.

Divide by x2+y2x^{2}+y^{2} and read the left side as a total differential using d ⁣(tan⁡−1yx)=x dy−y dxx2+y2d\!\left(\tan^{-1}\dfrac{y}{x}\right)=\dfrac{x\,dy-y\,dx}{x^{2}+y^{2}}: x dy−y dxx2+y2=dx⟹d ⁣(tan⁡−1yx)=dx.\dfrac{x\,dy-y\,dx}{x^{2}+y^{2}}=dx\quad\Longrightarrow\quad d\!\left(\tan^{-1}\dfrac{y}{x}\right)=dx. Integrating gives tan⁡−1yx=x+C\tan^{-1}\dfrac{y}{x}=x+C, that is y=xtan⁡(x+C).y=x\tan(x+C).

Example 6 (Regrouping). Solve x dy+y dx=xy dxx\,dy+y\,dx=xy\,dx.

The left side is exactly d(xy)d(xy). Put u=xyu=xy; the equation becomes du=u dxdu=u\,dx, so duu=dx\dfrac{du}{u}=dx and ln⁡∣u∣=x+C1\ln|u|=x+C_{1}. Exponentiating, u=A exu=A\,e^{x}, i.e. xy=A ex.xy=A\,e^{x}.

Example 7 (Substitution t=x+yt=x+y). Solve dydx=(x+y)2\dfrac{dy}{dx}=(x+y)^{2}.

Put t=x+yt=x+y, so dtdx=1+dydx=1+t2\dfrac{dt}{dx}=1+\dfrac{dy}{dx}=1+t^{2}. This separates as dt1+t2=dx\dfrac{dt}{1+t^{2}}=dx, giving tan⁡−1t=x+C\tan^{-1}t=x+C. Back-substituting t=x+yt=x+y, x+y=tan⁡(x+C)⟹y=tan⁡(x+C)−x.x+y=\tan(x+C)\quad\Longrightarrow\quad y=\tan(x+C)-x. (For instance y(0)=0y(0)=0 forces C=0C=0, so y=tan⁡x−xy=\tan x-x.)

Example 8 (Substitution t=x+yt=x+y). Solve dydx=cos⁡(x+y)\dfrac{dy}{dx}=\cos(x+y).

Put t=x+yt=x+y, so dtdx=1+cos⁡t\dfrac{dt}{dx}=1+\cos t. Using 1+cos⁡t=2cos⁡2t21+\cos t=2\cos^{2}\dfrac{t}{2}, dt2cos⁡2(t/2)=dx⟹12∫sec⁡2t2 dt=∫dx⟹tan⁡t2=x+C.\dfrac{dt}{2\cos^{2}(t/2)}=dx\quad\Longrightarrow\quad \tfrac{1}{2}\int \sec^{2}\dfrac{t}{2}\,dt=\int dx\quad\Longrightarrow\quad \tan\dfrac{t}{2}=x+C. Therefore \tan!\left(\dfrac{x+y}{2}\right)=x+C.