Skip to main content

Differential Equations MCQ: If dydx + 2y tan x = sin x, 0 < x < (π)/(2) and…

JEE · Mathematics · Differential Equations

1 Easy +4 | -1 Application
If dydx+2ytan⁡x=sin⁡x, 0<x<π2\frac{{dy}}{{dx}} + 2y\tan x = \sin x,\,0 < x < \frac{\pi }{2} and y(π3)=0,y\left( {\frac{\pi }{3}} \right) = 0, then the maximum value of y(x)y(x) is:
View answer and explanation
Correct option: A
18\frac{1}{8}
Option A (1/8) is the correct maximum value of y(x) found by solving the differential equation and finding the maximum of the resulting function.
Solution approach
  1. Correct Answer + Core Reason: 18\frac{1}{8}. The maximum value is found by solving the differential equation and maximizing the resulting function.

    Step-by-Step Solution:

    Step 1: Identify the differential equation type:\nThe given equation is a first-order linear differential equation: dydx+2ytan⁡x=sin⁡x\frac{dy}{dx} + 2y \tan x = \sin x

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

    Step 3: Multiply the differential equation by the integrating factor:
    sec⁡2xdydx+2ytan⁡xsec⁡2x=sin⁡xsec⁡2x\sec^2 x \frac{dy}{dx} + 2y \tan x \sec^2 x = \sin x \sec^2 x

    Step 4: Rewrite the left side as the derivative of a product:
    ddx(ysec⁡2x)=sin⁡xsec⁡2x=sec⁡xtan⁡x\frac{d}{dx}(y \sec^2 x) = \sin x \sec^2 x = \sec x \tan x

    Step 5: Integrate both sides with respect to x:
    ∫ddx(ysec⁡2x)dx=∫sec⁡xtan⁡xdx\int \frac{d}{dx}(y \sec^2 x) dx = \int \sec x \tan x dx
    ysec⁡2x=sec⁡x+Cy \sec^2 x = \sec x + C

    Step 6: Apply the initial condition y(π3)=0y(\frac{\pi}{3}) = 0:
    0=sec⁡(π3)+C=2+C0 = \sec(\frac{\pi}{3}) + C = 2 + C
    C=−2C = -2

    Step 7: Write the solution for y(x):
    y(x)=sec⁡x−2sec⁡2x=cos⁡x−2cos⁡2xy(x) = \frac{\sec x - 2}{\sec^2 x} = \cos x - 2 \cos^2 x

    Step 8: Find the maximum value of y(x):\nTo find the maximum, take the derivative and set it to zero:
    dydx=−sin⁡x+4cos⁡xsin⁡x=sin⁡x(4cos⁡x−1)=0\frac{dy}{dx} = -\sin x + 4 \cos x \sin x = \sin x (4 \cos x - 1) = 0\nSo, sin⁡x=0\sin x = 0 or cos⁡x=14\cos x = \frac{1}{4}\nSince 0<x<π20 < x < \frac{\pi}{2}, sin⁡x≠0\sin x \neq 0, so cos⁡x=14\cos x = \frac{1}{4}

    Step 9: Substitute cos⁡x=14\cos x = \frac{1}{4} into y(x):
    ymax=14−2(14)2=14−216=14−18=18y_{max} = \frac{1}{4} - 2(\frac{1}{4})^2 = \frac{1}{4} - \frac{2}{16} = \frac{1}{4} - \frac{1}{8} = \frac{1}{8}

    Why other options are wrong:
    - Option B: 34\frac{3}{4}: This is incorrect as it does not follow from the correct solution of the differential equation and maximization.
    - Option C: 14\frac{1}{4}: This is incorrect as it does not follow from the correct solution of the differential equation and maximization.
    - Option D: 38\frac{3}{8}: This is incorrect as it does not follow from the correct solution of the differential equation and maximization.

    Key Concepts:
    - First-order linear differential equations
    - Integrating factor
    - Maximization of functions

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

    Quick Tips:
    - Always check the initial conditions to find the constant of integration.
    - To find the maximum or minimum of a function, take the derivative and set it to zero.

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.