Discrete and Continuous Models and Applied Computational ScienceDiscrete and Continuous Models and Applied Computational Science2658-46702658-7149Peoples' Friendship University of Russia named after Patrice Lumumba (RUDN University)14562Research ArticleA Geometric Approach to the Lagrangian and Hamiltonian Formalism of ElectrodynamicsKulyabovD SJoint Institute for Nuclear Research, Dubna, Moscow region, Russiads@sci.pfu.edu.ruRUDN University (Peoples’ Friendship University of Russia)151220164778314122016Copyright © 2016,2016In solving field problems, in particular problems of electrodynamics, we commonly use the Lagrangian and Hamiltonian formalisms. Hamiltonian formalism of field theory has the advantage over the Lagrangian, which inherently contains a gauge condition. While the gauge condition is introduced ad hoc from some external reasons in the Lagrangian formalism. However, the use of the Hamiltonian formalism in the field theory is difficult due to the non-regularity of the field Lagrangian. We must use such variant of the Lagrangian and the Hamiltonian formalism, which would allow us to work with the field models, in particular, to solve the problem of electrodynamics. We suggest using the modern differential geometry and the algebraic topology, in particular the theory of fiber bundles, as a mathematical apparatus. This apparatus leads to greater clarity in the understanding of mathematical structures, associated with physical and technical models. Using the fiber bundles theory allows us to deepen and expand both the Lagrangian and the Hamiltonian formalism. We can detect a wide range of these formalisms. We can select the most appropriate formalism. Actually just using the fiber bundles formalism we can adequately solve the problems of the field theory, in particular the problems of electrodynamics.fiber bundlesconnectivityLagrangian formalismHamiltonian formalismYang-Mills theoryрасслоенные пространствасвязностьлагранжев формализмга- мильтонов формализмтеория Янга-Миллса