Key Concepts and Formulas
- First-Order Linear Differential Equation: A differential equation of the form dxdy+P(x)y=Q(x).
- Integrating Factor (I.F.): For a first-order linear differential equation, the integrating factor is given by I.F.=e∫P(x)dx.
- General Solution: The general solution of a first-order linear differential equation is y⋅(I.F.)=∫Q(x)⋅(I.F.)dx+C, where C is the constant of integration.
Step-by-Step Solution
Step 1: Identify P(x) and Q(x)
We are given the differential equation:
dxdy+2ytanx=sinx
Comparing this with the standard form dxdy+P(x)y=Q(x), we identify:
P(x)=2tanx
Q(x)=sinx
This step is crucial because these functions are used to calculate the integrating factor and the general solution.
Step 2: Calculate the Integrating Factor (I.F.)
The integrating factor is given by I.F.=e∫P(x)dx. Substituting P(x)=2tanx:
I.F.=e∫2tanxdx
First, we evaluate the integral:
∫2tanxdx=2∫tanxdx=2ln∣secx∣=ln(sec2x)
Since 0<x<2π, secx>0, so we can drop the absolute value.
Therefore,
I.F.=eln(sec2x)=sec2x
The integrating factor is sec2x.
Step 3: Find the General Solution
The general solution is given by y⋅(I.F.)=∫Q(x)⋅(I.F.)dx+C. Substituting Q(x)=sinx and I.F.=sec2x:
ysec2x=∫sinxsec2xdx+C
We need to evaluate the integral:
∫sinxsec2xdx=∫sinxcos2x1dx=∫cos2xsinxdx=∫cosxsinxcosx1dx=∫tanxsecxdx
The integral of tanxsecx is secx:
∫tanxsecxdx=secx
So, the general solution is:
ysec2x=secx+C
Step 4: Apply the Initial Condition
We are given y(3π)=0. Substituting x=3π and y=0 into the general solution:
0⋅sec2(3π)=sec(3π)+C
Since cos(3π)=21, sec(3π)=2. Therefore:
0=2+C
C=−2
Step 5: Find the Particular Solution
Substituting C=−2 into the general solution:
ysec2x=secx−2
y=sec2xsecx−2=sec2xsecx−sec2x2=secx1−2cos2x=cosx−2cos2x
So, the particular solution is:
y(x)=cosx−2cos2x
Step 6: Find the Maximum Value of y(x)
Let u=cosx. Since 0<x<2π, 0<cosx<1, so 0<u<1. Then y(x) becomes:
f(u)=u−2u2=−2u2+u
To find the maximum value, we can complete the square:
f(u)=−2(u2−21u)=−2(u2−21u+161−161)=−2((u−41)2−161)=−2(u−41)2+81
The maximum value occurs when u=41, and the maximum value is 81. Since 0<41<1, this value is within the allowed range for u.
Common Mistakes & Tips
- Sign Errors: Be careful with signs when integrating and substituting.
- Domain Restrictions: Always check if the value of x (or u) that gives the maximum/minimum is within the given domain.
- Trigonometric Identities: Use trigonometric identities to simplify the expressions for easier integration and differentiation.
Summary
We solved the first-order linear differential equation by finding the integrating factor, determining the general solution, and applying the initial condition to find the particular solution. Then, we found the maximum value of the particular solution by completing the square after substituting u=cosx. The maximum value of y(x) is 81.
Final Answer
The final answer is \boxed{1/8}, which corresponds to option (A).