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
SUMMARY

The discussion focuses on solving the differential equation x' = x(1-x) using separation of variables and partial fraction decomposition. The correct integration leads to the implicit solution x(t) = 1/[1+(x(0)-1)e^(-t)]. Participants clarify a common mistake in integration, specifically that ∫(dx/(1-x)) does not equal ln(1-x). Additionally, the equation cos(x) = e^x is noted to lack an algebraic solution, emphasizing the need for graphical methods to demonstrate multiple fixed points.

PREREQUISITES
  • Understanding of differential equations, specifically first-order separable equations.
  • Familiarity with integration techniques, including partial fraction decomposition.
  • Knowledge of logarithmic properties and exponential functions.
  • Basic graphing skills to analyze functions and their intersections.
NEXT STEPS
  • Study the method of separation of variables in differential equations.
  • Learn about partial fraction decomposition in calculus.
  • Explore the graphical solutions for transcendental equations like cos(x) = e^x.
  • Investigate the behavior of solutions to first-order differential equations and their stability.
USEFUL FOR

Students studying differential equations, mathematics educators, and anyone interested in advanced calculus techniques and their applications in solving real-world problems.

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 y= cos(x)- e^x 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
7K
Replies
9
Views
2K
Replies
6
Views
2K
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
1K
Replies
7
Views
2K
Replies
5
Views
2K
Replies
12
Views
2K
Replies
4
Views
2K