1 Answer
1

Well, for solid state physics, you should know quantum mechanics first, which will teach you about Hamiltonians. So pick up any standard undergrad quantum text. Lagrangians don't come into undergrad QM too much, unless you happen to get an introduction to path integrals, so if you want to learn about those I'd suggest a classical mechanics text (again, any standard undergrad book will do).