Skip to main content

Differential Equations MCQ: If (d y)/(d x)= cos (x+y), y((π)/(2))=0, then y(0)=

JEE · Mathematics · Differential Equations

1 Medium +4 | -1 Application
If dydx=cos⁡(x+y),y(π2)=0\frac{d y}{d x}=\cos (x+y), y\left(\frac{\pi}{2}\right)=0, then y(0)=y(0)=
View answer and explanation
Correct option: D
−2tan⁡−1(π2−1)-2 \tan ^{-1}\left(\frac{\pi}{2}-1\right)
Option D (−2tan⁡−1(π2−1)-2 \tan ^{-1}\left(\frac{\pi}{2}-1\right)) is correct because it is the solution obtained after solving the given differential equation with the initial condition.
Solution approach
  1. Correct Answer + Core Reason: −2tan⁡−1(π2−1)-2 \tan ^{-1}\left(\frac{\pi}{2}-1\right). The value of y(0) is found by solving the differential equation and applying the initial condition.

    Step-by-Step Solution:

    Step 1: Let x+y=t⇒y=t−xx+y=t \Rightarrow y = t-x. Then dydx=dtdx−1\frac{d y}{d x}=\frac{d t}{d x}-1.

    Step 2: Substitute into the given differential equation: dydx=cos⁡(x+y)\frac{d y}{d x}=\cos (x+y)
    dtdx−1=cos⁡t⇒dtdx=1+cos⁡t\frac{d t}{d x}-1=\cos t \Rightarrow \frac{d t}{d x}=1+\cos t

    Step 3: Separate variables and integrate:
    dt1+cos⁡t=dx⇒∫dt1+cos⁡t=∫dx\frac{d t}{1+\cos t}=d x \Rightarrow \int \frac{d t}{1+\cos t}=\int d x
    ∫dt2cos⁡2(t/2)=x+C⇒12∫sec⁡2(t/2)dt=x+C\int \frac{d t}{2 \cos ^2(t / 2)}=x+C \Rightarrow \frac{1}{2} \int \sec ^2(t / 2) d t=x+C
    tan⁡(t/2)=x+C\tan (t / 2)=x+C

    Step 4: Substitute back t=x+yt = x+y:
    tan⁡(x+y2)=x+C\tan \left(\frac{x+y}{2}\right)=x+C

    Step 5: Apply the initial condition y(π2)=0y\left(\frac{\pi}{2}\right)=0:
    tan⁡(π2+02)=π2+C⇒tan⁡(π4)=π2+C⇒1=π2+C⇒C=1−π2\tan \left(\frac{\frac{\pi}{2}+0}{2}\right)=\frac{\pi}{2}+C \Rightarrow \tan \left(\frac{\pi}{4}\right)=\frac{\pi}{2}+C \Rightarrow 1=\frac{\pi}{2}+C \Rightarrow C=1-\frac{\pi}{2}

    Step 6: Substitute C back into the equation:
    tan⁡(x+y2)=x+1−π2\tan \left(\frac{x+y}{2}\right)=x+1-\frac{\pi}{2}

    Step 7: Find y(0):
    tan⁡(0+y(0)2)=0+1−π2⇒tan⁡(y(0)2)=1−π2\tan \left(\frac{0+y(0)}{2}\right)=0+1-\frac{\pi}{2} \Rightarrow \tan \left(\frac{y(0)}{2}\right)=1-\frac{\pi}{2}
    y(0)2=tan⁡−1(1−π2)⇒y(0)=2tan⁡−1(1−π2)=−2tan⁡−1(π2−1)\frac{y(0)}{2}=\tan ^{-1}\left(1-\frac{\pi}{2}\right) \Rightarrow y(0)=2 \tan ^{-1}\left(1-\frac{\pi}{2}\right)=-2 \tan ^{-1}\left(\frac{\pi}{2}-1\right)

    Why other options are wrong:
    - Option A: tan⁡−1(π2−1)\tan ^{-1}\left(\frac{\pi}{2}-1\right) is incorrect because it only finds half of the correct value of y(0).
    - Option B: tan⁡−1(π2+1)\tan ^{-1}\left(\frac{\pi}{2}+1\right) is incorrect because it uses the wrong sign and doesn't account for the factor of 2.
    - Option C: 2tan⁡−1(π2−1)2 \tan ^{-1}\left(\frac{\pi}{2}-1\right) is incorrect because it has the wrong sign.

    Key Concepts:
    - Differential equations
    - Trigonometric functions
    - Inverse trigonometric functions

    Memory Aids:
    - Remember the integration rules for trigonometric functions.
    - Remember the properties of inverse trigonometric functions.

    Quick Tips:
    - Always substitute back to the original variables after integration.
    - Check your work for algebraic errors.

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.