Analyzing the Setup
Welcome, fellow traveler on the JEE Advanced journey. Today, we confront a differential equation that, at first glance, looks like a tangled mess of trigonometric functions and polynomials.
You might be tempted to reach for complex integration techniques or panic at the sight of secx and tanx mixed with x(2−x). But pause. Take a breath.
In the world of competitive physics and mathematics, the most complex-looking problems often hide the most elegant, simple solutions. Our goal is to find y(2) given y(0)=2.
Phase 1
The Cleanup
We begin with the given equation:
secxdy+{2(1−x)tanx+x(2−x)}dx=0
Our first instinct is to isolate the derivative,
dxdy. By moving the
dx term to the right and dividing, we get:
secxdxdy=−{2(1−x)tanx+x(2−x)}
Here is the 'JEE trick': multiply the entire equation by
cosx. Since
secx⋅cosx=1 and
tanx⋅cosx=sinx, the left side becomes clean, and the right side transforms into:
dxdy=−cosx{2(1−x)tanx+x(2−x)}
Phase 2
The Epiphany
Now, let's distribute that
cosx inside the curly braces:
dxdy=−{2(1−x)sinx+x(2−x)cosx}
Stop here and look at this expression. Let u=2x−x2 and v=sinx.
If we differentiate u, we get dxdu=2−2x=2(1−x). If we differentiate v, we get dxdv=cosx.
The expression inside the braces is exactly
u′v+uv′. This is the
Product Rule in its full glory, allowing us to condense the equation to:
dxdy=−dxd[(2x−x2)sinx]
Phase 3
The Integration and The Result
With the equation in the form
dxdy=−dxd[(2x−x2)sinx], the integration becomes trivial. Integrating both sides with respect to
x, we get:
y(x)=−(2x−x2)sinx+C
To make it cleaner, we rewrite this as:
y(x)=(x2−2x)sinx+C
Now, we use our initial condition
y(0)=2. Substituting
x=0 and
y=2:
2=(02−2(0))sin(0)+C⟹C=2
Our particular solution is:
y(x)=(x2−2x)sinx+2
Finally, to find
y(2), we substitute
x=2:
y(2)=(22−2(2))sin(2)+2
Since 4−4=0, the entire term involving sin(2) vanishes. The final result is:
y(2)=2