We show that if E is an elliptic curve over Q with a
Q-rational isogeny of degree 7, then the image of the 7-adic Galois
representation attached to E is as large as allowed by the isogeny, except
for the curves with complex multiplication by Q(−7). The
analogous result with 7 replaced by a prime p>7 was proved by the first
author in [7]. The present case p=7 has additional interesting
complications. We show that any exceptions correspond to the rational points on
a certain curve of genus 12. We then use the method of Chabauty to show that
the exceptions are exactly the curves with complex multiplication. As a
by-product of one of the key steps in our proof, we determine exactly when
there exist elliptic curves over an arbitrary field k of characteristic not 7
with a k-rational isogeny of degree 7 and a specified Galois action on the
kernel of the isogeny, and we give a parametric description of such curves.Comment: The revision gives a complete answer to the question considered in
Version 1. Version 3 will appear in the American Journal of Mathematic