Solve dy/dx=e^(3x+2y) by separation of variables

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
3 replies · 29K views
ElijahRockers
Gold Member
Messages
260
Reaction score
10

Homework Statement



solve dy/dx=e^(3x+2y) by separation of variables

The Attempt at a Solution



[itex]\frac{dy}{dx}=e^{3x+2y}[/itex]

[itex]\frac{dy}{dx}=e^{3x}e^{2y}[/itex]

[itex]e^{-2y}dy=e^{3x}dx[/itex]

[itex]\int e^{-2y}dy=\int e^{3x}dx[/itex]

[itex]e^{-2y}=-\frac{2}{3}e^3x + C[/itex]

[itex]-2y = ln(-\frac{2}{3}e^{3x}+C)[/itex]

[itex]y=1\frac{1}{2}ln(-\frac{2}{3}e^{3x}+C)[/itex]

Just a little wondering mostly about the natural log thing. Can I take the natural log of the -ve function wrt x because of the constant?
 
Physics news on Phys.org
ElijahRockers said:

Homework Statement



solve dy/dx=e^(3x+2y) by separation of variables

The Attempt at a Solution



[itex]\displaystyle \frac{dy}{dx}=e^{3x+2y}[/itex]

[itex]\displaystyle \frac{dy}{dx}=e^{3x}e^{2y}[/itex]

[itex]e^{-2y}dy=e^{3x}dx[/itex]

[itex]\int e^{-2y}dy=\int e^{3x}dx[/itex]

[itex]e^{-2y}=-\frac{2}{3}e^{3x} + C[/itex]

[itex]-2y = ln(-\frac{2}{3}e^{3x}+C)[/itex]

[itex]\displaystyle y=-\frac{1}{2}ln(-\frac{2}{3}e^{3x}+C)[/itex]

Just a little wondering mostly about the natural log thing. Can I take the natural log of the -ve function wrt x because of the constant?
(Fixed a couple of typos above.)

Of course this gives a "family" of solutions, depending upon the value of C.

For each value of C, the solution is real, only if [itex]\displaystyle C-\frac{2}{3}e^{3x}>0\ \text{ i.e. } x<\frac{1}{3}\ln\left(\frac{3C}{2}\right) \ .[/itex]
 
Last edited:
so I don't need any absolute value brackets or anything? I am a little shaky when it comes to logs/abs value
 
No, you don't need absolute value here. If [itex]e^x= y[/itex], then ln(y)= x.

You are thinking of the integral, [itex]\int (1/x)dx= ln|x|+ C[/itex], but you are not doing that here. [itex]\int e^{ax}dx= (1/a)e^{ax}+ C without any absolute value.[/itex]