Научная статья на тему 'Algorithms and elementary functions: two sides of the same fundamental notion'

Algorithms and elementary functions: two sides of the same fundamental notion Текст научной статьи по специальности «Математика»

CC BY
113
39
i Надоели баннеры? Вы всегда можете отключить рекламу.
Ключевые слова
алгоритми / елементарна функція / алгоритмы / элементарная функция / Algorithms / Elementary Function

Аннотация научной статьи по математике, автор научной работы — Igor Ya. Subbotin, N.N. Bilotskii

An elementary function is one of the foundational notions of calculus course. However, many calculus textbooks do not provide students with a clear definition of the elementary function or simply avoid it completely. The current paper offers a simple and rigor approach of introducing the notion of an elementary function via linear algorithms.

i Надоели баннеры? Вы всегда можете отключить рекламу.
iНе можете найти то, что вам нужно? Попробуйте сервис подбора литературы.
i Надоели баннеры? Вы всегда можете отключить рекламу.

Текст научной работы на тему «Algorithms and elementary functions: two sides of the same fundamental notion»

Scientific journal PHYSICAL AND MATHEMATICAL EDUCATION

Has been issued since 2013.

Науковий журнал Ф1ЗИКО-МАТЕМАТИЧНА ОСВ1ТА

Видасться з 2013.

http://fmo-journal.fizmatsspu.sumy.ua/

Субботин И., Билоцкий Н.. Алгоритмы и элементарные функции: две стороны фундаментального понятия// Ф'зико-математична осв'та : науковий журнал. - 2016. - Випуск 1(7). - С. 21-28.

Subbotin I., Bilotskii N. Algorithms and elementary functions: two sides of the same fundamental notion // Physics and Mathematics Education : scientific journal. - 2016. - Issue 1 (7). - Р.21-28.

УДК 510.51, 517.17

Igor Ya. Subbotin

National University, USA N.N. Bilotskii

Kiev National Pedagogic University, Ukraine

ALGORITHMS AND ELEMENTARY FUNCTIONS: TWO SIDES OF THE SAME FUNDAMENTAL NOTION

The problem formulation: An elementary function is one of the foundational notions of calculus course. However, many calculus textbooks do not provide students with a clear definition of the elementary function or simply avoid it completely. The current paper offers a simple and rigor approach of introducing the notion of an elementary function via linear algorithms.

Discussion of the problem

1. The notion of an algorithm

First, we recall that the concept of algorithm is intuitive. In general, we can describe it a step-by-step procedure for producing a solution to a given problem. A clear and logically completed algorithmic block scheme is a great visual support for instruction. There is a well-established tradition to use these schemes not only to illustrate solutions or proofs, but mainly to reflect graphically some sophisticated concepts (Triola, 2004, 272). Other good examples are proves of the theorems written in the traditional form in many Geometry textbooks (see, for example, Alexander and Koeberlein, 1999, 104). More specific information regarding algorithms in the secondary school mathematics can be found in the collection of works NCTM (1998).

There are dozens of different explanations (some time mistakenly called definitions in some broader, rough, and nonmathematical meaning) of the concept of algorithm. In Mingus (1998), the following, more suitable description of the general notion of algorithm is given:

An algorithm is a computational recipe for the systematic execution of a procedure designed to solve a specific problem that maintains the following characteristics:

1. Input data along with a finite set of instructions are given.

2. A computing agent reacts to the input and instructions and carries out the steps.

21

ISSN 2413-158X (online) ISSN 2413-1571 (print)

3. Intermediate results are stored and used.

4. The computation is carried out in a discrete, stepwise fashion.

5. The computing agent interprets the set of instructions in such a way that computation is carried out deterministically, without resort to random methods. (34)

In Malcev (1980), the notion of algorithm is defined using the following restrictions:

1. The Discreteness of an Algorithm: an algorithm is a process of the sequential constructing of a value in a discrete time such that the main initial system of values is given at the beginning; at each following moment the system of values is derived by the given rule (program) from the system of values presented at a preceding moment.

2. The Determination of an Algorithm: the system of values at a present (non-initial) moment is uniquely determined by the system of values at a preceding moment of time.

3. The Elementary Character of an Algorithm Stages: the rule (program), by which at every moment a system of values is derived from the system of values presented at a preceding moment must be simple and local.

4. The Directedness of an Algorithm: if the way of determining of some value from a preceding value cannot be realized, then in this case the clear direction defining the result of the algorithm needs to be given.

5. The Array Property of an Algorithm: the initial system of values might be chosen from a potentially infinite set.

It is well known that the algorithms are equivalent to the enumerative functions. By the famous Church's thesis (Maltsev, 1980), the class of the latter coincides with the class of recursive functions. Thus, the notions of an algorithm and a recursive function are equivalent. This idea is a very constructive power tool allowing us to justify the existence and, more importantly, inexistence of any possible algorithmic process. We need to admit that behind any mathematical concept there is an algorithm realizing computations or proofs.

2. Elementary functions

We will apply the concept of algorithm for clarification of some very basic ideas of Calculus course. All key concepts of Calculus deal with elementary functions, such as polynomials, rational functions, exponential functions, logarithmic functions, trigonometric and inverse trigonometric functions, and so on. Well-known examples of non-elementary functions are the Dirichlet function (f(x) = 0 for all rational numbers x; and f(x) = 1 for all irrational x); the function f(x) = [x] (the whole part of a number), f(x) = J sin(x2) dx, and others. We cannot expect clear understanding of central Calculus theorems such as theorems of continuity, differentiability, and integrability, without detailed comprehension of the notion of elementary functions. Actually, one can say that the traditional Calculus course in general is the mathematical analysis of elementary functions. At the same time, there is a strange paradox: some Calculus textbooks do not contain even the term "elementary functions" (Smith, 1996; Fincy, 2001; Barnett, 1996); other popular textbooks and dictionaries just substitute the definition of an elementary function with some approximate narrative descriptions, or just assume that this notion is intuitively known (Borowski, 1991; Thomas, 2000; Jonston, 2001). One also cannot find a reasonable consistency in the textbooks, in trying to get a more or les rigorous definition of the elementary functions. There is a relatively good definition of the elementary function extracted from the popular Calculus textbook Larson (1994):

An elementary function is one that can be formed as sum, product, or composition of functions from the following list: polynomial functions, rational functions, functions involving

radicals, logarithmic functions, exponential functions, trigonometric functions, inverse trigonometric functions.

Notice that there is no keyword "finite" in this definition. Also, the list of basic elementary functions, from which one can obtain all others, is questionable.

The best definition of an elementary function we can find in the article Vilenkin (1978). According to this article, the class of elementary function is the set of functions containing all basic elementary functions and closed by the operations of addition, multiplication, and composition.

The list of the basic elementary functions includes only the following functions: all constants;

the identity function f(x) = x; the function f(x) = 1/x, x * 0; the exponential function f(x) = ex; the logarithmic function f(x) = lnx, x>0; the trigonometric function f(x) = sin x;

the inverse trigonometric function f(x) = arcsin x, -n/2 < x < n/2. Using some group theoretical tools, the authors clearly explain why those functions were chosen, and proved that any elementary function can be built from them. Let us briefly explain this choice. The main ideas of the classification in Vilenkin (1978) is that the class of functions from the general Calculus could be described by the following: select some main functions from this class and define the operations to be applied to these functions in order to get a function from this class (the closure property). Based on this concept, the authors proved that the above mentioned set of basic elementary functions is sufficient for the Calculus needs. Another interesting and central question is: why do we choose the set of basic functions listed above? In Vilenkin (1978), the authors observe that the multiplicative group Rx of the field R of all real numbers is a direct sum of the group D of order two and the multiplicative group R+ of all positive real numbers. The group D defines the sign of a number and the group R+ its absolute value. One of the remarkable mathematical facts is that the groups R+ and Q (the additive group of the field R) are isomorphic. This way we

justify the existence of the functions y = e 'y = lnx(x > 0) from the list above. The justification for trigonometric functions is coming from the definition of the exponential function of a complex variable. It is interesting to note that this approach is also based on

the homomorphism of the additive group of real numbers on the group T = {e 1 y G , or on the multiplicative group of all complex numbers with the module is 1. The function

y = arcsmx is included in the list as the inverse function fory = sinx .

Using the above definition, one can easily prove that all rational functions (including polynomials), all power functions with any real exponent, trigonometric and inverse trigonometric functions are elementary. The operations of addition and multiplication, and inverse operations of subtraction and division are chosen here as the main operations of a numerical field. The principle of selecting the above functions as the basic elementary functions can be rigorously justified using Group Theory methods. This approach definitely cannot be used for introducing elementary functions to beginners since it is based on some deep ideas of abstract algebra.

3. Elementary functions as linear algorithms

A numerical function is determined by its domain and its mapping relation, which is a computational algorithm allowing us calculate a value of the function corresponding to the given value of the independent variable. We can think of functions as computational

algorithms. It is logical to select from the set of all functions the subset of elementary functions imposing some specific restrictions on these computational algorithms. From this standpoint, it is natural to give the following new definition.

A function is called an elementary function if it can be represented using a linear algorithm (an algorithm which does not include loops and branching), each node of which is computing a value of one of the basic elementary functions.

Note that our definition avoids the operations on functions including the composition of functions. Moreover, even more complicated for the beginner, the concept of a composite function becomes clear with the algorithmic approach. This could be useful in the study of such a critical topic as the rule of differentiation of composite functions (the chain rule). Another benefit of this approach is clarifying the concept of a mathematical formula as a short record of a computational algorithm. There are some simple examples of functions that are initially defined by branching algorithms but could be represented via linear algorithms. For instance, the function f(x) = | x | can be also defined as f (x) = v'^f2. Note, that in the very interesting article Pugachov (1964), one find a general approach to representing of piece wise functions by one analytic formula. Let us briefly describe this approach.

Let us consider the following functions:

(1) y = \

f1(x), -ro< x < a; f2(x\ai < x < a2;

fn(x) an-i < x <+ro;

and (2) y =

pl (x), -ro < x < a; p2 (x), a < x < a2;

(pn(x) an-i < x <+ro;

where fi(x),f2(x),...,fn (x), p(x), p2(x),..., pn(x) are elementary functions, satisfying the conditions:

Pi(ai)=(2(01 )=Ai,(2(02)=p3(02)= A2,...,pn-i(an-i)= (n (an) =An-i. This construction does not allow us to find a value of y by using a linear algorithm. However, by using some auxiliary functions, it is possible to define (1) and (2) with a single formula. Let

u (x) = — 1 2

f

1 x - al

A

uk (x) = -

v x - ai

1 f, | x - | _ | x - a,.

, Un (x) = —

iV

f

1 1 x - an-1

A

x - a

1 + ^

x-a

k-1

1 + J

x - a

n—1

k = 2,3,..., n-1

k y

It is easy to see that (1) could be represented by the following single formula

y(x)=Ui (x)fi (x)+u2 (x)f2 (x)+...+Un (x)fn(x). Similarly for (2) we introduce the functions

. . x + a - | x - a I x x + a, + | x - a„, V1( x) =-L-Ll, vn ( x) =--

x + ak1 + | x - ak 1 | x - ak +1 x - ak vk ( x) =-——!-k-u--k—!-—, k = 2,3,..., n -1.

Now the function (2) can be written as the following single expression y(x)= Pi(vi(x))+ p2(v2(x))+...+ pn(vn(x))- p(ai)-p(a2)-...-pn-i(a n-i). So, since the functions (1) and (2) have been given by single formulas (i.e. by linear algorithms) on each interval from the given finite set of intervals, we were able to find a single linear algorithm defining each of these functions (1) and (2) on their domains.

v

Consider some examples.

We will use the following obvious statement / If y (x) = y (x)Vx e D(y) where D(yD(y), a D(y), D(y)- domains of the functions y(x), y(x) and the function y (x)- is alementary, or continues, or differentiable on D(y ), then the function y (x) is also alementary, or continues, or differentiable on D(y) ■

Example. Prove that the following functions are elementary by representing them as functions written with one formula.

a)

y ( x )=

x3 + x -1, - œ < x < -5;

2 x

e2 x , - 5 < x < 1; 1000x , 1 < x < 20; sinln(x2 +1), 20 < x < +œ. ◄ This function y ( x ) is a function of the type (1) above. It continues on its domain D(y) = (-œ;-5)u(-5;1)u(1;20)u(20; +œ) and could be define by the following unique formula.

y( x ) =

1 -

x + 51

x + 5

)( x3+x -1)+4

1 + ■

x + 51

iНе можете найти то, что вам нужно? Попробуйте сервис подбора литературы.

x + 5

1-

x

-1

x -1

e2 x +

1

+— 4

1 + -

x-

-1 |x-20|

x -1

x - 20

1000x + -2

1+ J

|x - 25| x - 20

sinln ( x2 + 1).

Indeed, if -œ < x < -5, then y ( x ) = 1-(x3 + x -1) + 0 ■ e2x + 0 -1000x + 0 ■ sinln( x2 +1) = x3 + x -1 ; if -5 < x < 1, then

y(x) = 0 ■ (x3 + x -1) +1 (2)(2) ■ e2x + (0)(2) ■ 1000x + 0 ■ sinln(x2 +1) = if 1 < x < 20, then

y ( x ) = 0 ■ ( x3 + x -1) +1- ( 2 )( 0 ) ■ e2 x + J ( 2 )( 2 ) ■ 1000x + 0 ■ sinln ( x2 +1) = 1000x ;

2 x .

4

if 20 < x < +œ,

then

y (x) = 0 ■(x3 + x -1) + -(2)(0)■ e2x + -(2)(0)■ 1000x +1 ■ sinln(x2 +1) = sinln(x2 +1)

► Answer.

y( x )=1

2

1 -

4

|x + 5

-x3 + x -1) +1

x + 5 r ' 4

1+

x + 5

V

x+5

1-

|x -1| x -1

e2 x +

1

+ — 4

6)

f

1+

\x -1,

x -1

V

1-

|x - 20|

x - 20

A

1000x+1 2

f

1+

\x - 25| x - 20

sinln ( x2 + 1).

J

y( x ) =

|x| ,

2cos nx ,

4 . x - 6

—arcsin-.

n 3

- œ < x < 2; 2 < x < 3;

, 3 < x < 9;

log x ,9 < x < 10.

33 25

J

v

v

J

J

J

V

v

V

J

J

V

v

v

J

J

v

v

:

◄ The function y (x ) is continues, and y (x ) = y (x ) on its domain D ( y ) = (-ro;10], where D(y) = (-ro;10]c D(y ) = (-ro; +ro) i

|x| , -ro < x < 2; 2cos7x , 2 < x < 3;

y (x)

4 . x - 6

—arcsm-.

7 3 '

3 < x < 9;

log x ,9 < x < +ro.

If we show that y(x) is defined by one analytical expression (formula) on its domainD(y) = (-ro; +ro)^(-ro;10] = D(y), then the same formula will define the function y(x) in every point of its domain D(y) = (-ro;10]^ D(y) . However y (x) is a function of type (2), that is why it defined by the formula

y(x ) =

x + 2 - |x - 2|

2

+ 2cos7

iНе можете найти то, что вам нужно? Попробуйте сервис подбора литературы.

x + 2 + |x - 2| x - 3 + |x - 3|

V

H— arcsin

7

V

V 3 V

x + 3 + |x - 3 x - 9 + |x - 9|

22 x + 2 - |x - 2|

-2 y y

i

+ log3

x + 9 + |x - 9| ^

- 2 + 2 - 2 =

+ 2cos7

5 + |x - 2 - |x - 3|

4

H— arcsin

7

if

12 + |x - 3 - |x - 9|

Vv

V

- 2 +log3

yy

x + 9 + |x - 9| ^

- 2.

Indeed,

if -ro < x < 2, then

y ( x )=y ( x )

x + 2 + x - 2

+ 2cos7

4

H— arcsin

7

^12 - x + 3 + x - 9 ^

- 2

y y

vv

5 - x H 2 H x - 3 V 2 y

, n „ ,

H

+ log3

x H 9 - x H 9

2

4 i i 4

|x| + 2 cos 27 H— arcsin (-1) + log 9 - 2 = |x| + 2 H—

7 7

' 7

V_ 2 y

-2

+ 2 - 2:

x + 2 - 2 + 2 - 2 = x

if 2 < x < 3, then

y ( x ) = y ( x ) =

x + 2 - x + 2

+ 2cos7

/5 + x - 2 + x -

+

4

H— arcsin

7

^12 - x + 3 + x - 9 ^ ^

- - 2

6 y y

VV

+ log3

x H 9 - x H 9

2 + 2 cos 7x - 2 + 2 - 2 = 2 cos 7x;

if 3 < x < 9, then

y ( x ) = y ( x ) =

x + 2 - x + 2

+ 2cosK

5 + x - 2 - x + 3

4

+—arcsin

K

ir

12 + x - 3 + x - 9

W

6

+ l0g3

x + 9 - x + 9

+

2=

„ „ „ 4 . x - 6 , ^ „ „ „ 4 . x - 6 „ „ 4 . x - 6 = 2 + 2cos3k +— arcsin—-—+ log 9 - 2 = 2 - 2 +— arcsin —-—+ 2 - 2 = — arcsin-

k 3

if 9 < x < 10, then

y ( x ) = y ( x ) =

x + 2 - x + 2

+ 2cosK

4

H— arcsin

K

^12 + x - 3 - x + 9 ^ _

W 6 J j

k 3

5 + x - 2 - x + 3

v 2 , r „ , r> , „

K

+

iНе можете найти то, что вам нужно? Попробуйте сервис подбора литературы.

+ log3

x+9+x-9

-2

4 4 k

= 2 + 2cos3k +— arcsinl + log x - 2 = 2 - 2 +----+ log x - 2 =

k k 2

= 2 - 2 + 2 + log x - 2 = log x.

►Answer:

y(x ) =

x + 2 - |x - 2|

+ 2cosK

4

+— arcsin

K

W

12 + |x - 3 - |x - 9|

6

5 + |x - 2 - |x - 3| 2

+

-2

J J

+ log3

x + 9 + |x - 9| 2

- 2.

3

References

1. Alexander, D. & Koeberlein, G. (1999). Elementary Geometry for College Students. Boston: Houghton Miflin Co.

2. Barnett, R.A. & Zeegler, M.R. (1996). Calculus for Business, Economics, Life Sciences, and Social. Sciences. Upper Saddle River: Prentice Hall.

3. Borowski, E.J. & Borwein, J.M. (1991). The Harper-Collins Dictionary. Mathematics. New York: Harper-Collins.

4. Fincy, R.L., Weir, M.D. & Giordano, F.R. (2001). Calculus. Boston: Addison Wesley.

5. Jonston, L.H. & Mathews, J.C. (2001). Calculus. Boston: Addison Wesley.

6. Larson, R.E., Hostetler, R.P. & Edwards, B.H. (1994). Calculus with Analytic Geometry. Lexington: D.C. Heath and Co.

7. Maltsev, A.I. (1980). Algorithms and Recursive Functions. Moscow: Nauka.

8. Mingus, T.T.Y. & Grassl, R.M. (1998). Algorithmic and recursive thinking. Current beliefs and their implications for the future. The teaching and learning of algorithms in school mathematics, 32-43. Yearbook, NCTM, Reston.

9. Pugachov, B.P. (1964). On some error in calculus books. Uspehi. Math. Nauks, 234.

10. Smith, D.A. & Moore, L.C. (1996). Calculus Modeling and Applications. Lexington: D.C. Heath and Co.

11. Thomas, G.B., Finney, R.L. & Weir, M.D. (2000). Calculus and Analytic Geometry, (Alternate Edition). New York: Addison Wesley.

12. Triola, M. (2004). Elementary Statistics. Boston: Pearson Education.

13. Vilenkin, N.Ya. & Bloch, A.Ya. (1978). Elementary functions in the school course of mathematics. Mathematics in School, 3, 53-57.

14. Wertheimer, M. (1959). Productive Thinking (Enlarged Ed.). New York: Harper & Row.

Анотаця. Суббот'н I., Блоцький Н. Алгоритми i елементарн функц'й: два боки одного поняття.

Поняття елементраноi функцИ е одним з фундаментальных понять у Kypci математичного анал'зу. Водночас, у багатьох тдручниках не пропонуеться чтке означення елементраноi функцИ. У статт'1 за допомогою поняття л'т'шного алгоритму надаеться простий, строгий i доступный студентам п'дх'1д до визначення поняття елементарноi функцИ.

Ключов'1 слова: алгоритми, елементарна функщя.

Аннотация. Субботин И., Билоцкий Н. Алгоритмы и элементарные функции: две стороны фундаментального понятия.

Понятие элементарная функции является одним из основополагающих в курсе матанализа. Тем не менее, многие учебники анализа не дают студентам четкого определения элементарной функции или просто избегают его полностью. В настоящем работе с помощью понятия линейного алгоритма предлагается простой, строгий и достунный студентам подход к понятию элементарной функции.

Ключевые слова: алгоритмы, элементарная функция.

Abstract. Subbotin I., Bilotskii N. Algorithms and elementary functions: two sides of the same fundamental notion.

An elementary function is one of the foundational notions of calculus course. However, many calculus textbooks do not provide students with a clear definition of the elementary function or simply avoid it completely. The current paper offers a simple and rigor approach of introducing the notion of an elementary function via linear algorithms.

Key words: Algorithms, Elementary Function.

i Надоели баннеры? Вы всегда можете отключить рекламу.