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

Question

Let the slope of the tangent to a curve y = f(x) at (x, y) be given by 2 tanx(cosxy)\tan x(\cos x - y). If the curve passes through the point (π4,0)\left( {{\pi \over 4},0} \right), then the value of 0π/2ydx\int\limits_0^{\pi /2} {y\,dx} is equal to :

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 (I.F.): For a first-order linear differential equation, the integrating factor is given by I.F.=eP(x)dxI.F. = e^{\int P(x) dx}.
  • Solution of First-Order Linear Differential Equation: The solution is given by y(I.F.)=Q(x)(I.F.)dx+Cy \cdot (I.F.) = \int Q(x) \cdot (I.F.) \, dx + C, where CC is the constant of integration.

Step-by-Step Solution

Step 1: Rewrite the given differential equation

We are given that the slope of the tangent is 2tanx(cosxy)2\tan x (\cos x - y). This means: dydx=2tanx(cosxy)\frac{dy}{dx} = 2\tan x (\cos x - y) We need to rearrange this into the standard form of a first-order linear differential equation. dydx=2tanxcosx2tanxy\frac{dy}{dx} = 2\tan x \cos x - 2\tan x \cdot y dydx=2sinx2tanxy\frac{dy}{dx} = 2\sin x - 2\tan x \cdot y dydx+2tanxy=2sinx\frac{dy}{dx} + 2\tan x \cdot y = 2\sin x This is now in the form dydx+P(x)y=Q(x)\frac{dy}{dx} + P(x)y = Q(x), where P(x)=2tanxP(x) = 2\tan x and Q(x)=2sinxQ(x) = 2\sin x.

Step 2: Calculate the Integrating Factor (I.F.)

The integrating factor is given by: I.F.=eP(x)dx=e2tanxdxI.F. = e^{\int P(x) \, dx} = e^{\int 2\tan x \, dx} I.F.=e2tanxdx=e2lnsecx=eln(sec2x)=sec2xI.F. = e^{2 \int \tan x \, dx} = e^{2 \ln |\sec x|} = e^{\ln (\sec^2 x)} = \sec^2 x So, the integrating factor is sec2x\sec^2 x.

Step 3: Find the general solution

The general solution is given by: y(I.F.)=Q(x)(I.F.)dx+Cy \cdot (I.F.) = \int Q(x) \cdot (I.F.) \, dx + C ysec2x=2sinxsec2xdx+Cy \cdot \sec^2 x = \int 2\sin x \cdot \sec^2 x \, dx + C ysec2x=2sinx1cos2xdx+Cy \sec^2 x = 2 \int \sin x \cdot \frac{1}{\cos^2 x} \, dx + C Let u=cosxu = \cos x, then du=sinxdxdu = -\sin x \, dx. ysec2x=21u2du+Cy \sec^2 x = 2 \int \frac{-1}{u^2} \, du + C ysec2x=2(1u)+Cy \sec^2 x = 2 \left( \frac{1}{u} \right) + C ysec2x=2cosx+Cy \sec^2 x = \frac{2}{\cos x} + C ysec2x=2secx+Cy \sec^2 x = 2 \sec x + C y=2cosx+Ccos2xy = 2\cos x + C\cos^2 x

Step 4: Apply the initial condition to find the particular solution

We are given that the curve passes through the point (π4,0)\left( \frac{\pi}{4}, 0 \right). Substituting these values into the general solution: 0=2cos(π4)+Ccos2(π4)0 = 2\cos\left( \frac{\pi}{4} \right) + C\cos^2\left( \frac{\pi}{4} \right) 0=2(12)+C(12)20 = 2\left( \frac{1}{\sqrt{2}} \right) + C\left( \frac{1}{\sqrt{2}} \right)^2 0=22+C(12)0 = \frac{2}{\sqrt{2}} + C\left( \frac{1}{2} \right) 22=C2-\frac{2}{\sqrt{2}} = \frac{C}{2} C=42=22C = -\frac{4}{\sqrt{2}} = -2\sqrt{2} Therefore, the particular solution is: y=2cosx22cos2xy = 2\cos x - 2\sqrt{2}\cos^2 x

Step 5: Evaluate the definite integral

We need to find the value of 0π/2ydx\int_0^{\pi/2} y \, dx. 0π/2ydx=0π/2(2cosx22cos2x)dx\int_0^{\pi/2} y \, dx = \int_0^{\pi/2} (2\cos x - 2\sqrt{2}\cos^2 x) \, dx 0π/2ydx=20π/2cosxdx220π/2cos2xdx\int_0^{\pi/2} y \, dx = 2\int_0^{\pi/2} \cos x \, dx - 2\sqrt{2} \int_0^{\pi/2} \cos^2 x \, dx We know that cosxdx=sinx\int \cos x \, dx = \sin x and cos2x=1+cos2x2\cos^2 x = \frac{1 + \cos 2x}{2}. 0π/2ydx=2[sinx]0π/2220π/21+cos2x2dx\int_0^{\pi/2} y \, dx = 2[\sin x]_0^{\pi/2} - 2\sqrt{2} \int_0^{\pi/2} \frac{1 + \cos 2x}{2} \, dx 0π/2ydx=2(sin(π/2)sin(0))20π/2(1+cos2x)dx\int_0^{\pi/2} y \, dx = 2(\sin(\pi/2) - \sin(0)) - \sqrt{2} \int_0^{\pi/2} (1 + \cos 2x) \, dx 0π/2ydx=2(10)2[x+sin2x2]0π/2\int_0^{\pi/2} y \, dx = 2(1 - 0) - \sqrt{2} \left[ x + \frac{\sin 2x}{2} \right]_0^{\pi/2} 0π/2ydx=22[(π2+sinπ2)(0+sin02)]\int_0^{\pi/2} y \, dx = 2 - \sqrt{2} \left[ \left( \frac{\pi}{2} + \frac{\sin \pi}{2} \right) - \left( 0 + \frac{\sin 0}{2} \right) \right] 0π/2ydx=22[π2+000]\int_0^{\pi/2} y \, dx = 2 - \sqrt{2} \left[ \frac{\pi}{2} + 0 - 0 - 0 \right] 0π/2ydx=22π2=2π2\int_0^{\pi/2} y \, dx = 2 - \sqrt{2} \cdot \frac{\pi}{2} = 2 - \frac{\pi}{\sqrt{2}} (22)+π2(2 - \sqrt 2 ) + {\pi \over {\sqrt 2 }}

Common Mistakes & Tips

  • Sign Errors: Be extremely careful with signs, especially when integrating and substituting. A small sign error can lead to a completely wrong answer.
  • Integrating Factor: Double-check the calculation of the integrating factor. The exponent needs to be calculated correctly.
  • Trigonometric Identities: Knowing trigonometric identities is crucial for simplifying the integral.

Summary

We first recognized the given equation as a first-order linear differential equation. We found the integrating factor, then the general solution, and used the initial condition to find the particular solution. Finally, we evaluated the definite integral to get the desired value. The final answer is 2π22 - \frac{\pi}{\sqrt{2}}, which can be rewritten as (22)+π2(2 - \sqrt{2}) + \frac{\pi}{\sqrt{2}}.

Final Answer

The final answer is \boxed{(2 - \sqrt 2 ) + {\pi \over {\sqrt 2 }}}, which corresponds to option (A).

Practice More Differential Equations Questions

View All Questions