Question 431 markMCQMedium
The solution of is:
Confirming your payment
Competency-Based Questions (CBQ) · Question 43 of 80
The solution of is:
(A)
(B)
(C)
(D)
[ \frac{dy}{dx}+y=e^{-x}, \qquad y(0)=0 ]
We solve this linear differential equation using the integrating factor method.
Comparing with the standard form
[ \frac{dy}{dx}+P(x)y=Q(x) ]
we get
[ P(x)=1, \qquad Q(x)=e^{-x} ]
[ \text{I.F.}=e^{\int P(x),dx} =e^{\int 1,dx} =e^x ]
[ e^x\frac{dy}{dx}+e^xy=1 ]
The left side becomes:
[ \frac{d}{dx}(ye^x)=1 ]
So,
[ \frac{d}{dx}(ye^x)=1 ]
[ \int \frac{d}{dx}(ye^x),dx=\int 1,dx ]
[ ye^x=x+C ]
Hence,
[ y=e^{-x}(x+C) ]
Given:
[ y(0)=0 ]
Substitute (x=0):
[ 0=e^{0}(0+C) ]
[ C=0 ]
Therefore,
[ \boxed{y=xe^{-x}} ]
Hence, the correct answer is:
[ \boxed{(B)\ y=xe^{-x}} ]