Animated Solution for Mathematics - Differential Equations: Let y=y(x) be the solution of the differential equation, dxdy+ytanx=2x+x2tanx, x∈(−π/2,π/2), such that y(0)=1. Then :
Select Answer:
Visualized Solution
Identify the Differential Equation Form
The given equation is dxdy+ytanx=2x+x2tanx
This is a First Order Linear Differential Equation of the form dxdy+P(x)y=Q(x)
Here, P(x)=tanx and Q(x)=2x+x2tanx
Calculate the Integrating Factor (I.F.)
Integrating Factor (I.F.) =e∫P(x)dx
Substitute P(x)=tanx: I.F. =e∫tanxdx
Since ∫tanxdx=ln∣secx∣, we get:
I.F. =eln∣secx∣=secx
Set up the General Solution
The general solution is given by: y⋅(I.F.)=∫Q(x)⋅(I.F.)dx+C
Substituting the values: ysecx=∫(2x+x2tanx)secxdx+C
Expanding the integral: ysecx=∫(2xsecx+x2secxtanx)dx+C
The 'Aha!' Moment: Exact Differential
Notice the terms: 2xsecx+x2secxtanx
Recall the product rule: dxd(u⋅v)=u′v+uv′
Let u=x2 and v=secx
dxd(x2secx)=2xsecx+x2(secxtanx)
Integrate the Exact Differential
Since the integrand is an exact derivative, integration is direct:
∫dxd(x2secx)dx=x2secx
So, the equation becomes: ysecx=x2secx+C
Find the Constant of Integration
Use the given initial condition: y(0)=1
Substitute x=0 and y=1 into ysecx=x2secx+C
1⋅sec(0)=02⋅sec(0)+C
Since sec(0)=1, we get 1=0+C⟹C=1
Final Expression for y(x)
Substitute C=1 back into the equation: ysecx=x2secx+1
Divide the entire equation by secx (or multiply by cosx):
y=x2+secx1
The final solution curve is: y(x)=x2+cosx
Find the Derivative y′(x)
The options require values of the derivative y′(x)
Differentiate y(x)=x2+cosx with respect to x:
y′(x)=dxd(x2)+dxd(cosx)
y′(x)=2x−sinx
Evaluate y′(π/4) and y′(−π/4)
At x=4π:
y′(4π)=2(4π)−sin(4π)=2π−21
At x=−4π:
y′(−4π)=2(−4π)−sin(−4π)=−2π+21
Check the Correct Option
Let's test Option 2: y′(4π)−y′(−4π)
Substitute the values we found:
=(2π−21)−(−2π+21)
Distribute the negative sign:
=2π−21+2π−21
Combine like terms:
=π−22=π−2
This perfectly matches Option 2!
00:00 / 00:00
The Sigma Insight: Linear Differential Equations
Solution Diagram
Analyzing the Setup
When you first look at the differential equation
dxdy+ytanx=2x+x2tanx
it is natural to feel a bit overwhelmed. However, in the world of JEE Advanced, complexity is often just a mask for elegance. Our goal is to peel back that mask.
Every great journey begins with recognition. We compare our equation to the standard form:
dxdy+P(x)y=Q(x)
By aligning the terms, we identify P(x)=tanx and Q(x)=2x+x2tanx. This identification is our compass.
The Integrating Factor
We define the Integrating Factor (I.F.) as e∫P(x)dx. Substituting our P(x), we calculate:
I.F.=e∫tanxdx
We know that the integral of tanx is ln∣secx∣. Thus, our I.F. becomes eln∣secx∣, which simplifies beautifully to just secx.
The Hidden Pattern
Now, we multiply our entire original equation by this I.F. to obtain:
ysecx=∫(2x+x2tanx)secxdx+C
Distributing the secx inside the integral gives us:
∫(2xsecx+x2secxtanx)dx+C
Here is where most students get stuck, trying to perform integration by parts on each term. But look closer at the structure. If we let u=x2 and v=secx, then the derivative dxd(u⋅v) is exactly 2xsecx+x2secxtanx.
The entire integral collapses into the derivative of x2secx. This is the 'Aha!' moment that separates the masters from the novices. The integral of a derivative is simply the original function, so our equation simplifies to:
ysecx=x2secx+C
The Final Stretch
We are given the initial condition y(0)=1. Plugging in x=0 and y=1, we find:
1⋅sec(0)=02⋅sec(0)+C
Since sec(0)=1, we find that C=1. Our specific solution is ysecx=x2secx+1.
Dividing by secx (or multiplying by cosx), we arrive at the beautiful, clean result:
y(x)=x2+cosx
To solve the final part of the problem, we differentiate to find y′(x)=2x−sinx. Evaluating this at 4π and −4π and taking the difference leads us directly to π−2.