HOME/NOTES/CONCEPT

Differential Equations for JEE: All Nine Methods, Worked Examples

Ritesh Raj · 26 Aug 2026
Aa
29 min read28 sectionsConcept

Differential equations is the chapter where marks come from recognition, not from technique. Every equation JEE sets is solved by one of nine standard moves, and all nine are short. What is actually being tested is whether you can look at an equation and name the move inside ten seconds.

So this note is a catalogue. Each type gets the shape that triggers it, the substitution or factor it wants, and a recent JEE question worked in full.

What a differential equation is

An equation relating an unknown function to one or more of its derivatives is a differential equation. If the unknown depends on a single independent variable the equation is ordinary; if partial derivatives appear it is partial. Only ordinary equations are in the JEE syllabus.

So 2xy3y=52x\,y' - 3y = 5 and 4y+(y)3=04y'' + (y')^3 = 0 are differential equations, while x2+2x+y2=0x^2 + 2x + y^2 = 0 is not: no derivative appears in it.

A differential equation almost never has one solution. Solving

dydx=2x\frac{dy}{dx} = 2x

gives y=x2+Cy = x^2 + C, one curve for every value of CC, and each of them has the prescribed slope at every point. One extra condition, a point the curve must pass through, picks out one member.

A one-parameter family of solution curves, with the member through (0,2) picked out

Order and degree

#OrderDegree
1Definitionthe order of the highest derivative presentthe power to which that highest derivative is raised
2When you may read itimmediatelyonly after the equation is free of radicals and fractional powers in the derivatives
3Can it fail to existnoyes, if no polynomial form in the derivatives exists
4Effect of lower derivativesnonenone, degree looks only at the highest derivative
5What it tells youhow many independent arbitrary constants the general solution carriesnothing about the solution, only about the form

Worked example

Find the order and degree of

d2ydx23=dydx+54\sqrt[3]{\frac{d^2y}{dx^2}} = \sqrt[4]{\frac{dy}{dx} + 5}
SHOW SOLUTION

Step 1. The highest derivative present is d2ydx2\dfrac{d^2y}{dx^2}, so the order is 22.

Step 2. The degree cannot be read yet, because both sides carry fractional powers. Raise both sides to the twelfth power, the LCM of 33 and 44:

(d2ydx2)4=(dydx+5)3\left(\frac{d^2y}{dx^2}\right)^{4} = \left(\frac{dy}{dx} + 5\right)^{3}

Step 3. Now the equation is a polynomial in the derivatives, and d2ydx2\dfrac{d^2y}{dx^2} appears to the power 44.

Answer: order 22, degree 44.

Clear the radicals first, and only then read the degree

Degree is a statement about a polynomial in the derivatives. Reading it off before rationalising is the single most common error in this section, and examiners set the trap deliberately. If a derivative sits inside sin\sin, log\log or an exponent, no amount of algebra will produce a polynomial form and the degree is simply undefined.

Forming the equation: eliminating the constants

The reverse problem. You are given a family of curves and asked for the differential equation it satisfies.

Working rule. For a family containing nn independent arbitrary constants:

  1. Count the constants; call the number nn.
  2. Differentiate the relation nn times with respect to xx.
  3. Eliminate the nn constants using the n+1n+1 equations now available.

The result has order exactly nn.

Why exactly nn. Each differentiation produces one new equation, so after nn of them you hold n+1n+1 equations in nn unknown constants. Eliminating nn unknowns from n+1n+1 equations leaves one relation, and the highest derivative it can contain is the nnth. It cannot contain fewer, because nn equations are genuinely needed to remove nn independent constants.

Worked example

Find the differential equation of the family y=C1eC2xy = C_1 e^{C_2 x}, where C1C_1 and C2C_2 are arbitrary.

SHOW SOLUTION

Step 1. Two constants, so expect order 22.

Step 2. Take logarithms first, which is what removes the product rule:

logey=logeC1+C2x\log_e y = \log_e C_1 + C_2 x

Step 3. Differentiate:

yy=C2\frac{y'}{y} = C_2

so C1C_1 has already gone.

Step 4. Differentiate y=C2yy' = C_2 y again to get y=C2yy'' = C_2 y', and substitute C2=y/yC_2 = y'/y:

yy=(y)2y\,y'' = \left(y'\right)^{2}

Answer: yy=(y)2y\,y'' = (y')^2.

Take the logarithm when the constant sits in an exponent

Any time an arbitrary constant appears as an exponent, or as a multiplier of the whole expression, take logarithms before differentiating. It turns a product rule into a one-line division.

The count is often the whole answer

The number of independent arbitrary constants in a family equals the order of the differential equation that family satisfies. In a multiple-choice question that observation alone frequently settles it: the family Ax2+By2=1Ax^2 + By^2 = 1 has two constants, so its equation is second order, and only one option can be right.

Two families worth knowing, because they recur:

FamilyConstantsDifferential equation
y=mxy = mx, all lines through the origin11xy=yx\,y' = y
x2=4ayx^2 = 4ay, parabolas, vertex at origin, axis along OyOy11xy=2yx\,y' = 2y
x2+y2=2ayx^2 + y^2 = 2ay, circles touching OxOx at the origin11(x2y2)y=2xy(x^2 - y^2)\,y' = 2xy
y=acos3x+bsin3xy = a\cos 3x + b\sin 3x22y+9y=0y'' + 9y = 0
y=ex(Acosx+Bsinx)y = e^{x}(A\cos x + B\sin x)22y2y+2y=0y'' - 2y' + 2y = 0

Type 1 — Variable separable

The shape. Every xx can be pushed to one side and every yy to the other:

f(x)dx+g(y)dy=0f(x)\,dx + g(y)\,dy = 0

Then integrate each term on its own.

Why it works. Write the equation as g(y)y=f(x)g(y)\,y' = -f(x) and integrate both sides with respect to xx. On the left, the substitution rule turns g(y)ydx\int g(y)\,y'\,dx into g(y)dy\int g(y)\,dy, because yy is a function of xx. Moving everything to one side introduces the single constant CC.

The slope field of dy/dx = −x/y, with three circular solution curves
Separate, do not cancel

The equation

dydx=xy+xy\frac{dy}{dx} = \frac{xy + x}{y}

separates as ydyy+1=xdx\dfrac{y\,dy}{y+1} = x\,dx only after factoring x(y+1)x(y+1) out of the numerator. Look for a common factor before deciding an equation is not separable. Most of the ones that look mixed are separable after one factorisation.

Worked example 1 · JEE Main 2026, 2 April Shift 1

The curve y=f(x)y = f(x) passes through (1,e)(1,e) and satisfies dy=y(2+logex)dxdy = y\,(2 + \log_e x)\,dx for x>0x > 0. Find f(e)f(e).

SHOW SOLUTION

Step 1. The yy stands alone against a function of xx, so divide by yy and separate:

dyy=(2+logex)dx\frac{dy}{y} = \left(2 + \log_e x\right) dx

Step 2. On the right, logexdx=xlogexx\displaystyle\int \log_e x\,dx = x\log_e x - x by parts, so

logey=2x+xlogexx+C=x+xlogex+C\log_e y = 2x + x\log_e x - x + C = x + x\log_e x + C

Step 3. At (1,e)(1,e): logee=1\log_e e = 1 and loge1=0\log_e 1 = 0, so 1=1+0+C1 = 1 + 0 + C and C=0C = 0.

Step 4. Hence logey=x+xlogex\log_e y = x + x\log_e x, and at x=ex = e,

f(e)=ee+e=e2ef(e) = e^{\,e + e} = e^{2e}

Answer: e2ee^{2e}.

Worked example 2 · JEE Main 2026, 4 April Shift 1

Let y=y(x)y = y(x) solve dydx=(1+x+x2)(1y+y2)\dfrac{dy}{dx} = (1 + x + x^2)(1 - y + y^2) with y(0)=12y(0) = \dfrac12. Find 2y(1)12y(1) - 1.

SHOW SOLUTION

Step 1. The right side is already a product of a function of xx and a function of yy, so separate directly:

dy1y+y2=(x2+x+1)dx\frac{dy}{1 - y + y^2} = \left(x^2 + x + 1\right) dx

Step 2. Complete the square in the denominator:

y2y+1=(y12)2+34y^2 - y + 1 = \left(y - \tfrac12\right)^{2} + \tfrac34

Step 3. With u=y12u = y - \tfrac12 and a=32a = \dfrac{\sqrt3}{2} the standard integral duu2+a2=1atan1ua\displaystyle\int \frac{du}{u^2 + a^2} = \frac1a \tan^{-1}\frac ua gives

23tan1 ⁣(2y13)=x33+x22+x+C\frac{2}{\sqrt3}\tan^{-1}\!\left(\frac{2y-1}{\sqrt3}\right) = \frac{x^3}{3} + \frac{x^2}{2} + x + C

Step 4. At x=0x = 0, y=12y = \tfrac12, so the left side is tan10=0\tan^{-1}0 = 0 and C=0C = 0.

Step 5. At x=1x = 1 the right side is 13+12+1=116\dfrac13 + \dfrac12 + 1 = \dfrac{11}{6}, so

tan1 ⁣(2y13)=32116=11312\tan^{-1}\!\left(\frac{2y-1}{\sqrt3}\right) = \frac{\sqrt3}{2}\cdot\frac{11}{6} = \frac{11\sqrt3}{12}

Step 6. Therefore

2y(1)1=3tan ⁣(11312)2y(1) - 1 = \sqrt3\,\tan\!\left(\frac{11\sqrt3}{12}\right)

Answer: 3tan(11312)\sqrt3\tan\left(\dfrac{11\sqrt3}{12}\right).

Recognise the logarithmic derivative

Both sides of a separated equation are very often of the form ff\dfrac{f'}{f}, and integrate to logef\log_e |f| on sight. In JEE Main 2026, 2 April Shift 1 the equation (1+sinx)y+(y+1)cosx=0(1 + \sin x)\,y' + (y+1)\cos x = 0 separates to dyy+1=cosxdx1+sinx\dfrac{dy}{y+1} = -\dfrac{\cos x\,dx}{1 + \sin x}, and both sides are logarithmic derivatives, so (y+1)(1+sinx)=C(y+1)(1 + \sin x) = C in one line.

Type 2 — Reducible to separable

The shape. The same linear combination of xx and yy appears throughout:

dydx=f(ax+by+c)\frac{dy}{dx} = f(ax + by + c)

The move. Put z=ax+by+cz = ax + by + c. Then dzdx=a+bdydx=a+bf(z)\dfrac{dz}{dx} = a + b\dfrac{dy}{dx} = a + b\,f(z), which separates:

dza+bf(z)=dx\frac{dz}{a + b\,f(z)} = dx

Every step is reversible as long as a+bf(z)0a + b\,f(z) \neq 0.

Worked example · JEE Main 2026, 22 January Shift 2

Let y=y(x)y = y(x) satisfy

16x9+x(4+9+x)cosydy=(1+2siny)dx16\sqrt{x}\,\sqrt{9 + \sqrt{x}}\left(4 + \sqrt{9 + \sqrt{x}}\right)\cos y\,dy = \left(1 + 2\sin y\right) dx

for x>0x > 0, with y(256)=π2y(256) = \dfrac{\pi}{2}. If y(49)=αy(49) = \alpha, find 2sinα2\sin\alpha.

SHOW SOLUTION

Step 1. Separate:

cosydy1+2siny=dx16x9+x(4+9+x)\frac{\cos y\,dy}{1 + 2\sin y} = \frac{dx}{16\sqrt{x}\,\sqrt{9+\sqrt{x}}\left(4 + \sqrt{9+\sqrt{x}}\right)}

Step 2. The left side integrates at once, since ddy(1+2siny)=2cosy\dfrac{d}{dy}\left(1 + 2\sin y\right) = 2\cos y:

cosydy1+2siny=12loge1+2siny\int \frac{\cos y\,dy}{1 + 2\sin y} = \frac12 \log_e\left|1 + 2\sin y\right|

Step 3. For the right side put t=4+9+xt = 4 + \sqrt{9 + \sqrt{x}}, the whole outer bracket. Then

dtdx=129+x12x=14x9+x\frac{dt}{dx} = \frac{1}{2\sqrt{9+\sqrt x}}\cdot\frac{1}{2\sqrt x} = \frac{1}{4\sqrt x\,\sqrt{9+\sqrt x}}

so dxx9+x=4dt\dfrac{dx}{\sqrt x\sqrt{9+\sqrt x}} = 4\,dt and the right side becomes 4dt16t=14loget\displaystyle\int\frac{4\,dt}{16\,t} = \frac14\log_e t.

Step 4. Therefore

12loge(1+2siny)=14loget+c\frac12 \log_e\left(1 + 2\sin y\right) = \frac14 \log_e t + c

Step 5. Apply y(256)=π2y(256) = \dfrac{\pi}{2}. Working outwards: 256=16\sqrt{256} = 16, then 9+16=5\sqrt{9+16} = 5, then t=9t = 9; and 1+2sinπ2=31 + 2\sin\dfrac{\pi}{2} = 3. So 12loge3=14loge9+c=12loge3+c\dfrac12\log_e 3 = \dfrac14\log_e 9 + c = \dfrac12\log_e 3 + c, giving c=0c = 0 and

1+2siny=t1 + 2\sin y = \sqrt{t}

Step 6. At x=49x = 49: 49=7\sqrt{49} = 7, then 9+7=4\sqrt{9+7} = 4, then t=8t = 8. Hence 1+2sinα=8=221 + 2\sin\alpha = \sqrt8 = 2\sqrt2.

Answer: 2sinα=2212\sin\alpha = 2\sqrt2 - 1.

Substitute the whole bracket, not its pieces

Every layer of that expression was built so that the derivative of the outermost bracket reproduces the rest of the denominator. Faced with nested radicals, set tt equal to the largest complete block and differentiate once. If the block was the right one, the whole tail cancels in a single line, as it did in Step 3.

Two more of this type, worth recognising by sight:

EquationSubstitutionWhat it becomes
dydx=(x+y)2\dfrac{dy}{dx} = (x+y)^2z=x+yz = x + ydz1+z2=dx\dfrac{dz}{1 + z^2} = dx, so tan1(x+y)=x+C\tan^{-1}(x+y) = x + C
dydx=sin(x+y)\dfrac{dy}{dx} = \sin(x+y)z=x+yz = x + ydz1+sinz=dx\dfrac{dz}{1 + \sin z} = dx
(x+y)2dydx=a2(x+y)^2\dfrac{dy}{dx} = a^2z=x+yz = x + yz2dza2+z2=dx\dfrac{z^2\,dz}{a^2 + z^2} = dx

Type 3 — Exact differentials

The shape. A group of terms is already the differential of something. This is the fastest method in the chapter when it applies, and the slowest to find if you have not memorised the list.

The identities worth knowing by sight

The group you seeWhat it is
xdy+ydxx\,dy + y\,dxd(xy)d(xy)
xdyydxx2\dfrac{x\,dy - y\,dx}{x^{2}}d ⁣(yx)d\!\left(\dfrac yx\right)
ydxxdyy2\dfrac{y\,dx - x\,dy}{y^{2}}d ⁣(xy)d\!\left(\dfrac xy\right)
xdyydxxy\dfrac{x\,dy - y\,dx}{xy}d ⁣(logeyx)d\!\left(\log_e \dfrac yx\right)
xdyydxx2+y2\dfrac{x\,dy - y\,dx}{x^{2}+y^{2}}d ⁣(tan1yx)d\!\left(\tan^{-1}\dfrac yx\right)
xdx+ydyx\,dx + y\,dy12d ⁣(x2+y2)\tfrac12\,d\!\left(x^{2}+y^{2}\right)
xdy+ydxx2y2\dfrac{x\,dy + y\,dx}{x^{2}y^{2}}d ⁣(1xy)d\!\left(\dfrac{-1}{xy}\right)
The signal to look for

The combination xdyydxx\,dy - y\,dx almost always means divide by x2x^2, by y2y^2, by xyxy or by x2+y2x^2 + y^2, producing yx\dfrac yx, xy\dfrac xy, logeyx\log_e\dfrac yx or tan1yx\tan^{-1}\dfrac yx. The combination xdy+ydxx\,dy + y\,dx means d(xy)d(xy). Choosing the divisor is the whole skill, and the remaining terms tell you which: pick the one that leaves everything else expressible in the same new variable.

Worked example 1 · JEE Main 2026, 22 January Shift 1

Let the solution curve of xdyydx=x2+y2dxx\,dy - y\,dx = \sqrt{x^2+y^2}\,dx for x>0x > 0 with y(1)=0y(1) = 0 be y=y(x)y = y(x). Find y(3)y(3).

SHOW SOLUTION

Step 1. Divide by x2x^2 so the left side becomes an exact differential. Using x2+y2=x1+(y/x)2\sqrt{x^2+y^2} = x\sqrt{1 + (y/x)^2} for x>0x > 0,

d ⁣(yx)=1+(yx)2  dxxd\!\left(\frac yx\right) = \sqrt{1 + \left(\frac yx\right)^{2}}\;\frac{dx}{x}

Step 2. With v=yxv = \dfrac yx this is dv1+v2=dxx\dfrac{dv}{\sqrt{1+v^2}} = \dfrac{dx}{x}, now separable.

Step 3. Integrate:

loge ⁣(v+1+v2)=logex+c\log_e\!\left(v + \sqrt{1+v^2}\right) = \log_e x + c

so v+1+v2=Kxv + \sqrt{1+v^2} = Kx.

Step 4. At x=1x = 1, y=0y = 0 gives v=0v = 0, so 0+1=K0 + 1 = K and v+1+v2=xv + \sqrt{1+v^2} = x.

Step 5. Rationalise: 1+v2=xv\sqrt{1+v^2} = x - v, and squaring gives 1=x22xv1 = x^2 - 2xv, so v=x212xv = \dfrac{x^2-1}{2x} and

y=vx=x212y = vx = \frac{x^2 - 1}{2}

Step 6. Hence y(3)=912=4y(3) = \dfrac{9-1}{2} = 4.

Answer: 44.

Two routes, one answer

That equation is also homogeneous, and substituting y=vxy = vx from the start works just as well. When both routes are open the exact-differential route is usually two lines shorter, because it produces vv directly instead of after a cancellation. Look for the exact route before starting a long substitution.

Worked example 2 · JEE Main 2023, 11 April Shift I

Let y=y(x)y = y(x) satisfy (1x2y2)dx=ydx+xdy\left(1 - x^2y^2\right)dx = y\,dx + x\,dy. The line x=1x = 1 meets the curve at y=2y = 2 and the line x=2x = 2 meets it at y=αy = \alpha. Find α\alpha.

SHOW SOLUTION

Step 1. The right side is exactly d(xy)d(xy), so with u=xyu = xy the equation is (1u2)dx=du\left(1 - u^2\right)dx = du.

Step 2. Separate and integrate:

12loge1+u1u=x+c\frac12 \log_e\left|\frac{1+u}{1-u}\right| = x + c

Step 3. At x=1x = 1, y=2y = 2, so u=2u = 2 and 12loge3=1+c\dfrac12\log_e 3 = 1 + c, giving c=12loge31c = \dfrac12\log_e 3 - 1.

Step 4. At x=2x = 2 write u=2αu = 2\alpha. Then

12loge1+2α12α=1+12loge3\frac12 \log_e\left|\frac{1+2\alpha}{1-2\alpha}\right| = 1 + \frac12\log_e 3

Step 5. So the modulus equals 3e23e^{2}, and since u>1u > 1 the quantity inside is negative:

1+2α12α=3e2\frac{1+2\alpha}{1-2\alpha} = -3e^{2}

Step 6. Solving, α(26e2)=(3e2+1)\alpha\left(2 - 6e^2\right) = -\left(3e^2 + 1\right), so

α=1+3e22(3e21)\alpha = \frac{1 + 3e^{2}}{2\left(3e^{2} - 1\right)}

Answer: 1+3e22(3e21)\dfrac{1+3e^2}{2(3e^2-1)}.

Type 4 — Homogeneous

The shape. The whole right side can be written in terms of yx\dfrac yx alone:

dydx=F ⁣(yx)\frac{dy}{dx} = F\!\left(\frac yx\right)

Equivalently, the equation is a ratio of two expressions homogeneous of the same degree.

The move. Put y=vxy = vx, so dydx=v+xdvdx\dfrac{dy}{dx} = v + x\dfrac{dv}{dx}, and the equation becomes

dvF(v)v=dxx\frac{dv}{F(v) - v} = \frac{dx}{x}

which is separable.

Along each ray through the origin the prescribed slope is the same
What homogeneous means geometrically

Degree zero says f(λx,λy)=f(x,y)f(\lambda x, \lambda y) = f(x,y): the slope prescribed by the equation depends only on the direction of the point from the origin, not on its distance. So the direction field is constant along every ray through the origin, and stretching a solution curve away from the origin produces another solution. That is exactly why v=yxv = \dfrac yx, which labels the rays, is the right new variable.

Which way round to substitute

Use y=vxy = vx when the equation is naturally a function of yx\dfrac yx, and x=vyx = vy when it is naturally a function of xy\dfrac xy. The test is which makes the algebra shorter: if yy appears only inside yx\dfrac yx, use y=vxy = vx; if the equation is handed to you as dxdy=\dfrac{dx}{dy} = \dots, use x=vyx = vy.

Worked example · JEE Main 2026, 5 April Shift 1

Let y=y(x)y = y(x) solve

xsin ⁣(yx)dy=(ysin ⁣(yx)x)dxx\sin\!\left(\frac yx\right)dy = \left(y\sin\!\left(\frac yx\right) - x\right)dx

with y(1)=π2y(1) = \dfrac{\pi}{2}, and let α=cos ⁣(y(e12)e12)\alpha = \cos\!\left(\dfrac{y(e^{12})}{e^{12}}\right). Find α\alpha.

SHOW SOLUTION

Step 1. Every occurrence of yy sits inside yx\dfrac yx or is multiplied by it, so put y=vxy = vx and dy=vdx+xdvdy = v\,dx + x\,dv.

Step 2. Substituting,

xsinv(vdx+xdv)=(vxsinvx)dxx\sin v\left(v\,dx + x\,dv\right) = \left(vx\sin v - x\right) dx

Step 3. The term vxsinvdxvx\sin v\,dx appears on both sides and cancels, leaving x2sinvdv=xdxx^2\sin v\,dv = -x\,dx.

Step 4. Separate: sinvdv=dxx\sin v\,dv = -\dfrac{dx}{x}, so cosv=logex+c-\cos v = -\log_e x + c, that is

cos ⁣(yx)=logexc\cos\!\left(\frac yx\right) = \log_e x - c

Step 5. At x=1x = 1, v=π2v = \dfrac{\pi}{2}: cosπ2=0=0c\cos\dfrac{\pi}{2} = 0 = 0 - c, so c=0c = 0 and cos(yx)=logex\cos\left(\dfrac yx\right) = \log_e x.

Step 6. Putting x=e12x = e^{12} gives α=logee12=12\alpha = \log_e e^{12} = 12.

Answer: α=12\alpha = 12.

A relation can outrun its own domain

The relation cos(y/x)=logex\cos(y/x) = \log_e x has real solutions only while logex1\left|\log_e x\right| \le 1, that is for x[e1,e]x \in \left[e^{-1}, e\right]. At x=e12x = e^{12} there is no real yy, so α=12\alpha = 12 is what the relation formally gives, not a value the solution curve actually attains. Examiners do sometimes push a solution past its interval of existence. Carry the algebra through, and note the restriction if a question asks for the domain.

Two standard homogeneous results worth carrying:

EquationAnswer
xy=y(logeylogex+1)x\,y' = y\left(\log_e y - \log_e x + 1\right)loge(yx)=Cx\log_e\left(\dfrac yx\right) = Cx
slope =yx+secyx= \dfrac yx + \sec\dfrac yx through (1,π6)\left(1,\tfrac{\pi}{6}\right)sin(yx)=logex+12\sin\left(\dfrac yx\right) = \log_e x + \dfrac12
dydx=yx+tanyx\dfrac{dy}{dx} = \dfrac yx + \tan\dfrac yxsin(yx)=Cx\sin\left(\dfrac yx\right) = Cx

Type 5 — Reducible to homogeneous

The shape. A ratio of two linear expressions, each carrying a constant term:

dydx=ax+by+cdx+ey+f\frac{dy}{dx} = \frac{ax + by + c}{dx + ey + f}

The constants cc and ff are what stop it being homogeneous, so remove them by moving the origin to the point where the two lines meet.

The move, when aebdae \neq bd. Put x=X+hx = X + h and y=Y+ky = Y + k, choosing hh and kk so that

ah+bk+c=0anddh+ek+f=0ah + bk + c = 0 \qquad\text{and}\qquad dh + ek + f = 0

Because the shift is by constants, dYdX=dydx\dfrac{dY}{dX} = \dfrac{dy}{dx}, and the equation becomes dYdX=aX+bYdX+eY\dfrac{dY}{dX} = \dfrac{aX + bY}{dX + eY}, homogeneous. The two linear conditions have a unique solution exactly when aebd0ae - bd \neq 0.

When ae = bd, shift nothing and substitute instead

If the two linear forms are proportional the lines are parallel and never meet, so there is no point to shift to. Then ax+byax + by appears in both, and the substitution z=ax+byz = ax + by reduces the equation to separable form instead. Trying to solve for hh and kk in that case gives an inconsistent pair and wastes two minutes.

Worked example · JEE Main 2024, 27 January Shift I

The solution of (2x+3y2)dx+(4x+6y7)dy=0(2x + 3y - 2)\,dx + (4x + 6y - 7)\,dy = 0 with y(0)=3y(0) = 3 is

αx+βy+3loge2x+3yγ=6\alpha x + \beta y + 3\log_e\left|2x + 3y - \gamma\right| = 6

Find α+2β+3γ\alpha + 2\beta + 3\gamma.

SHOW SOLUTION

Step 1. Here 4x+6y=2(2x+3y)4x + 6y = 2(2x+3y), so the coefficients are proportional and the shift method does not apply. Put z=2x+3yz = 2x + 3y instead.

Step 2. Then dzdx=2+3dydx\dfrac{dz}{dx} = 2 + 3\dfrac{dy}{dx}, and the equation gives dydx=z22z7\dfrac{dy}{dx} = -\dfrac{z-2}{2z-7}, so

dzdx=2(2z7)3(z2)2z7=z82z7\frac{dz}{dx} = \frac{2(2z-7) - 3(z-2)}{2z-7} = \frac{z-8}{2z-7}

Step 3. Separate and divide out, using 2z7z8=2+9z8\dfrac{2z-7}{z-8} = 2 + \dfrac{9}{z-8}:

(2+9z8)dz=dx\left(2 + \frac{9}{z-8}\right) dz = dx

Step 4. Integrate:

2z+9logez8=x+c2z + 9\log_e\left|z - 8\right| = x + c

Step 5. Restore z=2x+3yz = 2x + 3y and collect:

3x+6y+9loge2x+3y8=c3x + 6y + 9\log_e\left|2x + 3y - 8\right| = c

Step 6. At x=0x = 0, y=3y = 3: z8=1z - 8 = 1, so the logarithm vanishes and c=18c = 18. Dividing throughout by 33,

x+2y+3loge2x+3y8=6x + 2y + 3\log_e\left|2x + 3y - 8\right| = 6

Step 7. Comparing, α=1\alpha = 1, β=2\beta = 2, γ=8\gamma = 8, so α+2β+3γ=1+4+24=29\alpha + 2\beta + 3\gamma = 1 + 4 + 24 = 29.

Answer: 2929.

The decision in one line:

TestMethod
aebdae \neq bd, the lines meetshift the origin to the intersection, then Y=vXY = vX
ae=bdae = bd, the lines are parallelput z=ax+byz = ax + by; the equation separates

Type 6 — Linear

More JEE questions come from this one type than from any other in the chapter. The method never changes; the only work is putting the equation into the standard shape so that PP and QQ can be read off.

The shape.

dydx+P(x)y=Q(x)\frac{dy}{dx} + P(x)\,y = Q(x)

The move. Multiply by the integrating factor

I.F.=ePdx\text{I.F.} = e^{\int P\,dx}

which makes the left side an exact derivative, and then

yI.F.=QI.F.  dx+Cy \cdot \text{I.F.} = \int Q \cdot \text{I.F.}\;dx + C

Why it works. Write μ=ePdx\mu = e^{\int P\,dx}, so μ=Pμ\mu' = P\mu. Then ddx(μy)=μy+μy=μ(y+Py)=μQ\dfrac{d}{dx}(\mu y) = \mu y' + \mu' y = \mu\left(y' + Py\right) = \mu Q, and one integration finishes it. Any antiderivative of PP will do: replacing Pdx\int P\,dx by Pdx+k\int P\,dx + k multiplies μ\mu by the constant eke^{k}, which cancels from both sides.

Solution curves of a linear equation never cross; the initial condition picks one
Standard form first, every time

The coefficient of dydx\dfrac{dy}{dx} must be 11 before you read off PP. An equation given as x2y+3xy=sinxx^2y' + 3xy = \sin x has P=3xP = \dfrac3x, not 3x3x, and its integrating factor is x3x^3, not e3x2/2e^{3x^2/2}. Divide first. Misreading PP is the largest single source of lost marks here.

Integrating factors you should never have to compute

PPI.F.
nx\dfrac nxxnx^{n}
tanx\tan xsecx\sec x
tanx-\tan xcosx\cos x
cotx\cot xsinx\sin x
11+x2\dfrac{1}{1+x^{2}}etan1xe^{\tan^{-1}x}
1xlogex\dfrac{1}{x\log_e x}logex\log_e x
2x1+x2\dfrac{2x}{1+x^{2}}1+x21 + x^{2}

Worked example 1 · JEE Main 2026, 23 January Shift 1

Let y=y(x)y = y(x) solve x4dy+(4x3y+2sinx)dx=0x^4\,dy + \left(4x^3y + 2\sin x\right)dx = 0 for x>0x > 0, with y ⁣(π2)=0y\!\left(\dfrac{\pi}{2}\right) = 0. Find π4y ⁣(π3)\pi^4 y\!\left(\dfrac{\pi}{3}\right).

SHOW SOLUTION

Step 1. Group the two terms carrying yy:

x4dy+4x3ydx=2sinxdxx^4\,dy + 4x^3y\,dx = -2\sin x\,dx

Step 2. The left side is already exact, because d(x4y)=x4dy+4x3ydxd\left(x^4 y\right) = x^4\,dy + 4x^3y\,dx.

Step 3. Integrate: x4y=2cosx+cx^4 y = 2\cos x + c.

Step 4. At x=π2x = \dfrac{\pi}{2}, y=0y = 0, so c=0c = 0 and x4y=2cosxx^4y = 2\cos x.

Step 5. At x=π3x = \dfrac{\pi}{3}: (π3)4y=2cosπ3=1\left(\dfrac{\pi}{3}\right)^{4} y = 2\cos\dfrac{\pi}{3} = 1, and (π3)4=π481\left(\dfrac{\pi}{3}\right)^{4} = \dfrac{\pi^4}{81}.

Answer: π4y ⁣(π3)=81\pi^4 y\!\left(\dfrac{\pi}{3}\right) = 81.

That was the integrating factor, spotted early

In standard form the equation is y+4xy=2sinxx4y' + \dfrac4x y = -\dfrac{2\sin x}{x^4}, so P=4xP = \dfrac4x and I.F. =x4= x^4, exactly the factor already sitting in front of dydy. Whenever the coefficient of dydy is xnx^{n} and the coefficient of ydxy\,dx is nxn1nx^{n-1}, the equation has been pre-multiplied for you and you can integrate on sight.

Worked example 2 · JEE Main 2026, 21 January Shift 1

Let y=y(x)y = y(x) be the solution curve of (1+x2)dy+(ytan1x)dx=0\left(1+x^2\right)dy + \left(y - \tan^{-1}x\right)dx = 0 with y(0)=1y(0) = 1. Find y(1)y(1).

SHOW SOLUTION

Step 1. Divide by (1+x2)dx\left(1+x^2\right)dx:

dydx+11+x2y=tan1x1+x2\frac{dy}{dx} + \frac{1}{1+x^2}\,y = \frac{\tan^{-1}x}{1+x^2}

Step 2. Here P=11+x2P = \dfrac{1}{1+x^2}, so I.F. =etan1x= e^{\tan^{-1}x} and

ddx ⁣(yetan1x)=etan1xtan1x1+x2\frac{d}{dx}\!\left(y\,e^{\tan^{-1}x}\right) = e^{\tan^{-1}x}\cdot\frac{\tan^{-1}x}{1+x^2}

Step 3. Put t=tan1xt = \tan^{-1}x, so dt=dx1+x2dt = \dfrac{dx}{1+x^2} and the right side integrates by parts:

tetdt=et(t1)\int t\,e^{t}\,dt = e^{t}\left(t-1\right)

Step 4. Hence y=tan1x1+cetan1xy = \tan^{-1}x - 1 + c\,e^{-\tan^{-1}x}.

Step 5. At x=0x = 0: 1=01+c1 = 0 - 1 + c, so c=2c = 2.

Step 6. At x=1x = 1, with tan11=π4\tan^{-1}1 = \dfrac{\pi}{4},

y(1)=2eπ/4+π41y(1) = \frac{2}{e^{\pi/4}} + \frac{\pi}{4} - 1

Answer: 2eπ/4+π41\dfrac{2}{e^{\pi/4}} + \dfrac{\pi}{4} - 1.

Worked example 3 · JEE Main 2026, 6 April Shift 1

Let y=y(x)y = y(x) solve (x2xx21)dy+(y(xx21)x)dx=0\left(x^2 - x\sqrt{x^2-1}\right)dy + \left(y\left(x - \sqrt{x^2-1}\right) - x\right)dx = 0 for x1x \ge 1, with y(1)=1y(1) = 1. Find y ⁣(5)\left\lfloor y\!\left(\sqrt5\right)\right\rfloor.

SHOW SOLUTION

Step 1. Factor the coefficient of dydy as x(xx21)x\left(x - \sqrt{x^2-1}\right) and divide throughout:

dydx+yx=1xx21\frac{dy}{dx} + \frac yx = \frac{1}{x - \sqrt{x^2-1}}

Step 2. Rationalise. Multiplying above and below by x+x21x + \sqrt{x^2-1} leaves the denominator x2(x21)=1x^2 - (x^2-1) = 1, so

dydx+yx=x+x21\frac{dy}{dx} + \frac yx = x + \sqrt{x^2-1}

Step 3. I.F. =x= x, so ddx(xy)=x2+xx21\dfrac{d}{dx}(xy) = x^2 + x\sqrt{x^2-1}.

Step 4. Integrate, using u=x21u = x^2 - 1 in the second piece:

xy=x33+(x21)3/23+Cxy = \frac{x^{3}}{3} + \frac{\left(x^2-1\right)^{3/2}}{3} + C

Step 5. At x=1x = 1, y=1y = 1: 1=13+0+C1 = \dfrac13 + 0 + C, so C=23C = \dfrac23.

Step 6. At x=5x = \sqrt5: x3=55x^3 = 5\sqrt5 and (x21)3/2=8\left(x^2-1\right)^{3/2} = 8, so

y ⁣(5)=53+2533.16y\!\left(\sqrt5\right) = \frac{5}{3} + \frac{2\sqrt5}{3} \approx 3.16

Answer: y(5)=3\left\lfloor y(\sqrt5)\right\rfloor = 3.

Type 7 — Linear in xx instead of in yy

The shape. The equation is not linear in yy, but xx appears only to the first power once you treat xx as the unknown function of yy:

dxdy+P(y)x=Q(y)\frac{dx}{dy} + P(y)\,x = Q(y)

Everything from Type 6 then applies with the roles swapped, and I.F. =eP(y)dy= e^{\int P(y)\,dy}.

If y appears awkwardly, swap the roles

The test is quick: write the equation as dxdy+P(y)x=Q(y)\dfrac{dx}{dy} + P(y)x = Q(y) and see whether xx appears only to the first power. Terms like eye^{y}, logey\log_e y or tan1y\tan^{-1}y are then harmless, because they are just coefficients. Any equation handed to you as dxdy=\dfrac{dx}{dy} = \dots is telling you which variable it wants to be solved for.

Worked example · Spectrum Master Strokes

Solve (1+y2)+(xetan1y)dydx=0\left(1+y^2\right) + \left(x - e^{\tan^{-1}y}\right)\dfrac{dy}{dx} = 0.

SHOW SOLUTION

Step 1. The unknown xx appears to the first power while yy sits inside tan1y\tan^{-1}y and 1+y21+y^2, so treat xx as the function. Multiply by dxdy\dfrac{dx}{dy}:

(1+y2)dxdy+xetan1y=0\left(1+y^2\right)\frac{dx}{dy} + x - e^{\tan^{-1}y} = 0

Step 2. Divide by 1+y21 + y^2 to reach standard form in xx:

dxdy+x1+y2=etan1y1+y2\frac{dx}{dy} + \frac{x}{1+y^{2}} = \frac{e^{\tan^{-1}y}}{1+y^{2}}

Step 3. P(y)=11+y2P(y) = \dfrac{1}{1+y^2}, so I.F. =etan1y= e^{\tan^{-1}y} and

ddy ⁣(xetan1y)=e2tan1y1+y2\frac{d}{dy}\!\left(x\,e^{\tan^{-1}y}\right) = \frac{e^{2\tan^{-1}y}}{1+y^{2}}

Step 4. With t=tan1yt = \tan^{-1}y the right side is e2te^{2t}, whose integral is e2t2\dfrac{e^{2t}}{2}.

Answer: 2xetan1y=e2tan1y+C2x\,e^{\tan^{-1}y} = e^{2\tan^{-1}y} + C.

Three more that only work this way round:

EquationWhy xx is the unknownAnswer
dxdy=eyx\dfrac{dx}{dy} = e^{y} - x with y(0)=0y(0)=0xx is linear, eye^y is a coefficienty=loge(x+1+x2)y = \log_e\left(x + \sqrt{1+x^{2}}\right)
ydx(x+y2)dy=0y\,dx - \left(x + y^{2}\right)dy = 0y2y^2 is a coefficient, xx is linearx=y2+Cyx = y^{2} + Cy
dydx=1xcosy+sin2y\dfrac{dy}{dx} = \dfrac{1}{x\cos y + \sin 2y}xx appears once, multiplied by cosy\cos yx=2(1+siny)+Cesinyx = -2\left(1+\sin y\right) + Ce^{\sin y}

Type 8 — Bernoulli, and other reductions to linear

The shape.

dydx+P(x)y=Q(x)yn,n0,1\frac{dy}{dx} + P(x)\,y = Q(x)\,y^{n}, \qquad n \neq 0,\,1

The move. Divide by yny^{n} and put v=y1nv = y^{1-n}. Since v=(1n)ynyv' = (1-n)y^{-n}y', the equation becomes

dvdx+(1n)P(x)v=(1n)Q(x)\frac{dv}{dx} + (1-n)P(x)\,v = (1-n)Q(x)

which is linear in vv. The excluded cases need no work at all: n=0n = 0 is already linear, n=1n = 1 is separable.

Read n off the right side, then divide

Get every yy that is not to the first power onto the right, read the exponent nn, divide by yny^{n}, substitute. If the right side carries two different powers of yy the equation is not of Bernoulli type and something else is needed.

The wider family: anything whose derivative you can see

Bernoulli is one case of a general habit. Whenever the equation contains a block t(y)t(y) together with t(y)dydxt'(y)\dfrac{dy}{dx}, put tt equal to that block.

Block you seeSubstitutionWhy
ynyy^{-n}y'v=y1nv = y^{1-n}Bernoulli
cosyy\cos y \cdot y't=sinyt = \sin yddxsiny=cosyy\dfrac{d}{dx}\sin y = \cos y\,y'
sec2yy\sec^{2}y \cdot y't=tanyt = \tan yddxtany=sec2yy\dfrac{d}{dx}\tan y = \sec^{2}y\,y'
yy\dfrac{y'}{y}t=logeyt = \log_e ylogarithmic derivative
eyye^{y}y't=eyt = e^{y}direct

Worked example 1 · JEE Main 2026, 28 January Shift 1

Let y=y(x)y = y(x) solve xdydxsin2y=x3(2x3)cos2yx\dfrac{dy}{dx} - \sin 2y = x^3\left(2 - x^3\right)\cos^2 y for x0x \neq 0, with y(2)=0y(2) = 0. Find tan(y(1))\tan\left(y(1)\right).

SHOW SOLUTION

Step 1. Use sin2y=2sinycosy=2tanycos2y\sin 2y = 2\sin y\cos y = 2\tan y\cos^2 y so that every term carries cos2y\cos^2 y:

xdydx2tanycos2y=x3(2x3)cos2yx\frac{dy}{dx} - 2\tan y\cos^{2}y = x^{3}\left(2-x^{3}\right)\cos^{2}y

Step 2. Divide by xcos2yx\cos^2 y:

sec2ydydx2tanyx=x2(2x3)\sec^{2}y\,\frac{dy}{dx} - \frac{2\tan y}{x} = x^{2}\left(2 - x^{3}\right)

Step 3. The combination sec2yy\sec^2 y\,y' is the derivative of tany\tan y, so put t=tanyt = \tan y:

dtdx2xt=x2(2x3)\frac{dt}{dx} - \frac{2}{x}\,t = x^{2}\left(2-x^{3}\right)

now linear in tt.

Step 4. P=2xP = -\dfrac2x gives I.F. =1x2= \dfrac{1}{x^2}, so ddx ⁣(tx2)=2x3\dfrac{d}{dx}\!\left(\dfrac{t}{x^2}\right) = 2 - x^3.

Step 5. Integrate:

tany=2x3x64+Cx2\tan y = 2x^{3} - \frac{x^{6}}{4} + Cx^{2}

Step 6. At x=2x = 2, y=0y = 0 so tany=0\tan y = 0: 0=1616+4C0 = 16 - 16 + 4C, giving C=0C = 0.

Step 7. At x=1x = 1: tan(y(1))=214=74\tan\left(y(1)\right) = 2 - \dfrac14 = \dfrac74.

Answer: 74\dfrac74.

Worked example 2 · JEE Main 2026, 2 April Shift 2

Let x=x(y)x = x(y) solve 2y2dxdy2xy+x2=02y^2\dfrac{dx}{dy} - 2xy + x^2 = 0 for y>1y > 1, with x(e)=ex(e) = e. Find x ⁣(e2)x\!\left(e^2\right).

SHOW SOLUTION

Step 1. The unknown here is xx, and xx appears squared, so this is Bernoulli in xx. Divide by 2y22y^2:

dxdyxy=x22y2,n=2\frac{dx}{dy} - \frac xy = -\frac{x^{2}}{2y^{2}}, \qquad n = 2

Step 2. Divide by x2x^2 and put v=x1v = x^{-1}, so dvdy=x2dxdy\dfrac{dv}{dy} = -x^{-2}\dfrac{dx}{dy}:

dvdy+vy=12y2\frac{dv}{dy} + \frac vy = \frac{1}{2y^{2}}

Step 3. I.F. =y= y, so ddy(vy)=12y\dfrac{d}{dy}(vy) = \dfrac{1}{2y} and vy=12logey+cvy = \dfrac12\log_e y + c.

Step 4. Restore v=1xv = \dfrac1x: yx=12logey+c\dfrac yx = \dfrac12\log_e y + c.

Step 5. At y=ey = e, x=ex = e: 1=12+c1 = \dfrac12 + c, so c=12c = \dfrac12 and yx=logey+12\dfrac yx = \dfrac{\log_e y + 1}{2}.

Step 6. At y=e2y = e^2: e2x=32\dfrac{e^2}{x} = \dfrac32, so x=23e2x = \dfrac23 e^{2}.

Answer: 23e2\dfrac23 e^{2}.

The same equation, seen as an exact differential

Multiplying that last equation out and grouping gives 2y(ydxxdy)+x2dy=02y\left(y\,dx - x\,dy\right) + x^2\,dy = 0; dividing by x2yx^2 y turns it into 2d ⁣(yx)+dyy=0-2\,d\!\left(\dfrac yx\right) + \dfrac{dy}{y} = 0, and one integration finishes it. Two named methods, one equation, which is normal in this chapter and a good reason to look for the exact route before starting a long substitution.

Type 9 — Curves: tangents, normals and orthogonal trajectories

Every question here is a translation exercise. A sentence about a tangent, a normal, an intercept or an area becomes a differential equation, and from there the work is one of the eight methods above.

The dictionary

Let P(x,y)P(x,y) lie on y=f(x)y = f(x) and write yy' for the slope there. Use X,YX, Y for the running point on the tangent.

QuantityExpression
Tangent at PPYy=y(Xx)Y - y = y'\,(X - x)
Normal at PPYy=1y(Xx)Y - y = -\dfrac{1}{y'}(X - x)
xx-intercept of the tangentxyyx - \dfrac{y}{y'}
yy-intercept of the tangentyxyy - x\,y'
Length of the subtangentyy\left\lvert\dfrac{y}{y'}\right\rvert
Length of the subnormalyy\left\lvert y\,y'\right\rvert
Area swept from aa to xxaxf(t)dt\displaystyle\int_{a}^{x} f(t)\,dt
Tangent, normal, subtangent and subnormal at a point of a curve
Use X and Y for the running point

The commonest slip is writing the tangent as yy=y(xx)y - y = y'(x - x), which says nothing. Keep the point of contact as (x,y)(x,y) and the moving point as (X,Y)(X,Y). Then setting Y=0Y = 0 or X=0X = 0 produces the intercepts cleanly, and every intercept is a function of xx, yy and yy', which is exactly a differential equation waiting to be written down.

Worked example · a tangent condition

A curve y=f(x)y = f(x) passes through (1,1)(1,1), and at every point the yy-intercept of the tangent equals the cube of the abscissa of the point of contact. Find f(3)f(-3).

SHOW SOLUTION

Step 1. From the dictionary the yy-intercept is yxyy - xy', so the condition is yxy=x3y - xy' = x^{3}.

Step 2. Divide by x-x to reach standard linear form:

dydxyx=x2\frac{dy}{dx} - \frac yx = -x^{2}

Step 3. P=1xP = -\dfrac1x, so I.F. =1x= \dfrac1x and ddx ⁣(yx)=x\dfrac{d}{dx}\!\left(\dfrac yx\right) = -x.

Step 4. Integrate: yx=x22+C\dfrac yx = -\dfrac{x^{2}}{2} + C.

Step 5. At (1,1)(1,1): C=32C = \dfrac32, so y=3x2x32y = \dfrac{3x}{2} - \dfrac{x^{3}}{2}.

Step 6. Hence f(3)=92+272=9f(-3) = -\dfrac92 + \dfrac{27}{2} = 9.

Answer: 99.

Orthogonal trajectories

Given a family with one arbitrary constant:

  1. Form its differential equation, eliminating the constant, to get dydx=F(x,y)\dfrac{dy}{dx} = F(x,y).
  2. Replace dydx\dfrac{dy}{dx} by 1dy/dx-\dfrac{1}{\,dy/dx\,}, giving dydx=1F(x,y)\dfrac{dy}{dx} = -\dfrac{1}{F(x,y)}.
  3. Solve. Its solutions cut every member of the original family at right angles.

Why. At a point of intersection the two curves meet at right angles exactly when m1m2=1m_1m_2 = -1. Step 1 produces m1=F(x,y)m_1 = F(x,y) as a function of position alone, because the constant has been eliminated, so the slope of whichever member passes through (x,y)(x,y) is known from the point itself. Substituting m2m_2 for m1m_1 therefore describes exactly the curves perpendicular at every point they meet.

Parabolas y² = 4ax and their orthogonal family of ellipses 2x² + y² = C

Worked example · the classical pair

Find the orthogonal trajectories of the family of parabolas y2=4axy^2 = 4ax.

SHOW SOLUTION

Step 1. Differentiating, 2yy=4a2yy' = 4a, so 4a=2yy4a = 2yy'.

Step 2. Substitute back into y2=4axy^2 = 4ax: y2=2xyyy^2 = 2xyy', and cancelling one yy,

dydx=y2x\frac{dy}{dx} = \frac{y}{2x}

Step 3. Replace yy' by 1y-\dfrac{1}{y'}:

dydx=2xy\frac{dy}{dx} = -\frac{2x}{y}

Step 4. Separate: ydy=2xdxy\,dy = -2x\,dx, so y22=x2+c\dfrac{y^{2}}{2} = -x^{2} + c.

Answer: 2x2+y2=C2x^{2} + y^{2} = C, a family of ellipses centred at the origin with major axis along OyOy and a2:b2=1:2a^2 : b^2 = 1 : 2.

Eliminate the constant before you flip the slope

This is where marks are lost. If the constant is still present when you replace yy' by 1/y-1/y', the resulting equation describes a different curve for every value of the constant and is not a family of trajectories at all. Get the slope down to a function of xx and yy only, then flip.

Three standard orthogonal pairs:

FamilyOrthogonal family
x2+y2=a2x^{2} + y^{2} = a^{2}y=mxy = mx
xy=cxy = cx2y2=kx^{2} - y^{2} = k
y=ax2y = ax^{2}x2+2y2=Cx^{2} + 2y^{2} = C
an1y=xna^{\,n-1}y = x^{n}x2+ny2=Cx^{2} + n\,y^{2} = C

Growth, decay and modelling

These questions hand you the differential equation in words. Once written down it is always separable or linear, so the marks sit entirely in the translation and in the two conditions used to fix the constants.

The two standard laws

Exponential growth and decay. If a quantity changes at a rate proportional to its own size,

dNdt=kNN(t)=N0ekt\frac{dN}{dt} = kN \qquad\Longrightarrow\qquad N(t) = N_0 e^{kt}

with N0=N(0)N_0 = N(0). Growth means k>0k > 0, decay means k<0k < 0.

Newton's law of cooling. A body at temperature T(t)T(t) in surroundings held at TsT_s satisfies

dTdt=k(TTs)T(t)=Ts+(T0Ts)ekt\frac{dT}{dt} = -k\left(T - T_s\right) \qquad\Longrightarrow\qquad T(t) = T_s + \left(T_0 - T_s\right)e^{-kt}

The proof is one line: put u=TTsu = T - T_s, note TsT_s is constant so u=T=kuu' = T' = -ku, and apply the first law to uu.

Newton cooling: the excess over room temperature halves every fifteen minutes
Two readings fix everything, and you rarely need k itself

One reading gives N0N_0 or T0T_0; a second gives ekt1e^{k t_1}. Every later value is a power of that number, so keep ekt1e^{k t_1} as a block instead of solving for kk. If a quantity halves in 1515 minutes then e15k=12e^{-15k} = \dfrac12, and after 4545 minutes the factor is (12)3\left(\dfrac12\right)^{3}. Taking logarithms and back-substituting wastes time and invites arithmetic slips.

Worked example 1 · cooling

A thermometer reading 160160^\circF is placed in a room kept at 8080^\circF. After 1515 minutes it reads 120120^\circF. What does it read after 4545 minutes?

SHOW SOLUTION

Step 1. Here Ts=80T_s = 80 and T0=160T_0 = 160, so T80=80ektT - 80 = 80\,e^{-kt}.

Step 2. At t=15t = 15, T=120T = 120: 40=80e15k40 = 80e^{-15k}, so e15k=12e^{-15k} = \dfrac12.

Step 3. Do not solve for kk. Since 45=3×1545 = 3 \times 15,

e45k=(e15k)3=18e^{-45k} = \left(e^{-15k}\right)^{3} = \frac18

Step 4. Therefore T80=8018=10T - 80 = 80 \cdot \dfrac18 = 10.

Answer: 9090^\circF.

Worked example 2 · a bounded model

In a closed community of 10001000 people, the number P(t)P(t) who have heard a piece of news grows at a rate proportional to the product of those who know it and those who do not:

dPdt=kP(1000P)\frac{dP}{dt} = kP\left(1000 - P\right)

If P(0)=100P(0) = 100 and P(1)=200P(1) = 200, with tt in days, find P(2)P(2).

SHOW SOLUTION

Step 1. Separate and use partial fractions:

1P(1000P)=11000(1P+11000P)\frac{1}{P(1000-P)} = \frac{1}{1000}\left(\frac1P + \frac{1}{1000-P}\right)

Step 2. Integrating,

11000loge ⁣(P1000P)=kt+c\frac{1}{1000}\log_e\!\left(\frac{P}{1000-P}\right) = kt + c

Step 3. Write u=P1000Pu = \dfrac{P}{1000-P}. The last line says u=u0e1000ktu = u_0 e^{1000kt}, so uu is multiplied by the same factor rr every day: u(t)=u0rtu(t) = u_0\,r^{\,t}.

Step 4. Read u0u_0 and rr from the data. At t=0t = 0, u0=100900=19u_0 = \dfrac{100}{900} = \dfrac19; at t=1t = 1, u=200800=14u = \dfrac{200}{800} = \dfrac14, so r=94r = \dfrac94.

Step 5. Hence u(2)=198116=916u(2) = \dfrac19 \cdot \dfrac{81}{16} = \dfrac{9}{16}.

Step 6. Invert uu to get P=1000u1+uP = \dfrac{1000u}{1+u}:

P(2)=10009/1625/16=360P(2) = 1000 \cdot \frac{9/16}{25/16} = 360

Answer: 360360 people.

Logistic growth flattens off, while the odds P/(1000−P) stay exponential
The ratio grows exponentially even when the quantity does not

PP itself is nowhere near exponential; it flattens as it approaches 10001000. What is exponential is the odds P1000P\dfrac{P}{1000-P}, and that is why Step 3 pays: it turns two data points into a common ratio, and no logarithm is ever evaluated.

When the equation is hidden

At JEE Advanced level the differential equation is rarely handed over. It sits inside a limit, inside an integral identity, or behind a substitution you have to invent. Only after you have unearthed it do the nine methods apply.

Inside a limit

A limit of the 0/0 form is a derivative in disguise

If a limit as txt \to x has both numerator and denominator vanishing at t=xt = x, differentiate both with respect to tt and then set t=xt = x. Every f(t)f'(t) produced becomes f(x)f'(x), and the condition turns into a relation between ff, ff' and xx: a differential equation.

Worked example

Let ff be differentiable on (0,)(0,\infty) with f(1)=2f(1) = 2, and suppose

limtxt10f(x)x10f(t)t9x9=1for every x>0\lim_{t\to x}\frac{t^{10}f(x) - x^{10}f(t)}{t^{9} - x^{9}} = 1 \quad\text{for every } x > 0

Find f(x)f(x).

SHOW SOLUTION

Step 1. At t=xt = x the numerator is x10f(x)x10f(x)=0x^{10}f(x) - x^{10}f(x) = 0 and the denominator is 00, so the limit is 00\dfrac00 and L'Hôpital applies with tt as the variable.

Step 2. Differentiate top and bottom with respect to tt, then set t=xt = x:

10x9f(x)x10f(x)9x8=1\frac{10x^{9}f(x) - x^{10}f'(x)}{9x^{8}} = 1

Step 3. Clear the denominator and divide by x10x^{10}:

dfdx10xf=9x2\frac{df}{dx} - \frac{10}{x}f = -\frac{9}{x^{2}}

Step 4. I.F. =x10= x^{-10}, so ddx ⁣(fx10)=9x12\dfrac{d}{dx}\!\left(\dfrac{f}{x^{10}}\right) = -9x^{-12}.

Step 5. Integrate: fx10=911x11+C\dfrac{f}{x^{10}} = \dfrac{9}{11}x^{-11} + C, that is f(x)=911x+Cx10f(x) = \dfrac{9}{11x} + Cx^{10}.

Step 6. Impose f(1)=2f(1) = 2: 911+C=2\dfrac9{11} + C = 2, so C=1311C = \dfrac{13}{11}.

Answer: f(x)=911x+13x1011f(x) = \dfrac{9}{11x} + \dfrac{13x^{10}}{11}.

Inside an integral

Differentiate once, then test it

An identity of the form ax()dt=()\displaystyle\int_{a}^{x}(\dots)\,dt = (\dots) becomes a differential equation on differentiating, by the fundamental theorem. The constant of integration is then fixed not by guesswork but by putting x=ax = a in the original identity, where the integral vanishes.

Worked example

Let ff be differentiable with f(1)=13f(1) = \dfrac13 and

31xf(t)dt=xf(x)x33(x>0)3\int_{1}^{x} f(t)\,dt = x\,f(x) - \frac{x^{3}}{3} \quad (x > 0)

Find f(e)f(e).

SHOW SOLUTION

Step 1. Differentiate both sides. The left gives 3f(x)3f(x); the right gives f(x)+xf(x)x2f(x) + xf'(x) - x^2.

Step 2. So 3f=f+xfx23f = f + xf' - x^2, that is xf2f=x2xf' - 2f = x^2.

Step 3. Divide by xx: dfdx2xf=x\dfrac{df}{dx} - \dfrac2x f = x, linear with I.F. =x2= x^{-2}.

Step 4. Then ddx ⁣(fx2)=1x\dfrac{d}{dx}\!\left(\dfrac{f}{x^{2}}\right) = \dfrac1x, so fx2=logex+C\dfrac{f}{x^{2}} = \log_e x + C.

Step 5. At x=1x = 1: 13=0+C\dfrac13 = 0 + C, so f(x)=x2(logex+13)f(x) = x^{2}\left(\log_e x + \dfrac13\right).

Step 6. Check against the original identity at x=1x = 1: the left side is 00 and the right is f(1)13=0f(1) - \dfrac13 = 0. Consistent.

Step 7. At x=ex = e: f(e)=e2(1+13)=4e23f(e) = e^{2}\left(1 + \dfrac13\right) = \dfrac{4e^{2}}{3}.

Answer: 4e23\dfrac{4e^{2}}{3}.

Behind a substitution you invent

Nested radicals telescope. Each substitution is chosen to cancel the very factor it introduces, so start from the innermost and work outwards rather than trying to simplify the whole expression at once. The JEE Advanced equation

8x9+x  dy=dx4+9+x8\sqrt{x}\,\sqrt{9+\sqrt{x}}\;dy = \frac{dx}{\sqrt{4 + \sqrt{9+\sqrt{x}}}}

collapses in three moves: u=xu = \sqrt x kills the outer x\sqrt x, then w=9+uw = \sqrt{9+u} kills the next layer, then s=4+ws = \sqrt{4+w} kills the last, leaving dy=dsdy = ds. With y(0)=7y(0) = \sqrt7 the answer is y=4+9+xy = \sqrt{4 + \sqrt{9+\sqrt x}}, so y(256)=3y(256) = 3.

A block substitution does the same job when a combination repeats. If

dydx=2x(x+y)3x(x+y)1\frac{dy}{dx} = 2x(x+y)^{3} - x(x+y) - 1

the isolated 1-1 is the clue: put u=x+yu = x + y, so u=1+yu' = 1 + y' and the equation becomes u=xu(2u21)u' = xu\left(2u^{2} - 1\right), which is Bernoulli with n=3n = 3.

Which method? A decision chart

Run down this list in order and stop at the first "yes". The order matters: it is arranged so that the cheapest test comes first, and so that an equation which admits two methods is caught by the shorter one.

A nine-step decision chart for choosing the method
AskIf yes
Do the variables separate?integrate each side
Is a group already a d()d(\,\cdot\,)?exact: read off d(xy)d(xy), d ⁣(yx)d\!\left(\dfrac yx\right), d ⁣(tan1yx)d\!\left(\tan^{-1}\dfrac yx\right)
Is the right side a function of yx\dfrac yx alone?homogeneous: put y=vxy = vx
Are the two linear forms proportional?put z=ax+byz = ax + by
Otherwise, are they linear forms?shift: x=X+hx = X+h, y=Y+ky = Y+k
Is it y+Py=Qy' + Py = Q?linear: I.F. =ePdx= e^{\int P\,dx}
Is it x+P(y)x=Q(y)x' + P(y)x = Q(y)?linear in xx: swap the roles
Is the right side QynQ\,y^{\,n}?Bernoulli: put v=y1nv = y^{1-n}
Is yy itself absent?reduce the order: put p=yp = y'
None of theseinvent a substitution: peel nested radicals, treat x+yx+y as a block, or put t=tanyt = \tan y
Rewrite before you classify

Half the equations that look like none of the nine become one of them after a single algebraic move: factor the coefficient of dydy, rationalise a radical, or use sin2y=2tanycos2y\sin 2y = 2\tan y\cos^2 y so that a common factor appears. Spend ten seconds rewriting before deciding the equation is exotic.

Where the marks are

Across the nineteen JEE Main 2026 shifts, differential equations produced 14 questions, roughly 0.70.7 per shift, so essentially one question in every paper. The split by method:

Method2026 questionsTypical marks
Linear, integrating factor64 each
Variable separable44 each
Homogeneous24 each
Exact differential14 each
Bernoulli / reducible to linear14 each

Two patterns worth planning around:

  1. The linear type dominates. Nearly half the 2026 questions were solved by writing the equation in standard form and reading off PP. If you drill one thing, drill that.
  2. The arithmetic is deliberately heavy at the end. Several 2026 questions ask not for yy but for π4y(π/3)\pi^4 y(\pi/3), or α4\alpha^4, or y(5)\left\lfloor y(\sqrt5)\right\rfloor. Solve the equation, then read the question again before computing.

Quick recall

Shape you seeMoveResult
f(x)dx+g(y)dy=0f(x)\,dx + g(y)\,dy = 0integrate each termfdx+gdy=C\displaystyle\int f\,dx + \int g\,dy = C
dydx=f(ax+by+c)\dfrac{dy}{dx} = f(ax+by+c)z=ax+by+cz = ax+by+cdza+bf(z)=dx\dfrac{dz}{a+b\,f(z)} = dx
xdyydxx\,dy - y\,dx presentdivide by x2x^2, y2y^2, xyxy or x2+y2x^2+y^2d ⁣(yx)d\!\left(\dfrac yx\right), d ⁣(xy)d\!\left(\dfrac xy\right), d ⁣(logeyx)d\!\left(\log_e\dfrac yx\right), d ⁣(tan1yx)d\!\left(\tan^{-1}\dfrac yx\right)
xdy+ydxx\,dy + y\,dx presentrecognise itd(xy)d(xy)
dydx=F ⁣(yx)\dfrac{dy}{dx} = F\!\left(\dfrac yx\right)y=vxy = vxdvF(v)v=dxx\dfrac{dv}{F(v)-v} = \dfrac{dx}{x}
ax+by+cdx+ey+f\dfrac{ax+by+c}{dx+ey+f}, aebdae\neq bdx=X+hx = X+h, y=Y+ky = Y+khomogeneous in X,YX, Y
ax+by+cdx+ey+f\dfrac{ax+by+c}{dx+ey+f}, ae=bdae = bdz=ax+byz = ax+byseparable
y+Py=Qy' + Py = QI.F. =ePdx= e^{\int P\,dx}yI.F.=QI.F.dx+Cy\cdot\text{I.F.} = \displaystyle\int Q\cdot\text{I.F.}\,dx + C
x+P(y)x=Q(y)x' + P(y)x = Q(y)I.F. =ePdy= e^{\int P\,dy}same, roles swapped
y+Py=Qyny' + Py = Q\,y^{n}v=y1nv = y^{1-n}linear in vv
yy absent, only yy' and yy''p=yp = y'first order in pp
a limit of 00\dfrac00 formL'Hôpital in tt, then t=xt = xa differential equation
ax()dt=()\displaystyle\int_a^x(\dots)\,dt = (\dots)differentiate; fix CC at x=ax = aa differential equation

The five traps

  1. Read PP only after making the coefficient of yy' equal to 11. x2y+3xy=sinxx^2y' + 3xy = \sin x has P=3xP = \dfrac3x, not 3x3x.
  2. Clear radicals before naming the degree. And if a derivative sits inside sin\sin, log\log or an exponent, the degree is undefined, not fractional.
  3. Eliminate the arbitrary constant before flipping the slope in an orthogonal-trajectory question.
  4. When the two linear forms are parallel, do not try to shift. Substitute z=ax+byz = ax + by instead.
  5. A relation can outrun its own domain. Check that the value the question asks for is one the solution curve actually attains, and say so if it is not.

The one habit that pays

Before touching the algebra, write the equation as dydx=\dfrac{dy}{dx} = \dots and spend ten seconds naming the type. Almost every mark lost in this chapter is lost by starting the wrong method and discovering it four lines in. Naming the type is free; unwinding a wrong substitution is not.


[ SHARE ] WhatsApp
[ practice these chapters ]
Reinforce this post with live problems on doMath.
Basics & LogarithmsSets & RelationsLimitsContinuity & DifferentiabilityApplication of DerivativesIndefinite IntegrationDefinite IntegrationApplication of IntegralsDifferential Equations
PreviousFamily of Circles: Complete JEE NotesNext Conditional Probability, Total Probability and Bayes' Theorem
← Back to all notes