How do I solve these coupled Differential Equation?

Click For Summary
SUMMARY

The discussion focuses on solving a system of coupled differential equations involving functions Na and Nb, where Na is defined by the equation dNa/dt = -Na/Ta and Nb by dNb/dt = Na/Ta - Nb/Tb. The solution for Na(t) is Na(t) = Na(0)exp(-t/Ta), while the solution for Nb(t) involves integrating the modified equation using an integrating factor approach. The correct form of Nb(t) is Nb = (1 / ((Ta/Tb)-1.)) Na(0)exp(-t/Ta) + (Nb(0)-(Na(0)/((Ta/Tb)-1.)))exp(-t/Tb), which the original poster struggles to derive.

PREREQUISITES
  • Understanding of differential equations, specifically first-order linear equations.
  • Familiarity with the method of integrating factors for solving differential equations.
  • Knowledge of exponential functions and their properties in the context of differential equations.
  • Basic understanding of initial value problems and how to apply them to coupled systems.
NEXT STEPS
  • Study the method of integrating factors in detail to solve linear differential equations.
  • Learn about coupled differential equations and their applications in various fields.
  • Explore the use of Laplace transforms for solving differential equations with initial conditions.
  • Review examples of exponential decay and growth in the context of differential equations.
USEFUL FOR

Students studying differential equations, mathematicians, and engineers dealing with dynamic systems involving coupled variables.

baouba
Messages
40
Reaction score
0

Homework Statement


dNa/dt = -Na/Ta where Na is the function and Ta is the constant
dNb/dt = Na/Ta - Nb/Tb where Nb is the function and Tb is the constant

Homework Equations


My Prof said Nb(t) has the form Nb(t) = Cexp(-t/Ta) + Dexp(-t/Tb)

The Attempt at a Solution


I know the first equation solves to Na(t) = Na(0)exp(-t/Ta)

The second equation can be written,

dNb/dt = (TbNa-TaNb)/(TaTb)

(TaTb)dNb/dt = TbNa-TaNb

Separation of variables and integrating gives:

(TaTb) ∫ [TbNa-TaNb]^-1 dNb = ∫dt

(TaTb)(-1/Ta)ln(NaTb - NbTa) = t + C

Rearranging,

Nb = (Tb/Ta)Na - Cexp(-t/Tb)

Subbing in Na,

Nb = (Tb/Ta)(Na(0)exp(-t/Ta)) - Cexp(-t/Tb)

at t = 0,

Nb(0) = (Tb/Ta)(Na(0)) - C

so C = (Tb/Ta)(Na(0)) - Nb(0)

Subbing back into Nb(t),

Nb = [(Tb/Ta)(Na(0)exp(-t/Ta))] - [(Tb/Ta)(Na(0)) - Nb(0)]exp(-t/Tb)

Apparently the right answer is,

Nb = (1 / ((Ta/Tb)-1.)) Na(0)exp(-t/Ta)+ (Nb(0)-(Na(0)/((Ta/Tb)-1.)))exp(-t/Tb);

but I just can't seem to get it. Can anyone tell me where I went wrong?

Thanks
 
Physics news on Phys.org
baouba said:

Homework Statement


dNa/dt = -Na/Ta where Na is the function and Ta is the constant
dNb/dt = Na/Ta - Nb/Tb where Nb is the function and Tb is the constant

Homework Equations


My Prof said Nb(t) has the form Nb(t) = Cexp(-t/Ta) + Dexp(-t/Tb)

The Attempt at a Solution


I know the first equation solves to Na(t) = Na(0)exp(-t/Ta)

.........

Thanks

Once you have solved the first equation for ##N_a(t)##, your second equation becoms
\frac{dN_b}{dt} = f(t) - \tau_b N_b,
where ##\tau_b \equiv 1 / T_b## is a constant and ##f(t) = N_a(t)/T_a## is a known function. You can solve this DE using an integrating-factor approach; see, eg.,
https://en.wikipedia.org/wiki/Integrating_factor .
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
Replies
6
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
Replies
9
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
6
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K