We have the first-order differential equation
dxdy=(tanx−y)sec2x,x∈(−2π,2π).
First, we expand the right-hand side to put the equation in the standard linear form dxdy+P(x)y=Q(x).
Multiplying out,
dxdy=tanxsec2x−ysec2x.
Now we bring the term containing y to the left:
dxdy+ysec2x=tanxsec2x.
Comparing with the standard form, we identify
P(x)=sec2x,Q(x)=tanxsec2x.
For a linear equation, the integrating factor is given by
IF=e∫P(x)dx.
Since P(x)=sec2x and we know ∫sec2xdx=tanx, we obtain
IF=etanx.
Multiplying the entire differential equation by this integrating factor, we get
etanxdxdy+ysec2xetanx=tanxsec2xetanx.
The left-hand side is now the exact derivative of yetanx with respect to x, because
dxd(yetanx)=etanxdxdy+ysec2xetanx.
Therefore, we can write
dxd(yetanx)=tanxsec2xetanx.
Next we integrate both sides with respect to x:
∫dxd(yetanx)dx=∫tanxsec2xetanxdx.
The left integral is simply
yetanx+C1,
but we absorb the constant of integration into a single constant later. For the right integral, we make the substitution
u=tanx⟹du=sec2xdx.
This changes the integral to
∫ueudu.
We now recall the standard formula
∫ueudu=(u−1)eu+C2.
Reverting to u=tanx, we have
∫tanxsec2xetanxdx=(tanx−1)etanx+C2.
Putting both sides together and renaming the constant C2−C1 simply as C, we obtain
yetanx=(tanx−1)etanx+C.
Dividing by etanx gives an explicit expression for y:
y=tanx−1+Ce−tanx.
We now use the initial condition y(0)=0. At x=0 we have tan0=0 and e−tan0=e0=1, hence
0=(tan0)−1+Ce−tan0⟹0=0−1+C(1).
So
C=1.
Therefore the particular solution satisfying the given condition is
y(x)=tanx−1+e−tanx.
We are asked to find y(−4π). First compute tan(−4π)=−1. Substituting into the expression for y, we get
y(−4π)=(−1)−1+e−(−1)=−2+e1=e−2.
On comparing with the given options, we see that e−2 corresponds to Option C (Option 3 in the list).
Hence, the correct answer is Option C.