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

Click For Summary
The discussion focuses on solving the differential equation dy/dx = e^(3x + 2y) using separation of variables. The solution involves manipulating the equation to isolate dy and dx, leading to the integrals of e^(-2y) and e^(3x). The resulting expression for y includes a constant C, which defines a family of solutions. A key point of clarification is whether the natural logarithm can be applied to negative functions, with the consensus being that absolute values are not necessary in this context. The solution is valid as long as the condition C - (2/3)e^(3x) > 0 is satisfied.
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



\frac{dy}{dx}=e^{3x+2y}

\frac{dy}{dx}=e^{3x}e^{2y}

e^{-2y}dy=e^{3x}dx

\int e^{-2y}dy=\int e^{3x}dx

e^{-2y}=-\frac{2}{3}e^3x + C

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

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

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



\displaystyle \frac{dy}{dx}=e^{3x+2y}

\displaystyle \frac{dy}{dx}=e^{3x}e^{2y}

e^{-2y}dy=e^{3x}dx

\int e^{-2y}dy=\int e^{3x}dx

e^{-2y}=-\frac{2}{3}e^{3x} + C

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

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

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 \displaystyle C-\frac{2}{3}e^{3x}>0\ \text{ i.e. } x<\frac{1}{3}\ln\left(\frac{3C}{2}\right) \ .
 
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 e^x= y, then ln(y)= x.

You are thinking of the integral, \int (1/x)dx= ln|x|+ C, but you are not doing that here. \int e^{ax}dx= (1/a)e^{ax}+ C without any absolute value.
 
Question: A clock's minute hand has length 4 and its hour hand has length 3. What is the distance between the tips at the moment when it is increasing most rapidly?(Putnam Exam Question) Answer: Making assumption that both the hands moves at constant angular velocities, the answer is ## \sqrt{7} .## But don't you think this assumption is somewhat doubtful and wrong?

Similar threads

  • · Replies 4 ·
Replies
4
Views
1K
Replies
3
Views
2K
  • · Replies 18 ·
Replies
18
Views
3K
Replies
4
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
Replies
11
Views
2K
Replies
5
Views
1K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K