This volume comprises high-quality works in pure and applied mathematics from the mathematical communities in Spain and Brazil. A wide range of subjects are covered, ranging from abstract algebra, including Lie algebras, commutative semigroups, and differential geometry, to optimization and control in real world problems such as fluid mechanics, the numerical simulation of cancer PDE models, and the stability of certain dynamical systems. The book is based on contributions presented at the Second Joint Meeting Spain-Brazil in Mathematics, held in Cádiz in December 2018, which brought together more than 330 delegates from around the world. All works were subjected to a blind peer review process. The book offers an excellent summary of the recent activity of Spanish and Brazilian research groups and will be of interest to researchers, PhD students, and graduate scholars seeking up-to-date knowledge on these pure and applied mathematics subjects.