Skip to main content

Differential Equations MCQ: The solution of d y= cos x(2-y cosec x) d x where…

JEE · Mathematics · Differential Equations

1 Medium +4 | -1 Application
The solution of dy=cos⁡x(2−ycosec⁡x)dxd y=\cos x(2-y \operatorname{cosec} x) d x where y=2y=2 when x=π2x=\frac{\pi}{2} is
View answer and explanation
Correct option: A
y=sin⁡x+cosec⁡xy=\sin x+\operatorname{cosec} x
Option A (y=sin⁡x+cosec⁡xy=\sin x+\operatorname{cosec} x) is correct because it is the solution obtained by solving the given differential equation with the given initial condition.
Solution approach
  1. Correct Answer + Core Reason: y=sin⁡x+cosec⁡xy=\sin x+\operatorname{cosec} x. The solution is found by applying the integrating factor method and using the initial condition.

    Step-by-Step Solution:

    Step 1: Rewrite the given equation: dy=cos⁡x(2−ycosec⁡x)dxdy = \cos x (2 - y \operatorname{cosec} x) dx
    dydx=2cos⁡x−ycosec⁡x\frac{dy}{dx} = 2 \cos x - y \operatorname{cosec} x
    dydx+ycosec⁡x=2cos⁡x\frac{dy}{dx} + y \operatorname{cosec} x = 2 \cos x

    Step 2: Find the integrating factor (I.F.).
    I.F.=e∫cosec⁡xdx=e∫1sin⁡xdxI.F. = e^{\int \operatorname{cosec} x dx} = e^{\int \frac{1}{\sin x} dx}\nSince ∫cot⁡xdx=log⁡(sin⁡x)\int \cot x dx = \log(\sin x), we have ∫cosec⁡xdx=∫dxsin⁡x\int \operatorname{cosec} x dx = \int \frac{dx}{\sin x}. However, it's easier to use ∫cot⁡xdx\int \cot x dx after rewriting.\nInstead, we rewrite the equation as dydx+ycos⁡xsin⁡x=2cos⁡x\frac{dy}{dx}+y \frac{\cos x}{\sin x}=2 \cos x, so P(x)=cot⁡xP(x) = \cot x.
    I.F.=e∫cot⁡xdx=elog⁡(sin⁡x)=sin⁡xI.F. = e^{\int \cot x dx} = e^{\log(\sin x)} = \sin x

    Step 3: Multiply the differential equation by the integrating factor.
    sin⁡xdydx+ysin⁡xcosec⁡x=2cos⁡xsin⁡x\sin x \frac{dy}{dx} + y \sin x \operatorname{cosec} x = 2 \cos x \sin x
    sin⁡xdydx+y=2cos⁡xsin⁡x\sin x \frac{dy}{dx} + y = 2 \cos x \sin x

    Step 4: Recognize that the left side is the derivative of the product ysin⁡xy \sin x.
    ddx(ysin⁡x)=2cos⁡xsin⁡x\frac{d}{dx}(y \sin x) = 2 \cos x \sin x

    Step 5: Integrate both sides with respect to x.
    ∫ddx(ysin⁡x)dx=∫2cos⁡xsin⁡xdx\int \frac{d}{dx}(y \sin x) dx = \int 2 \cos x \sin x dx
    ysin⁡x=∫2cos⁡xsin⁡xdxy \sin x = \int 2 \cos x \sin x dx\nLet u=sin⁡xu = \sin x, then du=cos⁡xdxdu = \cos x dx
    ysin⁡x=∫2udu=u2+c=sin⁡2x+cy \sin x = \int 2 u du = u^2 + c = \sin^2 x + c

    Step 6: Solve for y.
    y=sin⁡x+ccosec⁡xy = \sin x + c \operatorname{cosec} x

    Step 7: Apply the initial condition y(π2)=2y(\frac{\pi}{2}) = 2.
    2=sin⁡(π2)+ccosec⁡(π2)2 = \sin(\frac{\pi}{2}) + c \operatorname{cosec}(\frac{\pi}{2})
    2=1+c(1)2 = 1 + c(1)
    c=1c = 1

    Step 8: Substitute c = 1 back into the equation.
    y=sin⁡x+cosec⁡xy = \sin x + \operatorname{cosec} x

    Why other options are wrong:
    - Option B: y=tan⁡x2+cot⁡x2y=\tan \frac{x}{2}+\cot \frac{x}{2} is incorrect because it does not satisfy the given differential equation and initial condition.
    - Option C: y=12sec⁡x2+2cos⁡x2y=\frac{1}{\sqrt{2}} \sec \frac{x}{2}+\sqrt{2} \cos \frac{x}{2} is also incorrect.
    - Option D: None of these is incorrect because option A is the correct solution.

    Key Concepts:
    - Linear Differential Equations
    - Integrating Factor
    - Initial Value Problem

    Memory Aids:
    - I.F. = e∫P(x)dxe^{\int P(x) dx}

    Quick Tips:
    - Remember trigonometric identities.
    - Always apply the initial condition to find the constant of integration.

More Questions from Differential Equations

Practice all chapter MCQs →
The numbers P,Q and R for which the function f(x)=Pe2x+Qex+Rxf\left( x \right) = P{e^{2x}} + Q{e^x} + Rx satisfies the conditions f(0)=−1, f1(log⁡2)=31f\left( 0 \right) = - 1,\,{f^1}\left( {\log 2} \right) = 31 and ∫0log⁡4[f(x)−Rx]dx=392\int_0^{\log 4} {\left[ {f\left( x \right) - Rx} \right]dx=\frac{{39}}{2}} are given by The degree and order respectively of the differential equation of all parabolas whose axis is xx-axis, are: If the area of the figure bounded by a curve, the xx-axis, and two ordinates, one of which is constant, the other variable is equal to the ratio of the cube of the variable ordinate to the variable abscissa, then the curve is Let y=y(x)y=y(x) be the solution of the differential equation (1+y2)etan⁡xdx+cos⁡2x(1+e2tan⁡x)dy=0\left(1+y^2\right) e^{\tan x} d x+\cos ^2 x\left(1+e^{2 \tan x}\right) d y=0, y(0)=1y(0)=1. Then y(π4)y\left(\frac{\pi}{4}\right) is equal to : Let ff be a differentiable function such that f′(x)=7−34f(x)x,  (x>0)f'\left( x \right) = 7 - \frac{3}{4}\frac{{f\left( x \right)}}{x},\,\,\left( {x > 0} \right) and f(1)≠4f\left( 1 \right) \ne 4. Then, lim⁡x→0+x f(1x)\lim\limits_{x \to {0^ + }} x\,f\left( {\frac{1}{x}} \right) Solution of (xycos⁡xy+sin⁡xy)dx+x2cos⁡xydy=0(x y \cos x y+\sin x y) d x+x^2 \cos x y d y=0 is
Type at least 2 characters or jump directly:

Save your learning progress

Sign in with a free account to save your practice answers and quiz results, then return to them when you revise.

Scan to install TopAll Pro

Point your Android or iPhone camera at this code to open TopAll Pro. Try 2 chapters and 25 AI credits free first.

Question image

Use + and − to zoom, arrow keys or drag to pan, Escape to close.