Analyzing the Setup
The given differential equation is:
(1+y2)etanxdx+cos2x(1+e2tanx)dy=0
with the initial condition
y(0)=1.
To solve this, we employ the strategy of variable separability. We divide the entire equation by (1+y2)cos2x(1+e2tanx) to isolate the variables:
cos2x(1+e2tanx)etanxdx+1+y21dy=0
The Master Equation
We simplify the x-term by noting that cos2x1=sec2x and e2tanx=(etanx)2. The equation becomes:
∫1+(etanx)2sec2xetanxdx+∫1+y21dy=C
To solve the integral involving x, we use the substitution u=etanx. Consequently, the differential is du=etanxsec2xdx.
The integral transforms into the standard form:
Integrating both sides yields:
Applying Initial Conditions
We use the initial condition y(0)=1 to determine the constant C. Substituting x=0 and y=1:
tan−1(etan0)+tan−1(1)=C
tan−1(1)+tan−1(1)=C
4π+4π=C⇒C=2π
Thus, the particular solution is:
Final Calculation
We are tasked to find the value of y when x=4π. Substituting this into our particular solution:
tan−1(etan(π/4))+tan−1y=2π
tan−1(e)+tan−1y=2π
Using the trigonometric identity tan−1A+cot−1A=2π, we identify that tan−1y=cot−1e. Since cot−1e=tan−1(e1), we conclude:
y=e1