Skip to main content

Differential Equations MCQ: If (d y)/(d x)+y tan x= sin 2 x and y(0)=1, then…

JEE · Mathematics · Differential Equations

1 Easy +4 | -1 Application
If dydx+ytan⁡x=sin⁡2x\frac{d y}{d x}+y \tan x=\sin 2 x and y(0)=1y(0)=1, then y(π)y(\pi) is equal to:
View answer and explanation
Correct option: C
-5
Option C (-5) is correct because solving the differential equation and applying the initial condition yields y(π) = -5.
Solution approach
  1. Correct Answer + Core Reason: -5. Solving the differential equation and applying the initial condition results in y(π) = -5.

    Step-by-Step Solution:

    Step 1: Identify the differential equation: dydx+ytan⁡x=sin⁡2x\frac{{dy}}{{dx}} + y \tan x = \sin 2x

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

    Step 3: Multiply the equation by the IF: (dydx+ytan⁡x)sec⁡x=(sin⁡2x)sec⁡x(\frac{{dy}}{{dx}} + y \tan x) \sec x = (\sin 2x) \sec x

    Step 4: Integrate both sides: ∫(dydxsec⁡x+ytan⁡xsec⁡x)dx=∫sin⁡2xsec⁡xdx⇒ysec⁡x=∫2sin⁡xcos⁡x1cos⁡xdx=∫2sin⁡xdx=−2cos⁡x+C\int (\frac{{dy}}{{dx}} \sec x + y \tan x \sec x) dx = \int \sin 2x \sec x dx \Rightarrow y \sec x = \int 2 \sin x \cos x \frac{{1}}{{\cos x}} dx = \int 2 \sin x dx = -2 \cos x + C

    Step 5: Apply the initial condition y(0) = 1: 1⋅sec⁡0=−2cos⁡0+C⇒1=−2(1)+C⇒C=31 \cdot \sec 0 = -2 \cos 0 + C \Rightarrow 1 = -2(1) + C \Rightarrow C = 3

    Step 6: Solve for y: ysec⁡x=−2cos⁡x+3⇒y=−2cos⁡2x+3cos⁡xy \sec x = -2 \cos x + 3 \Rightarrow y = -2 \cos^2 x + 3 \cos x

    Step 7: Evaluate y(π): y(π)=−2cos⁡2π+3cos⁡π=−2(−1)2+3(−1)=−2−3=−5y(\pi) = -2 \cos^2 \pi + 3 \cos \pi = -2(-1)^2 + 3(-1) = -2 - 3 = -5

    Final Answer: -5

    Why other options are wrong:
    - Option A (1): This is incorrect because it doesn't correctly solve the differential equation and apply the initial condition.
    - Option B (-1): This is incorrect because it doesn't correctly solve the differential equation and apply the initial condition.
    - Option D (5): This is incorrect because it doesn't correctly solve the differential equation and apply the initial condition.

    Key Concepts:
    - Linear differential equations
    - Integrating factor

    Memory Aids:
    - Remember the formula for the integrating factor: e∫P(x)dxe^{\int P(x) dx}

    Quick Tips:
    - Always check your solution against the original differential equation and initial condition.

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.