According to my understanding:
In differential equations, the input is defined as the entire inhomogeneous part of the equation as it would be written on the right hand side. For example, the input of $y'' + 2y' - t + te^t + y = 0;\ y(0) = 1;\ y'(0) = 1$ is $t - te^t$. When solving for the unit impulse response, this input is to be replaced by $\delta$, yielding $y_{_\delta}'' + 2y_{_\delta}' + y_{_\delta} = \delta;\ y_{_\delta}(0) = 0;\ y_{_\delta}'(0) = 0$.
In difference equations, the input is defined as (in general) only part of this inhomogeneous part. For example, given $y[t + 2] - 7y[t + 1] + ty[t] = \cosh(t + 2) - \cosh(t + 1);\ y[0] = 5;\ y[1] = 10$, it cannot be determined whether:
- The input is $f[t] = \cosh(t + 2) - \cosh(t + 1)$ and the difference equation has the form $y[t + 2] - 7y[t + 1] + ty[t] = f[t];\ y[0] = 5;\ y[1] = 10$,
- The input is $f[t] = \cosh(t)$ and the difference equation has the form $y[t + 2] - 7y[t + 1] + ty[t] = f[t + 2] - f[t + 1];\ y[0] = 5;\ y[1] = 10$,
- The input is $f[t] = \cosh(t + 1)$ and the difference equation has the form $y[t + 2] - 7y[t + 1] + ty[t] = f[t + 1] - f[t];\ y[0] = 5;\ y[1] = 10$,
or any other number of possibilities is correct. The distinction between these possibilities seems to be non-trivial, since when solving for the unit impulse response, only the input is to be replaced by $\delta$, not the entire inhomogeneous part of the difference equation. This leads to the seemingly false conclusion that the difference equation and initial conditions jointly fail to uniquely determine a unit impulse response, that additional information defining the input must be provided.
Since differential equations seem to be limiting cases of difference equations with arbitrarily short time steps, why is there this substantial difference between the two in how the inputs are managed, especially when solving for the unit impulse response?



