How Do You Solve the Differential Equation x'=x(M-x) for x(t)?

In summary, the conversation was about finding a solution to the problem of population growth, specifically the equation x'=x*(M-x) for x(t). The individual asking for help was informed that there may not be an analytical solution and that the behavior of the solution can be chaotic. However, another individual suggested using partial fractions to solve the equation, resulting in the solution \frac{x}{x_0}\frac{M-x_0}{M-x}=e^{Mt}.
  • #1
AronH
23
0
I was making a problem about population grow, and I wasn't able to solve this:
x'=x*(M-x), for x(t).
Can anyone help me?
Thanks.
 
Physics news on Phys.org
  • #2
I have the impresion that there is no analytical solution to that one. IIRC, its solution has a chaotic behavior depending on M (though there may be another parameter).
 
  • #3
I think it's seperable.
 
  • #4
Integrate directly to find
[tex]\frac{x}{x_0} \times \frac{M-x}{M-x_0} = e^{M t}[/tex]
from which you can find x(t) by solving the quadratic equation.
 
  • #5
scribbly scribbly...

[tex]\frac{dx}{dt}=xM-x^2[/tex]
[tex]\int \frac{dx}{xM-x^2}=\int dt[/tex]

... doesn't work, never mind...

edit: wait,wait,wait... partial fractions:

[tex]\frac{1}{xM-x^2}=\frac{1}{Mx}+\frac{1}{M(M-x)}[/tex]

[tex]\int \frac{dx}{Mx}+\int \frac{dx}{M(M-x)}=\frac{1}{M}(\ln(\frac{x}{x_0})-\ln(\frac{M-x}{M-x_0}))=\frac{1}{M}\ln\left(\frac{x(M-x_0)}{x_0(M-x)}\right)[/tex]
So:
[tex]\frac{x}{x_0}\frac{M-x_0}{M-x}=e^{Mt}[/tex]
Look solvable now...
 
Last edited:
  • #6
Thanks - I flipped a sign!
 

FAQ: How Do You Solve the Differential Equation x'=x(M-x) for x(t)?

What is a 2nd order differential equation?

A 2nd order differential equation is a mathematical equation that involves the second derivative of an unknown function. It is often used to model physical systems that involve acceleration, such as the motion of a falling object.

How do you solve a 2nd order differential equation?

To solve a 2nd order differential equation, you need to find the general solution by first finding the complementary function and then the particular integral. The complementary function is the solution to the homogeneous equation, which is obtained by setting the right-hand side of the equation to zero. The particular integral is a particular solution that satisfies the original equation.

What is the difference between an ordinary and a partial differential equation?

An ordinary differential equation involves only one independent variable, while a partial differential equation involves more than one independent variable. This means that the solutions to partial differential equations are functions of more than one variable, while the solutions to ordinary differential equations are functions of a single variable.

What are the most common methods for solving 2nd order differential equations?

The most common methods for solving 2nd order differential equations are the method of undetermined coefficients, variation of parameters, and the Laplace transform. Each method has its own advantages and is suitable for different types of equations.

Can all 2nd order differential equations be solved analytically?

No, not all 2nd order differential equations can be solved analytically. Some equations may have solutions that cannot be expressed in terms of elementary functions. In these cases, numerical methods may be used to approximate the solution.

Similar threads

Replies
7
Views
1K
Replies
4
Views
141
Replies
5
Views
1K
Replies
2
Views
2K
Replies
1
Views
2K
Replies
52
Views
3K
Replies
1
Views
1K
Back
Top