Question
Mathematics Question on Area under Simple Curves
If y(x) be the solution of the differential equation xlog(x)dxdy+y=2xlog(x),y(e) is equal to
e
2
0
2e
2
Solution
The equation can be rewritten as:
dxdy+x1y=2logx
Comparing this with the standard form dxdy+P(x)y=Q(x)
we have
P(x)=x1andQ(x)=2logx
To find the integrating factor (IF), we calculate the exponential of the integral of
P(x):IF=e∫x1dx=eln∣x∣=∣x∣
Multiplying both sides of the differential equation by the integrating factor, we get:
∣x∣dxdy+xy=2logx∣x∣
Now, the left side of the equation is the derivative of the product(y∣x∣) with respect to x:
dxd(y∣x∣)=2logx∣x∣
Integrating both sides, we have:
y∣x∣=∫2logx∣x∣dx
Using integration by parts, we can evaluate the integral on the right side:
y∣x∣=2∫logxd(2x2)−2∫d(logx)⋅2x2dxy∣x∣
= 2[2x2logx−∫x2x⋅2x2dx]y∣x∣
=x2logx−∫xdxy∣x∣
= x2logx−2x2+C
To find the value of C, we can use the initial condition
y(e)=y(2.71828)=2:2
= (2.718282)log2.71828−2(2.718282)+C×2
= (2.718282)−2(2.718282)+C×2
= 2(2.718282)+C×C
= 2−2(2.718282)×C
≈−1.34738
Therefore, the solution to the differential equation is:
y∣x∣=x2logx−2x2−1.34738
To find y(e), we substitute
x=e:y(e)=(e2)loge−2e2−1.34738y(e)
= e2−2e2−1.34738y(e)
= 2e2−1.34738
So, y(e)≈2(2.718282)−1.34738 which is approximately 2.35067
Therefore, the value of y(e) is approximately 2.35067 , which corresponds to option (B) 2.