This open access book covers the main topics for a course on the differential geometry of curves and surfaces. Unlike the common approach in existing textbooks, there is a strong focus on variational problems, ranging from elastic curves to surfaces that minimize area, or the Willmore functional. Moreover, emphasis is given on topics that are useful for applications in science and computer grap…