Skip to main content

Differential Equations MCQ: The solution of the differential equation x dydx +…

JEE · Mathematics · Differential Equations

1 Medium +4 | -1 Application
The solution of the differential equation xdydx+y=xcos⁡x+sin⁡xx\frac{{dy}}{{dx}} + y = x\cos x + \sin x, given that y=1y = 1 when x=π2x = \frac{\pi }{2}, is
View answer and explanation
Correct option: C
y=sin⁡xy = \sin x
Option C (y=sin⁡xy = \sin x) is correct because it satisfies the given differential equation and the initial condition y=1y = 1 when x=π2x = \frac{\pi }{2}.
Solution approach
  1. Correct Answer + Core Reason: y=sin⁡xy = \sin x. This solution satisfies the differential equation and the given initial condition.

    Step-by-Step Solution:
    Step 1: Rewrite the given differential equation: xdydx+y=xcos⁡x+sin⁡xx\frac{{dy}}{{dx}} + y = x\cos x + \sin x as dydx+yx=cos⁡x+sin⁡xx\frac{{dy}}{{dx}} + \frac{y}{x} = \cos x + \frac{{\sin x}}{x}

    Step 2: Identify the integrating factor (IF). The equation is in the form dydx+P(x)y=Q(x)\frac{{dy}}{{dx}} + P(x)y = Q(x), where P(x)=1xP(x) = \frac{1}{x}. The integrating factor is IF=e∫P(x)dx=e∫1xdx=elog⁡x=xIF = {e^{\int P(x)dx}} = {e^{\int \frac{1}{x}dx}} = {e^{\log x}} = x

    Step 3: Multiply the differential equation by the integrating factor:
    xdydx+y=xcos⁡x+sin⁡xx\frac{{dy}}{{dx}} + y = x\cos x + \sin x

    Step 4: Recognize that the left side is the derivative of xyxy:
    ddx(xy)=xcos⁡x+sin⁡x\frac{d}{{dx}}(xy) = x\cos x + \sin x

    Step 5: Integrate both sides with respect to xx:
    ∫ddx(xy)dx=∫(xcos⁡x+sin⁡x)dx\int {\frac{d}{{dx}}(xy)dx} = \int {(x\cos x + \sin x)dx}
    xy=∫xcos⁡xdx+∫sin⁡xdxxy = \int {x\cos xdx} + \int {\sin xdx}\nUsing integration by parts for ∫xcos⁡xdx\int {x\cos xdx}, let u=xu = x and dv=cos⁡xdxdv = \cos xdx, so du=dxdu = dx and v=sin⁡xv = \sin x.
    ∫xcos⁡xdx=xsin⁡x−∫sin⁡xdx=xsin⁡x+cos⁡x\int {x\cos xdx} = x\sin x - \int {\sin xdx} = x\sin x + \cos x\nTherefore, xy=xsin⁡x+cos⁡x−cos⁡x+C=xsin⁡x+Cxy = x\sin x + \cos x - \cos x + C = x\sin x + C

    Step 6: Solve for yy:\ny = \sin x + Cx\frac{C}{x}\n\n∗∗Step7:∗∗Applytheinitialcondition\n\n**Step 7:** Apply the initial conditiony = 1whenwhenx = π2\frac{π }{2}:\n:\n1 = \sin (π2\frac{π }{2}) + \frac{C}{{π2\frac{π }{2}}} = 1 + 2Cπ\frac{{2C}}{π }\n\n2Cπ\frac{{2C}}{π } = 0,so, soC = 0\n\n∗∗Step8:∗∗Thesolutionis\n\n**Step 8:** The solution isy = \sin x\n\n∗∗Whyotheroptionsarewrong:∗∗\n−∗∗OptionA(\n\n**Why other options are wrong:**\n- **Option A (y = \sin x - \cos x):∗∗Thisisincorrectbecauseitdoesnotsatisfythegivendifferentialequation.\n−∗∗OptionB():** This is incorrect because it does not satisfy the given differential equation.\n- **Option B (y = \cos x):∗∗Thisisincorrectbecauseitdoesnotsatisfythegivendifferentialequationortheinitialcondition.\n−∗∗OptionD():** This is incorrect because it does not satisfy the given differential equation or the initial condition.\n- **Option D (y = \sin x + \cos x):∗∗Thisisincorrectbecauseitdoesnotsatisfythegivendifferentialequation.\n\n∗∗KeyConcepts:∗∗\n−First−OrderLinearDifferentialEquations\n−IntegratingFactor\n−IntegrationbyParts\n\n∗∗MemoryAids:∗∗\n−Remembertheformulafortheintegratingfactor:):** This is incorrect because it does not satisfy the given differential equation.\n\n**Key Concepts:**\n- First-Order Linear Differential Equations\n- Integrating Factor\n- Integration by Parts\n\n**Memory Aids:**\n- Remember the formula for the integrating factor:IF = {e∫ P(x)dx}\n−Rememberintegrationbyparts:\n- Remember integration by parts:∫ u dv = uv - ∫ v du\n\n∗∗QuickTips:∗∗\n−Alwayscheckifthesolutionsatisfiesthedifferentialequationandtheinitialcondition.\n−Becarefulwithintegrationbyparts.\n\n**Quick Tips:**\n- Always check if the solution satisfies the differential equation and the initial condition.\n- Be careful with integration by parts.

More Questions from Differential Equations

Practice all chapter MCQs →
Consider the following statements

I. The order of the differential equation dydx=ex\frac{d y}{d x}=e^x is 1 .

II. The order of the differential equation d2ydx2+y=0\frac{\mathrm{d}^2 \mathrm{y}}{\mathrm{dx}^2}+\mathrm{y}=0 is 2 .

III. The order of the differential equation

(d3ydx3)+x2(d2ydx2)3=0 is 3.\left(\frac{d^3 y}{d x^3}\right)+x^2\left(\frac{d^2 y}{d x^2}\right)^3=0 \text { is } 3 .

Choose correct option.
Let y(x)y(x) be the solution of the differential equation (xln⁡x)dydx+y=2xln⁡x,(x≥1)(x \ln x) \frac{d y}{d x}+y=2 x \ln x,(x \geq 1). Then y(e)y(e) is equals to:
The differential equation representing the family of ellipses having foci either on the xx-axis or on the yy-axis, centre at the origin and passing through the point (0,3)(0,3) is : If y(t)y\left( t \right) is a solution of (1+t)dydt−ty=1 \left( {1 + t} \right)\frac{{dy}}{{dt}} - ty = 1\, and y(0)=−1y\left( 0 \right) = - 1, then y(1)y\left( 1 \right) is equal to The integrating factor of the differential equation (xlog⁡x)dydx+y=2log⁡x(x \log x) \frac{d y}{d x}+y=2 \log x is Let the solution curve y=y(x)y=y(x) of the differential equation dydx−3x5tan⁡−1(x3)(1+x6)3/2y=2xexp⁡{x3−tan⁡−1x3(1+x6)}\frac{d y}{d x}-\frac{3 x^5 \tan ^{-1}\left(x^3\right)}{\left(1+x^6\right)^{3 / 2}} y=2 x \exp \left\{\frac{x^3-\tan ^{-1} x^3}{\sqrt{\left(1+x^6\right)}}\right\} pass through the origin. Then y(1)y(1) is equal to
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.