MHT-CET Maths · Differential Equations

Variable-Separable Differential Equations

Get every y (with dy) on one side and every x (with dx) on the other, integrate both sides once, and add a single constant — the workhorse method for first-order MHT-CET differential equations.

Why this matters

This is the most-tested subtopic in the chapter: 33 PYQs sit here (14 HARD, 16 MODERATE, 3 EASY). Almost every first-order MHT-CET equation is separable directly or after one rewrite — taking a log, spotting an exponential, or using a trig product-to-sum. The recurring traps are all here too: forgetting the arbitrary constant (or writing two), dividing by a factor g(y) that can be zero, and slipping on the standard integrals that produce log, arctan and arcsin.

Concept 1 of 7

The Separate-Then-Integrate Idea

Intuition

A first-order equation is separable when you can algebraically herd all the y's (multiplied by dy) to one side and all the x's (multiplied by dx) to the other. Once separated, each side is an ordinary integral in a single variable — integrate both, add ONE constant, done.

Definition

An equation is variable-separable if it can be written in the form dydx=f(x)g(y)\dfrac{dy}{dx} = f(x)\,g(y), i.e. the right side factors into an x-only part times a y-only part. Then:

  • Separate: dyg(y)=f(x)dx\dfrac{dy}{g(y)} = f(x)\,dx — divide across so each side holds one variable only.
  • Integrate both sides once: dyg(y)=f(x)dx+c\displaystyle\int \dfrac{dy}{g(y)} = \int f(x)\,dx + c.
  • One arbitrary constant for the whole (first-order) equation — never one per side.

The number of arbitrary constants in the general solution equals the ORDER of the equation, so a first-order equation carries exactly one.

Separable form and its solution

dydx=f(x)g(y)    dyg(y)=f(x)dx+c\dfrac{dy}{dx} = f(x)\,g(y) \;\Longrightarrow\; \int \dfrac{dy}{g(y)} = \int f(x)\,dx + c
  • f(x)the x-only factor (integrated in x)
  • g(y)the y-only factor (its reciprocal is integrated in y)
  • cthe single arbitrary constant of a first-order equation

Worked example

Solve dydx=xy\dfrac{dy}{dx} = \dfrac{x}{y}.
  1. The right side factors as x1yx \cdot \tfrac{1}{y}, so it is separable.
  2. Separate: ydy=xdxy\,dy = x\,dx.
  3. Integrate both sides once: y22=x22+c1\dfrac{y^2}{2} = \dfrac{x^2}{2} + c_1.
  4. Multiply by 2 and rename the constant: y2x2=cy^2 - x^2 = c.
Answer:y2x2=cy^2 - x^2 = c
Practice this conceptself-check · 4 quick reps

Try it yourself

Solve dydx=xy\dfrac{dy}{dx} = xy.

Practice — Level 1 (4 reps)

Quick reps to lock in the method. Try each, then check.

  1. 1.
    Separate dydx=yx\dfrac{dy}{dx} = \dfrac{y}{x}.
  2. 2.
    Solve dydx=e2y\dfrac{dy}{dx} = e^{2y}.
  3. 3.
    How many arbitrary constants in the general solution of a FIRST-order equation?
  4. 4.
    Solve dydx=ky\dfrac{dy}{dx} = ky.

One arbitrary constant, and add it at the integration step

Integrating both sides of a first-order equation gives ONE constant, not one per side. eydy=exdx\int e^y\,dy = \int e^x\,dx is ey=ex+ce^y = e^x + c, never ey+c1=ex+c2e^y + c_1 = e^x + c_2. Dropping the constant, or writing two, is the classic separable-method slip.

You cannot divide by a factor that might be zero

To separate dydx=f(x)g(y)\dfrac{dy}{dx} = f(x)\,g(y) you divide by g(y)g(y) — but if g(y)=0g(y)=0 for some y=y0y=y_0, that constant function y=y0y=y_0 is a solution you would lose by dividing. Note any such g(y)=0g(y)=0 branch before dividing.

Concept 2 of 7

Basic Separation and Integrating Both Sides

Intuition

The bread-and-butter case: the equation separates with only routine algebra, and each side integrates to a power, log or exponential. A great many 'family of curves' questions (y=cx2y=cx^2, y=cxy=cx) are exactly this — separate, integrate, read off the family.

Definition

Once separated, reach for the elementary integrals:

  • dyy=logy\displaystyle\int \dfrac{dy}{y} = \log y, ydy=y22\displaystyle\int y\,dy = \dfrac{y^2}{2}, dxx2=1x\displaystyle\int \dfrac{dx}{x^2} = -\dfrac{1}{x}.
  • Absorbing constants into logc\log c turns logy=2logx+logc\log y = 2\log x + \log c into the clean family y=cx2y = cx^2.
  • A first-order linear-looking equation like xdydx=2yx\dfrac{dy}{dx} = 2y is really separable: dyy=2dxx\dfrac{dy}{y} = 2\dfrac{dx}{x}.

Standard integrals used after separating

dyy=logy+c,dxx2=1x+c\int \dfrac{dy}{y} = \log y + c,\qquad \int \dfrac{dx}{x^2} = -\dfrac{1}{x} + c

Worked example

Solve xdydx=3yx\dfrac{dy}{dx} = 3y.
  1. Separate: dyy=3dxx\dfrac{dy}{y} = 3\dfrac{dx}{x}.
  2. Integrate: logy=3logx+logc=log(cx3)\log y = 3\log x + \log c = \log(c x^3).
  3. Exponentiate: y=cx3y = c x^3.
Answer:y=cx3y = c x^3 (a family of cubics through the origin)
Practice this conceptself-check · 4 quick reps

Try it yourself

A curve has slope 3yx\dfrac{3y}{x} at (x,y)(x,y) and passes through (1,2)(1,2). Find its equation.

Practice — Level 1 (4 reps)

Quick reps to lock in the method. Try each, then check.

  1. 1.
    Solve xdyydx=0x\,dy - y\,dx = 0.
  2. 2.
    What family does xdydx=2yx\dfrac{dy}{dx} = 2y represent?
  3. 3.
    Solve dydx=y1x(x+1)\dfrac{dy}{dx} = \dfrac{y-1}{x(x+1)}.
  4. 4.
    Integrate dyy\dfrac{dy}{y}.

From the bank · past-year question

Example 2Differential EquationsMODERATE
Given that the slope of the tangent to a curve y=y(x)y=y(x) at any point (x,y)(x,y) is 2yx2\frac{2y}{x^2}. If the curve passes through the centre of the circle x2+y22x2y=0x^2+y^2-2x-2y=0, then its equation is

[Q143 · 4th May Shift 1 · 2023]

Absorb the constant as logc\log c, not +c+c, when both sides are logs

When integration gives logy=2logx+(const)\log y = 2\log x + \text{(const)}, write the constant as logc\log c so the answer collapses to the clean family y=cx2y = cx^2. Leaving it as +c+c blocks the tidy multiplicative form the options are written in.

xdydx=2yx\dfrac{dy}{dx} = 2y is a parabola family, not a linear one

It separates to y=cx2y = cx^2 — parabolas with vertex at the origin and axis along the Y-axis (since x2=1cyx^2 = \tfrac1c\,y). Reading it as y=cxy = cx (a line) or picking the X-axis parabola is the standard MHT-CET distractor pair.

Concept 3 of 7

Applying an Initial Condition (Particular Solutions)

Intuition

The general solution carries one arbitrary constant. An initial condition — a single point (x0,y0)(x_0, y_0) the curve passes through — pins that constant down, giving the particular solution. Golden rule: integrate FIRST (keep the constant), then substitute the condition.

Definition

Procedure for an initial-value problem (IVP):

  • Separate and integrate to the general solution with its arbitrary constant cc.
  • Substitute the given (x0,y0)(x_0, y_0) to solve for cc.
  • Substitute cc back, then evaluate at the requested point.

A very common MHT-CET shape is (2+sinx)dydx+(y+1)cosx=0(2+\sin x)\dfrac{dy}{dx} + (y+1)\cos x = 0: separating gives dyy+1=cosx2+sinxdx\dfrac{dy}{y+1} = -\dfrac{\cos x}{2+\sin x}\,dx, so log(y+1)=log(2+sinx)+c\log(y+1) = -\log(2+\sin x) + c, i.e. (y+1)(2+sinx)=k(y+1)(2+\sin x) = k.

General → particular via the condition

y=Φ(x,c),y(x0)=y0    c=c0    y=Φ(x,c0)y = \Phi(x, c),\qquad y(x_0) = y_0 \;\Rightarrow\; c = c_0 \;\Rightarrow\; y = \Phi(x, c_0)

Worked example

Solve dydx=2y\dfrac{dy}{dx} = 2y with y(0)=3y(0)=3, and find y ⁣(12log2)y\!\left(\tfrac12\log 2\right).
  1. Separate: dyy=2dx\dfrac{dy}{y} = 2\,dx.
  2. Integrate (keep the constant): logy=2x+c\log y = 2x + c.
  3. Apply y(0)=3y(0)=3: log3=c\log 3 = c, so logy=2x+log3\log y = 2x + \log 3, i.e. y=3e2xy = 3\,e^{2x}.
  4. At x=12log2x = \tfrac12\log 2: y=3elog2=32=6y = 3\,e^{\log 2} = 3\cdot 2 = 6.
Answer:y ⁣(12log2)=6y\!\left(\tfrac12\log 2\right) = 6
Practice this conceptself-check · 4 quick reps

Try it yourself

If dydx=y+3\dfrac{dy}{dx} = y+3 with y+3>0y+3>0 and y(0)=2y(0)=2, find y(log2)y(\log 2).

Practice — Level 1 (4 reps)

Quick reps to lock in the method. Try each, then check.

  1. 1.
    For an IVP, do you substitute the condition before or after integrating?
  2. 2.
    General solution (y+1)(2+sinx)=k(y+1)(2+\sin x)=k, y(0)=2y(0)=2. Find kk.
  3. 3.
    dydx=y+3\dfrac{dy}{dx}=y+3, y(0)=0y(0)=0. Value of cc in log(y+3)=x+c\log(y+3)=x+c?
  4. 4.
    After finding cc, what is the last step?

From the bank · past-year question

Example 3Differential EquationsHARD
If (2+sinx)dydx+(y+1)cosx=0(2+\sin x)\\\frac{dy}{dx} + (y+1)\cos x = 0 and y(0)=1y(0) = 1, then y ⁣(π2)y\!\left(\\\frac{\pi}{2}\right) is

[Q130 · 12th May Shift 2 · 2024]

Don't forget the +c+c BEFORE applying the initial condition

The whole point of an IVP is to determine the constant from the condition — so you must carry cc through the integration. Substituting the point before integrating, or dropping cc, leaves you nothing to solve for and gives the wrong particular solution.

Watch the log\log → product conversion

log(y+1)=log(2+sinx)+c\log(y+1) = -\log(2+\sin x) + c becomes (y+1)(2+sinx)=k(y+1)(2+\sin x) = k (a PRODUCT, since the constant absorbs as logk\log k). Writing it as a sum, or keeping a stray minus outside, mis-fixes the constant and throws the final value.

Concept 4 of 7

Separables in Disguise — Logs and Exponential Right Sides

Intuition

Some equations look non-separable until one rewrite exposes the split. log ⁣(dydx)=ax+by\log\!\big(\tfrac{dy}{dx}\big) = ax+by hides an exponential; dydx=2xyex2\tfrac{dy}{dx} = 2xy\,e^{x^2} hides a product. Exponentiate or factor first, then the variables come apart cleanly.

Definition

Two recurring disguises:

  • Log of the derivative: log ⁣(dydx)=ax+bydydx=eaxebyebydy=eaxdx\log\!\big(\tfrac{dy}{dx}\big) = ax + by \Rightarrow \tfrac{dy}{dx} = e^{ax}e^{by} \Rightarrow e^{-by}\,dy = e^{ax}\,dx, giving aeby+beax=c1a\,e^{-by} + b\,e^{ax} = c_1.
  • Exponential factor on the RHS: dydx=2xyex2dyy=2xex2dx\tfrac{dy}{dx} = 2xy\,e^{x^2} \Rightarrow \dfrac{dy}{y} = 2x\,e^{x^2}\,dx; put u=x2u = x^2 so the x-side is eudu=ex2\int e^u\,du = e^{x^2}, giving logy=ex2+logc\log y = e^{x^2} + \log c, i.e. y=ceex2y = c\,e^{e^{x^2}}.
  • The product form eyxdydx=y(sinx+cosx)1+ylogye^{\,y-x}\tfrac{dy}{dx} = \dfrac{y(\sin x+\cos x)}{1+y\log y} rearranges to ey(1+ylogy)ydy=ex(sinx+cosx)dx\dfrac{e^y(1+y\log y)}{y}\,dy = e^x(\sin x+\cos x)\,dx, and the standard trick ex(f+f)dx=exf\int e^x\big(f+f'\big)\,dx = e^x f collapses the RHS to exsinxe^x\sin x, giving eylogy=exsinx+ce^y\log y = e^x\sin x + c.

Exponentiate to separate; the eˣ(f + f′) trick

log ⁣(dydx)=ax+by    ebydy=eaxdx,ex(f(x)+f(x))dx=exf(x)+c\log\!\Big(\tfrac{dy}{dx}\Big) = ax+by \;\Rightarrow\; e^{-by}\,dy = e^{ax}\,dx,\qquad \int e^x\big(f(x)+f'(x)\big)\,dx = e^x f(x) + c

Worked example

Solve dydx=2xyex2\dfrac{dy}{dx} = 2xy\,e^{x^2}.
  1. Factor the RHS: it is y(2xex2)y \cdot \big(2x\,e^{x^2}\big), so separate: dyy=2xex2dx\dfrac{dy}{y} = 2x\,e^{x^2}\,dx.
  2. For the x-side put u=x2u = x^2, du=2xdxdu = 2x\,dx: eudu=ex2\int e^u\,du = e^{x^2}.
  3. So logy=ex2+logc\log y = e^{x^2} + \log c, i.e. logyc=ex2\log\tfrac{y}{c} = e^{x^2}.
  4. Exponentiate: y=ceex2y = c\,e^{e^{x^2}}.
Answer:y=ceex2y = c\,e^{e^{x^2}}
Practice this conceptself-check · 4 quick reps

Try it yourself

Find the general solution of log ⁣(dydx)=ax+by\log\!\Big(\dfrac{dy}{dx}\Big) = ax + by.

Practice — Level 1 (4 reps)

Quick reps to lock in the method. Try each, then check.

  1. 1.
    Separate log ⁣(dydx)=2x+3y\log\!\big(\tfrac{dy}{dx}\big) = 2x + 3y.
  2. 2.
    Solve dydx=2xyex2\dfrac{dy}{dx} = 2xy\,e^{x^2}.
  3. 3.
    Evaluate ex(sinx+cosx)dx\int e^x(\sin x + \cos x)\,dx.
  4. 4.
    ln(dy/dx)+y=x\ln(dy/dx) + y = x: separate.

From the bank · past-year question

Example 4Differential EquationsHARD
The general solution of the differential equation eyxdydx=y(sinx+cosx)1+ylogye^{y-x}\frac{dy}{dx} = \frac{y(\sin x + \cos x)}{1 + y\log y} is

[Q110 · 10th May Shift 2 · 2023]

Take logs / exponentials to unlock separation

An equation like log(dy/dx)=ax+by\log(dy/dx)=ax+by looks non-separable until you exponentiate to dy/dx=eaxebydy/dx = e^{ax}e^{by}, which splits cleanly. Always test whether one rewrite makes the variables come apart before reaching for a heavier method.

Spot the ex(f+f)dx=exf\int e^x(f+f')\,dx = e^x f pattern

On the x-side, ex(sinx+cosx)=ex(f+f)e^x(\sin x + \cos x) = e^x(f + f') with f=sinxf = \sin x, so its integral is exsinxe^x\sin x (NOT excosxe^x\cos x). Missing this pattern — or picking f=cosxf=\cos x — sends you to the wrong option; note that the y-side of ey(1+ylogy)y\frac{e^y(1+y\log y)}{y} integrates to eylogye^y\log y by the same trick with f=logyf = \log y.

Concept 5 of 7

Trigonometric-Product Separables

Intuition

When an equation is a product of an x-trig factor and a y-trig factor — cosx(1+cosy)dx=siny(1+sinx)dy\cos x(1+\cos y)\,dx = \sin y(1+\sin x)\,dy, or dydx=cotxcoty\tfrac{dy}{dx} = \cot x\cot y — it separates immediately. The only work is integrating each trig side, often as a log\log of the denominator. A product-to-sum identity sometimes has to come first.

Definition

Trig separables split into standard log-integrals:

  • cosx1+sinxdx=log(1+sinx)\displaystyle\int \dfrac{\cos x}{1+\sin x}\,dx = \log(1+\sin x), siny1+cosydy=log(1+cosy)\displaystyle\int \dfrac{\sin y}{1+\cos y}\,dy = -\log(1+\cos y) — both are ff\int \tfrac{f'}{f}.
  • dydx=cotxcotytanydy=cotxdxlogcosy=logsinxlogc\dfrac{dy}{dx} = \cot x\cot y \Rightarrow \tan y\,dy = \cot x\,dx \Rightarrow -\log\cos y = \log\sin x - \log c, i.e. sinx=csecy\sin x = c\sec y.
  • Product-to-sum first: sinxy2sinx+y2=2cosx2siny2\sin\tfrac{x-y}{2} - \sin\tfrac{x+y}{2} = -2\cos\tfrac{x}{2}\sin\tfrac{y}{2}, which then separates as cscy2dy=2cosx2dx\csc\tfrac{y}{2}\,dy = -2\cos\tfrac{x}{2}\,dx.

The log-integrals you reach for

cosx1+sinxdx=log(1+sinx)+c,tanydy=logcosy+c=logsecy+c\int \dfrac{\cos x}{1+\sin x}\,dx = \log(1+\sin x) + c,\qquad \int \tan y\,dy = -\log\cos y + c = \log\sec y + c

Worked example

Solve cosx(1+cosy)dxsiny(1+sinx)dy=0\cos x(1+\cos y)\,dx - \sin y(1+\sin x)\,dy = 0.
  1. Separate: cosx1+sinxdx=siny1+cosydy\dfrac{\cos x}{1+\sin x}\,dx = \dfrac{\sin y}{1+\cos y}\,dy.
  2. Each side is ff\int \tfrac{f'}{f}: LHS =log(1+sinx)= \log(1+\sin x), RHS =log(1+cosy)= -\log(1+\cos y).
  3. So log(1+sinx)=log(1+cosy)+logc\log(1+\sin x) = -\log(1+\cos y) + \log c.
  4. Combine: (1+sinx)(1+cosy)=c(1+\sin x)(1+\cos y) = c.
Answer:(1+sinx)(1+cosy)=c(1+\sin x)(1+\cos y) = c
Practice this conceptself-check · 4 quick reps

Try it yourself

Solve dydx=cotxcoty\dfrac{dy}{dx} = \cot x\cdot\cot y.

Practice — Level 1 (4 reps)

Quick reps to lock in the method. Try each, then check.

  1. 1.
    cosx1+sinxdx\displaystyle\int \dfrac{\cos x}{1+\sin x}\,dx.
  2. 2.
    tanydy\displaystyle\int \tan y\,dy.
  3. 3.
    Separate 3extanydx+(1ex)sec2ydy=03e^x\tan y\,dx + (1-e^x)\sec^2 y\,dy = 0.
  4. 4.
    Product-to-sum: sinxy2sinx+y2=?\sin\tfrac{x-y}{2} - \sin\tfrac{x+y}{2} = ?

From the bank · past-year question

Example 5Differential EquationsHARD
The general solution of the differential equation xcosydy=(xexlogx+ex)dxx\cos y\,dy=(xe^{x}\log x+e^{x})\,dx is given by

[Q128 · 3rd May Shift 2 · 2023]

Apply product-to-sum BEFORE trying to separate

dydx+sinx+y2=sinxy2\dfrac{dy}{dx} + \sin\tfrac{x+y}{2} = \sin\tfrac{x-y}{2} does not separate as written. Convert the difference of sines: sinxy2sinx+y2=2cosx2siny2\sin\tfrac{x-y}{2} - \sin\tfrac{x+y}{2} = -2\cos\tfrac{x}{2}\sin\tfrac{y}{2}. Only then does cscy2dy=2cosx2dx\csc\tfrac{y}{2}\,dy = -2\cos\tfrac{x}{2}\,dx fall out, integrating to logtany4=c2sinx2\log\tan\tfrac{y}{4} = c - 2\sin\tfrac{x}{2}.

Signs of the trig log-integrals

siny1+cosydy=log(1+cosy)\int \dfrac{\sin y}{1+\cos y}\,dy = -\log(1+\cos y) (a MINUS, because ddy(1+cosy)=siny\tfrac{d}{dy}(1+\cos y) = -\sin y), while cosx1+sinxdx=+log(1+sinx)\int \dfrac{\cos x}{1+\sin x}\,dx = +\log(1+\sin x). Dropping that minus turns the product answer (1+sinx)(1+cosy)=c(1+\sin x)(1+\cos y)=c into a wrong sum.

Concept 6 of 7

Rational Separables — arctan, arcsin, and Families of Circles

Intuition

When separation leaves dy1+y2\dfrac{dy}{1+y^2} you get tan1y\tan^{-1}y; when it leaves ydyk2y2\dfrac{y\,dy}{\sqrt{k^2-y^2}} you get k2y2-\sqrt{k^2-y^2}. These standard integrals turn many geometric problems (slope conditions, normal-length conditions) into families of circles.

Definition

The standard integrals that appear here:

  • dy1+y2=tan1y\displaystyle\int \dfrac{dy}{1+y^2} = \tan^{-1}y; combining tan1ytan1x=tan1c\tan^{-1}y - \tan^{-1}x = \tan^{-1}c gives yx1+xy=c\dfrac{y-x}{1+xy} = c.
  • ydyk2y2=k2y2\displaystyle\int \dfrac{y\,dy}{\sqrt{k^2-y^2}} = -\sqrt{k^2-y^2}, so ydyk2y2=±dx\dfrac{y\,dy}{\sqrt{k^2-y^2}} = \pm dx integrates to x2+y2=k2x^2 + y^2 = k^2 — a family of circles.
  • ydydx=axy\dfrac{dy}{dx} = a - x integrates to x2+y22ax2c=0x^2 + y^2 - 2ax - 2c = 0: circles with centre (a,0)(a,0), radius a2+2c\sqrt{a^2+2c}.

arctan and the circle-producing integral

dy1+y2=tan1y+c,ydyk2y2=k2y2+c\int \dfrac{dy}{1+y^2} = \tan^{-1}y + c,\qquad \int \dfrac{y\,dy}{\sqrt{k^2-y^2}} = -\sqrt{k^2-y^2} + c

Worked example

Solve dydx=1+y21+x2\dfrac{dy}{dx} = \dfrac{1+y^2}{1+x^2}.
  1. Separate: dy1+y2=dx1+x2\dfrac{dy}{1+y^2} = \dfrac{dx}{1+x^2}.
  2. Integrate: tan1y=tan1x+tan1c\tan^{-1}y = \tan^{-1}x + \tan^{-1}c.
  3. Bring together: tan1ytan1x=tan1c\tan^{-1}y - \tan^{-1}x = \tan^{-1}c, i.e. tan1yx1+xy=tan1c\tan^{-1}\dfrac{y-x}{1+xy} = \tan^{-1}c.
  4. So yx=c(1+xy)y - x = c(1+xy).
Answer:yx=c(1+xy)y - x = c(1+xy)
Practice this conceptself-check · 4 quick reps

Try it yourself

The equation dydx=1y2y\dfrac{dy}{dx} = \dfrac{\sqrt{1-y^2}}{y} determines a family of circles. Describe it.

Practice — Level 1 (4 reps)

Quick reps to lock in the method. Try each, then check.

  1. 1.
    dy1+y2\displaystyle\int \dfrac{dy}{1+y^2}.
  2. 2.
    Combine tan1ytan1x=tan1c\tan^{-1}y - \tan^{-1}x = \tan^{-1}c.
  3. 3.
    ydyk2y2\displaystyle\int \dfrac{y\,dy}{\sqrt{k^2-y^2}}.
  4. 4.
    ydydx=axy\dfrac{dy}{dx} = a - x gives which curve?

From the bank · past-year question

Example 6Differential EquationsMODERATE
The solution of the differential equation dydx=1+y21+x2\frac{dy}{dx} = \frac{1+y^2}{1+x^2} is

[Q123 · 11th May Shift 1 · 2024]

Write the arctan constant as tan1c\tan^{-1}c, then use the subtraction formula

tan1y=tan1x+tan1c\tan^{-1}y = \tan^{-1}x + \tan^{-1}c only collapses to yx=c(1+xy)y-x = c(1+xy) if you set the constant as tan1c\tan^{-1}c and apply tan1Atan1B=tan1AB1+AB\tan^{-1}A - \tan^{-1}B = \tan^{-1}\tfrac{A-B}{1+AB}. A bare +c+c leaves you stuck at tan1ytan1x=c\tan^{-1}y - \tan^{-1}x = c.

Identify the circle's centre-axis and radius carefully

For dydx=1y2y\dfrac{dy}{dx} = \dfrac{\sqrt{1-y^2}}{y} the solution (x+C)2+y2=1(x+C)^2 + y^2 = 1 has FIXED radius 1 and centres on the X-axis. For ydy=(ax)dxy\,dy = (a-x)\,dx the radius is a2+2c\sqrt{a^2+2c} — variable, centre (a,0)(a,0). Read which quantity is fixed vs variable before choosing the option.

Concept 7 of 7

Direct Integration — dy/dx = f(x) and Slope-of-Curve Problems

Intuition

The simplest separable case: when dydx\dfrac{dy}{dx} depends on x ONLY, there is no y to move — just integrate the x-side once. Most 'slope of the tangent at any point is …' curve problems reduce to this, often after a preliminary simplification or a polynomial division.

Definition

When dydx=f(x)\dfrac{dy}{dx} = f(x), the solution is simply y=f(x)dx+cy = \int f(x)\,dx + c. Useful setups:

  • Simplify first: dydx=3e2x+3e4xex+ex=3e2x(1+e2x)ex(e2x+1)=3e3x\dfrac{dy}{dx} = \dfrac{3e^{2x}+3e^{4x}}{e^x+e^{-x}} = \dfrac{3e^{2x}(1+e^{2x})}{e^{-x}(e^{2x}+1)} = 3e^{3x}, so y=e3x+cy = e^{3x} + c.
  • Polynomial division: (x+2)dydx=x2+4x9(x+2)\dfrac{dy}{dx} = x^2+4x-9 gives dydx=(x+2)13x+2\dfrac{dy}{dx} = (x+2) - \dfrac{13}{x+2}, which integrates to y=(x+2)2213logx+2+cy = \tfrac{(x+2)^2}{2} - 13\log|x+2| + c.
  • A constant derivative from an implicit relation: cos ⁣(dydx)=7dydx=cos17\cos\!\big(\tfrac{dy}{dx}\big) = 7 \Rightarrow \tfrac{dy}{dx} = \cos^{-1}7 (a constant), so y=(cos17)x+cy = (\cos^{-1}7)x + c.

Pure x-side integration

dydx=f(x)    y=f(x)dx+c\dfrac{dy}{dx} = f(x) \;\Longrightarrow\; y = \int f(x)\,dx + c

Worked example

Solve (x+2)dydx=x2+4x9(x+2)\dfrac{dy}{dx} = x^2 + 4x - 9 with y(0)=0y(0)=0, and find y(4)y(-4).
  1. Divide: x2+4x9x+2=(x+2)13x+2\dfrac{x^2+4x-9}{x+2} = (x+2) - \dfrac{13}{x+2}, so dydx=(x+2)13x+2\dfrac{dy}{dx} = (x+2) - \dfrac{13}{x+2}.
  2. Integrate: y=(x+2)2213logx+2+cy = \dfrac{(x+2)^2}{2} - 13\log|x+2| + c.
  3. Apply y(0)=0y(0)=0: 0=213log2+cc=13log220 = 2 - 13\log 2 + c \Rightarrow c = 13\log 2 - 2.
  4. At x=4x=-4: y=213log2+13log22=0y = 2 - 13\log 2 + 13\log 2 - 2 = 0.
Answer:y(4)=0y(-4) = 0
Practice this conceptself-check · 4 quick reps

Try it yourself

A curve through (2,92)\left(2, \tfrac{9}{2}\right) has slope 11x21 - \dfrac{1}{x^2} at (x,y)(x,y). Find its equation.

Practice — Level 1 (4 reps)

Quick reps to lock in the method. Try each, then check.

  1. 1.
    Solve dydx=3e3x\dfrac{dy}{dx} = 3e^{3x}.
  2. 2.
    Simplify 3e2x+3e4xex+ex\dfrac{3e^{2x}+3e^{4x}}{e^x+e^{-x}}.
  3. 3.
    cos ⁣(dydx)=7\cos\!\big(\tfrac{dy}{dx}\big) = 7: what is dydx\tfrac{dy}{dx}?
  4. 4.
    Solve 1xdydx=tan1x\dfrac{1}{x}\dfrac{dy}{dx} = \tan^{-1}x.

From the bank · past-year question

Example 7Differential EquationsHARD
If y(x)y(x) is the solution of the differential equation (x+2)dydx=x2+4x9, x2(x+2)\frac{dy}{dx} = x^2+4x-9,\ x\neq-2 and y(0)=0y(0)=0, then y(4)y(-4) is equal to

[Q138 · 11th May Shift 2 · 2023]

Simplify the RHS before integrating

3e2x+3e4xex+ex\dfrac{3e^{2x}+3e^{4x}}{e^x+e^{-x}} looks like it needs a substitution, but it collapses to 3e3x3e^{3x} after factoring — then y=e3x+cy = e^{3x}+c in one line. Grinding the quotient without simplifying invites algebra errors.

Divide the polynomial before integrating a rational f(x)f(x)

For dydx=x2+4x9x+2\dfrac{dy}{dx} = \dfrac{x^2+4x-9}{x+2}, do the division first: (x+2)13x+2(x+2) - \dfrac{13}{x+2}. Integrating term-by-term gives the logx+2\log|x+2| piece cleanly; trying to integrate the raw quotient is where students lose the log term.

Summary — formulas & gotchas at a glance

A revision cheat-sheet for the formulas and gotchas above. Click any concept name to jump back to its full explanation.

Formulas (7)

  • The Separate-Then-Integrate Idea

    Separable form and its solution

    dydx=f(x)g(y)    dyg(y)=f(x)dx+c\dfrac{dy}{dx} = f(x)\,g(y) \;\Longrightarrow\; \int \dfrac{dy}{g(y)} = \int f(x)\,dx + c
  • Basic Separation and Integrating Both Sides

    Standard integrals used after separating

    dyy=logy+c,dxx2=1x+c\int \dfrac{dy}{y} = \log y + c,\qquad \int \dfrac{dx}{x^2} = -\dfrac{1}{x} + c
  • Applying an Initial Condition (Particular Solutions)

    General → particular via the condition

    y=Φ(x,c),y(x0)=y0    c=c0    y=Φ(x,c0)y = \Phi(x, c),\qquad y(x_0) = y_0 \;\Rightarrow\; c = c_0 \;\Rightarrow\; y = \Phi(x, c_0)
  • Separables in Disguise — Logs and Exponential Right Sides

    Exponentiate to separate; the eˣ(f + f′) trick

    log ⁣(dydx)=ax+by    ebydy=eaxdx,ex(f(x)+f(x))dx=exf(x)+c\log\!\Big(\tfrac{dy}{dx}\Big) = ax+by \;\Rightarrow\; e^{-by}\,dy = e^{ax}\,dx,\qquad \int e^x\big(f(x)+f'(x)\big)\,dx = e^x f(x) + c
  • Trigonometric-Product Separables

    The log-integrals you reach for

    cosx1+sinxdx=log(1+sinx)+c,tanydy=logcosy+c=logsecy+c\int \dfrac{\cos x}{1+\sin x}\,dx = \log(1+\sin x) + c,\qquad \int \tan y\,dy = -\log\cos y + c = \log\sec y + c
  • Rational Separables — arctan, arcsin, and Families of Circles

    arctan and the circle-producing integral

    dy1+y2=tan1y+c,ydyk2y2=k2y2+c\int \dfrac{dy}{1+y^2} = \tan^{-1}y + c,\qquad \int \dfrac{y\,dy}{\sqrt{k^2-y^2}} = -\sqrt{k^2-y^2} + c
  • Direct Integration — dy/dx = f(x) and Slope-of-Curve Problems

    Pure x-side integration

    dydx=f(x)    y=f(x)dx+c\dfrac{dy}{dx} = f(x) \;\Longrightarrow\; y = \int f(x)\,dx + c

Watch out for (14)

Mastery check — 5 interleaved questions

Try each one before clicking. Questions are interleaved across the concepts above, not grouped — interleaving sharpens transfer.

Example 1Differential EquationsMODERATE
The equation of a curve passing through (1,0)(1,0) and having slope of tangent at any point (x,y)(x,y) of the curve as y1x2+x\frac{y- 1}{x^{2}+x} is

[Q137 · 26 April Shift I · 2025]

Example 2Differential EquationsHARD
The solution of the differential equation ex(y+1)dy+(cos2xsin2x)ydx=0e^{-x}(y+1)dy + (\cos^2 x - \sin 2x)y\,dx = 0 subjected to the condition that y=1y = 1 when x=0x = 0 is

[Q122 · May Shift 1 · 2021]

Example 3Differential EquationsMODERATE
General solution of the differential equation log ⁣(dydx)=ax+by\log\!\left(\frac{dy}{dx}\right) = ax + by is

[Q130 · 9th May Shift 2 · 2024]

Example 4Differential EquationsMODERATE
A particular solution of 3extany dx+(1ex)sec2y dy=03e^{x}\tan y\text{ }dx+\left( 1 -e^{x} \right)\sec^{2}y\text{ }dy= 0 with y(1)=π4y(1) =\frac{\pi}{4} is

[Q102 · 21 April Shift II · 2025]

Example 5Differential EquationsHARD
The particular solution of differential equation (1+y2)(1+logx)dx+xdy=0(1+y^2)(1+\log x)dx+x\,dy=0 at x=1,y=1x=1, y=1 is

[Q131 · 4th May Shift 2 · 2023]

Drill every past-year question on this subtopic

33 questions from the bank — paginated, with cart and Word-export support.