I have been trying to figure out one of the homework assignments for my DSP class, and have been spending quite a lot of time figuring out a particular problem. The solution to this problem was given to us, but I just do not understand the reasoning behind it.
The main idea was that we were asked to construct a causal and stable filter. One part of the solution has stated that $g[k]$ is composed of an FIR part and an IIR part, with
$$\sigma[k] \triangleq \begin{cases} 1 \qquad & k \ge 0 \\ 0 \qquad & k \lt 0 \\ \end{cases} $$
(unit step signal).
I understand FIR and IIR, and I think that IIR should be recursive and the output is computed by using the current and previous inputs and previous outputs, whereas FIR depends on previous inputs and current inputs.
$$ g[k]=\underbrace{\tfrac{1}{8} \left(-\tfrac{5}{4}\right)^{k-2} \cdot \sigma[-(k-1)] \cdot \sigma[k]}_{g_\text{FIR}[k]} + \underbrace{\tfrac{1}{8} \left(-\tfrac{3}{4}\right)^{k-2} \sigma[k-2]}_{g_\text{IIR}[k]} $$
Yet I simply do not know how to tell FIR and IIR apart in the time domain for this particular problem?
If you could help me to clarify this, that would be great help!
After Dan's clarification, I used $k = {-1, 0, 1, 2}$ to check my understanding of the FIR section as follows:
$$k=-1: g_{\text{FIR}}[k] = \tfrac{1}{8}{\left(\tfrac{-5}{4}\right)}^{-3}\sigma[-(-2)]\sigma[-1]$$ $$k=0: g_{\text{FIR}}[k] = \tfrac{1}{8}{\left(\tfrac{-5}{4}\right)}^{-2}\sigma[1]\sigma[0]$$ $$k=1: g_{\text{FIR}}[k] = \tfrac{1}{8}{\left(\tfrac{-5}{4}\right)}^{-1}\sigma[0]\sigma[1]$$ $$k=2: g_{\text{FIR}}[k] = \tfrac{1}{8}{\left(\tfrac{-5}{4}\right)}^{0}\sigma[-1]\sigma[2]$$
Hence, we can see that we obtain non-zero values of $g_{\text{FIR}}[k]$ only when k is 0 or 1, and so it is FIR.