Ask your own question, for FREE!
Mathematics 21 Online
OpenStudy (anonymous):

(dy/dx)+y=1/(1+e^(2x)) could you please solve this for me?

zepdrix (zepdrix):

Let's first rewrite our denominator like this:\[\Large y'+y\quad=\quad \frac{1}{1+(e^{x})^2}\](It'll make sense later). We'll introduce an integrating factor of:\[\Large \mu\quad=\quad e^{\int\limits 1\;dx}\quad=\quad e^x\]Multiplying through by our integrating factor,\[\Large e^x y'+e^x y\quad=\quad\frac{e^x}{1+(e^{x})^2}\]Left side simplifies (product rule in reverse),\[\Large (ye^x)'\quad=\quad \frac{e^x}{1+(e^{x})^2}\] Integrating each side gives us:\[\Large ye^x\quad=\quad \int\limits \frac{e^x}{1+(e^x)^2}\;dx\]

zepdrix (zepdrix):

To solve this integral I guess we want to apply a Trigonometric Substitution.\[\Large e^x\quad=\quad \tan \theta\]

zepdrix (zepdrix):

\[\Large e^x\;dx\quad=\quad \sec^2\theta\;d \theta\]

zepdrix (zepdrix):

\[\Large ye^x\quad=\quad \int \frac{\sec^2\theta}{1+(\tan \theta)^2}\;d \theta\]

zepdrix (zepdrix):

Should simplify down really nicely from there :) Lemme know if you're still confused.

OpenStudy (anonymous):

You also can use \[ u= e^x \\ du = e^x dx\\ \Large ye^x\quad=\quad \int\limits \frac{e^x}{1+(e^x)^2}\;dx=\\ \int\limits \frac{du}{1+u)^2}=\tan^{-1}(u) = \tan^{-1}\left(e^x \right) + K \]

OpenStudy (anonymous):

\[ y= K e^{-x} + e^{-x} \tan^{-1} \left( e^x\right) \]

zepdrix (zepdrix):

Oh yes, u sub is much better :) do that instead.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!