Understanding the Solution to dx/dt = x(t)(1-x(t)) Differential Equation

  • Thread starter Thread starter Jamin2112
  • Start date Start date
Click For Summary

Homework Help Overview

The discussion revolves around solving the differential equation dx/dt = x(t)(1-x(t)). Participants are exploring the steps involved in separating variables, integrating, and simplifying the equation, as well as addressing potential errors in the integration process.

Discussion Character

  • Exploratory, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants discuss the method of separation of variables and the use of partial fraction decomposition. There are questions about the correctness of integration steps, particularly regarding the logarithmic integration. Some participants suggest that the resulting equation can be treated as a quadratic equation for further analysis.

Discussion Status

There is an ongoing examination of the integration process, with some participants pointing out mistakes and others attempting to clarify the implications of those mistakes. Multiple interpretations of the equation's solutions are being explored, particularly regarding the implicit definition of the solution and the existence of multiple solutions.

Contextual Notes

Participants note constraints related to the homework requirements, including the need to explain the existence of infinitely many solutions for related equations, as well as the absence of algebraic solutions for other equations discussed.

Jamin2112
Messages
973
Reaction score
12

Homework Statement



Where am I going wrong in solving this differential equation?

Homework Equations



x' = x(1-x) is what I'm after

The Attempt at a Solution



Separating variables: dx / [x(1-x)] = dt
Partial fraction decomposition on the left side yields: dx [1/x + 1/(1-x)] = dt.
Integrating both sides with respect to their variable: ln(x) + ln(1-x) = t + C
Simplifying the left side: ln(x(1-x)) = t + C
Raising both sides to the e power: x(1-x)=Ket

Nothing I can really do after this, though. I guess I just define it implicitly like that?
 
Physics news on Phys.org
Another question:

Any idea how I can get a formula for the x for which cos(x)=ex?
 
Jamin2112 said:

Homework Statement



Where am I going wrong in solving this differential equation?

Homework Equations



x' = x(1-x) is what I'm after

The Attempt at a Solution



Separating variables: dx / [x(1-x)] = dt
Partial fraction decomposition on the left side yields: dx [1/x + 1/(1-x)] = dt.
Integrating both sides with respect to their variable: ln(x) + ln(1-x) = t + C
Your mistake is just above.
$$ \int \frac{dx}{1 - x} \neq ln(1 - x)$$


Jamin2112 said:
Simplifying the left side: ln(x(1-x)) = t + C
Raising both sides to the e power: x(1-x)=Ket

Nothing I can really do after this, though. I guess I just define it implicitly like that?
 
Also, if you get x(1 - x) = f(t) you can definitely solve for x -- if you look more closely it's just a quadratic equation.
First correct the error pointed out by Mark though :)

As for your other question cos(x) = ex does not have an algebraic solution.
 
CompuChip said:
Also, if you get x(1 - x) = f(t) you can definitely solve for x -- if you look more closely it's just a quadratic equation.
First correct the error pointed out by Mark though :)

As for your other question cos(x) = ex does not have an algebraic solution.

Ok. Because one of our homework questions was to solve x'(t) = et - cos(t). Someone asked the professor what to do about the fact that there are infinitely many fixed points, and he told us to just deal with x'(0)=0 but to explain how we know there are infinitely many other solutions.
 
Mark44 said:
Your mistake is just above.
$$ \int \frac{dx}{1 - x} \neq ln(1 - x)$$

Ah, I see. :smile:

So then we have

x' = x(1-x)
---> dx / [x(1-x)] = dt
---> dx/x + dx/(1-x) = dt
---> ln(x) - ln(1-x) = t + c
---> ln[x/(1-x)] = t + c
---> x/(1-x) = Cet
---> (1-x)/x = Ke-t
---> 1/x - 1 = Ke-t
---> 1/x = 1 + Ke-t
---> x(t) = 1/(1+Ke-t)
---> x(0) = 1(1+K), K = x(0)-1
---> x(t) = 1/[1+(X(0)-1)e-t]
 
One way to show it has more than one solution is to show a graph of [itex]y= cos(x)- e^x[/itex] and note that it crosses the x-axis multiple times.
cos-ex.jpeg
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 105 ·
4
Replies
105
Views
11K
Replies
9
Views
3K
Replies
6
Views
3K
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
7
Views
2K
Replies
5
Views
3K
Replies
12
Views
2K
Replies
4
Views
2K