A series $RL$ circuit experiences a pulse of voltage, $V$, occurring during the interval $t_0 \lt t \lt t_1$. Determine the circuit current $i(t)$.
First I've broken up the pulse into $\pm V u(t - t_j), \ j=0,1$ and will add the two solutions $i_j(t), \ j=0,1$ when done, via superposition.
So the differential equation modeling the system is:
$\pm V u(t - t_j) = R i_j(t) + L \dfrac{d i_j(t)}{dt}$.
Taking the Laplace transform and rearranging I get:
$I_j(s) = \dfrac{e^{-t_j s}}{s}\dfrac{ \pm \dfrac{V}{L}}{\dfrac{R}{L} + s}$
and taking the inverse transform I get:
$\pm \dfrac{V}{L} \int\limits_0^t u(\tau - t_j) e^{-\frac{R}{L}(t - \tau)} d\tau$.
My question is how do I evaluate this integral, or am I doing it wrong?
Hint: For $\tau < t_j$,$$u(\tau-t_j) = 0,$$ and $$u(\tau-t_j) = 1$$ otherwise. Consequently, $$\int_{0} ^{t} u(\tau-t_j) f(\tau)d\tau = 0,$$ if $t \le t_j$, and $$\int_{0} ^{t} u(\tau-t_j) f(\tau)d\tau = \int_{t_j} ^{t} f(\tau)d\tau$$ for $t > t_j$.