Determining a function from deriv, func in integral

  • Context: Graduate 
  • Thread starter Thread starter nobahar
  • Start date Start date
  • Tags Tags
    Function Integral
Click For Summary
SUMMARY

This discussion centers on solving a differential equation represented as \(\frac{d}{dt}(f(t)) = A g(t) h(t) - B f(t)\). The user seeks assistance in determining the function \(f(t)\) over time, utilizing integration techniques and the concept of an integrating factor. The solution involves finding the integrating factor \(u(t) = e^{Bt}\) to transform the equation into an exact differential, leading to the expression \(f(t) = e^{-Bt}\int_a^t e^{Bz}g(z)h(z)dz\). The conversation highlights the importance of correctly applying integration limits and understanding the implications of initial conditions.

PREREQUISITES
  • Understanding of differential equations, specifically first-order linear equations.
  • Familiarity with integration techniques and the concept of integrating factors.
  • Knowledge of functions and their properties, particularly in relation to time-dependent variables.
  • Proficiency in using LaTeX for mathematical expressions.
NEXT STEPS
  • Study the method of integrating factors in first-order linear differential equations.
  • Explore the application of Laplace transforms for solving differential equations.
  • Learn about the implications of initial conditions in differential equations.
  • Practice writing and interpreting mathematical expressions in LaTeX.
USEFUL FOR

Mathematicians, engineers, and students studying differential equations, particularly those interested in time-dependent functions and their applications in modeling dynamic systems.

nobahar
Messages
482
Reaction score
2
Hello!

I have a value which changes over time, I think I can represent this as f(t). It increases by an amount determined by two other values which also change with t: g(t) and h(t), all multiplied by a constant: A. It decreases by an amount determined by its value at the given time: f(t), multiplied by some constant: B.
So I figured:
[tex]\frac{d}{dt}(f(t)) = A g(t) h(t) - B f(t)[/tex]

So the value of the function at time = t1 is:

[tex]\int_{0}^{t_{1}}\frac{d}{dt}(f(t)) dt = A \int_{0}^{t_{1}} g(t) h(t) dt - B \int_{0}^{t_{1}}f(t) dt[/tex]

This gives f(t1) - f(t), f(t) in this case = 0, and so it gives f(t1).
[tex]f(t1) = A \int_{0}^{t_{1}} g(t) h(t) dt - B \int_{0}^{t_{1}}f(t) dt[/tex]
However, the second component on the RHS says that the integral of f(t) dt from 0 to t1 is required. The value of t at a given time between 0 and t1, say t = a, is given by the equation above, evaluated from 0 to a. Therefore:

[tex]f(t1) = A \int_{0}^{t_{1}} g(t) h(t) dt - B \int_{0}^{t_{1}}(A \int_{0}^{t_{1}} g(t) h(t) dt - B \int_{0}^{t_{1}}f(t) dt) dt[/tex]

Does that even make sense?
I'm stuck! Help!
Thanks in advance!
 
Physics news on Phys.org
nobahar said:
Hello!

I have a value which changes over time, I think I can represent this as f(t). It increases by an amount determined by two other values which also change with t: g(t) and h(t), all multiplied by a constant: A. It decreases by an amount determined by its value at the given time: f(t), multiplied by some constant: B.
So I figured:
[tex]\frac{d}{dt}(f(t)) = A g(t) h(t) - B f(t)[/tex]

So the value of the function at time = t1 is:

[tex]\int_{0}^{t_{1}}\frac{d}{dt}(f(t)) dt = A \int_{0}^{t_{1}} g(t) h(t) dt - B \int_{0}^{t_{1}}f(t) dt[/tex]

This gives f(t1) - f(t), f(t) in this case = 0, and so it gives f(t1).
[tex]f(t1) = A \int_{0}^{t_{1}} g(t) h(t) dt - B \int_{0}^{t_{1}}f(t) dt[/tex]
However, the second component on the RHS says that the integral of f(t) dt from 0 to t1 is required. The value of t at a given time between 0 and t1, say t = a, is given by the equation above, evaluated from 0 to a. Therefore:

[tex]f(t1) = A \int_{0}^{t_{1}} g(t) h(t) dt - B \int_{0}^{t_{1}}(A \int_{0}^{t_{1}} g(t) h(t) dt - B \int_{0}^{t_{1}}f(t) dt) dt[/tex]
If I understand what you are saying this should be
[tex]f(t1) = A \int_{0}^{t_{1}} g(t) h(t) dt - B \int_{0}^{t_{1}}(A \int_{0}^{t} g(z) h(z) dz - B \int_{0}^{t}f(z) dz) dt[/tex]
That is, the inner integral is from 0 to t, and gives a function of t to be integrated again.
Does that even make sense?
I'm stuck! Help!
Thanks in advance!
I don't see how that helps you at all! If you are trying to solve the differential equation,
[tex]\frac{df}{dx}+ Bf= Ag(t)h(t)[/tex]
then you need to find an "integrating factor". That is a function, u(t), such that multiplying the entire equation by it makes the left side an "exact differential"- that is
[tex]\frac{duf}{dt}= u\frac{df}{dt}+ Buf= Au(t)g(t)h(t)[/tex]
Once you have that, integrating on both sides gives
[tex]u(t)f(t)= A\int u(t)g(t)h(t)dt[/tex]

To find the integrating factor, use the product rule for the derivative:
[tex]\frac{duf}{dt}= u\frac{df}{dt}+ \frac{du}{dt}f= u\frac{df}{dt}+ Buf[/tex]
so we must have du/dt= Bu. Since B is a constant, that is easy to solve: [itex]u(t)= e^{Bt}[/itex].

That is, multiplying by [itex]e^{Bt}[/itex] makes the equation
[tex]e^{Bt}\frac{df}{dt}+ Be^{Bt}= \frac{e^{Bt}f}{dt}= Ae^{Bt}g(t)h(t)[/tex]
and, integrating,
[tex]e^{Bt}f(t)= A\int e^{Bt}g(t)h(t)dt[/tex]
so that
[tex]f(t)= e^{-Bt}\int_a^t e^{Bz}g(z)h(z)dz[/tex]
where I have changed the "dummy" variable of integration on the right so you will not accidently "cancel" the two exponentials. The upper limit is t so the right hand side is a function of t. You can take the lower limit to be whatever is convenient. Changing it just changes the constant of integration.
 
HallsofIvy said:
That is, multiplying by [itex]e^{Bt}[/itex] makes the equation
[tex]e^{Bt}\frac{df}{dt}+ Be^{Bt}= \frac{e^{Bt}f}{dt}= Ae^{Bt}g(t)h(t)[/tex]
and, integrating,
[tex]e^{Bt}f(t)= A\int e^{Bt}g(t)h(t)dt[/tex]
so that
[tex]f(t)= e^{-Bt}\int_a^t e^{Bz}g(z)h(z)dz[/tex]
where I have changed the "dummy" variable of integration on the right so you will not accidently "cancel" the two exponentials. The upper limit is t so the right hand side is a function of t. You can take the lower limit to be whatever is convenient. Changing it just changes the constant of integration.
Thanks for all the help, it's much appreciated.
I am slightly confused, however.
When integrating:
[tex]\frac{d}{dt}(u(t)f(t)) = A u(t)g(t)h(t)[/tex]
If u(a)f(a) = 0, where a is the lower bound, then I can see why we can divide by u(t). However, if it doesn't, then we can't divide both sides by u(t), since f(b)u(b) - f(a)u(a), the difference from the definite integral, with b the upper bound, is the difference of different, non-zero products. Is this correct? Also, since u(t) can't = 0 (i.e. it's never zero), then f(a) has to equal zero.
I can attempt to write it in latex if necessary! I hope it makes sense.
Thanks in advance.
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K