MHB -b.1.1.4 directional field as t \to \infny

  • Thread starter Thread starter karush
  • Start date Start date
  • Tags Tags
    Field
Click For Summary
The discussion focuses on solving the differential equation y' = -1 - 2y, leading to the general solution y(t) = -1/2 + Ce^(-2t). Participants explore different methods for solving the equation, including rewriting it and using integration techniques. The solution approaches -1/2 as t approaches infinity, indicating stability. The conversation also touches on the use of tools like Desmos for visual representation, although some participants express challenges with more complex coding. Overall, the thread emphasizes understanding the behavior of the solution as time progresses.
karush
Gold Member
MHB
Messages
3,240
Reaction score
5
b.1.1.png
from the spoiler its #4 hope I got instructions right

$y'=-1-2y$
$\begin{array}{ll}
rewrite &y'+2y=-1\\
exp &u(t)=\exp\ds\int 2 \, dx=e^{2t}\\
product &(e^{2t}y)'=-e^{2t}\\
&e^{2t}y=\ds\int -e^{2t} \, dt=\dfrac{-e^(2 t)}{2}+c\\
hence &y(t)=\dfrac{-e^{2t}}{2} + \dfrac{c}{e^{2t}}\\
t \to \infty &=-\dfrac{1}{2}+0\\
so &y \to \dfrac{1}{2}\textit{ as t} \to \infty
\end{array}$

b.1.1.4.png

ok this is an early problem but probably some comments to make it more understandable
hopefully correct
I was going to try tikz on this but probably 3 pages of code so its a desmos templatehttps://dl.orangedox.com/geAQogxCM0ZYQLaUju
 
Physics news on Phys.org
I get

$y = -\dfrac{1}{2} + Ce^{-2t}$
 
From $y'= -1- 2y$, you don't have to write it as $y'+ y= -1$.
You can rewrite it as $\frac{dy}{dx}= -1-2y$ and then separate as $\frac{dy}{2y+ 1}= -dx$..

Now integrate both sides- on the left, let $u= 2y+ 1$ so that $du= 2dy$ and $dy= \frac{1}{2}du$
$\frac{1}{2}\int \frac{du}{u}=\frac{1}{2}ln(u)+ c_1= \frac{1}{2} ln(2y+ 1)= ln(\sqrt{2y+ 1})$ and $-\int dx= -x+ c_2$.

Combining the two contants into "c", $ln(\sqrt{2y+ 1})= -x+c$. Taking the exponential of both sides $\sqrt{2y+1}= e^{-x+ c}= Ce^{-x}$ where $C= e^c$.

Square both sides: $2y+ 1= \left(Ce^{-x}\right)^2= C'e^{-2x}$ where $C'= C^2$.
$2y= C'e^{-2x}- 1$
$y= C''e^{-2x}- \frac{1}{2}$ where $C''= C'/2$

And that goes to $-\frac{1}{2}$ as x goes to infinity.

Hey, wasn't that fun!
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 9 ·
Replies
9
Views
5K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 7 ·
Replies
7
Views
4K