
If $y = y\left( x \right)$ is the solution of differential equation, $ \dfrac{{dy}}{{dx}} + 2y\tan x = {{ sin}}x,$ $ y \left( {\dfrac{\pi }{{ 3}} } \right) = 0,$ Then the maximum value of $y\left( x \right)$ over$ R $is equal to
A. $8$
B. $\dfrac{1}{2}$
C. $ - \dfrac{{ 15}}{4}$
D. $\dfrac{1}{8}$
Answer
232.8k+ views
Hint: We will find the Integrating factor (IF) for the given linear first-order differential equation and evaluate the differentiation of given function. Then substitute the value of given value of $x = \dfrac{\pi }{{ 3}}$ then $y = 0$ to obtain the maximum value of $y\left( x \right)$.
Formula Used:
The formula for the integrating factor IF is ${e^{\int {Pdx} }}$ for the linear first-order differential equation written in standard form: $\dfrac{{dy}}{{dx}} + p\left( x \right)y = q\left( x \right).$Then the solution of such equation is given by ${{IF}} \times \dfrac{{dy}}{{dx}} + {{ IF}} \times P\left( x \right)y = {{ IF}} \times Q\left( x \right)$.
Complete step by step solution:
Evaluate the integrating factor of given linear first-order differential equation
$ \dfrac{{dy}}{{dx}} + 2y{{ tan}}x = {{ sin}}x$
The integrating factor (IF) will be,
${{IF }} = {e^{\int {2\tan x dx} }}$
$IF = {e^{\log \left( {{{\sec }^2}x} \right) }}$
$IF = {{ se}}{{{c}}^2}\;x$
Now multiply the IF with each term of given linear first-order differential equation, we get
${\sec ^2}\;x\dfrac{{dy}}{{dx}} + 2y{{ tan}}x\left( {{{\sec }^2}\;x} \right) = {{ sin}}x\left( {{{\sec }^2}\;x} \right)$
Further evaluating the equation, we get
${{ se}}{{{c}}^2}\;x\left( {dy} \right) + 2y{{ tan}}x\left( {{{\sec }^2}\;x} \right)dx = {{ sin}}x\left( {{{\sec }^2}\;x} \right)dx$
Now integrate the above equation,
$y{{ se}}{{{c}}^2}x = \smallint \tan x{{ sec}}x dx = {{ sec}}x + c$
Now put $x = \dfrac{\pi }{3} $, $y = 0,$ $c = - 2$ ,we get
$y = \cos x-2{\cos ^2}x$
Taking $ - 2$ common from right-hand side, we get
$y = -2 \left[ {{{\cos }^2}x-\left( {\dfrac{1}{2}} \right) \cos x} \right] $
Adjusting the right-hand side term in ${\left( {x - y} \right)^2}$form,
$y = -2 \left[ {{{\left( {cosx - \left( {\dfrac{1}{4}} \right)} \right)}^2}\;- \left( {\dfrac{1}{{16}}} \right)} \right]$
Evaluating the right-hand side, we get
$y = \left( {\dfrac{1}{8}} \right) - 2 {\left[ {cosx - \left( {\dfrac{1}{4}} \right)} \right]^2}$
So, the maximum value is obtained when the subtraction part tends to zero in the above obtained expression.
Therefore, the maximum value of $y $ will be,
${y_{max}}\; = \dfrac{1}{8} $
Option ‘D’ is correct
Note: The given problem can also be solved by dividing the given linear first-order differential equation by $y $ thus transforming the equation into $ \dfrac{1}{y}\dfrac{{dy}}{{dx}} + 2\tan x = \dfrac{1}{y}\sin x$, Thereafter integrating the expression to obtain the required solution. We should also take care while substituting the value of x & y in the equation. One should also have the knowledge to obtain maximum from a given equation, as we obtained the ${y_{max}}$.
Formula Used:
The formula for the integrating factor IF is ${e^{\int {Pdx} }}$ for the linear first-order differential equation written in standard form: $\dfrac{{dy}}{{dx}} + p\left( x \right)y = q\left( x \right).$Then the solution of such equation is given by ${{IF}} \times \dfrac{{dy}}{{dx}} + {{ IF}} \times P\left( x \right)y = {{ IF}} \times Q\left( x \right)$.
Complete step by step solution:
Evaluate the integrating factor of given linear first-order differential equation
$ \dfrac{{dy}}{{dx}} + 2y{{ tan}}x = {{ sin}}x$
The integrating factor (IF) will be,
${{IF }} = {e^{\int {2\tan x dx} }}$
$IF = {e^{\log \left( {{{\sec }^2}x} \right) }}$
$IF = {{ se}}{{{c}}^2}\;x$
Now multiply the IF with each term of given linear first-order differential equation, we get
${\sec ^2}\;x\dfrac{{dy}}{{dx}} + 2y{{ tan}}x\left( {{{\sec }^2}\;x} \right) = {{ sin}}x\left( {{{\sec }^2}\;x} \right)$
Further evaluating the equation, we get
${{ se}}{{{c}}^2}\;x\left( {dy} \right) + 2y{{ tan}}x\left( {{{\sec }^2}\;x} \right)dx = {{ sin}}x\left( {{{\sec }^2}\;x} \right)dx$
Now integrate the above equation,
$y{{ se}}{{{c}}^2}x = \smallint \tan x{{ sec}}x dx = {{ sec}}x + c$
Now put $x = \dfrac{\pi }{3} $, $y = 0,$ $c = - 2$ ,we get
$y = \cos x-2{\cos ^2}x$
Taking $ - 2$ common from right-hand side, we get
$y = -2 \left[ {{{\cos }^2}x-\left( {\dfrac{1}{2}} \right) \cos x} \right] $
Adjusting the right-hand side term in ${\left( {x - y} \right)^2}$form,
$y = -2 \left[ {{{\left( {cosx - \left( {\dfrac{1}{4}} \right)} \right)}^2}\;- \left( {\dfrac{1}{{16}}} \right)} \right]$
Evaluating the right-hand side, we get
$y = \left( {\dfrac{1}{8}} \right) - 2 {\left[ {cosx - \left( {\dfrac{1}{4}} \right)} \right]^2}$
So, the maximum value is obtained when the subtraction part tends to zero in the above obtained expression.
Therefore, the maximum value of $y $ will be,
${y_{max}}\; = \dfrac{1}{8} $
Option ‘D’ is correct
Note: The given problem can also be solved by dividing the given linear first-order differential equation by $y $ thus transforming the equation into $ \dfrac{1}{y}\dfrac{{dy}}{{dx}} + 2\tan x = \dfrac{1}{y}\sin x$, Thereafter integrating the expression to obtain the required solution. We should also take care while substituting the value of x & y in the equation. One should also have the knowledge to obtain maximum from a given equation, as we obtained the ${y_{max}}$.
Recently Updated Pages
Geometry of Complex Numbers Explained

JEE General Topics in Chemistry Important Concepts and Tips

JEE Extractive Metallurgy Important Concepts and Tips for Exam Preparation

JEE Amino Acids and Peptides Important Concepts and Tips for Exam Preparation

JEE Atomic Structure and Chemical Bonding important Concepts and Tips

Electricity and Magnetism Explained: Key Concepts & Applications

Trending doubts
JEE Main 2026: Session 2 Registration Open, City Intimation Slip, Exam Dates, Syllabus & Eligibility

JEE Main 2026 Application Login: Direct Link, Registration, Form Fill, and Steps

JEE Main Marking Scheme 2026- Paper-Wise Marks Distribution and Negative Marking Details

Understanding the Angle of Deviation in a Prism

Hybridisation in Chemistry – Concept, Types & Applications

How to Convert a Galvanometer into an Ammeter or Voltmeter

Other Pages
JEE Advanced Marks vs Ranks 2025: Understanding Category-wise Qualifying Marks and Previous Year Cut-offs

Understanding the Electric Field of a Uniformly Charged Ring

JEE Advanced Weightage 2025 Chapter-Wise for Physics, Maths and Chemistry

Derivation of Equation of Trajectory Explained for Students

Understanding Electromagnetic Waves and Their Importance

Understanding How a Current Loop Acts as a Magnetic Dipole

