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, dydx+ytan⁡x=2x+x2tan⁡x,x∈(−π2,π2)\frac{{dy}}{{dx}} + y\tan x = 2x + {x^2}\tan x,x \in \left( { - \frac{\pi }{2},\frac{\pi }{2}} \right), such that y(0)=1. Then
View answer and explanation
Correct option: A
y′(π4)−y′(−π4)=π−2y'\left( {\frac{\pi }{4}} \right) - y'\left( { - \frac{\pi }{4}} \right) = \pi - \sqrt 2
Option A (y′(π4)−y′(−π4)=π−2y'(\frac{\pi}{4}) - y'(-\frac{\pi}{4}) = \pi - \sqrt 2) is correct because it results from solving the differential equation and evaluating the derivative at the given points.
Solution approach
  1. Correct Answer + Core Reason: y′(π4)−y′(−π4)=π−2y'(\frac{\pi}{4}) - y'(-\frac{\pi}{4}) = \pi - \sqrt 2. This is obtained by solving the given differential equation and finding the difference of the derivative at the specified points.

    Step-by-Step Solution:

    Step 1: Identify the differential equation as a first-order linear differential equation: dydx+ytan⁡x=2x+x2tan⁡x\frac{{dy}}{{dx}} + y \tan x = 2x + x^2 \tan x.

    Step 2: Find the integrating factor (IF): IF=e∫tan⁡xdx=eln⁡(sec⁡x)=sec⁡xIF = e^{\int \tan x dx} = e^{\ln(\sec x)} = \sec x.

    Step 3: Multiply the differential equation by the integrating factor: ysec⁡x=∫(2x+x2tan⁡x)sec⁡xdx=∫2xsec⁡xdx+∫x2sec⁡xtan⁡xdxy \sec x = \int (2x + x^2 \tan x) \sec x dx = \int 2x \sec x dx + \int x^2 \sec x \tan x dx.

    Step 4: Integrate by parts: ∫x2sec⁡xtan⁡xdx=x2sec⁡x−∫2xsec⁡xdx\int x^2 \sec x \tan x dx = x^2 \sec x - \int 2x \sec x dx.

    Step 5: Substitute back into the equation: ysec⁡x=∫2xsec⁡xdx+x2sec⁡x−∫2xsec⁡xdx+C=x2sec⁡x+Cy \sec x = \int 2x \sec x dx + x^2 \sec x - \int 2x \sec x dx + C = x^2 \sec x + C.

    Step 6: Solve for yy: y=x2+Ccos⁡xy = x^2 + C \cos x.

    Step 7: Apply the initial condition y(0)=1y(0) = 1: 1=02+Ccos⁡01 = 0^2 + C \cos 0, so C=1C = 1. Thus, y=x2+cos⁡xy = x^2 + \cos x.

    Step 8: Find the derivative: y′=2x−sin⁡xy' = 2x - \sin x.

    Step 9: Evaluate y′(π4)y'(\frac{\pi}{4}) and y′(−π4)y'(-\frac{\pi}{4}): y′(π4)=2(π4)−sin⁡(π4)=π2−12y'(\frac{\pi}{4}) = 2(\frac{\pi}{4}) - \sin(\frac{\pi}{4}) = \frac{\pi}{2} - \frac{1}{\sqrt 2} and y′(−π4)=2(−π4)−sin⁡(−π4)=−π2+12y'(-\frac{\pi}{4}) = 2(-\frac{\pi}{4}) - \sin(-\frac{\pi}{4}) = -\frac{\pi}{2} + \frac{1}{\sqrt 2}.

    Step 10: Calculate the difference: y′(π4)−y′(−π4)=(π2−12)−(−π2+12)=π−2y'(\frac{\pi}{4}) - y'(-\frac{\pi}{4}) = (\frac{\pi}{2} - \frac{1}{\sqrt 2}) - (-\frac{\pi}{2} + \frac{1}{\sqrt 2}) = \pi - \sqrt 2.

    Why other options are wrong:
    - Option B: Incorrect calculation of y′(π4)+y′(−π4)y'(\frac{\pi}{4}) + y'(-\frac{\pi}{4}).
    - Option C: Incorrect calculation of y(π4)+y(−π4)y(\frac{\pi}{4}) + y(-\frac{\pi}{4}).
    - Option D: Incorrect calculation of y(π4)−y(−π4)y(\frac{\pi}{4}) - y(-\frac{\pi}{4}).

    Key Concepts:
    - First-order linear differential equations
    - Integrating factor
    - Differentiation

    Memory Aids:
    - Remember the formula for the integrating factor: IF=e∫PdxIF = e^{\int P dx}.

    Quick Tips:
    - Always check the initial conditions to find the constant of integration.

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.