1: \begin{abstract}
2: A convergence theory for the $hp$-FEM applied to a variety of constant-coefficient Helmholtz problems was pioneered in the papers \cite{MeSa:10}, \cite{MeSa:11}, \cite{EsMe:12}, \cite{MePaSa:13}. This theory shows that, if the solution operator is bounded polynomially in the wavenumber $k$, then the Galerkin method is quasioptimal provided that $hk/p \leq C_1$ and $p\geq C_2 \log k$, where $C_1$ is sufficiently small, $C_2$ is sufficiently large, and both are independent of $k,h,$ and $p$. The significance of this result is that if $hk/p= C_1$ and $p=C_2\log k$,
3: then quasioptimality is achieved with the total number of degrees of freedom proportional to $k^d$; i.e., the $hp$-FEM does not suffer from the pollution effect.
4:
5: This paper proves the analogous quasioptimality result for the heterogeneous (i.e.~variable-coefficient) Helmholtz equation, posed in $\Rea^d$, $d=2,3$, with the Sommerfeld radiation condition at infinity, and $C^\infty$ coefficients. We also prove a bound on the relative error of the Galerkin solution
6: in the particular case of the plane-wave scattering problem.
7: These are the first ever results on the wavenumber-explicit convergence of the $hp$-FEM for the Helmholtz equation with variable coefficients.
8: %\paragraph{Keywords:}
9: %Helmholtz equation, high frequency, pollution effect, finite element method, error estimate, semiclassical analysis.
10: \end{abstract}
11: