Can You Solve This Differential Equation Involving Exponential Decay?

In summary, the differential equation dNB/dt + NB/b = NA/a can be solved by using the trial function NB = C exp(-t/a) + D exp (-t/b), where C and D are constants. After substituting this trial function and the initial condition into the equation, C can be solved for, which then allows for the solution of D. The final solution for NB is given by NB = [NAo / (a/b-1)] *exp(-t/a) + [NBo - NAo / (a/b - 1)] *exp(-t/b).
  • #1
zheng89120
149
0

Homework Statement



Assume NA = NAo exp(-t/a)

Solve the differential equation:

dNB/dt + NB/b = NA/a

Homework Equations



differential equations

The Attempt at a Solution



trial function: NB = C exp(-t/a) + D exp (-t/b)

with initial condition: C + D = NBo

I tried plugging in this and NA into the original equation, but was not able to solve for C or D...
 
Physics news on Phys.org
  • #2
Show us what you got because what you described should work.

Note that the D term will vanish when you plug it in because it's the solution to the homogeneous differential equation. This allows you to solve for C.
 
  • #3
Unfortunately I don't really have much experience with this kind of differential equation. After I substituted the trial function and C = NB - D into the equation, I got:

[ -(NB-D)/a*exp(-t/a) - D/b*exp(-t/b) ] + [ NB-D/b*exp(-t/a) - D/b*exp(-t/b) ] = NA/a*exp(-t/a)

how would you solve 'D' from this?
 
  • #4
You want to plug the trial function into the differential equation:
[tex]\frac{d}{dt}(C e^{-t/a} + D e^{-t/b}) +\frac{1}{b}(C e^{-t/a} + D e^{-t/b}) = \frac{N_{A_0}}{a} e^{-t/a}[/tex]
When you differentiate the first term, you'll see the e-t/b terms cancel out, which leaves only the e-t/a terms, allowing you to solve for C. Once you know C, you can solve for D.
 
  • #5
Ok, thanks for the insightful help, vela. This is what I got for NB, with D=NBo-C :

NB = [NAo / (a/b-1)] *exp(-t/a) + [NBo - NAo / (a/b - 1)] *exp(-t/b)

assuming this is correct.
 

FAQ: Can You Solve This Differential Equation Involving Exponential Decay?

What is a differential equation?

A differential equation is a mathematical equation that relates a function with its derivatives. It describes how a function changes over time or space, and is commonly used in the fields of physics, engineering, and mathematics.

How do I solve a differential equation?

The process of solving a differential equation involves finding the general solution by integrating the equation and including a constant of integration. From there, specific solutions can be found by substituting in initial conditions or boundary values.

What methods can be used to solve differential equations?

There are several methods that can be used to solve differential equations, including separation of variables, substitution, and using integrating factors. Other more advanced methods include Laplace transforms, Fourier series, and numerical methods.

Are there any tips for solving differential equations?

Some tips for solving differential equations include understanding the problem and identifying the type of equation, using appropriate methods, and checking for extraneous solutions. It is also helpful to practice and become familiar with common types of differential equations.

Can differential equations be solved using software?

Yes, there are many software programs and online tools that can help solve differential equations. These programs use numerical methods to approximate solutions and can be useful for complex or non-analytic equations. However, it is still important to have a basic understanding of differential equations and their solutions when using software.

Similar threads

Back
Top