Skip to main content
Back to Differential Equations
JEE Main 2024
Differential Equations
Differential Equations
Hard

Question

Let y = y(x) be a solution curve of the differential equation (y+1)tan2xdx+tanxdy+ydx=0(y + 1){\tan ^2}x\,dx + \tan x\,dy + y\,dx = 0, x(0,π2)x \in \left( {0,{\pi \over 2}} \right). If limx0+xy(x)=1\mathop {\lim }\limits_{x \to 0 + } xy(x) = 1, then the value of y(π4)y\left( {{\pi \over 4}} \right) is :

Options

Solution

Key Concepts and Formulas

  • First-Order Linear Differential Equation: A differential equation of the form dydx+P(x)y=Q(x)\frac{dy}{dx} + P(x)y = Q(x), where P(x)P(x) and Q(x)Q(x) are functions of xx.
  • Integrating Factor (IF): For a first-order linear differential equation, the integrating factor is eP(x)dxe^{\int P(x) dx}. Multiplying the differential equation by the IF allows us to integrate both sides.
  • Limit Definition: Understanding how limits can define constants of integration in differential equation solutions.

Step-by-Step Solution

Step 1: Rewrite the given differential equation.

We are given the differential equation: (y+1)tan2xdx+tanxdy+ydx=0(y + 1){\tan ^2}x\,dx + \tan x\,dy + y\,dx = 0 We want to rearrange it into a standard form that allows us to identify P(x)P(x) and Q(x)Q(x). First, we rewrite the equation: tanxdy=[(y+1)tan2x+y]dx\tan x \, dy = -[(y+1)\tan^2 x + y] \, dx dydx=(y+1)tan2x+ytanx=ytan2x+tan2x+ytanx=ytanxtanxytanx\frac{dy}{dx} = -\frac{(y+1)\tan^2 x + y}{\tan x} = -\frac{y\tan^2 x + \tan^2 x + y}{\tan x} = -y\tan x - \tan x - \frac{y}{\tan x} dydx+ytanx+ycotx=tanx\frac{dy}{dx} + y\tan x + y\cot x = -\tan x dydx+y(tanx+cotx)=tanx\frac{dy}{dx} + y(\tan x + \cot x) = -\tan x

Step 2: Simplify the coefficient of y.

Notice that tanx+cotx=sinxcosx+cosxsinx=sin2x+cos2xsinxcosx=1sinxcosx=22sinxcosx=2sin2x=2csc2x\tan x + \cot x = \frac{\sin x}{\cos x} + \frac{\cos x}{\sin x} = \frac{\sin^2 x + \cos^2 x}{\sin x \cos x} = \frac{1}{\sin x \cos x} = \frac{2}{2\sin x \cos x} = \frac{2}{\sin 2x} = 2\csc 2x. Therefore, our differential equation becomes: dydx+2ycsc2x=tanx\frac{dy}{dx} + 2y\csc 2x = -\tan x

Step 3: Calculate the Integrating Factor (IF).

The integrating factor is given by IF=eP(x)dxIF = e^{\int P(x) dx}, where P(x)=2csc2xP(x) = 2\csc 2x. IF=e2csc2xdx=e2sin2xdxIF = e^{\int 2\csc 2x \, dx} = e^{\int \frac{2}{\sin 2x} \, dx} Let u=2xu = 2x, then du=2dxdu = 2dx, so IF=ecscudu=elntanu2=elntanx=tanxIF = e^{\int \csc u \, du} = e^{\ln |\tan \frac{u}{2}|} = e^{\ln |\tan x|} = |\tan x| Since x(0,π2)x \in (0, \frac{\pi}{2}), tanx>0\tan x > 0, so IF=tanxIF = \tan x.

Step 4: Multiply the differential equation by the Integrating Factor.

Multiplying the differential equation by tanx\tan x, we get: tanxdydx+2ycsc2xtanx=tan2x\tan x \frac{dy}{dx} + 2y\csc 2x \tan x = -\tan^2 x tanxdydx+2y1sin2xsinxcosx=tan2x\tan x \frac{dy}{dx} + 2y \frac{1}{\sin 2x} \frac{\sin x}{\cos x} = -\tan^2 x tanxdydx+2y12sinxcosxsinxcosx=tan2x\tan x \frac{dy}{dx} + 2y \frac{1}{2\sin x \cos x} \frac{\sin x}{\cos x} = -\tan^2 x tanxdydx+y1cos2x=tan2x\tan x \frac{dy}{dx} + y \frac{1}{\cos^2 x} = -\tan^2 x tanxdydx+ysec2x=tan2x\tan x \frac{dy}{dx} + y \sec^2 x = -\tan^2 x

Step 5: Recognize the left-hand side as a derivative.

Notice that ddx(ytanx)=tanxdydx+ysec2x\frac{d}{dx}(y \tan x) = \tan x \frac{dy}{dx} + y \sec^2 x. Therefore, we can rewrite the equation as: ddx(ytanx)=tan2x\frac{d}{dx}(y \tan x) = -\tan^2 x

Step 6: Integrate both sides with respect to x.

Integrating both sides with respect to xx, we get: ddx(ytanx)dx=tan2xdx\int \frac{d}{dx}(y \tan x) \, dx = \int -\tan^2 x \, dx ytanx=tan2xdx=(sec2x1)dx=sec2xdx+1dx=tanx+x+Cy \tan x = -\int \tan^2 x \, dx = -\int (\sec^2 x - 1) \, dx = -\int \sec^2 x \, dx + \int 1 \, dx = -\tan x + x + C ytanx=tanx+x+Cy \tan x = -\tan x + x + C

Step 7: Solve for y(x).

Dividing by tanx\tan x, we get: y(x)=1+xcotx+Ccotxy(x) = -1 + x \cot x + C \cot x

Step 8: Apply the limit condition to find C.

We are given that limx0+xy(x)=1\lim_{x \to 0^+} xy(x) = 1. Substituting our expression for y(x)y(x): limx0+x(1+xcotx+Ccotx)=1\lim_{x \to 0^+} x(-1 + x \cot x + C \cot x) = 1 limx0+(x+x2cotx+Cxcotx)=1\lim_{x \to 0^+} (-x + x^2 \cot x + Cx \cot x) = 1 We know that limx0xcotx=limx0xcosxsinx=limx0cosxxsinx=11=1\lim_{x \to 0} x \cot x = \lim_{x \to 0} x \frac{\cos x}{\sin x} = \lim_{x \to 0} \cos x \cdot \frac{x}{\sin x} = 1 \cdot 1 = 1. Also, limx0x2cotx=limx0xxcotx=01=0\lim_{x \to 0} x^2 \cot x = \lim_{x \to 0} x \cdot x \cot x = 0 \cdot 1 = 0. Therefore, limx0+(x+x2cotx+Cxcotx)=0+0+C(1)=C\lim_{x \to 0^+} (-x + x^2 \cot x + Cx \cot x) = -0 + 0 + C(1) = C So, C=1C = 1.

Step 9: Write the particular solution.

The particular solution is: y(x)=1+xcotx+cotxy(x) = -1 + x \cot x + \cot x

Step 10: Evaluate y(π/4).

We want to find y(π4)y(\frac{\pi}{4}). y(π4)=1+π4cot(π4)+cot(π4)=1+π4(1)+1=π41+1=π41y\left(\frac{\pi}{4}\right) = -1 + \frac{\pi}{4} \cot\left(\frac{\pi}{4}\right) + \cot\left(\frac{\pi}{4}\right) = -1 + \frac{\pi}{4}(1) + 1 = \frac{\pi}{4} - 1 + 1 = \frac{\pi}{4} -1

Common Mistakes & Tips

  • Trigonometric Identities: Make sure to correctly apply trigonometric identities, especially when simplifying the coefficient of yy and when integrating.
  • Integrating Factor: Double-check the calculation of the integrating factor, as errors here propagate through the rest of the solution.
  • Limit Evaluation: Be careful when evaluating limits involving trigonometric functions. Recall that limx0sinxx=1\lim_{x \to 0} \frac{\sin x}{x} = 1 and limx0xcotx=1\lim_{x \to 0} x \cot x = 1.

Summary

We solved the given differential equation by first rewriting it in the standard form of a first-order linear differential equation. We then calculated the integrating factor, multiplied the equation by it, and integrated both sides. Using the given limit condition, we found the value of the integration constant. Finally, we evaluated the particular solution at x=π4x = \frac{\pi}{4} to get the answer π41\frac{\pi}{4}-1.

Final Answer The final answer is π41\boxed{\frac{\pi}{4} - 1}, which corresponds to option (B).

Practice More Differential Equations Questions

View All Questions