How can I solve this differential equation with given initial conditions?

Click For Summary

Homework Help Overview

The problem involves solving a differential equation with given initial conditions, specifically relating to the variables x and y, where y is defined as an exponential function of time. The original poster expresses confusion over the integration process and the resulting solution compared to a reference answer.

Discussion Character

  • Exploratory, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • The original poster attempts to separate variables and integrate, but questions arise regarding the evaluation of the integral at both limits. Some participants suggest checking the substitution of initial conditions into the equation.

Discussion Status

The discussion is active, with participants providing feedback on the integration process and the evaluation of limits. There is acknowledgment of potential errors in the original poster's approach, and some guidance has been offered regarding the substitution of initial values.

Contextual Notes

Participants are discussing the implications of initial conditions and the proper evaluation of integrals in the context of differential equations. There is a reference to a discrepancy between the original poster's solution and a book's answer, indicating a need for careful examination of the integration process.

amcavoy
Messages
663
Reaction score
0
I have the following to solve:

[tex]\frac{dx}{dt}=-\alpha xy;\quad y=y_0e^{-\beta t};\quad x(0)=x_0[/tex]

I separate variables and come up with:

[tex]\frac{dx}{x}=-\alpha y_0e^{-\beta t}dt[/tex]

[tex]\ln{x}=-\alpha y_0\int e^{-\beta t}dt=\frac{\alpha y_0}{\beta}e^{-\beta t}+C[/tex]

...so for a final answer I come up with:

[tex]x=x_0\exp{\left(\frac{\alpha y_0}{\beta}e^{-\beta t}\right)}[/tex]

..however the book says that the answer is:

[tex]x=x_0\exp{\left(\frac{-\alpha y_0\left(1-e^{-\beta t}\right)}{\beta}\right)}[/tex]

I cannot find where I went wrong, any ideas?

Thanks a lot.
 
Physics news on Phys.org
You didn't evaluate the time integral at both limits.
 
Good catch. I stared at it for a few minutes and couldn't figure it out.
 
Tide said:
You didn't evaluate the time integral at both limits.

...both limits?
 
You have:

[tex]x(t)=K\text{Exp}\left[\frac{\alpha y_0}{\beta}e^{-\beta t}\right][/tex]

with:

[tex]x(0)=x_0[/tex]

Now, carefully substitute that initial value into the equation to solve for K.
 
saltydog said:
You have:

[tex]x(t)=K\text{Exp}\left[\frac{\alpha y_0}{\beta}e^{-\beta t}\right][/tex]

with:

[tex]x(0)=x_0[/tex]

Now, carefully substitute that initial value into the equation to solve for K.

Ahh, I must have put the x0 term there prematurely. Thanks for the help everyone, I have it now. :smile:
 

Similar threads

Replies
46
Views
8K
  • · Replies 10 ·
Replies
10
Views
1K
  • · Replies 2 ·
Replies
2
Views
1K
Replies
4
Views
3K
  • · Replies 6 ·
Replies
6
Views
1K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 29 ·
Replies
29
Views
4K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 27 ·
Replies
27
Views
3K