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

In summary: So [itex]\int e^{3x}dx= (1/3)e^{3x}+ C. You can check that by differentiating.In summary, the conversation is about solving a differential equation using separation of variables. The steps involved are shown, with a question about taking the natural log of a negative function. The expert confirms that there is no need for absolute value brackets in this case.
  • #1
ElijahRockers
Gold Member
270
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
  • #2
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:
  • #3
so I don't need any absolute value brackets or anything? I am a little shaky when it comes to logs/abs value
 
  • #4
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.
 

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

How do you solve a differential equation using the separation of variables method?

The separation of variables method involves isolating the dependent and independent variables on opposite sides of the equation. This allows you to integrate each side separately and then solve for the dependent variable.

2. What is the first step in solving dy/dx=e^(3x+2y) by separation of variables?

The first step is to rearrange the equation so that all terms involving the dependent variable are on one side and all terms involving the independent variable are on the other side. In this case, you would move the term e^(2y) to the right side of the equation.

3. How do you integrate e^(3x) and e^(2y)?

To integrate e^(3x), use the power rule for integration. In this case, the result would be (1/3)e^(3x). To integrate e^(2y), use the chain rule for integration. The result would be (1/2)e^(2y).

4. What is the final step in solving dy/dx=e^(3x+2y) by separation of variables?

The final step is to solve for the dependent variable by dividing both sides of the equation by the coefficient of the dependent variable. In this case, the result would be y = (1/2)ln(3x+C), where C is the constant of integration.

5. Can the separation of variables method be used to solve any differential equation?

No, the separation of variables method can only be used to solve differential equations that can be expressed in the form dy/dx = f(x)g(y), where f(x) is a function of x and g(y) is a function of y. It cannot be used for more complex differential equations involving higher order derivatives or multiple variables.

Back
Top