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

  • Thread starter Jamin2112
  • Start date
In summary: This means there are multiple values of x that satisfy the equation, making it an infinite number of solutions.
  • #1
Jamin2112
986
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
  • #2
Another question:

Any idea how I can get a formula for the x for which cos(x)=ex?
 
  • #3
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?
 
  • #4
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.
 
  • #5
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.
 
  • #6
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]
 
  • #7
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
 

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

What is a differential equation?

A differential equation is a mathematical equation that relates a function to its derivatives. In other words, it describes how a function changes over time or space.

2. What does "dx/dt = x(t)(1-x(t))" mean?

This is a specific type of differential equation, known as a logistic differential equation. It describes the rate of change of a population or quantity as a function of time, where the growth rate is proportional to the current size of the population.

3. How do you solve a logistic differential equation?

To solve a logistic differential equation, you can use separation of variables or the method of integrating factors. You can also use numerical methods, such as Euler's method or Runge-Kutta methods, to approximate a solution.

4. How do you interpret the solution to a logistic differential equation?

The solution to a logistic differential equation represents the behavior of the population or quantity over time. It can show if the population will grow or decline, reach a steady state, or exhibit oscillatory behavior.

5. What are some real-world applications of logistic differential equations?

Logistic differential equations are commonly used in population dynamics, such as modeling the growth of animal populations or the spread of infectious diseases. They are also used in economics to model the growth of markets or the adoption of new technologies.

Back
Top