Differential Equation Initial Value Problem

In summary: Relax? I don't see that equation on my formula sheets...It's not on the sheet, but it can be found using the quadratic formula.It's not on the sheet, but it can be found using the quadratic formula.
  • #1
Drakkith
Mentor
23,003
7,382

Homework Statement


A Solve the following initial value problem:

##\frac{dx}{dt}=-x(1-x)##
##x(0)=\frac{3}{2}##

B. At what finite time does ##x→∞##

Homework Equations

The Attempt at a Solution



##\frac{dx}{dt}=x(x-1)##
##\frac{dx}{x(x-1)}=dt##
Partial fractions: ##dx(\frac{-1}{x}-\frac{1}{x-1})=dt##
Integrating both sides: ##ln|\frac{1}{x}|-ln|x-1|=t+c##
##ln|\frac{1}{x(x-1)}|=t+c##
e to the power of both sides and taking the constant ##e^c## as A: ##\frac{1}{x(x-1)}=Ae^t##
Plugging in the initial value gives me ##A=\frac{4}{3}##

My final equation is: ##\frac{1}{x(x-1)} = \frac{4}{3}e^t##

What I don't understand is how ##x## is related to ##t## and how to figure out at what time x goes to infinity. Offhand I don't see any way for X to increase to infinity since t is an exponent of e, unless t goes to negative infinity.
 
Physics news on Phys.org
  • #2
Drakkith said:

Homework Statement


A Solve the following initial value problem:

##\frac{dx}{dt}=-x(1-x)##
##x(0)=\frac{3}{2}##

B. At what finite time does ##x→∞##

Homework Equations

The Attempt at a Solution



##\frac{dx}{dt}=x(x-1)##
##\frac{dx}{x(x-1)}=dt##
Partial fractions: ##dx(\frac{-1}{x}-\frac{1}{x-1})=dt##

Those fractions don't add up to what you started with.

Integrating both sides: ##ln|\frac{1}{x}|-ln|x-1|=t+c##
##ln|\frac{1}{x(x-1)}|=t+c##
e to the power of both sides and taking the constant ##e^c## as A: ##\frac{1}{x(x-1)}=Ae^t##
Plugging in the initial value gives me ##A=\frac{4}{3}##

My final equation is: ##\frac{1}{x(x-1)} = \frac{4}{3}e^t##

What I don't understand is how ##x## is related to ##t## and how to figure out at what time x goes to infinity. Offhand I don't see any way for X to increase to infinity since t is an exponent of e, unless t goes to negative infinity.

You can always solve for ##x## in terms of ##t##.
 
  • #3
Drakkith said:
What I don't understand is how xxx is related to ttt and how to figure out at what time x goes to infinity. Offhand I don't see any way for X to increase to infinity since t is an exponent of e, unless t goes to negative infinity.
Fix the partial fractions. A sign error can turn division into multiplication when you take logarithm.
 
  • #4
LCKurtz said:
Those fractions don't add up to what you started with.

Gah! That's no good! Looks like I dropped a negative sign.

New fractions: ##\frac{1}{x-1}-\frac{1}{x}##
That means the problem becomes: ##\frac{x-1}{x}=Ae^t##
##1-\frac{1}{x}=Ae^t##
##1-\frac{1}{\frac{3}{2}}=A##
##A=\frac{1}{3}##

That puts the final equation as: ##x=\frac{3}{3-e^t}##
That means that x goes to infinity at t=3.

LCKurtz said:
You can always solve for ##x## in terms of ##t##.

Indeed. It's just more difficult when your equation isn't correct in the first place. :rolleyes:
 
  • #5
Drakkith said:
Gah! That's no good! Looks like I dropped a negative sign.

New fractions: ##\frac{1}{x-1}-\frac{1}{x}##
That means the problem becomes: ##\frac{x-1}{x}=Ae^t##
##1-\frac{1}{x}=Ae^t##
##1-\frac{1}{\frac{3}{2}}=A##
##A=\frac{1}{3}##

That puts the final equation as: ##x=\frac{3}{3-e^t}##
That means that x goes to infinity at t=3.
Hopefully, that ##t=3## is just a typo.
 
  • #6
LCKurtz said:
Hopefully, that ##t=3## is just a typo.

I take it you mean that it should be ##t→3##?
 
  • #7
No. ##t=3## is not the correct answer.
 
  • #8
Drakkith said:
I take it you mean that it should be ##t→3##?
The entire denominator should tend to zero.
 
  • #9
Christ, please tell me it's when ##e^t→3##...
 
  • #10
cnh1995 said:
The entire denominator should tend to zero.

Indeed. I promise I'm not as stupid as I appear... maybe. :rolleyes:
 
  • #11
Drakkith said:
Christ, please tell me it's when ##e^t→3##...
Right.
 
  • #12
What value of ##t## gives ##e^t = 3##?
 
  • #13
LCKurtz said:
What value of ##t## gives ##e^t = 3##?

I believe it's ##ln(3)##. But my basic math has been so bad for this question that I don't know if I'd double down on that bet.
 
  • #14
##\ln 3## is correct.
 
  • #15
Drakkith said:
I promise I'm not as stupid as I appear..
Relax! That's just a silly mistake..No big deal!
Drakkith said:
I believe it's ln(3)ln(3)ln(3).
Yes.
 
  • #16
cnh1995 said:
Relax! That's just a silly mistake..No big deal!

Relax? I don't see that equation on my formula sheets... :-p
 
  • Like
Likes cnh1995

Related to Differential Equation Initial Value Problem

1. What is a differential equation initial value problem?

A differential equation initial value problem is a mathematical equation that describes how a variable changes over time, based on its rate of change. It also includes initial conditions, which are the starting values for the variable(s) in the equation. The goal of solving a differential equation initial value problem is to find the function that satisfies the equation and initial conditions.

2. Why are initial conditions important in solving a differential equation initial value problem?

Initial conditions are important because they provide the starting point for solving a differential equation. Without them, there would be an infinite number of solutions to the equation. The initial conditions narrow down the possible solutions and allow for the determination of a unique solution.

3. What methods can be used to solve a differential equation initial value problem?

There are several methods that can be used to solve a differential equation initial value problem, including separation of variables, integrating factors, and the method of undetermined coefficients. Each method has its own advantages and is suitable for different types of equations.

4. How do initial value problems differ from boundary value problems?

Initial value problems and boundary value problems both involve finding a function that satisfies a given differential equation. However, initial value problems have the initial conditions specified at a single point, while boundary value problems have conditions specified at multiple points. This makes solving boundary value problems more challenging.

5. What are some real-world applications of differential equation initial value problems?

Differential equation initial value problems have many real-world applications, such as in physics, engineering, economics, and biology. They can be used to model the growth of populations, the spread of diseases, the movement of objects in space, and many other phenomena. Solving these problems allows scientists to make predictions and understand the behavior of complex systems.

Similar threads

  • Calculus and Beyond Homework Help
Replies
3
Views
343
  • Calculus and Beyond Homework Help
Replies
7
Views
531
  • Calculus and Beyond Homework Help
Replies
2
Views
1K
  • Calculus and Beyond Homework Help
Replies
1
Views
574
  • Calculus and Beyond Homework Help
Replies
5
Views
430
  • Calculus and Beyond Homework Help
Replies
3
Views
356
  • Calculus and Beyond Homework Help
Replies
8
Views
291
  • Calculus and Beyond Homework Help
Replies
1
Views
819
  • Calculus and Beyond Homework Help
Replies
2
Views
1K
  • Calculus and Beyond Homework Help
Replies
5
Views
319
Back
Top