This problem starts as a 1st order ODE where i need to solve for $\phi(t)$.
$$\frac{d\phi(t)}{dt}-D\phi(t)=-f(t)$$
with a final condition $\phi(T)=1$. $D$ is a constant. Using an integrating factor $I(t)=e^{-Dt}$ to solve the ODE for $\phi(t)$, I arrived at the following equation (1):
$$\phi(t) = -e^{Dt}\int f(t)e^{-Dt}dt$$How do i go from the above to prove that:
$$\phi(t) = e^{-D(T-t)}+\int_t^Te^{-D(\tau-t)}f(\tau) d\tau$$
I've tried to use integration by parts on equation (1) for the expression in the integral but that doesn't seem to converge to the required form.
Thank you.
Asked
Active
Viewed 57 times
0
Gnowl
- 3
1 Answers
0
Hint: use definite integrals all the way through instead of indefinite integrals. This works the appropriate constant terms into the equations from the get go.
$$\frac{d}{dt}\left(e^{-Dt}\phi(t)\right)=-e^{-Dt}f(t)\\ \implies e^{-Dt}\phi(t) - e^{-DT}\phi(T)= -\int_T^t f(\tau)e^{-D\tau}d\tau$$
David H
- 29,921
– Gnowl Apr 06 '14 at 17:30
the limits of integration does depend on $t$. The first equation is something i derived. If $f(t)$ was a defined integrable function of $t$, I would've used integration by parts or substitution to solve it. That would give me an answer with a remaining constant $C$, which i would then solve using the final condition.
However, since $f(t)$ is not defined it is left as is. In the integral of the second equation that i'm trying to get to, the limits of integ. don't depend on $t$, hence the change of variable to $\tau$. – Gnowl Apr 06 '14 at 17:43