1: \begin{abstract}
2: In this work, a complete error analysis is presented for fully discrete solutions of the subdiffusion
3: equation with a time-dependent diffusion coefficient, obtained by the Galerkin finite element method
4: with conforming piecewise linear finite elements in space
5: and backward Euler convolution quadrature in time. The regularity of the solutions of the subdiffusion
6: model is proved for both nonsmooth initial data and incompatible source term. Optimal-order convergence of the
7: numerical solutions is established using the proven solution regularity and a novel perturbation argument
8: via freezing the diffusion coefficient at a fixed time. The analysis is supported by numerical experiments.
9: \end{abstract}
10: