Abstract
The paper is devoted to the line integral topic belonging to the section of vector calculus in Mathematical Analysis applied to the undergraduate Mechanical Engineering program. An efficient way of teaching line integrals is proposed and developed based on the elementary work/force principles. By this way, the mathematical concept of the line integral is supposed to be learned in harmony with the elementary mechanics to appreciate its diversity and to set up the right idea about the scientific area covered by Mechanical Engineering and related academic and technical fields. In terms of practical training, the research also offers two new techniques of analytical calculus for line integrals containing singularities and provides a new coherent engineering approach to deal with vector fields as integrands in line integrals.
Introduction
Line integrals are mandatory for all undergraduate engineering studies and constitute the subject of vector calculus.1–3 Because of their common usage in such a vast number of engineering fields (mechanical, civil, marine, industrial, aerospace, chemical, electrical, etc.), the methodology of teaching and specific area of applications should be carefully observed and developed.
In terms of mandatory courses required for the first and second years of engineering undergraduate programs, Mechanical Engineering degree is the most challenging one 4 where the course on General and Theoretical Mechanics is a two-semester long, and is based on all three fundamental parts of Theoretical mechanics: statics, kinematics and dynamics.5,6 The first part which is taught at the very beginning of the Bachelor program consists of General Mechanics (like notions of forces, work, energy, heat and basic laws of nature) and Statics (geometry of forces and all their actions and interactions in the equilibrium context). This discipline is going on simultaneously with the other two: Mathematical Analysis (where the concept of definite integral is introduced not only as a powerful tool of calculus but also as a mathematical model for a work/force conjuncture) and General Physics (where the students learn more about the extension of an elementary work/force applications to the gravitational, electrical and magnetic effects on the surroundings in the steady environment). Clarification of the connection between Mathematical Analysis (namely, Mathematical Analysis II) where the line integral topic is taught and General and Theoretical Mechanics along with General Physics from where the idea of this concept comes from, and, consequently, may be easily understood is shown in Figure 1 for Mechanical Engineering degree.

Demonstrative diagram showing Curriculum Units ongoing in parallel in the first year of study towards Mechanical Engineering degree (in general).
Single-semester course on General Mechanics with fundamental elements from Theoretical Mechanics: Statics and Kinematics is also required to achieve Bachelor degree in Industrial Engineering, Civil Engineering, Aerospace and Electronics majors. Figure 2 shows again how the courses on Mathematical Analysis are taught alongside with General Mechanics and Statics on basis of which the concept of line integral may be learned more efficiently. Here, the textbook by Bird 7 could be recommended as a supplementary material due to its simplicity of understanding and practical training motivating the students to proceed with more challenging explanations.

Demonstrative diagram showing Curriculum Units ongoing in parallel in the first year of study towards Civil Engineering degree (in general).
In spite of the fact that the same Calculus books1–3 are used for other academic degrees like Physical Engineering, Electrical Engineering or Chemical one, the intrinsic nature of these programs is different (as it is shown in Figure 3) with the focus on the study of physics fundamentals, electromagnetism in non-steady environment and so on. To this end, the mechanical (physical) concepts of work, force, energy, heat and mathematical concept of integral should be taught coherently but still differently taking into account the principle major and, what is even more important, some of those differences should be well explained to the students to avoid further confusion while pursuing their professional careers.

Demonstrative diagram showing Curriculum Units ongoing in parallel in the first year of study towards Engineering Physics degree (in general).
So, the purpose and the novelty of the present research is to create an efficient way of teaching line integral topic based on the elementary work/force principles which are common and easily understood by various engineering groups of students and, particularly, beneficial for Mechanical Engineering major. By this approach, the mathematical concept of line integral will be learned in harmony with the elementary mechanics to appreciate its diversity and to set up the right idea about the scientific area covered by Mechanical Engineering and related branches. It is also important to note that the courses on Mathematical Analysis are taught in parallel (with respect to time-semester-schedules) with elementary or intermediate mechanics/physics courses as it follows from Figures 1–3.
In terms of practical training, the research also offers two new techniques of analytical calculus for line integrals containing singularities and provides a new coherent engineering approach to deal with vector fields as integrands in line integrals.
Differences and challenges while defining line integrals
Generally, Calculus books, for example,1–3 have in fact two definitions of the line integral, namely, via an arc length, ds, as a differential element:
Interestingly, a popular undergraduate calculus textbook by Thomas
2
introduces the line integral based on the Riemann sum as an extension of the real one-dimensional definite integral. So, the line integral ends up as an integration of a scalar function. After that, the term vector field is pronounced on the purely mathematical basis like being a vector-valued function such that the connection between equations (1) and (2) becomes possible:
Such a way has been offered by Salas. 1 However, it was based on another, even more involved mathematical concept, like differential geometry. In spite of the fact that the formula produced for line integral calculations is straightforward, that approach did not permit to derive this formula from the desirable mechanical basis.
One more classical Calculus textbook for general undergraduate engineering programs by Stewart 3 considers first some mechanical examples of vector fields (gravitational and electric ones) as a prerequisite to study line integrals. However, again the theoretical part of the line integral introduction starts with the Riemann sum, scalar function of two variables and arc length as in. 2
So, in this aspect, the logical way of teaching mathematics with its proper background contradicts the specific necessities of using line integrals in mechanical engineering applications. Besides, some new methodology is required also to respect the time-table of studies coherent with other subjects learned simultaneously, namely, Mathematical Analysis, General Mechanics/Physics, during initial years of Mechanical Engineering program. Hence, the present research is devoted to offer a new methodology of teaching line integrals for Mechanical Engineering and other related majors like Civil Engineering or Electronics based on the elementary work concept. This methodology is easy to be implemented but still rigorous mathematically and can be taught relying on the standard textbooks1–3 as primary source of knowledge.
Calculation of an elementary work in various contexts
The methodology of teaching line integrals presumes, first of all, to define the line integral (it is better to say – to choose between arc-length-based definition (1) and vector-segment-based definition (2)). Then, suitability of examples provided for the study should be carefully respected to guarantee learning efficiency.
For Mechanical Engineering major, it is desirable to introduce line integral via the vector-segment definition (2) to come up later on with force-field applications like those which consider objects moving in a plane or space but still not dependent (as a mathematical model) on the real time factor (like velocity or real time). Here and in what follows, the term object will be substituted for a ball to save the usage of the term object for mathematical models and to reserve the usage of the term particle for physical contexts.
Surely, it should be kept in mind the motivation behind the arc-length-based definition (1). It even can be called primary definition because of its similarity with the one-dimensional definite integral. Meanwhile being excellent methodology for mathematically oriented students, it does not attend the goal of mechanical engineering programs. Other than that, it involves as a pre-requisite some pure mathematical concepts such as the Riemann sum and the theory of functions of two variables (which may be consulted as extra-curriculum in 9 ). Contrary, the dot product of two vectors, i.e., the vector-segment-based definition (2), requires only basic curve-parameterization skill and general concept of an elementary work.
Another important note to the methodology proposed is to point out at the very beginning what it means force movement. When a force is moving a ball, it does not mean necessarily that the time factor is explicitly involved in the mathematical model. This is a characteristic issue of line integrals in mechanical engineering (like considering gravitational or electric forces in steady environment 3 where the time notation t serves as a parameter 10 ). It is exactly opposite to Physics where the time t is the actual time like in Electromagnetism (Maxwell equations) in non-steady environment. 2
To this end, the work/energy principle while serving for mathematical models may or may not include time factor as a real time. In mechanical engineering applications, this law is usually studied extensively in Dynamics section and is related also (in a more subtle way) to the second law of Newton. The term work presented in this law, however, has another context which is not essential for the study of line integrals.
So, to gain a knowledge about the line integral for mechanical engineering applications, it is sufficient to consider just an elementary work studied even at high schools. There are several cases to be considered consecutively for the correct methodology proposed in the present research.
Case 1) Movement of a ball subjected to a force (as a vector) in one-dimensional context. Here four sub-cases should be reflected:
The force is a constant and aligned with the motion along the x-axis. The force is a function of x but, as a vector, still aligned with the x-axis.
Consider a ball moving along the horizontal x-axis from

Movement of a force as a vector in one-dimensional context: (a) the force is a constant and aligned with the x-axis; (b) the force is a function of x and aligned with the x-axis; (c) the force is a constant and inclined at an angle
If a force is a variable but a continuous function of magnitude The force is a constant but inclined at an angle The force is a function of x and inclined to the direction of motion along the x-axis.
If the vector
This is the most general sub-case of a movement of a force as a vector in one-dimensional context. So, the force here is described by a vector quantity with scalar argument x,
Case 2) Movement of a ball subjected to a force (as a vector) in two-dimensional context. Here several sub-cases may also be distinguished. But, first of all, some changes in terminology are required. If a force as a vector is placed into two-dimensional plane, i.e.,
Being back to the two-dimensional context, in the simplest sub-case a), the vector-field is a constant, i.e.,

Movement of a force as a vector in two-dimensional context.
Sub-case b). Movement of a ball through a two-dimensional variable vector-field. An example of a simple, nice-looking but varying vector-field

Two-dimensional variable vector-field
Following the classic parametric-curve theory,
3
Figure 7 describes some rectilinear segment AB on a line L characterized by an initial point A given by a position vector

Parametric vector description of a straight-line L via the given point A and the direction vector
In general, from the mathematical point of view, the interpretation of t-parameter is not such a trivial task, and may require some specific care in advanced mechanical courses 11 or while dealing with pure mathematics. 12 However, it is much simpler for any introductory mechanics course.
The linearization of any curve C (as for the straight-line segment, equation (10), or for a part of the circle, equation (11)) between two coordinates

Geometric linearization of a curve C: (a) between two coordinates
So, the line integral is in fact the analog of a regular integral but related to some vector-field rather than a simple one-dimensional force. This conclusion is of utmost importance for the students pursuing Mechanical Engineering career and all other relevant engineering degrees.
Taking into account equations (8) and (12), the work defined by equation (13) can also be viewed as
Classification of vector-fields in terms of mathematical modeling
Correct mathematical modeling of vector-fields is of utmost importance in practical calculations of line integrals. For some models these calculations may be done even without direct evaluation of integrals.
For example, Figure 6 represents an axisymmetric vector-field
Indeed, while teaching calculus for engineering majors, it is instructive to show that the constant
It is also worth to be mentioned that it is common in engineering practice to use both terms: the gravitational field and the force-field. The difference is that the term gravitational field is reserved exclusively for the property of the global mass M alone, i.e., it is defined by the same equation (17) while taking
The same engineering concept is applied to the electric field and Coulomb's force-field. A charge Q placed at the origin of the Cartesian coordinate system produces an electric field
It is instructive to mention that any axisymmetric field can be represented as a function of
It is worth to be also mentioned that an axisymmetric field is a special case of the general three-dimensional model as well. To see the difference between an axisymmetric field and a particular case of another three-dimensional magnetic vector-field (with K being a relevant constant in physics)

Geometric representation of a magnetic vector-field: (a) planar visualization of magnetic field surrounding a current in a straight long wire; (b) geometric interpretation of the Ampere's law
On the other hand, if one considers the motion of a ball in a constant magnetic field
Vector-fields as mathematical object
Usually, physical effect (which is some field like gravitational or electrical) is directly related to the respective force (like Newton's force or Coulomb's force) which is also a vector-field. So, in both cases, the mathematical model is characterized by, what is called, vector-field. So, the term vector-field can be viewed as some mathematical object to which necessary criteria should be attributed for a specific engineering usage.
But, first of all, it should be recognized that the only correct form of representing any vector-field is equation (8). From here, the principle criteria are about the function of two-variables (like domain, continuity, differentiability), and the line integral theory (like requirements for the curve, region connectedness, integrability). These criteria are essential in order to obtain a meaningful solution to practical engineering problems arisen from physical effects.
Take
Let

Connectedness of a region enclosed by a simple smooth curve C: (a) open simply-connected region D in two-dimensional plane; (b) open simply-connected region D split into two parts.
Suppose further that
However, equation (24) is the same for both constant and variable magnetic fields where the first one is directed along the z-axis, and the second one rotates around this axis. So, the direction of the magnetic force changes in various situations but obeys the same physical law (24).
Analysis of point singularities in vector-fields
Analysis of singularities is, in general, an important task of any analytical study. It is instructive to transmit to the students a knowledge that, looking for singularities in equations and developing analytical methods to handle them, is one of the primary goals of any successful mathematical modeling. As it was demonstrated above, the correct modeling of physical laws is not such a trivial problem and a careful procedure is always required while making computer calculations. There are so many types of singularities involved while studying mechanical engineering, for example, Boedo 13 not only analyzed various singularity functions but also incorporated them inside the definite integral as integrands for the effective way of constructing shear-moment diagrams in beams.
The present paper deals with the evaluation of geometric singularities in the expressions of vector-fields, equations (18)-(22), namely, the denominator with the point-singularity of the following form
Particularly, in many branches of engineering, it is necessary to know if the work done by a force on a closed loop is zero. So, as soon as the vector-field has a singularity inside the loop – special procedures are always required. Such problems involve solutions of exact differentiable equations in mathematics, energy conservation criteria in mechanics, topology considerations in civil engineering, usage of electro-magnetic principles in physics, etc.
The modeling problem, in fact, considers such a geometry of the curve C that represents a unit circle or any circle of a tiny radius to model a hole around the origin of the Cartesian coordinate system (point singularity). Here, there are three different cases to be pointed out.
Case 10) One or both of the functions,
Case 30) One or both of the functions,
New calculation techniques and examples of checking the zero-value work on a closed loop for vector fields with singularities
All the problems mentioned above are somehow related to the term
Let's consider a general form of the work-integral
If
If
If
For
If
If
If
The procedure outlined above is verified for the negative integers as well, for example, for
Based on this procedure, equation (28) for the field (30) with parameterization (29) can be transformed into much easier one such as
Thus, the final formula proposed in this research for vector-fields containing
For circles centered at other positions, not
Let's introduce here again pure functions
Preliminary calculus involves the following mathematical procedure: power-law partial derivatives are calculated first for the common term, such as, with respect to x-variable, one gets
To see how this new technique works, let's be back to Example No 1. Due to equation (35),
Two more examples are relevant to be considered for a comparison purpose with other papers available about this topic. 14
Conclusions
Teaching Mathematical Analysis course for Mechanical Engineering students and other related majors should involve the overall tendency at universities of incorporating research, creativity and learning activities early in the carrier.
The paper provides a new methodology of teaching the topic of line integrals which makes part of Mathematical Analysis: Vector Calculus suitable for specific needs of engineers. We believe that the proposed methodology is beneficial not only for Mechanical Engineering students but also for other related engineering majors. Indeed, as it follows from Figures 1–3, the students learn first Mathematical Analysis I and some introductory courses on mechanics or physics. From Mathematical Analysis I, the students learn all necessary mathematics such as functions, limits, derivatives and integrals with respect to the function of one variable. On the other hand, from introductory courses on mechanics or physics, the students learn the concepts of work, force as a vector, equilibrium of a particle and steady motion of a rigid body. On the basis of this background, it will be intrinsically natural for the students to acquire the right fillings about the line integral topic since the concepts of mechanical work and forces are actually not problematic ones and have a lot of experimental and practical real-world manifestations. So, the approach of teaching the line integral topic using the concept of work/force principles will help the students to achieve also high performance in advanced mathematics as well.
Other than that, in the present research, two new analytical methods are also developed and implemented for targeting such an important issue in Mathematical Analysis as well as in general Mechanical Engineering courses as geometric singularities. Complementary analysis of vector fields and clarification of some terminology are also discussed to make the teaching methodology coherent and well understood.
As concerning future scientific fields to be explored, the present paper offers several teaching and scientific activities. Namely, the core idea of the paper (connection of the mathematical concept of line integral with the mechanical concept of work/force principles) may be used to explore: a) more advanced mechanical engineering concepts such as energy conservation criteria; b) some mathematical concepts related to engineering such as criteria for exact differential equations; c) some mixed (engineering/mathematics) concepts such as criteria for the usage (in terms of its necessity) of the Green's theorem and related importance of simply-connected domains.
Methodological and scientific contributions of the paper may be highlighted as follows:
A new methodology of teaching line integrals is elaborated based on the elementary work/force principles; Two new techniques of analytical calculus for line integrals containing singularities are developed and implemented; A new coherent engineering approach to deal with vector fields as integrands in line integrals is proposed; Techniques developed are supplemented by examples, and results are compared with those of other authors.
The paper is believed to be of value for didactic and scientific reasons in courses related to mechanical engineering, both for research and learning purposes.
Footnotes
Declaration of conflicting interests
The authors declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.
Funding
The authors received no financial support for the research, authorship, and/or publication of this article.
Data availability statement
Data sharing not applicable to this article as no datasets were generated or analyzed during the current study.
