Skip to main content

Differential Equations MCQ: General solution of the equation (x cos x) (d…

JEE · Mathematics · Differential Equations

1 Medium +4 | -1 Application
General solution of the equation (xcos⁡x)dydx+y(xsin⁡x+cos⁡x)=1(x \cos x) \frac{d y}{d x}+y(x \sin x+\cos x)=1 is
View answer and explanation
Correct option: B
xysec⁡x=tan⁡x+cx y \sec x=\tan x+c
Option B (xysec⁡x=tan⁡x+cx y \sec x=\tan x+c) 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: xysec⁡x=tan⁡x+cx y \sec x=\tan x+c. 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.
    (xcos⁡x)dydx+y(xsin⁡x+cos⁡x)=1(x \cos x) \frac{{d y}}{{d x}}+y(x \sin x+\cos x)=1
    dydx\frac{{d y}}{{d x}}+y (xsin⁡x+cos⁡x)xcos⁡x\frac{{(x \sin x+\cos x)}}{{x \cos x}}=1xcos⁡x\frac{{1}}{{x \cos x}}\ndydx+(tan⁡x+1x)y=1xsec⁡x\n\frac{{d y}}{{d x}}+\left(\tan x+\frac{{1}}{{x}}\right) y=\frac{{1}}{{x}} \sec x

    Step 2: Identify PP and QQ in the linear differential equation dydx+Py=Q\frac{{d y}}{{d x}}+P y=Q.\nP = \tan x + 1x\frac{{1}}{{x}}, Q = 1x\frac{{1}}{{x}} \sec x\n\n∗∗Step3:∗∗Calculatetheintegratingfactor(I.F.).\nI.F.=\n\n**Step 3:** Calculate the integrating factor (I.F.).\nI.F. =e∫ P d x = e^{∫ (\tan x + 1x\frac{{1}}{{x}}) d x} = e^{\log (\sec x) + \log (x)} = e^{\log (x \sec x)} = x \sec 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(xsec⁡x)=\ny(x \sec x) =∫ 1x\frac{{1}}{{x}} \sec x (x \sec x) d x + c\ny(xsec⁡x)=\ny(x \sec x) =∫ \sec2 x d x + c\n\n∗∗Step5:∗∗Evaluatetheintegral\n\n**Step 5:** Evaluate the integral∫ \sec2 x d x.\n∫sec⁡2xdx=tan⁡x.\n\int \sec^2 x d x = \tan x

    Step 6: Substitute the integral back into the general solution.\ny(x \sec x) = \tan x + c

    Step 7: Simplify the solution.
    xysec⁡x=tan⁡x+cx y \sec x = \tan x + c

    Why other options are wrong:
    - Option A: This option is incorrect because it does not include the xx term in the I.F. multiplication with yy.
    - Option C: This option is incorrect because it does not include the sec⁡x\sec x term in the I.F. multiplication with xyxy.
    - Option D: This option is incorrect because it does not include the xx term in the I.F. multiplication with yy.

    Key Concepts:
    - Linear Differential Equations
    - Integrating Factor

    Memory Aids:
    - I.F. = e∫Pdxe^{\int P d x} for a linear differential equation of the form dydx+Py=Q\frac{{d y}}{{d x}}+P y=Q

    Quick Tips:
    - Always rewrite the differential equation in the standard linear form before finding the integrating factor.
    - Remember the integral of sec⁡2x\sec^2 x is tan⁡x\tan x.

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.