An appeal to the personalistic component of the history of mathematics, stories about scientists who have contributed to its development, contribute to the implementation of the educational aspect in the teaching of mathematics. A question arises: how can a mathematics teacher shape the moral qualities of a child, including patriotic and international feelings; what pedagogical means he can use at the same time; how to prepare a teacher for this type of activity at a university. Based on the purpose of the study, the case study method was chosen as the main tool, which allowed us to carefully study the data (biographical materials) in a certain context (in terms of their educational potential). Biographies of outstanding mathematicians were analyzed and cases related to the manifestation of their qualities in various life situations were identified. The publications and experience of teachers were considered in terms of the possibility of including this material in the process of teaching mathematics. The empirical experience of implementing the process of training a teacher-educator in the framework of teaching methodological and mathematical disciplines and organizing extracurricular activities of a professional orientation was generalized. As a result, the main directions of work on the implementation of educational activities through the appeal to the patterns of behavior of the creators of mathematics were identified: the creation of biographical essays and the preparation of presentations that reveal personal experience and career trajectory; the inclusion in the discussion of the actions and facts from the life of outstanding mathematicians; the inclusion in the discussion of actions and facts from the life of these wonderful people; preparation of brief historical notes on the discoveries of Russian mathematicians of different historical periods and other near-mathematical events; making presentations, wall newspapers (traditional or interactive) or video clips, organizing mathematical holidays, etc. The practical significance of the materials of this article lies in the fact that the developed system of work, including getting to know the cases from the life of scientists in the framework of training sessions, setting practice-oriented tasks for organizing independent work of students and organizing extracurricular educational activities in the form of group projects, contributes to the formation of the future teacher's readiness to use the educational potential of cases from the life of scientists in educational work.