How to Solve Differential Equation with Separate Variables?

  • MHB
  • Thread starter karush
  • Start date
  • Tags
    Variables
In summary: Note: The conversation is not a complete conversation and may not make sense out of context.In summary, the conversation involves solving a differential equation with initial conditions using separation of variables and completing the square to find the solution. The final answer is x=ln(2), but it is unclear how the book arrived at this solution. There is also a discussion about the use of minus sign on a chromebook and its potential impact on the equation. A broken link for homework problems is also mentioned.
  • #1
karush
Gold Member
MHB
3,269
5
2.2ex.png
#24 in the spoiler

ov!347.21 nmh{987}
$\dfrac{dy}{dx}=\dfrac{(2¬e^x) }{(3+2y)}\quad y(0)=0$
$\begin{array}{lll}
separate & (3+2y)dy=(2¬e^x)dx \\
integrate &3y + y^2=2x-e^x +c \\
complete the square &y^2+3y+(3/2)^2 =2x-e^x +(3/2)^2+c\\
and &(y+(3/2))^2\\
from &y(0)=0\quad C=1\\
and &y=-\dfrac{3}{2}+\sqrt{2x-e^x+\dfrac{13}{4}}
\end{array}$

ok probably but might have some typos or corrections,
maybe some helpfull suggestion from page in spoiler I am going to try to do all the problems
 
Last edited:
Physics news on Phys.org
  • #2
karush said:
#24 in the spoiler

$\dfrac{dy}{dx}=\dfrac{(2¬e^x) }{(3+2y)}\quad y(0)=0$
\item\ha$\begin{array}{lll}
\ti{separate varables} & (3+2y)dy=(2¬e^x)dx \\
\ti{integrate} &3y + y^2=2x-e^x +c \\
\ti{complete the square}&y^2+3y+(3/2)^2 =2x-e^x +(3/2)^2+c\\
\ti{and} &(y+(3/2))^2\\
\ti{from} &y(0)=0\ C=1\\
\ti{and} &y=-\dfrac{3}{2}+\sqrt{2x-e^x+\dfrac{13}{4}}
\end{array}$

ok probably but might have some typos or corrections,
maybe some helpfull suggestion from page in spoiler I am going to try to do all the problems
Aside from the \(\displaystyle \neg\) symbol and your incomplete line on "\it{and}" you didn't finish the problem!

But the DEq solution looks good. (But is there any place that you don't have a solution? You never checked.)

-Dan
 
  • #3
topsquark said:
Aside from the \(\displaystyle \neg\) symbol and your incomplete line on "\it{and}" you didn't finish the problem!

But the DEq solution looks good. (But is there any place that you don't have a solution? You never checked.)

-Dan
$\dfrac{dy}{dx}=\dfrac{(2¬e^x) }{(3+2y)}\quad y(0)=0$
$\begin{array}{lll}
separate & (3+2y)dy=(2¬e^x)dx \\
integrate &3y + y^2=2x-e^x +c \\
complete \ the \ square &y^2+3y+(3/2)^2 =2x-e^x +(3/2)^2+c\\
reduce &(y+(3/2))^2\\
from \ y(0)=0 &c=1\\
hence &y=-\dfrac{3}{2}+\sqrt{2x-e^x+\dfrac{13}{4}}
\end{array}$

ok I got rid of the format codes from overleaf

the book answer for 2.2.24 was $x=\ln{2}$
but not sure how they got it...

what - are you referring to
 
Last edited:
  • #4
karush said:
$\dfrac{dy}{dx}=\dfrac{(2¬e^x) }{(3+2y)}\quad y(0)=0$
$\begin{array}{lll}
separate & (3+2y)dy=(2¬e^x)dx \\
integrate &3y + y^2=2x-e^x +c \\
complete \ the \ square &y^2+3y+(3/2)^2 =2x-e^x +(3/2)^2+c\\
reduce &(y+(3/2))^2\\
from \ y(0)=0 &c=1\\
hence &y=-\dfrac{3}{2}+\sqrt{2x-e^x+\dfrac{13}{4}}
\end{array}$

ok I got rid of the format codes from overleaf

the book answer for 2.2.24 was $x=\ln{2}$
but not sure how they got it...

what - are you referring to
\(\displaystyle (3+2y)dy=(2¬e^x)dx\)

Check the RHS.

C'mon. What is the condition for a function to be at a maximum? y'(x) = 0...

-Dan
 
  • #5
$2¬e^x=0$
$e^x=2\implies \ln(e^x)=\ln{2}\implies x=\ln{2}$
I was expecting something much more exotic:unsure:

Mahalo
 
  • #6
karush said:
$2¬e^x=0$
There it is again. Are you typing this in from a phone?

-Dan
 
  • #7
chromebook I just use the minus sign from the keyboard - in TEX $-$
strange :unsure:
 
  • #8
karush said:
chromebook I just use the minus sign from the keyboard - in TEX $-$
strange :unsure:
Hmmmm... My calculator has two "-" keys. One is subtraction and the other is "negation." I wonder if your chromebook isn't literally using negation?

-Dan
 
  • #9
.
 
Last edited:
  • #11
https://dl.orangedox.com/wlKD7eKSWiQ79alYD6

homework problems via MHB

SSCwt.png
 
Last edited:

Similar threads

Replies
4
Views
2K
Replies
6
Views
2K
Replies
5
Views
1K
Replies
5
Views
1K
Replies
2
Views
1K
Back
Top