Analyzing the Setup
Welcome, future engineer. Today, we are not just solving a problem; we are uncovering the hidden geometry of a function. We are given the differential equation y+12+sinx(dxdy)=−cosx, with the initial condition y(0)=1.
It might look like a jumble of symbols, but I want you to see it as a map. We are looking for a specific path—a curve—that starts at the point (0,1) and evolves according to the rules defined by this equation.
The Art of Separation
The first step in any differential equation is to bring order to chaos. We have x terms and y terms tangled together. Our goal is to isolate them.
By multiplying both sides by dx and rearranging the terms, we arrive at a beautiful, clean separation:
The variables are now perfectly separated. This is the moment where the problem shifts from a differential equation to a simple integration task. We are ready to bridge the gap between the rate of change and the function itself.
The Calculus Domain
Now, we integrate both sides. On the left, we have the integral of y+11 with respect to y, which yields ln(y+1).
On the right, we face the integral ∫2+sinx−cosxdx. Do you see the elegance? The derivative of the denominator, 2+sinx, is exactly cosx.
We use the substitution u=2+sinx, which implies du=cosxdx. The integral transforms into −∫u1du, which is simply −ln(u). Substituting back, we get our general solution:
Finding the Specific Path
We have a family of curves, but we need the one that passes through (0,1). We substitute x=0 and y=1 into our general solution:
Since sin(0)=0, this simplifies to ln(2)=−ln(2)+C. Solving for C, we find C=2ln(2).
Using the power rule of logarithms, C=ln(22)=ln(4). Our particular solution is now locked in:
ln(y+1)=−ln(2+sinx)+ln(4)
The Final Reveal
We are in the home stretch. Let's clean up this equation using the quotient rule of logarithms, lnA−lnB=ln(BA):
Exponentiating both sides, we get the explicit function:
Finally, we evaluate this at x=2π. Since sin(2π)=1, the equation becomes:
Subtracting 1 from both sides, we find y=34−1=31. We have arrived at the destination. The value is 31, which corresponds to option (A).