For an FIR filter, with symmetrical tap values $h[N-1-n]=h[n]$,
- why is the group delay $\frac{N-1}{2} T$ (where $N$ is the number of taps of the FIR filter and $T$ is the sampling time)?
- Why is linear phase so important for the filter response?
For an FIR filter, with symmetrical tap values $h[N-1-n]=h[n]$,
To be precise the group delay of a linear phase FIR filter is $(N-1)/2$ samples, where $N$ is the filter length (i.e. the number of taps). The group delay is constant for all frequencies, because the filter has a linear phase, i.e. its impulse response is symmetrical (or asymmetric). A linear phase means that all frequency components of the input signal experience the same delay, i.e. there are no phase distortions. So for a frequency selective filter (e.g., a low pass filter), if the input signal is in the passband of the filter, the output signal is approximately equal to the input signal delayed by the group delay of the filter. Note that in general FIR filters do not have a linear phase response. In this case, the group delay is a function of frequency.
EDIT:
Consider an odd length FIR filter with even symmetry ("type I filter"). In this case the group delay is an integer number of samples $K=(N-1)/2$. The filter has a linear phase response (because the group delay is the negative derivative of the phase) and the filter's frequency response can be written as
$$H(\omega)=A(\omega)e^{-jK\omega}$$
where $A(\omega)$ is the real-valued amplitude function, and $\phi(\omega)=-K\omega$ is the (linear) phase. If the input signal's Fourier transform is $X(\omega)$, then the Fourier transform of the output signal is given by
$$Y(\omega)=H(\omega)X(\omega)=A(\omega)X(\omega)e^{-jK\omega}\tag{1}$$
Now assume that the frequency content of the input signal is in the passband of the filter, i.e. in the frequency region where $A(\omega)\approx 1$ holds. Then from (1) the output signal's spectrum can be written as
$$Y(\omega)\approx X(\omega)e^{-jK\omega}\tag{2}$$
and, from the shift property of the Fourier transform, the output signal is (approximately) given by
$$y(n)\approx x(n-K)$$
i.e. $y(n)$ is a delayed version of the input signal, where the delay is given by the group delay $K$.
Why is the group delay constant and close to half of the number of taps in this symmetric tap filter ($h[N−1−n]=h[n]$)? The answer lies in it being symmetric. Note that the $n^{th}$ tap (coefficient) of an FIR filter can be seen as delay of $n$ "sampling intervals" (or $n$ samples).
Thus, if you pick a pair of "symmetric" taps/coefficients of this filter (say at $n_1$ and $N-n_1-1$), and pass a sinusoidal signal, $\sin(\omega t)$, through this pair, you would see that the output of this passing is a sinusoidal signal of the same frequency $\omega$ but with a delay which is an average of the two tap delays, i.e., $(N-n_1-1+n_1)/2 = (N-1)/2$. It is simple math, i.e., try adding $\sin(\omega t-t_0-t_1)$ and $\sin(\omega t-t_0+t_1)$, the sum is $K*\sin(\omega t-t_0)$. Do this for all $N/2$ pairs and you will find all will have a time delay of $t_0 = (N-1)/2$. Please excuse my extreme brevity and delay in replying. I hope I got the point across.
To answer your second question: why Linear phase so important for filter response. Consider filter as a channel, when you pass your signal from a channel what you want is all frequency components to be delayed by equal number of samples, if different frequency components gets delayed by different value then there will be distortion in your signal which is a bit difficult to compensate while a constant delay can be compensated by some simple techniques at receiver. Linear phase or constant group delay indicates that all frequencies (for which filter response is linear) are delayed by an equal amount. Therefore your output signal is just a shifted version of your input signal.
FIR Equation is given as
$y(k) = \sum\limits_{i=1}^{N-1}w_n$$\cos\omega(k-n)$ - Eq(1)
where
$w_n$ are taps (coefficients or weights) of the filter
$\omega$ is the frequency of the signal
$N$ is the number of filter taps
Consider an example $N = 8$ (ie 8 Tap FIR filter ie filter having 8 coefficients/weights). The coefficients will be from $w_0$ to $w_7$
For symmetric FIR filter - Eq(2)
$w_0$ = $w_7$
$w_1$ = $w_6$
$w_2$ = $w_5$
$w_3$ = $w_4$
Eq 1 can be expanded for N=8 case as - Eq(3)
$y(k) = w_0\cos\omega(k-0) + w_1\cos\omega(k-1) + w_2\cos\omega(k-2) + w_3\cos\omega(k-3) + w_4\cos\omega(k-4) + w_5\cos\omega(k-5) + w_6\cos\omega(k-6) + w_7\cos\omega(k-7)$
Due to symmetry indicated in Eq(2), we can rewrite Eq(3) as Eq(4)
$y(k) = w_0\cos\omega(k-0) + w_1\cos\omega(k-1) + w_2\cos\omega(k-2) + w_3\cos\omega(k-3) + w_3\cos\omega(k-4) + w_2\cos\omega(k-5) + w_1\cos\omega(k-6) + w_0\cos\omega(k-7)$
Eq(4) can be indicated in compact form as Eq(5)
y$(k) = \sum\limits_{i=1}^{3} w_n\cos\omega(k-n) + \sum\limits_{i=1}^{3} w_n\cos\omega(k-7+n)$
Using the identity
$\cos A + \cos B = 2\cos(A+B)/2 \cdot \cos(A-B)/2$
Eq(5) can be expressed as
$y(k) = 2\sum\limits_{i=1}^{3} \cos\ \omega(k-(7/2))w_n \cdot\cos\ \omega(n-(7/2))$
We can take $\cos\ \omega(k-(7/2))$ out of summation, as this equation does not depend on $n$ which is limit of summation
$y(k) = \cos\ \omega(k-(7/2))\sum\limits_{i=1}^{3} 2w_n\cos\ \omega(n-(7/2))$
We can see that, value inside the summation is a constant and value outside the summation is the signal sample shifted by 7/2 ie (N-1)/2 --- We have taken N as 8 (N is number or filter taps/coefficients/weights)
So the signal is delayed by (N-1)/2 in symmetric or antisymmetric FIR filter. In the answer, example is shown only for symmetric case. Similarly antisymmetric case also can be worked out.