# Trouble solving an ordinary differential equation

1. Jan 12, 2012

### Hypatio

1. The problem statement, all variables and given/known data

Find the appropriate equation.

2. Relevant equations

So there we have the ordrinary differential equation

$\frac{d M}{dt}=k_1M-k_2(1-M)=A\exp \left (-\frac{E}{T} \right )M-B\exp \left ( -\frac{F}{T} \right )(1-M)$

The goal is to solve the differential equation. It turns out the solution should be something like this:

$M=\frac{k_2}{K_1+k_2}+\frac{k_1}{K_1+k_2}\exp -(k_1+k_2)t$

although I think there may be a typo around the last exp (im not sure if t is inside the exponent or not)

3. The attempt at a solution

After integrating over t I get

$M=Mt(k_1+k_2)-k_2 t$

But I'm not even sure this is the correct integral of the equation as I don't know how the supposed solution follows from this.

2. Jan 12, 2012

### lanedance

You integration over t is not correct, you need to remember M=M(t) is a function of t.

To integrate directly the DE must be separable, this one is not but i think it can be made so with a simple substitution

3. Jan 12, 2012

### lanedance

An example of a separable DE is as follows
$$\frac{dx}{dt} = kx$$

rearranging and integrating gives
$$\int\frac{dx}{x} = k\int dt$$
$$ln(x) = kt+c$$
$$x = e^{c}e^{kt}$$

4. Jan 12, 2012

### bigfooted

5. Jan 12, 2012

### lanedance

or write your ODE as
M' = aM+b

and make the subsitution
N = aM+b

Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook