Solving ordinary differential equation

Click For Summary
SUMMARY

The discussion focuses on solving the linear non-homogeneous first-order ordinary differential equation given by \(\frac{dZ}{dt} + \Gamma\frac{I(t)}{qV} = Z(t)\left(\frac{-1 + \beta}{\tau_n}\right)\). The solution involves using an integrating factor, specifically \(u(t) = e^{-At}\), where \(A = \frac{-1 + \beta}{\tau_n}\) and \(B = \frac{\Gamma}{qV}\). The final solution is expressed as \(Z(t) = -Be^{At}\int^t e^{-Ax}I(x)dx + Ce^{At}\), where \(C\) is the constant of integration. The discussion also highlights challenges with integration by parts in this context.

PREREQUISITES
  • Understanding of ordinary differential equations (ODEs)
  • Familiarity with integrating factors in ODEs
  • Knowledge of integration techniques, particularly integration by parts
  • Basic concepts of linear algebra related to constants in equations
NEXT STEPS
  • Study the method of integrating factors in detail
  • Learn about integration by parts and its applications in solving ODEs
  • Explore numerical methods for solving ordinary differential equations
  • Investigate specific functions \(I(t)\) and their impact on the solution of the differential equation
USEFUL FOR

Mathematicians, engineering students, and anyone involved in solving ordinary differential equations, particularly those interested in analytical and numerical methods for linear non-homogeneous equations.

thavamaran
Messages
39
Reaction score
0
Hi guys! Attached is the differential equation that I want to solve both numerically and analytically, numerically done.

But analytically what method could I use? There is so many methods in differential equations. Please advice on this. Thank you very much
 

Attachments

  • New ode.JPG
    New ode.JPG
    3.6 KB · Views: 517
Physics news on Phys.org
Your equation is
[tex]\frac{dZ}{dt}+ \Gamma\frac{I(t)}{qV}= Z(t)\left(\frac{-1+ \beta}{\tau_n}\right)[/tex]


Are [itex]\Gamma[/itex], q, V, [itex]\beta[/itex], and [itex]\tau_n[/itex] all constants? If so that is a "linear non-homogeneous first order differential equation" and there are a number of ways of solving it. For simplicity, I am going to write A for the constant
[tex]\frac{-1+ \beta}{\tau_n}[/tex]
and B for
[tex]\frac{\Gamma}{qV}[/tex]

Now the equation is
[tex]\frac{dZ}{dt}+ BI(t)= AZ[/tex]
or, equivalently,
[tex]\frac{dZ}{dt}- AZ= -BI(t)[/tex]

The simplest method is to find an "integrating factor". That is, find a function, u(t), so that the left side of that equation, multiplied by u(t), is simply
[tex]\frac{d(uZ)}{dt}[/tex].

Of course, by the chain rule,
[tex]\frac{d(uZ)}{dt}= u\frac{dZ}{dt}+ \frac{du}{dt}Z[/tex]
while just multiplying by u would make the left side
[tex]u\frac{dZ}{dt}- AuZ[/tex]

Comparing those, it is easy to see that we need to have
[tex]\frac{du}{dt}= -Au[/itex]<br /> which is the same as<br /> [tex]\frac{du}{u}= -Adt[/itex]<br /> <br /> Integrating both sides gives ln|u|= -At+ C or <br /> [tex]U(t)= e^{-At+ C}[/itex]<br /> <br /> Since we only need one function, take C= 0 so that [itex]u(t)= e^{-At}[/itex].<br /> <br /> That is, multiplying the entire equation by [itex]e^{-At}[/itex] we get<br /> [tex]e^{-At}\frac{dZ}{dt}- Ae^{-at}Z= \frac{d(e^{-at}Z)}{dt}= -Be^{-At}I(t)[/itex]<br /> and so<br /> [tex]e^{-At}Z(t)= -B\int^t e^{-Ax}I(x)dx+ C[/tex]<br /> or<br /> [tex]Z(t)= -Be^{At}\int^t e^{-Ax}I(x)dx+ Ce^{At}[/tex]<br /> where I have changed the "dummy" variable in the integral to "x" so as not to confuse it with the actual variable t. In particular, the two exponentials, one inside the integral and one outside, do not cancel. The upper limit on the integral is to indicate that the variable becomes "t" after the integration and the "C" is the constant of integration. <br /> <br /> Of course, exactly what that integral is depends upon the function I(t) and, of course, you want to replace A and B with the original expressions.[/tex][/tex][/tex][/tex]
 
Last edited by a moderator:
Hi HallsofIvy, thank you very much and you are simply great to offer such help. But I still have trouble with solving the part as attached.

Im having trouble solving [tex]e^{-At}\frac{dZ}{dt}- Ae^{-at}Z= \frac{d(e^{-at}Z)}{dt}= -Be^{-At}I(t)[/tex] where I am having trouble with integration by parts cause of the variables, its confusing me too much, can you explain to me a bit further on this, I am extremely sorry, but i have been trying to solve this since yesterday, deriving and reaching again to different types of false answers.

By the way, the equation is [tex]\frac{dZ}{dt}=\Gamma\frac{I(t)}{qV}+ Z(t)\left(\frac{-1+ \beta}{\tau_n}\right)[/tex] and for integrating factor it should be:

[tex]\frac{dZ}{dt}-Z(t)\left(\frac{-1+ \beta}{\tau_n}\right)=\Gamma\frac{I(t)}{qV}[/tex] .

thank you a millions times!
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 12 ·
Replies
12
Views
7K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K