Skip to main content

Differential Equations MCQ: Solution of x (d y)/(d x)+y-x+x y cot x=0 (x ≠ 0) is

JEE · Mathematics · Differential Equations

1 Easy +4 | -1 Application
Solution of xdydx+y−x+xycot⁡x=0   (x≠0)x \frac{d y}{d x}+y-x+x y \cot x=0 \,\,\,(x \neq 0) is
View answer and explanation
Correct option: A
xy=csin⁡x+1−xcot⁡xx y=\frac{c}{\sin x}+1-x \cot x
Option A (xy=csin⁡x+1−xcot⁡xx y=\frac{{c}}{{\sin x}}+1-x \cot x) is correct because it represents the general solution of the given differential equation after finding the integrating factor and integrating.
Solution approach
  1. Correct Answer + Core Reason: xy=csin⁡x+1−xcot⁡xx y=\frac{{c}}{{\sin x}}+1-x \cot x. The solution is obtained by solving the linear differential equation using integrating factor.

    Step-by-Step Solution:

    Step 1: Rewrite the given differential equation in the standard form of a linear differential equation.
    xdydx+y−x+xycot⁡x=0x \frac{{d y}}{{d x}}+y-x+x y \cot x=0
    xdydx+(1+xcot⁡x)y=xx \frac{{d y}}{{d x}}+(1+x \cot x) y=x
    dydx\frac{{d y}}{{d x}}+(1+xcot⁡x)x\frac{{(1+x \cot x)}}{{x}} y=1\n\n∗∗Step2:∗∗Identify\n\n**Step 2:** IdentifyPandandQinthelineardifferentialequationin the linear differential equationdydx\frac{{d y}}{{d x}}+P y=Q.\nP=1+xcot⁡xx,Q=1\n\n∗∗Step3:∗∗Calculatetheintegratingfactor(I.F.).\nI.F.=.\nP = \frac{{1+x \cot x}}{{x}}, Q = 1\n\n**Step 3:** Calculate the integrating factor (I.F.).\nI.F. =e∫ P d x = e^{∫ (1x\frac{{1}}{{x}} + \cot x) d x} = e^{\log (x \sin x)} = x \sin x\n\n∗∗Step4:∗∗Writethegeneralsolutionofthelineardifferentialequation.\ny(I.F.)=\n\n**Step 4:** Write the general solution of the linear differential equation.\ny(I.F.) =∫ Q (I.F.) d x + c\ny(xsin⁡x)=\ny(x \sin x) =∫ 1 (x \sin x) d x + c\n\n∗∗Step5:∗∗Evaluatetheintegral\n\n**Step 5:** Evaluate the integral∫ x \sin x d x.\nUsingintegrationbyparts:.\nUsing integration by parts:∫ u dv = uv - ∫ v du,let, letu=xandanddv = \sin x dx.\nThen.\nThendu = dxandandv = -\cos x.\nSo,.\nSo,∫ x \sin x d x = -x \cos x - ∫ -\cos x dx = -x \cos x + \sin x\n\n∗∗Step6:∗∗Substitutetheintegralbackintothegeneralsolution.\ny(xsin⁡x)=−xcos⁡x+sin⁡x+c\n\n∗∗Step7:∗∗Divideby\n\n**Step 6:** Substitute the integral back into the general solution.\ny(x \sin x) = -x \cos x + \sin x + c\n\n**Step 7:** Divide by\sin xtosolveforto solve forxy.\n.\nx y = -x cos⁡xsin⁡x\frac{{\cos x}}{{\sin x}} + 1 + csin⁡x\frac{{c}}{{\sin x}}\n\nx y = -x \cot x + 1 + csin⁡x\frac{{c}}{{\sin x}}\n\nx y = csin⁡x\frac{{c}}{{\sin x}} + 1 - x \cot x\n\n∗∗Whyotheroptionsarewrong:∗∗\n−∗∗OptionB:∗∗Thisoptionisincorrectbecauseitdoesnothavethecorrectformofthegeneralsolutionafterintegratingandsimplifying.\n−∗∗OptionC:∗∗Thisoptionisincorrectbecauseitdoesnothavethecorrectformofthegeneralsolutionafterintegratingandsimplifying.\n−∗∗OptionD:∗∗Thisoptionisincorrectbecauseitdoesnothavethecorrectformofthegeneralsolutionafterintegratingandsimplifying.\n\n∗∗KeyConcepts:∗∗\n−LinearDifferentialEquations\n−IntegratingFactor\n−IntegrationbyParts\n\n∗∗MemoryAids:∗∗\n−I.F.=\n\n**Why other options are wrong:**\n- **Option B:** This option is incorrect because it does not have the correct form of the general solution after integrating and simplifying.\n- **Option C:** This option is incorrect because it does not have the correct form of the general solution after integrating and simplifying.\n- **Option D:** This option is incorrect because it does not have the correct form of the general solution after integrating and simplifying.\n\n**Key Concepts:**\n- Linear Differential Equations\n- Integrating Factor\n- Integration by Parts\n\n**Memory Aids:**\n- I.F. =e∫ P d xforalineardifferentialequationoftheformfor a linear differential equation of the formdydx\frac{{d y}}{{d x}}+P y=Q\n\n∗∗QuickTips:∗∗\n−Alwaysrewritethedifferentialequationinthestandardlinearformbeforefindingtheintegratingfactor.\n−Remembertouseintegrationbypartswhennecessarytoevaluateintegrals.\n\n**Quick Tips:**\n- Always rewrite the differential equation in the standard linear form before finding the integrating factor.\n- Remember to use integration by parts when necessary to evaluate integrals.

More Questions from Differential Equations

Practice all chapter MCQs →
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.