Solving a System of Equations: Step-by-Step Guide

Click For Summary

Homework Help Overview

The discussion revolves around solving a system of differential equations given by da/dt = -kab and db/dt = kab, with initial conditions a(0) = a0 and b(0) = b0. Participants are attempting to find an exact solution to this system.

Discussion Character

  • Exploratory, Mathematical reasoning, Problem interpretation

Approaches and Questions Raised

  • Participants are exploring the relationship between the variables a and b by combining the equations, leading to a constant sum a + b = a0 + b0. They discuss the separability of the resulting equation and the integration process using partial fractions.

Discussion Status

Several participants have provided steps in their reasoning, including integration and manipulation of the equations. There is ongoing exploration of how to eliminate constants and find specific values, particularly the constant c, based on initial conditions. The discussion remains open with no explicit consensus reached.

Contextual Notes

Participants are working under the constraints of the initial conditions provided and are questioning how to proceed with the integration results and the implications for the constants involved.

squenshl
Messages
468
Reaction score
4

Homework Statement


Consider the following system of equations
da/dt = -kab, db/dt = kab, a(0) = a0, b(0) = b0.

Solve these equations exactly.


Homework Equations





The Attempt at a Solution


I added them together to get d(a+b)/dt = 0 which implies a + b = a0 + b0.
Therefore a = a0 + b0 - b so eliminating a we get db/dt = k(a0 + b0 - b)b which is separable, but I don't know where to go from here.

Someone please help.
 
Physics news on Phys.org
squenshl said:

Homework Statement


Consider the following system of equations
da/dt = -kab, db/dt = kab, a(0) = a0, b(0) = b0.

Solve these equations exactly.


Homework Equations





The Attempt at a Solution


I added them together to get d(a+b)/dt = 0 which implies a + b = a0 + b0.
Therefore a = a0 + b0 - b so eliminating a we get db/dt = k(a0 + b0 - b)b which is separable, but I don't know where to go from here.

Someone please help.
So db/(a0 + b0 - b)b = k
[tex]\frac{db}{b(a_0 + b_0 - b)} = k\cdot dt[/tex]

The left side can be integrated by using partial fraction decomposition. You could simplify the work slightly by rewriting a0 + b0 as, say, M.
 
Thanks.

I let M = a0 + b0 and got 1/(b(M-b)) = 1/(Mb) + 1/(M(M-b))
and this integrates to (ln(b)-ln(M-b))/M,
therefore we get (ln(b)-ln(M-b))/M = kt + c, so ln(b/(M-b)) = M(kt+c), so b/(M-b) = exp(M(kt+c) but what do I do now.
 
Then b = (M - b)exp(M(kt + c))
==> b - bexp(M(kt + c)) = Mexp(M(kt + c))
==> b(1 - exp(M(kt + c))) = Mexp(M(kt + c))
==> b = ?

You should be able to get rid of the constant c, since you are given that b(0) = b0.

Finally, since a and b add up to a constant, you can solve for a.

When you get a, by all means, check your work. Check that a(0) and b(0) turn out as expected, and then check that a'(t) = -kab, and that b'(t) = -a'(t).
 
We get b = Mexp(M(kt+c))/(1-exp(M(kt+c))
so b(0) = b0 = Mexp(Mc)/(1-exp(Mc)), but how do we find c?
 
squenshl said:
We get b = Mexp(M(kt+c))/(1-exp(M(kt+c))
so b(0) = b0 = Mexp(Mc)/(1-exp(Mc)), but how do we find c?

b0(1 - exp(Mc)) = Mexp(Mc)
==> b0 - b0exp(Mc) = Mexp(Mc)
==> b0 = b0exp(Mc) + Mexp(Mc) = exp(Mc)(b0 +M)
==> b0/(b0 +M) = exp(Mc)

Now take the ln of both sides.
 

Similar threads

Replies
3
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
10
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 12 ·
Replies
12
Views
2K
Replies
7
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K