Important Theorems and Concepts Recap

1. Order and Degree

  • Order: The order of the highest derivative appearing in the differential equation.
  • Degree: The power of the highest order derivative, provided the differential equation is a polynomial equation in terms of its derivatives.

2. Types of Solutions

  • General Solution: Contains arbitrary constants equal in number to the order of the differential equation. Represents a family of curves.
  • Particular Solution: Obtained by giving specific values to the arbitrary constants based on initial conditions.

3. Methods of Solving First-Order, First-Degree ODEs

  • Variable Separable: f(y)dy=g(x)dx    f(y)dy=g(x)dx+Cf(y) \, dy = g(x) \, dx \implies \int f(y) \, dy = \int g(x) \, dx + C.
  • Homogeneous: dydx=F(x,y)\frac{dy}{dx} = F(x,y) where F(λx,λy)=λ0F(x,y)F(\lambda x, \lambda y) = \lambda^0 F(x,y). Use substitution y=vx    dydx=v+xdvdxy = vx \implies \frac{dy}{dx} = v + x\frac{dv}{dx}.
  • Linear Differential Equation (LDE): dydx+P(x)y=Q(x)\frac{dy}{dx} + P(x)y = Q(x). Integrating Factor (I.F.) =eP(x)dx= e^{\int P(x) \, dx}. Solution: y(I.F.)=Q(x)(I.F.)dx+Cy \cdot \text{(I.F.)} = \int Q(x) \cdot \text{(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: d2ydx2+5(dydx)3+6y=0\frac{d^2y}{dx^2} + 5\left(\frac{dy}{dx}\right)^3 + 6y = 0.

Solution: Step 1: Identify the highest order derivative in the equation. The derivatives present are dydx\frac{dy}{dx} and d2ydx2\frac{d^2y}{dx^2}. The highest order derivative is d2ydx2\frac{d^2y}{dx^2}. 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 d2ydx2\frac{d^2y}{dx^2} 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+(dydx)2]3/2=kd2ydx2\left[ 1 + \left(\frac{dy}{dx}\right)^2 \right]^{3/2} = k \frac{d^2y}{dx^2}.

Solution: Step 1: Identify the highest order derivative. The highest order derivative present is d2ydx2\frac{d^2y}{dx^2}. 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+(dydx)2]3=k2(d2ydx2)2\left[ 1 + \left(\frac{dy}{dx}\right)^2 \right]^3 = k^2 \left(\frac{d^2y}{dx^2}\right)^2

Step 3: Now the equation is polynomial in derivatives. The highest order derivative is still d2ydx2\frac{d^2y}{dx^2}, 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: d3ydx3+y2+edy/dx=0\frac{d^3y}{dx^3} + y^2 + e^{dy/dx} = 0.

Solution: Step 1: Identify the highest order derivative. The highest derivative is d3ydx3\frac{d^3y}{dx^3}. 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 dydx\frac{dy}{dx} appears inside the exponential function edy/dxe^{dy/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+Bsinxy = A\cos x + B\sin x is a solution of d2ydx2+y=0\frac{d^2y}{dx^2} + y = 0.

Solution: Step 1: Differentiate yy with respect to xx. y=Asinx+Bcosxy' = -A\sin x + B\cos x

Step 2: Differentiate again. y=AcosxBsinxy'' = -A\cos x - B\sin x

Step 3: Substitute into the left-hand side of the differential equation. y+y=(AcosxBsinx)+(Acosx+Bsinx)y'' + y = (-A\cos x - B\sin x) + (A\cos x + B\sin x) =0= 0

Step 4: Since the left-hand side becomes zero identically, the given function satisfies the equation.

Answer: Verified. Hence y=Acosx+Bsinxy = A\cos x + B\sin x is a solution of d2ydx2+y=0\frac{d^2y}{dx^2} + y = 0.

Example 5: Basic Variable Separable

Solve: dydx=1+y21+x2\frac{dy}{dx} = \frac{1+y^2}{1+x^2}.

Solution: Step 1: Separate the variables. dy1+y2=dx1+x2\frac{dy}{1+y^2} = \frac{dx}{1+x^2}

Step 2: Integrate both sides. 11+y2dy=11+x2dx\int \frac{1}{1+y^2} \, dy = \int \frac{1}{1+x^2} \, dx

Step 3: Use the standard formula 11+t2dt=tan1t\int \frac{1}{1+t^2}dt = \tan^{-1} t. tan1y=tan1x+C\tan^{-1} y = \tan^{-1} x + C

Answer: tan1y=tan1x+C\tan^{-1} y = \tan^{-1} x + C

Example 6: Variable Separable with Exponentials

Solve: dydx=exy+x2ey\frac{dy}{dx} = e^{x-y} + x^2 e^{-y}.

Solution: Step 1: Factor out eye^{-y} from the right-hand side. dydx=ey(ex+x2)\frac{dy}{dx} = e^{-y}(e^x + x^2)

Step 2: Separate the variables. Multiply both sides by eydxe^y dx: eydy=(ex+x2)dxe^y \, dy = (e^x + x^2) \, dx

Step 3: Integrate both sides. eydy=(ex+x2)dx\int e^y \, dy = \int (e^x + x^2) \, dx

Step 4: Evaluate the integrals. ey=ex+x33+Ce^y = e^x + \frac{x^3}{3} + C

Answer: ey=ex+x33+Ce^y = e^x + \frac{x^3}{3} + C

Example 7: Variable Separable Initial Value Problem

Solve: dydx=4xy2\frac{dy}{dx} = -4xy^2, given y(0)=1y(0) = 1.

Solution: Step 1: Separate variables. dyy2=4xdx\frac{dy}{y^2} = -4x \, dx y2dy=4xdxy^{-2} \, dy = -4x \, dx

Step 2: Integrate both sides. y2dy=4xdx\int y^{-2} \, dy = -4 \int x \, dx 1y=2x2+C-\frac{1}{y} = -2x^2 + C

Step 3: Apply the initial condition y(0)=1y(0)=1. Substitute x=0x=0, y=1y=1: 1=0+C    C=1-1 = 0 + C \implies C = -1

Step 4: Substitute the constant back. 1y=2x21-\frac{1}{y} = -2x^2 - 1 Multiply by 1-1: 1y=2x2+1\frac{1}{y} = 2x^2 + 1 Thus, y=12x2+1y = \frac{1}{2x^2 + 1}

Answer: y=12x2+1y = \frac{1}{2x^2 + 1}

Example 8: Equation Reducible to Variable Separable

Solve: dydx=(x+y)2\frac{dy}{dx} = (x+y)^2.

Solution: Step 1: Use the substitution v=x+yv = x+y Then, dvdx=1+dydx    dydx=dvdx1\frac{dv}{dx} = 1 + \frac{dy}{dx} \implies \frac{dy}{dx} = \frac{dv}{dx} - 1

Step 2: Substitute into the differential equation. dvdx1=v2\frac{dv}{dx} - 1 = v^2 dvdx=v2+1\frac{dv}{dx} = v^2 + 1

Step 3: Separate variables. dv1+v2=dx\frac{dv}{1+v^2} = dx

Step 4: Integrate. dv1+v2=dx\int \frac{dv}{1+v^2} = \int dx tan1v=x+C\tan^{-1} v = x + C

Step 5: Replace vv by x+yx+y. tan1(x+y)=x+C\tan^{-1}(x+y) = x + C

Answer: tan1(x+y)=x+C\tan^{-1}(x+y) = x + C

Example 9: Basic Homogeneous Equation

Solve: (x+y)dy=(xy)dx(x+y)dy = (x-y)dx.

Solution: Step 1: Rewrite in differential equation form. dydx=xyx+y\frac{dy}{dx} = \frac{x-y}{x+y} Since numerator and denominator are both homogeneous expressions of degree 1, the equation is homogeneous.

Step 2: Put y=vx    dydx=v+xdvdxy = vx \implies \frac{dy}{dx} = v + x\frac{dv}{dx} Substitute: v+xdvdx=xvxx+vx=1v1+vv + x\frac{dv}{dx} = \frac{x-vx}{x+vx} = \frac{1-v}{1+v}

Step 3: Simplify. xdvdx=1v1+vv=1vvv21+v=12vv21+vx\frac{dv}{dx} = \frac{1-v}{1+v} - v = \frac{1-v-v-v^2}{1+v} = \frac{1-2v-v^2}{1+v} So, 1+v12vv2dv=dxx\frac{1+v}{1-2v-v^2} \, dv = \frac{dx}{x} Equivalently, v+1v2+2v1dv=dxx\frac{v+1}{v^2+2v-1} \, dv = -\frac{dx}{x}

Step 4: Integrate. Let u=v2+2v1    du=2(v+1)dvu = v^2 + 2v - 1 \implies du = 2(v+1) \, dv Therefore, 12duu=dxx\frac{1}{2} \int \frac{du}{u} = -\int \frac{dx}{x} 12lnv2+2v1=lnx+lnC\frac{1}{2}\ln|v^2+2v-1| = -\ln|x| + \ln|C|

Step 5: Simplify. lnv2+2v1=2lnx+lnK\ln|v^2+2v-1| = -2\ln|x| + \ln|K| v2+2v1=Kx2v^2+2v-1 = \frac{K}{x^2}

Step 6: Substitute back v=y/xv = y/x. y2x2+2yx1=Kx2\frac{y^2}{x^2} + \frac{2y}{x} - 1 = \frac{K}{x^2} Multiply by x2x^2: y2+2xyx2=Ky^2 + 2xy - x^2 = K

Answer: y2+2xyx2=Ky^2 + 2xy - x^2 = K

Example 10: Homogeneous Equation with Radicals

Solve: xdydx=y+x2+y2x \frac{dy}{dx} = y + \sqrt{x^2+y^2}.

Solution: Step 1: Divide by xx: dydx=yx+x2+y2x=yx+1+(yx)2\frac{dy}{dx} = \frac{y}{x} + \frac{\sqrt{x^2+y^2}}{x} = \frac{y}{x} + \sqrt{1+\left(\frac{y}{x}\right)^2} This is homogeneous.

Step 2: Put y=vx    dydx=v+xdvdxy = vx \implies \frac{dy}{dx} = v + x\frac{dv}{dx} Substitute: v+xdvdx=v+1+v2v + x\frac{dv}{dx} = v + \sqrt{1+v^2}

Step 3: Separate variables. xdvdx=1+v2x\frac{dv}{dx} = \sqrt{1+v^2} dv1+v2=dxx\frac{dv}{\sqrt{1+v^2}} = \frac{dx}{x}

Step 4: Integrate. dv1+v2=dxx\int \frac{dv}{\sqrt{1+v^2}} = \int \frac{dx}{x} lnv+1+v2=lnx+lnC\ln|v+\sqrt{1+v^2}| = \ln|x| + \ln|C| v+1+v2=Cxv+\sqrt{1+v^2} = Cx

Step 5: Replace v=y/xv = y/x. yx+1+y2x2=Cx\frac{y}{x} + \sqrt{1+\frac{y^2}{x^2}} = Cx Multiply through by xx: y+x2+y2=Cx2y + \sqrt{x^2+y^2} = Cx^2

Answer: y+x2+y2=Cx2y + \sqrt{x^2+y^2} = Cx^2

Example 11: Homogeneous using x=vyx = vy

Solve: 2yex/ydx+(y2xex/y)dy=02y e^{x/y} dx + (y - 2x e^{x/y}) dy = 0.

Solution: Step 1: Rewrite in the form dxdy\frac{dx}{dy}: 2yex/ydx=(2xex/yy)dy2y e^{x/y} dx = (2x e^{x/y} - y) dy dxdy=2xex/yy2yex/y\frac{dx}{dy} = \frac{2x e^{x/y} - y}{2y e^{x/y}} Because the equation involves ex/ye^{x/y}, it is convenient to use x=vyx = vy so that dxdy=v+ydvdy\frac{dx}{dy} = v + y\frac{dv}{dy}

Step 2: Substitute. v+ydvdy=2vyevy2yev=2vev12evv + y\frac{dv}{dy} = \frac{2vye^v - y}{2ye^v} = \frac{2ve^v - 1}{2e^v}

Step 3: Simplify. ydvdy=2vev12evv=12evy\frac{dv}{dy} = \frac{2ve^v - 1}{2e^v} - v = -\frac{1}{2e^v}

Step 4: Separate variables. 2evdv=dyy2e^v \, dv = -\frac{dy}{y}

Step 5: Integrate. 2evdv=dyy\int 2e^v \, dv = -\int \frac{dy}{y} 2ev=lny+C2e^v = -\ln|y| + C

Step 6: Replace v=x/yv = x/y. 2ex/y+lny=C2e^{x/y} + \ln|y| = C

Answer: 2ex/y+lny=C2e^{x/y} + \ln|y| = C

Example 12: Basic Linear Differential Equation

Solve: dydx+2y=e3x\frac{dy}{dx} + 2y = e^{3x}.

Solution: Step 1: Compare with dydx+Py=Q\frac{dy}{dx} + Py = Q So, P=2,Q=e3xP = 2, \qquad Q = e^{3x}

Step 2: Find the Integrating Factor. I.F.=e2dx=e2x\text{I.F.} = e^{\int 2 \, dx} = e^{2x}

Step 3: Apply the linear DE formula. ye2x=e3xe2xdx+C=e5xdx+Cy e^{2x} = \int e^{3x} e^{2x} \, dx + C = \int e^{5x} \, dx + C

Step 4: Integrate. ye2x=e5x5+Cy e^{2x} = \frac{e^{5x}}{5} + C Hence, y=e3x5+Ce2xy = \frac{e^{3x}}{5} + Ce^{-2x}

Answer: y=e3x5+Ce2xy = \frac{e^{3x}}{5} + Ce^{-2x}

Example 13: Linear DE Requiring Normalization

Solve: xdydx+2y=x2x \frac{dy}{dx} + 2y = x^2.

Solution: Step 1: Divide by xx to get standard form. dydx+2xy=x\frac{dy}{dx} + \frac{2}{x}y = x Thus, P=2x,Q=xP = \frac{2}{x}, \qquad Q = x

Step 2: Find the Integrating Factor. I.F.=e2xdx=e2lnx=x2\text{I.F.} = e^{\int \frac{2}{x} \, dx} = e^{2\ln|x|} = x^2

Step 3: Use the formula. yx2=xx2dx+C=x3dx+Cyx^2 = \int x\cdot x^2 \, dx + C = \int x^3 \, dx + C

Step 4: Integrate. yx2=x44+Cyx^2 = \frac{x^4}{4} + C

Answer: yx2=x44+Cyx^2 = \frac{x^4}{4} + C

Example 14: Trigonometric Linear Equation

Solve: dydx+ysecx=tanx\frac{dy}{dx} + y\sec x = \tan x.

Solution: Step 1: Here, P=secx,Q=tanxP = \sec x, \qquad Q = \tan x

Step 2: Find the Integrating Factor. I.F.=esecxdx=elnsecx+tanx=secx+tanx\text{I.F.} = e^{\int \sec x \, dx} = e^{\ln|\sec x + \tan x|} = \sec x + \tan x

Step 3: Apply the formula. y(secx+tanx)=tanx(secx+tanx)dx+Cy(\sec x + \tan x) = \int \tan x(\sec x + \tan x) \, dx + C =(secxtanx+tan2x)dx+C= \int (\sec x\tan x + \tan^2 x) \, dx + C Use tan2x=sec2x1\tan^2 x = \sec^2 x - 1 So, (secxtanx+sec2x1)dx\int (\sec x\tan x + \sec^2 x - 1) \, dx

Step 4: Integrate termwise. secxtanxdx=secx\int \sec x\tan x \, dx = \sec x sec2xdx=tanx\int \sec^2 x \, dx = \tan x 1dx=x\int 1 \, dx = x Therefore, y(secx+tanx)=secx+tanxx+Cy(\sec x + \tan x) = \sec x + \tan x - x + C

Answer: y(secx+tanx)=secx+tanxx+Cy(\sec x + \tan x) = \sec x + \tan x - x + C

Example 15: Linear DE in xx (Alternate Form)

Solve: (x+y)dy=dx(x + y)dy = dx.

Solution: Step 1: Rewrite as dxdy=x+y\frac{dx}{dy} = x + y This is linear in xx: dxdyx=y\frac{dx}{dy} - x = y So, P1=1,Q1=yP_1 = -1, \qquad Q_1 = y

Step 2: Find the Integrating Factor with respect to yy. I.F.=e1dy=ey\text{I.F.} = e^{\int -1 \, dy} = e^{-y}

Step 3: Apply the formula. xey=yeydy+Cx e^{-y} = \int y e^{-y} \, dy + C

Step 4: Integrate by parts. Take u=y,dv=eydyu = y, \quad dv = e^{-y}dy Then du=dy,v=eydu = dy, \quad v = -e^{-y} So, yeydy=yey+eydy=yeyey+C\int y e^{-y}dy = -ye^{-y} + \int e^{-y}dy = -ye^{-y} - e^{-y} + C Thus, xey=yeyey+Cx e^{-y} = -ye^{-y} - e^{-y} + C

Step 5: Multiply by eye^y. x=y1+Ceyx = -y - 1 + Ce^y Rearranging, x+y+1=Ceyx + y + 1 = Ce^y

Answer: x+y+1=Ceyx + y + 1 = Ce^y

Example 16: Linear IVP

Solve: cos2xdydx+y=tanx\cos^2 x \frac{dy}{dx} + y = \tan x, given y(π4)=0y\left(\frac{\pi}{4}\right) = 0.

Solution: Step 1: Divide by cos2x\cos^2 x: dydx+ysec2x=tanxsec2x\frac{dy}{dx} + y\sec^2 x = \tan x\sec^2 x Thus, P=sec2x,Q=tanxsec2xP = \sec^2 x, \qquad Q = \tan x\sec^2 x

Step 2: Find the Integrating Factor. I.F.=esec2xdx=etanx\text{I.F.} = e^{\int \sec^2 x \, dx} = e^{\tan x}

Step 3: Use the formula. yetanx=tanxsec2xetanxdx+Cy e^{\tan x} = \int \tan x\sec^2 x \, e^{\tan x} dx + C Let t=tanx    dt=sec2xdxt = \tan x \implies dt = \sec^2 x \, dx Then the integral becomes tetdt\int t e^t \, dt By integration by parts, tetdt=tetet\int t e^t \, dt = te^t - e^t Therefore, yetanx=etanx(tanx1)+Cy e^{\tan x} = e^{\tan x}(\tan x - 1) + C

Step 4: Apply the initial condition y(π/4)=0y(\pi/4)=0. At x=π/4x=\pi/4, we have tan(π/4)=1\tan(\pi/4)=1. So, 0=e1(11)+C    C=00 = e^1(1-1) + C \implies C = 0

Step 5: Hence, yetanx=etanx(tanx1)y e^{\tan x} = e^{\tan x}(\tan x - 1) y=tanx1y = \tan x - 1

Answer: y=tanx1y = \tan x - 1

JEE Main Standard

Example 17: Bernoulli's Equation

Solve: xdydx+y=x3y6x \frac{dy}{dx} + y = x^3 y^6.

Solution: Step 1: Divide by xx: dydx+1xy=x2y6\frac{dy}{dx} + \frac{1}{x}y = x^2 y^6 This is a Bernoulli equation of the form dydx+Py=Qyn,n=6\frac{dy}{dx} + Py = Qy^n, \quad n=6

Step 2: Divide by y6y^6: y6dydx+1xy5=x2y^{-6}\frac{dy}{dx} + \frac{1}{x}y^{-5} = x^2 Now put v=y5v = y^{-5} Then dvdx=5y6dydx    y6dydx=15dvdx\frac{dv}{dx} = -5y^{-6}\frac{dy}{dx} \implies y^{-6}\frac{dy}{dx} = -\frac{1}{5}\frac{dv}{dx}

Step 3: Substitute. 15dvdx+1xv=x2-\frac{1}{5}\frac{dv}{dx} + \frac{1}{x}v = x^2 Multiply by 5-5: dvdx5xv=5x2\frac{dv}{dx} - \frac{5}{x}v = -5x^2 This is linear in vv.

Step 4: Find the Integrating Factor. I.F.=e5xdx=e5lnx=x5\text{I.F.} = e^{\int -\frac{5}{x} \, dx} = e^{-5\ln|x|} = x^{-5}

Step 5: Apply the formula. vx5=(5x2)(x5)dx+C=5x3dx+Cv x^{-5} = \int (-5x^2)(x^{-5}) \, dx + C = \int -5x^{-3} \, dx + C vx5=52x2+Cv x^{-5} = \frac{5}{2}x^{-2} + C

Step 6: Replace v=y5v = y^{-5}. y5x5=52x2+Cy^{-5}x^{-5} = \frac{5}{2x^2} + C That is, 1x5y5=52x2+C\frac{1}{x^5 y^5} = \frac{5}{2x^2} + C

Answer: 1x5y5=52x2+C\frac{1}{x^5 y^5} = \frac{5}{2x^2} + C

Example 18: Integration Factor Trick

Solve: (x2+1)dydx+2xy=x2+4(x^2+1)\frac{dy}{dx} + 2xy = \sqrt{x^2+4}.

Solution: Step 1: Observe the left-hand side carefully. Using the product rule, ddx((x2+1)y)=(x2+1)dydx+2xy\frac{d}{dx}\big((x^2+1)y\big) = (x^2+1)\frac{dy}{dx} + 2xy So the equation becomes ddx((x2+1)y)=x2+4\frac{d}{dx}\big((x^2+1)y\big) = \sqrt{x^2+4}

Step 2: Integrate both sides. (x2+1)y=x2+4dx+C(x^2+1)y = \int \sqrt{x^2+4} \, dx + C

Step 3: Use the standard integral formula x2+a2dx=x2x2+a2+a22lnx+x2+a2+C\int \sqrt{x^2+a^2} \, dx = \frac{x}{2}\sqrt{x^2+a^2} + \frac{a^2}{2}\ln|x+\sqrt{x^2+a^2}| + C With a=2a=2, we get (x2+1)y=x2x2+4+2lnx+x2+4+C(x^2+1)y = \frac{x}{2}\sqrt{x^2+4} + 2\ln|x+\sqrt{x^2+4}| + C

Answer: (x2+1)y=x2x2+4+2lnx+x2+4+C(x^2+1)y = \frac{x}{2}\sqrt{x^2+4} + 2\ln|x+\sqrt{x^2+4}| + C

Example 19: Variable Separable with Modulus

Solve: dydx=x\frac{dy}{dx} = |x|, given y(0)=1y(0) = 1.

Solution: Step 1: Write in separable form. dy=xdxdy = |x| \, dx

Step 2: Integrate. y=xdx+Cy = \int |x| \, dx + C We know xdx=xx2\int |x| \, dx = \frac{x|x|}{2} Hence, y=xx2+Cy = \frac{x|x|}{2} + C

Step 3: Apply the condition y(0)=1y(0)=1. 1=0+C    C=11 = 0 + C \implies C = 1

Step 4: Therefore, y=xx2+1y = \frac{x|x|}{2} + 1

Answer: y=xx2+1y = \frac{x|x|}{2} + 1

Example 20: Homogeneous Form

Solve: xdyydx=x2+y2dxx \, dy - y \, dx = \sqrt{x^2+y^2} \, dx.

Solution: Step 1: Rearrange to get dydx\frac{dy}{dx}. xdy=(y+x2+y2)dxx \, dy = (y + \sqrt{x^2+y^2}) \, dx dydx=y+x2+y2x=yx+1+(yx)2\frac{dy}{dx} = \frac{y + \sqrt{x^2+y^2}}{x} = \frac{y}{x} + \sqrt{1+\left(\frac{y}{x}\right)^2} This is homogeneous.

Step 2: Put y=vx    dydx=v+xdvdxy = vx \implies \frac{dy}{dx} = v + x\frac{dv}{dx} Then, v+xdvdx=v+1+v2v + x\frac{dv}{dx} = v + \sqrt{1+v^2}

Step 3: Separate variables. xdvdx=1+v2x\frac{dv}{dx} = \sqrt{1+v^2} dv1+v2=dxx\frac{dv}{\sqrt{1+v^2}} = \frac{dx}{x}

Step 4: Integrate. lnv+1+v2=lnx+lnC\ln|v+\sqrt{1+v^2}| = \ln|x| + \ln|C| v+1+v2=Cxv+\sqrt{1+v^2} = Cx

Step 5: Replace v=y/xv = y/x. yx+1+(yx)2=Cx\frac{y}{x} + \sqrt{1+\left(\frac{y}{x}\right)^2} = Cx Multiply by xx: y+x2+y2=Cx2y + \sqrt{x^2+y^2} = Cx^2

Answer: y+x2+y2=Cx2y + \sqrt{x^2+y^2} = Cx^2

Example 21: Substitution with x+yx+y

Solve: dydx=sin(x+y)+cos(x+y)\frac{dy}{dx} = \sin(x+y) + \cos(x+y).

Solution: Step 1: Use the substitution v=x+yv = x+y Then, dvdx=1+dydx    dydx=dvdx1\frac{dv}{dx} = 1 + \frac{dy}{dx} \implies \frac{dy}{dx} = \frac{dv}{dx} - 1

Step 2: Substitute. dvdx1=sinv+cosv\frac{dv}{dx} - 1 = \sin v + \cos v dvdx=1+sinv+cosv\frac{dv}{dx} = 1 + \sin v + \cos v

Step 3: Separate variables. dv1+sinv+cosv=dx\frac{dv}{1+\sin v + \cos v} = dx

Step 4: Simplify the denominator using the half-angle substitution. Let t=tanv2t = \tan\frac{v}{2} Then, sinv=2t1+t2,cosv=1t21+t2,dv=2dt1+t2\sin v = \frac{2t}{1+t^2}, \qquad \cos v = \frac{1-t^2}{1+t^2}, \qquad dv = \frac{2dt}{1+t^2} Substitute into the integral: 2dt1+t21+2t1+t2+1t21+t2=dx\int \frac{\frac{2dt}{1+t^2}}{1 + \frac{2t}{1+t^2} + \frac{1-t^2}{1+t^2}} = \int dx The denominator simplifies to 2+2t1+t2\frac{2+2t}{1+t^2} So the left side becomes 2dt2+2t=dt1+t\int \frac{2dt}{2+2t} = \int \frac{dt}{1+t} Thus, ln1+t=x+C\ln|1+t| = x + C

Step 5: Replace tt and then vv. ln1+tanv2=x+C\ln\left|1+\tan\frac{v}{2}\right| = x + C ln1+tanx+y2=x+C\ln\left|1+\tan\frac{x+y}{2}\right| = x + C

Answer: ln1+tan(x+y2)=x+C\ln\left|1+\tan\left(\frac{x+y}{2}\right)\right| = x + C

Example 22: Linear DE with Logarithms

Solve: xlnxdydx+y=2xx \ln x \frac{dy}{dx} + y = \frac{2}{x}.

Solution: Step 1: Divide through by xlnxx\ln x. dydx+1xlnxy=2x2lnx\frac{dy}{dx} + \frac{1}{x\ln x}y = \frac{2}{x^2 \ln x}

Step 2: Find the Integrating Factor. I.F.=e1xlnxdx\text{I.F.} = e^{\int \frac{1}{x\ln x} \, dx} Let t=lnx    dt=1xdxt = \ln x \implies dt = \frac{1}{x}dx Then, 1xlnxdx=1tdt=ln(lnx)\int \frac{1}{x\ln x}dx = \int \frac{1}{t}dt = \ln(\ln x) Hence, I.F.=eln(lnx)=lnx\text{I.F.} = e^{\ln(\ln x)} = \ln x

Step 3: Apply the formula. ylnx=2x2lnx(lnx)dx+C=2x2dx+Cy\ln x = \int \frac{2}{x^2\ln x}(\ln x) \, dx + C = \int \frac{2}{x^2} \, dx + C

Step 4: Integrate. ylnx=2x+Cy\ln x = -\frac{2}{x} + C Rearranging, ylnx+2x=Cy\ln x + \frac{2}{x} = C

Answer: ylnx+2x=Cy\ln x + \frac{2}{x} = C

Example 23: Differential Equation from Given Slope

Find the curve passing through (1,1)(1, 1) given that the slope of the tangent at any point (x,y)(x, y) is yxcos2(yx)\frac{y}{x} - \cos^2\left(\frac{y}{x}\right).

Solution: Step 1: Write the differential equation. dydx=yxcos2(yx)\frac{dy}{dx} = \frac{y}{x} - \cos^2\left(\frac{y}{x}\right) This is homogeneous.

Step 2: Put y=vx    dydx=v+xdvdxy = vx \implies \frac{dy}{dx} = v + x\frac{dv}{dx} Substitute: v+xdvdx=vcos2vv + x\frac{dv}{dx} = v - \cos^2 v

Step 3: Simplify. xdvdx=cos2vx\frac{dv}{dx} = -\cos^2 v sec2vdv=dxx\sec^2 v \, dv = -\frac{dx}{x}

Step 4: Integrate. tanv=lnx+C\tan v = -\ln|x| + C Replace v=y/xv = y/x: tan(yx)=lnx+C\tan\left(\frac{y}{x}\right) = -\ln|x| + C

Step 5: Apply the condition that the curve passes through (1,1)(1,1). tan(11)=ln1+C\tan\left(\frac{1}{1}\right) = -\ln 1 + C tan1=C\tan 1 = C

Step 6: Therefore, tan(yx)+lnx=tan1\tan\left(\frac{y}{x}\right) + \ln|x| = \tan 1

Answer: tan(yx)+lnx=tan1\tan\left(\frac{y}{x}\right) + \ln|x| = \tan 1

Example 24: Application in Geometry

The y-intercept of the tangent at any point P(x,y)P(x,y) on a curve is proportional to the square of the y-coordinate of PP. Form the differential equation.

Solution: Step 1: Equation of tangent at (x,y)(x,y) is Yy=dydx(Xx)Y - y = \frac{dy}{dx}(X - x)

Step 2: To find the y-intercept, put X=0X=0. Then, Yy=xdydxY - y = -x\frac{dy}{dx} So the y-intercept is Y=yxdydxY = y - x\frac{dy}{dx}

Step 3: The problem states that this y-intercept is proportional to y2y^2. So, yxdydx=ky2y - x\frac{dy}{dx} = ky^2 for some constant of proportionality kk.

Step 4: Rearrange if desired. xdydxy+ky2=0x\frac{dy}{dx} - y + ky^2 = 0

Answer: xdydxy+ky2=0x\frac{dy}{dx} - y + ky^2 = 0

Example 25: Clever Transformation

Solve: dydx=y3e2x+y2\frac{dy}{dx} = \frac{y^3}{e^{2x} + y^2}.

Solution: Step 1: Rewrite the equation in a form suitable for substitution. Take reciprocal carefully by writing dxdy=e2x+y2y3=e2xy3+1y\frac{dx}{dy} = \frac{e^{2x} + y^2}{y^3} = \frac{e^{2x}}{y^3} + \frac{1}{y} This is not linear in xx, but a substitution involving e2xe^{-2x} will help.

Step 2: Rearrange: dxdy1y=e2xy3\frac{dx}{dy} - \frac{1}{y} = \frac{e^{2x}}{y^3} Multiply both sides by e2xe^{-2x}: e2xdxdy1ye2x=y3e^{-2x}\frac{dx}{dy} - \frac{1}{y}e^{-2x} = y^{-3}

Step 3: Put v=e2xv = e^{-2x} Then, dvdy=2e2xdxdy=2vdxdy\frac{dv}{dy} = -2e^{-2x}\frac{dx}{dy} = -2v\frac{dx}{dy} So, e2xdxdy=12dvdye^{-2x}\frac{dx}{dy} = -\frac{1}{2}\frac{dv}{dy}

Step 4: Substitute into the transformed equation. 12dvdy1yv=y3-\frac{1}{2}\frac{dv}{dy} - \frac{1}{y}v = y^{-3} Multiply by 2-2: dvdy+2yv=2y3\frac{dv}{dy} + \frac{2}{y}v = -2y^{-3} This is linear in vv.

Step 5: Find the Integrating Factor. I.F.=e2ydy=y2\text{I.F.} = e^{\int \frac{2}{y} \, dy} = y^2

Step 6: Apply the formula. vy2=(2y3)y2dy+C=2y1dy+Cvy^2 = \int (-2y^{-3})y^2 \, dy + C = \int -2y^{-1} \, dy + C vy2=2lny+Cvy^2 = -2\ln|y| + C

Step 7: Replace v=e2xv = e^{-2x}. y2e2x=C2lnyy^2 e^{-2x} = C - 2\ln|y| Rearranging, y2e2x+2lny=Cy^2 e^{-2x} + 2\ln|y| = C

Answer: y2e2x+2lny=Cy^2 e^{-2x} + 2\ln|y| = C

Example 26: Separable with Advanced Integration

Solve: dydx=sinx+xcosxylny\frac{dy}{dx} = \frac{\sin x + x\cos x}{y\ln y}.

Solution: Step 1: Separate variables. ylnydy=(sinx+xcosx)dxy\ln y \, dy = (\sin x + x\cos x) \, dx

Step 2: Integrate the left side by parts. Let u=lny,dv=ydyu = \ln y, \qquad dv = y \, dy Then, du=1ydy,v=y22du = \frac{1}{y}dy, \qquad v = \frac{y^2}{2} So, ylnydy=y22lnyy221ydy\int y\ln y \, dy = \frac{y^2}{2}\ln y - \int \frac{y^2}{2}\cdot \frac{1}{y}dy =y22lny12ydy= \frac{y^2}{2}\ln y - \frac{1}{2}\int y \, dy =y22lnyy24= \frac{y^2}{2}\ln y - \frac{y^2}{4}

Step 3: Integrate the right side. Notice that ddx(xsinx)=sinx+xcosx\frac{d}{dx}(x\sin x) = \sin x + x\cos x Hence, (sinx+xcosx)dx=xsinx+C\int (\sin x + x\cos x)dx = x\sin x + C

Step 4: Combine the results. y22lnyy24=xsinx+C\frac{y^2}{2}\ln y - \frac{y^2}{4} = x\sin x + C

Answer: y22lnyy24=xsinx+C\frac{y^2}{2}\ln y - \frac{y^2}{4} = x\sin x + C

Example 27: Homogeneous with Specific Boundary

Solve xdyydx=x2+y2dxx \, dy - y \, dx = \sqrt{x^2+y^2} \, dx, given y(1)=0y(1) = 0.

Solution: Step 1: From Example 20, the general solution is y+x2+y2=Cx2y + \sqrt{x^2+y^2} = Cx^2

Step 2: Apply the boundary condition y(1)=0y(1)=0. Substitute x=1x=1, y=0y=0: 0+12+02=C(1)20 + \sqrt{1^2+0^2} = C(1)^2 1=C1 = C

Step 3: Therefore, the particular solution is y+x2+y2=x2y + \sqrt{x^2+y^2} = x^2

Answer: y+x2+y2=x2y + \sqrt{x^2+y^2} = x^2

Example 28: Form dxdy+Px=Q\frac{dx}{dy} + Px = Q

Solve: (1+y2)dx=(tan1yx)dy(1+y^2)dx = (\tan^{-1}y - x)dy.

Solution: Step 1: Rearrange into linear form in xx: dxdy=tan1yx1+y2\frac{dx}{dy} = \frac{\tan^{-1}y - x}{1+y^2} dxdy+11+y2x=tan1y1+y2\frac{dx}{dy} + \frac{1}{1+y^2}x = \frac{\tan^{-1}y}{1+y^2} Thus, P1=11+y2,Q1=tan1y1+y2P_1 = \frac{1}{1+y^2}, \qquad Q_1 = \frac{\tan^{-1}y}{1+y^2}

Step 2: Find the Integrating Factor. I.F.=e11+y2dy=etan1y\text{I.F.} = e^{\int \frac{1}{1+y^2} \, dy} = e^{\tan^{-1}y}

Step 3: Apply the linear formula. xetan1y=tan1y1+y2etan1ydy+Cx e^{\tan^{-1}y} = \int \frac{\tan^{-1}y}{1+y^2} e^{\tan^{-1}y}dy + C Let t=tan1y    dt=11+y2dyt = \tan^{-1}y \implies dt = \frac{1}{1+y^2}dy Then the integral becomes tetdt\int t e^t \, dt By integration by parts, tetdt=tetet\int t e^t \, dt = te^t - e^t So, xetan1y=etan1y(tan1y1)+Cx e^{\tan^{-1}y} = e^{\tan^{-1}y}(\tan^{-1}y - 1) + C

Step 4: Divide by etan1ye^{\tan^{-1}y}. x=tan1y1+Cetan1yx = \tan^{-1}y - 1 + Ce^{-\tan^{-1}y}

Answer: x=tan1y1+Cetan1yx = \tan^{-1}y - 1 + Ce^{-\tan^{-1}y}

Example 29: Inspecting Exact Differentials

Solve: ydxxdy+3x2y2ex3dx=0y \, dx - x \, dy + 3x^2 y^2 e^{x^3} \, dx = 0.

Solution: Step 1: Divide the whole equation by y2y^2: ydxxdyy2+3x2ex3dx=0\frac{y \, dx - x \, dy}{y^2} + 3x^2 e^{x^3} \, dx = 0

Step 2: Recognize exact differentials. We know d(xy)=ydxxdyy2d\left(\frac{x}{y}\right) = \frac{y \, dx - x \, dy}{y^2} Also, d(ex3)=3x2ex3dxd(e^{x^3}) = 3x^2 e^{x^3} \, dx

Step 3: Therefore the equation becomes d(xy)+d(ex3)=0d\left(\frac{x}{y}\right) + d(e^{x^3}) = 0

Step 4: Integrate directly. xy+ex3=C\frac{x}{y} + e^{x^3} = C

Answer: xy+ex3=C\frac{x}{y} + e^{x^3} = C