I'm studying for an exam, and this particular practice problem is missing the solution:
Given a causal LTI system where only the real part of the frequency response is known, $$\Re\left\{H(j\omega)\right\}= 1 + \cos(\omega) $$ show that the system has a linear-phase frequency response.
I know that systems with constant group delay have linear phase, but I can't figure out how to get the group delay without the imaginary part, since group delay is $$ \tau(\omega)=\Re\left\{\frac{\mathcal F[th(t)]}{\mathcal F[h(t)]}\right\} $$ and \begin{align} \Re\left\{\mathcal F[th(t)]\right\} &= \Re\left\{j\frac{d}{d\omega}H(j\omega)\right\}\\ & = \Re\left\{\frac{d}{d\omega}[jH_{\rm real}(j\omega)+j^2H_{\rm imag}(j\omega)]\right\}\\ & = -\frac{d}{d\omega}H_{\rm imag}(j\omega) \end{align}
Is my approach right but I made a mistake or can't see some trick, or am I going down the wrong path?