Skip to main content

Differential Equations MCQ: Let y=y(x) be the solution of the differential…

JEE · Mathematics · Differential Equations

1 Easy +4 | -1 Application
Let y=y(x)y=y(x) be the solution of the differential equation, xy′−y=x2(xcos⁡x+sin⁡x),x>0.  If   y(π)=π,xy' - y = {x^2}(x\cos x + \sin x),x > 0.\,\,\mathrm{ If }\,\,\,y(\pi ) = \pi , then y′′(π2)+y(π2)y''\left( {\frac{\pi }{2}} \right) + y\left( {\frac{\pi }{2}} \right) is equal to
View answer and explanation
Correct option: D
2+π22 + \frac{\pi }{2}
Option D (2+π22 + \frac{\pi }{2}) is correct because it is the result of solving the given differential equation and evaluating the expression at the specified point.
Solution approach
  1. Correct Answer + Core Reason: 2+π22 + \frac{\pi }{2}. The solution is obtained by solving the differential equation and evaluating the second derivative and the function at π2\frac{\pi}{2}.

    Step-by-Step Solution:

    Step 1: Rewrite the differential equation: xy′−y=x2(xcos⁡x+sin⁡x),x>0xy' - y = {x^2}(x\cos x + \sin x), x > 0 as dydx−1xy=x(xcos⁡x+sin⁡x)\frac{{dy}}{{dx}} - \frac{1}{x}y = x(x\cos x + \sin x).

    Step 2: Find the integrating factor (IF): IF=e−∫dxx=1x\mathrm{IF} = {e^{ - \int {\frac{{dx}}{x}} }} = \frac{1}{x}.

    Step 3: Solve the differential equation: y(IF)=∫Q(IF)dx+Cy(\mathrm{IF}) = \int {Q(\mathrm{IF})dx + C}, where Q=x(xcos⁡x+sin⁡x)Q = x(x\cos x + \sin x). This gives yx=∫(xcos⁡x+sin⁡x)dx+C=xsin⁡x+C\frac{y}{x} = \int {(x\cos x + \sin x)dx + C} = x\sin x + C.

    Step 4: Apply integration by parts: ∫xcos⁡xdx=xsin⁡x−∫sin⁡xdx=xsin⁡x+cos⁡x\int x\cos x dx = x\sin x - \int \sin x dx = x\sin x + \cos x. Thus, ∫(xcos⁡x+sin⁡x)dx=xsin⁡x+C\int (x\cos x + \sin x) dx = x\sin x + C.

    Step 5: Use the initial condition y(π)=πy(\pi ) = \pi to find C: ππ=πsin⁡π+C⇒1=0+C⇒C=1\frac{\pi }{\pi } = \pi \sin \pi + C \Rightarrow 1 = 0 + C \Rightarrow C = 1.

    Step 6: Find the solution y(x)y(x): y=x2sin⁡x+xy = x^2\sin x + x.

    Step 7: Find the first derivative y′y': y′=2xsin⁡x+x2cos⁡x+1y' = 2x\sin x + x^2\cos x + 1.

    Step 8: Find the second derivative y′′y'': y′′=2sin⁡x+2xcos⁡x+2xcos⁡x−x2sin⁡x=2sin⁡x+4xcos⁡x−x2sin⁡xy'' = 2\sin x + 2x\cos x + 2x\cos x - x^2\sin x = 2\sin x + 4x\cos x - x^2\sin x.

    Step 9: Evaluate y′′(π2)y''(\frac{\pi }{2}) and y(π2)y(\frac{\pi }{2}): y′′(π2)=2sin⁡(π2)+4(π2)cos⁡(π2)−(π2)2sin⁡(π2)=2+0−π24=2−π24y''(\frac{\pi }{2}) = 2\sin(\frac{\pi }{2}) + 4(\frac{\pi }{2})\cos(\frac{\pi }{2}) - (\frac{\pi }{2})^2\sin(\frac{\pi }{2}) = 2 + 0 - \frac{{\pi ^2}}{4} = 2 - \frac{{\pi ^2}}{4} and y(π2)=(π2)2sin⁡(π2)+π2=π24+π2y(\frac{\pi }{2}) = (\frac{\pi }{2})^2\sin(\frac{\pi }{2}) + \frac{\pi }{2} = \frac{{\pi ^2}}{4} + \frac{\pi }{2}.

    Step 10: Calculate y′′(π2)+y(π2)y''(\frac{\pi }{2}) + y(\frac{\pi }{2}): 2−π24+π24+π2=2+π22 - \frac{{\pi ^2}}{4} + \frac{{\pi ^2}}{4} + \frac{\pi }{2} = 2 + \frac{\pi }{2}.

    Why other options are wrong:
    - Option A: Incorrect calculation of the derivatives or substitution.
    - Option B: Incorrect calculation of the derivatives or substitution.
    - Option C: Incorrect calculation of the derivatives or substitution.

    Key Concepts:
    - Linear Differential Equations
    - Integrating Factor
    - Differentiation
    - Integration

    Memory Aids:
    - Integrating Factor: e∫Pdxe^{\int P dx}
    - Solution of Linear Differential Equation: y(IF)=∫Q(IF)dx+Cy(IF) = \int Q(IF) dx + C

    Quick Tips:
    - Always check the initial conditions to find the constant of integration.
    - Be careful with differentiation and integration, especially with trigonometric functions.

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.