Trace forms of certain subfields of cyclotomic fields and applications