Homogeneous:dxdy=F(x,y) where F(λx,λy)=λ0F(x,y). Use substitution y=vx⟹dxdy=v+xdxdv.
Linear Differential Equation (LDE):dxdy+P(x)y=Q(x). Integrating Factor (I.F.) =e∫P(x)dx. Solution: y⋅(I.F.)=∫Q(x)⋅(I.F.)dx+C.
These are the key tools repeatedly used in the solved examples below.
Example 1: Order and Degree
Find the order and degree of the differential equation: dx2d2y+5(dxdy)3+6y=0.
Solution:
Step 1: Identify the highest order derivative in the equation.
The derivatives present are dxdy and dx2d2y. The highest order derivative is dx2d2y.
Therefore, the order is 2.
Step 2: Check whether the equation is polynomial in derivatives.
Yes. All derivatives appear with non-negative integer powers, and no derivative is inside a trigonometric, logarithmic, or exponential function.
Step 3: Find the power of the highest order derivative.
The term dx2d2y occurs to the first power.
Therefore, the degree is 1.
Answer: Order = 2, Degree = 1.
Example 2: Order and Degree (Fractional Power)
Find the order and degree of: [1+(dxdy)2]3/2=kdx2d2y.
Solution:
Step 1: Identify the highest order derivative.
The highest order derivative present is dx2d2y.
Hence, the order is 2.
Step 2: To determine the degree, first remove the fractional power so that the equation becomes polynomial in derivatives.
Squaring both sides gives:
[1+(dxdy)2]3=k2(dx2d2y)2
Step 3: Now the equation is polynomial in derivatives.
The highest order derivative is still dx2d2y, and its power is now 2.
Therefore, the degree is 2.
Answer: Order = 2, Degree = 2.
Example 3: Order and Degree (Undefined)
Find the order and degree of: dx3d3y+y2+edy/dx=0.
Solution:
Step 1: Identify the highest order derivative.
The highest derivative is dx3d3y.
Therefore, the order is 3.
Step 2: Check whether the equation is polynomial in derivatives.
It is not polynomial in derivatives because the first derivative dxdy appears inside the exponential function edy/dx.
Step 3: Since the equation is not polynomial in derivatives, the degree cannot be defined.
Answer: Order = 3, Degree = Not defined.
Example 4: Verifying a Solution
Verify that y=Acosx+Bsinx is a solution of dx2d2y+y=0.
Solution:
Step 1: Differentiate y with respect to x.
y′=−Asinx+Bcosx
Step 2: Differentiate again.
y′′=−Acosx−Bsinx
Step 3: Substitute into the left-hand side of the differential equation.
y′′+y=(−Acosx−Bsinx)+(Acosx+Bsinx)=0
Step 4: Since the left-hand side becomes zero identically, the given function satisfies the equation.
Answer: Verified. Hence y=Acosx+Bsinx is a solution of dx2d2y+y=0.
Example 5: Basic Variable Separable
Solve: dxdy=1+x21+y2.
Solution:
Step 1: Separate the variables.
1+y2dy=1+x2dx
Step 2: Integrate both sides.
∫1+y21dy=∫1+x21dx
Step 3: Use the standard formula ∫1+t21dt=tan−1t.
tan−1y=tan−1x+C
Answer:tan−1y=tan−1x+C
Example 6: Variable Separable with Exponentials
Solve: dxdy=ex−y+x2e−y.
Solution:
Step 1: Factor out e−y from the right-hand side.
dxdy=e−y(ex+x2)
Step 2: Separate the variables.
Multiply both sides by eydx:
eydy=(ex+x2)dx
Step 3: Integrate both sides.
∫eydy=∫(ex+x2)dx
Step 4: Evaluate the integrals.
ey=ex+3x3+C
Answer:ey=ex+3x3+C
Example 7: Variable Separable Initial Value Problem
Solve: dxdy=−4xy2, given y(0)=1.
Solution:
Step 1: Separate variables.
y2dy=−4xdxy−2dy=−4xdx
Step 2: Integrate both sides.
∫y−2dy=−4∫xdx−y1=−2x2+C
Step 4: Substitute the constant back.
−y1=−2x2−1
Multiply by −1:
y1=2x2+1
Thus,
y=2x2+11
Answer:y=2x2+11
Example 8: Equation Reducible to Variable Separable
Solve: dxdy=(x+y)2.
Solution:
Step 1: Use the substitution
v=x+y
Then,
dxdv=1+dxdy⟹dxdy=dxdv−1
Step 2: Substitute into the differential equation.
dxdv−1=v2dxdv=v2+1
Step 3: Separate variables.
1+v2dv=dx
Step 4: Integrate.
∫1+v2dv=∫dxtan−1v=x+C
Step 5: Replace v by x+y.
tan−1(x+y)=x+C
Answer:tan−1(x+y)=x+C
Example 9: Basic Homogeneous Equation
Solve: (x+y)dy=(x−y)dx.
Solution:
Step 1: Rewrite in differential equation form.
dxdy=x+yx−y
Since numerator and denominator are both homogeneous expressions of degree 1, the equation is homogeneous.
Step 2: Put
y=vx⟹dxdy=v+xdxdv
Substitute:
v+xdxdv=x+vxx−vx=1+v1−v
Step 3: Simplify.
xdxdv=1+v1−v−v=1+v1−v−v−v2=1+v1−2v−v2
So,
1−2v−v21+vdv=xdx
Equivalently,
v2+2v−1v+1dv=−xdx
Step 4: Integrate.
Let
u=v2+2v−1⟹du=2(v+1)dv
Therefore,
21∫udu=−∫xdx21ln∣v2+2v−1∣=−ln∣x∣+ln∣C∣
Step 5: Replace v=y/x.
xy+1+x2y2=Cx
Multiply through by x:
y+x2+y2=Cx2
Answer:y+x2+y2=Cx2
Example 11: Homogeneous using x=vy
Solve: 2yex/ydx+(y−2xex/y)dy=0.
Solution:
Step 1: Rewrite in the form dydx:
2yex/ydx=(2xex/y−y)dydydx=2yex/y2xex/y−y
Because the equation involves ex/y, it is convenient to use
x=vy
so that
dydx=v+ydydv
Solution:
Step 1: Rewrite as
dydx=x+y
This is linear in x:
dydx−x=y
So,
P1=−1,Q1=y
Step 2: Find the Integrating Factor with respect to y.
I.F.=e∫−1dy=e−y
Step 3: Apply the formula.
xe−y=∫ye−ydy+C
Step 4: Integrate by parts.
Take
u=y,dv=e−ydy
Then
du=dy,v=−e−y
So,
∫ye−ydy=−ye−y+∫e−ydy=−ye−y−e−y+C
Thus,
xe−y=−ye−y−e−y+C
Step 5: Multiply by ey.
x=−y−1+Cey
Rearranging,
x+y+1=Cey
Answer:x+y+1=Cey
Example 16: Linear IVP
Solve: cos2xdxdy+y=tanx, given y(4π)=0.
Solution:
Step 1: Divide by cos2x:
dxdy+ysec2x=tanxsec2x
Thus,
P=sec2x,Q=tanxsec2x
Step 2: Find the Integrating Factor.
I.F.=e∫sec2xdx=etanx
Step 3: Use the formula.
yetanx=∫tanxsec2xetanxdx+C
Let
t=tanx⟹dt=sec2xdx
Then the integral becomes
∫tetdt
By integration by parts,
∫tetdt=tet−et
Therefore,
yetanx=etanx(tanx−1)+C
Step 4: Apply the initial condition y(π/4)=0.
At x=π/4, we have tan(π/4)=1.
So,
0=e1(1−1)+C⟹C=0
Step 5: Hence,
yetanx=etanx(tanx−1)y=tanx−1
Answer:y=tanx−1
JEE Main Standard
Example 17: Bernoulli's Equation
Solve: xdxdy+y=x3y6.
Solution:
Step 1: Divide by x:
dxdy+x1y=x2y6
This is a Bernoulli equation of the form
dxdy+Py=Qyn,n=6
Step 2: Divide by y6:
y−6dxdy+x1y−5=x2
Now put
v=y−5
Then
dxdv=−5y−6dxdy⟹y−6dxdy=−51dxdv
Step 3: Substitute.
−51dxdv+x1v=x2
Multiply by −5:
dxdv−x5v=−5x2
This is linear in v.
Step 4: Find the Integrating Factor.
I.F.=e∫−x5dx=e−5ln∣x∣=x−5
Step 5: Apply the formula.
vx−5=∫(−5x2)(x−5)dx+C=∫−5x−3dx+Cvx−5=25x−2+C
Step 6: Replace v=y−5.
y−5x−5=2x25+C
That is,
x5y51=2x25+C
Answer:x5y51=2x25+C
Example 18: Integration Factor Trick
Solve: (x2+1)dxdy+2xy=x2+4.
Solution:
Step 1: Observe the left-hand side carefully.
Using the product rule,
dxd((x2+1)y)=(x2+1)dxdy+2xy
So the equation becomes
dxd((x2+1)y)=x2+4
Step 2: Integrate both sides.
(x2+1)y=∫x2+4dx+C
Step 3: Use the standard integral formula
∫x2+a2dx=2xx2+a2+2a2ln∣x+x2+a2∣+C
With a=2, we get
(x2+1)y=2xx2+4+2ln∣x+x2+4∣+C
Answer:(x2+1)y=2xx2+4+2ln∣x+x2+4∣+C
Example 19: Variable Separable with Modulus
Solve: dxdy=∣x∣, given y(0)=1.
Solution:
Step 1: Write in separable form.
dy=∣x∣dx
Step 2: Integrate.
y=∫∣x∣dx+C
We know
∫∣x∣dx=2x∣x∣
Hence,
y=2x∣x∣+C
Step 3: Apply the condition y(0)=1.
1=0+C⟹C=1
Step 4: Therefore,
y=2x∣x∣+1
Answer:y=2x∣x∣+1
Example 20: Homogeneous Form
Solve: xdy−ydx=x2+y2dx.
Solution:
Step 1: Rearrange to get dxdy.
xdy=(y+x2+y2)dxdxdy=xy+x2+y2=xy+1+(xy)2
This is homogeneous.
Step 2: Put
y=vx⟹dxdy=v+xdxdv
Then,
v+xdxdv=v+1+v2
Step 3: Separate variables.
xdxdv=1+v21+v2dv=xdx
Step 4: Simplify the denominator using the half-angle substitution.
Let
t=tan2v
Then,
sinv=1+t22t,cosv=1+t21−t2,dv=1+t22dt
Substitute into the integral:
∫1+1+t22t+1+t21−t21+t22dt=∫dx
The denominator simplifies to
1+t22+2t
So the left side becomes
∫2+2t2dt=∫1+tdt
Thus,
ln∣1+t∣=x+C
Step 5: Replace t and then v.
ln1+tan2v=x+Cln1+tan2x+y=x+C
Answer:ln1+tan(2x+y)=x+C
Example 22: Linear DE with Logarithms
Solve: xlnxdxdy+y=x2.
Solution:
Step 1: Divide through by xlnx.
dxdy+xlnx1y=x2lnx2
Step 2: Find the Integrating Factor.
I.F.=e∫xlnx1dx
Let
t=lnx⟹dt=x1dx
Then,
∫xlnx1dx=∫t1dt=ln(lnx)
Hence,
I.F.=eln(lnx)=lnx
Step 3: Apply the formula.
ylnx=∫x2lnx2(lnx)dx+C=∫x22dx+C
Step 5: Apply the condition that the curve passes through (1,1).
tan(11)=−ln1+Ctan1=C
Step 6: Therefore,
tan(xy)+ln∣x∣=tan1
Answer:tan(xy)+ln∣x∣=tan1
Example 24: Application in Geometry
The y-intercept of the tangent at any point P(x,y) on a curve is proportional to the square of the y-coordinate of P. Form the differential equation.
Solution:
Step 1: Equation of tangent at (x,y) is
Y−y=dxdy(X−x)
Step 2: To find the y-intercept, put X=0.
Then,
Y−y=−xdxdy
So the y-intercept is
Y=y−xdxdy
Step 3: The problem states that this y-intercept is proportional to y2.
So,
y−xdxdy=ky2
for some constant of proportionality k.
Step 4: Rearrange if desired.
xdxdy−y+ky2=0
Answer:xdxdy−y+ky2=0
Example 25: Clever Transformation
Solve: dxdy=e2x+y2y3.
Solution:
Step 1: Rewrite the equation in a form suitable for substitution.
Take reciprocal carefully by writing
dydx=y3e2x+y2=y3e2x+y1
This is not linear in x, but a substitution involving e−2x will help.
Step 2: Rearrange:
dydx−y1=y3e2x
Multiply both sides by e−2x:
e−2xdydx−y1e−2x=y−3
Step 3: Put
v=e−2x
Then,
dydv=−2e−2xdydx=−2vdydx
So,
e−2xdydx=−21dydv
Step 4: Substitute into the transformed equation.
−21dydv−y1v=y−3
Multiply by −2:
dydv+y2v=−2y−3
This is linear in v.
Step 5: Find the Integrating Factor.
I.F.=e∫y2dy=y2
Step 6: Apply the formula.
vy2=∫(−2y−3)y2dy+C=∫−2y−1dy+Cvy2=−2ln∣y∣+C
Step 3: Therefore, the particular solution is
y+x2+y2=x2
Answer:y+x2+y2=x2
Example 28: Form dydx+Px=Q
Solve: (1+y2)dx=(tan−1y−x)dy.
Solution:
Step 1: Rearrange into linear form in x:
dydx=1+y2tan−1y−xdydx+1+y21x=1+y2tan−1y
Thus,
P1=1+y21,Q1=1+y2tan−1y
Step 2: Find the Integrating Factor.
I.F.=e∫1+y21dy=etan−1y
Step 3: Apply the linear formula.
xetan−1y=∫1+y2tan−1yetan−1ydy+C
Let
t=tan−1y⟹dt=1+y21dy
Then the integral becomes
∫tetdt
By integration by parts,
∫tetdt=tet−et
So,
xetan−1y=etan−1y(tan−1y−1)+C
Step 4: Divide by etan−1y.
x=tan−1y−1+Ce−tan−1y
Answer:x=tan−1y−1+Ce−tan−1y
Example 29: Inspecting Exact Differentials
Solve: ydx−xdy+3x2y2ex3dx=0.
Solution:
Step 1: Divide the whole equation by y2:
y2ydx−xdy+3x2ex3dx=0
Step 2: Recognize exact differentials.
We know
d(yx)=y2ydx−xdy
Also,
d(ex3)=3x2ex3dx
Step 3: Therefore the equation becomes
d(yx)+d(ex3)=0