how to solve this differential equation
\[e^{x}\frac{ dy }{ dx } +1 = x \]
\[e^x \frac{ dy }{ dx }+1=x\] \[e^x \frac{ dy }{ dx }=x-1\] \[dy=\left( x+1 \right)e ^{-x}dx\] integrate it.
correction it is x-1 in the end.
@surjithayer i knew how to rearrange this (that is most basic) .. i am not getting the integration
\[y=\int\limits \left( x-1 \right)e ^{-x}dx+c\] integrate by parts.
\[- e^{-x} (x-1) - \int\limits e^{-x} dx\]
is this correct ? @surjithayer
\[- e^{-x} (x-1) + e^{-x} +c \]
but this answer given is \[y= -x e^{-x} +c \]
\[y=-\left( x-1 \right)e ^{-x}-\int\limits 1.\left( -e ^{-x} \right)dx+c\] \[y=-\left( x-1 \right)e ^{-x}+\int\limits e ^{-x}dx+c\] \[y=-x e ^{-x}+e ^{-x}-e ^{-x}+c\] ?
why have you written \[y=-\left( x-1 \right)e ^{-x}-\int\limits\limits 1.\left( -e ^{-x} \right)dx+c\] -e^(-x) dx ??
what does the integration by parts rule say ?? @surjithayer my question is why the minus sign ahead of e^(-x) after the integral sign
\[\int\limits uv dx=u \int\limits v dx-\int\limits \frac{ du }{ dx }*(\int\limits v dx)dx\]
\[\int\limits (1st)(2nd) dx=1st \int\limits~ 2nd~ dx-\int\limits ~(differential~of~1st)*(\int\limits 2nd~dx)~dx\]
\[\int\limits e ^{-x}dx=\frac{ e ^{-x} }{ -1 }=- e ^{-x}\]
ok got it @surjithayer ...thanks :)
yw
Join our real-time social learning platform and learn together with your friends!