"Basic Algebra" and "Advanced Algebra" systematically develop concepts and tools in algebra that are vital to every mathematician, whether pure or applied, aspiring or established. Together, the two books give the reader a global view of algebra and its role in mathematics as a whole, presenting the subject matter in a forward-looking way that takes into account its historical development. Three prominent themes recur and blend together at times: the analogy between integers and polynomials in one variable over a field, the interplay between linear algebra and group theory, and the relationship between number theory and geometry. The exposition proceeds from the particular to the general, often providing examples well before a theory that incorporates them. The presentation includes blocks of problems that introduce additional topics and applications to science and engineering to guide further study. Many examples and hundreds of problems are included, along with separate sections giving hints or complete solutions for most of the problems.