The federal courts can hear and decide cases on the basis of

Aamount of interest in the subject matter and the people affected by the case.
Bthe amount of money or number of defendants.
Cdiverse citizenship or human interest.
Dappeals from States and from courts of appeals.