Doc/Algebra An Algorithmic Treatment

Algebra: An Algorithmic Treatment

by Kenneth E. Iverson
published by Addison-Wesley, 1972 (preliminary edition entitled Elementary Algebra published by IBM, 1971)


Contents

Chapter 1. The Language of Mathematics

Chapter 2. Function Tables and Maps

Chapter 3. The Negative Numbers

Chapter 4. Function Tables with Negative Integers

Chapter 5. The Rational Numbers

Chapter 6. Function Tables with Rational Numbers

Chapter 7. The Residue Function and Factoring

Chapter 8. Monadic Functions

Chapter 9. Function Definition

Chapter 10. The Analysis of Functions

Chapter 11. Inverse Functions

Chapter 12. Iterative Processes

Chapter 13. Inner Product and Polynomials

Chapter 14. Identities

Chapter 15. Identities on Polynomials

Chapter 16. The Representation of Numbers

Chapter 17. Logic and Sets

Chapter 18. Linear Functions

Chapter 19. Inverse Linear Functions

Exercises

[WWW] Appendix A. Algebra as a Language

Appendix B. The Mechanics of Computer Use

Appendix C. User of the Computer in Teaching

[WWW] References

Summary of Notation



Section 1.1 The Language of Mathematics -- Introduction

Algebra is the language of mathematics. It is therefore an essential topic for anyone who wishes to continue the study of mathematics. Moreover, enough of the language of algebra has crept into the English language to make a knowledge of some algebra useful to most non-mathematicians as well. This is particularly true for people who do advanced work in any trade or discipline, such as insurance, engineering, accounting, or electrical wiring. For example, instructions for laying out a playing field might include the sentence, "To verify that the corners are square, note that the length of the diagonal must be equal to the square root of the sum of the squares of the length and the width of the field", or alternatively, "The length of the diagonal must be sqrt.png . In either case (whether expressed in algebraic symbols or in the corresponding English words), the comprehension of such a sentence depends on a knowledge of some algebra.

Because algebra is a language, it has many analogies with English. These analogies can be helpful in learning algebra, and they will be noted and explained as they occur. For instance, the integers or counting numbers (1, 2, 3, 4, 5, 6, ...) in algebra correspond to the concrete nouns in English, since they are the basic things we discuss, and perform operations upon. Furthermore, functions in algebra (such as + (plus), - (subtract), and × (times)) correspond to the verbs in English, since they do something to the nouns. Thus, 2+3 means "add 2 to 3" and (2+3)×4 means "add 2 to 3 and then multiply by 4". In fact, the word "function" (as defined, for example, in the American Heritage Dictionary), is descended from an older word meaning, "to execute", or "to perform".

When the language of algebra is compared to the language of English, it is in certain respects much simpler, and in other respects more difficult. Algebra is simpler in that the basic algebraic sentence is an instruction to do something, and algebraic sentences (usually called expressions) therefore correspond to imperative English sentences (such as "Close the door."). For example, 2+3 means "add 2 and 3", and year←1970 means "assign to the name year the value 1970", and y←1970 means "assign to the name y the value 1970". Since imperative sentences form only a small and relatively simple part of English, the language of algebra is in this respect much simpler.

Algebra is also simpler in that it permits less freedom in the ways you can express a particular function. For example, "subtract 2 from 4" would normally be written in algebra only as 4-2 , whereas in English it could be expressed in many ways such as "take the number 2 and subtract it from the number 4", or "compute the difference of the integers 4 and 2".

The most difficult aspect of traditional presentations of algebra is the early emphasis on identities, or the equivalence of different expressions. For example, the expressions (5+7)×(5+7) and (5×5)+(2×5×7)+(7×7) are equivalent in the sense that, although they involve a different sequence of functions, they each yield the same result. English also offers equivalent expressions. For example, "The dog bit the man" is equivalent to "The man was bitten by the dog". It is not that the rules for determining equivalence in algebra are more difficult than in English; on the contrary, they are so much simpler that their study is more rewarding and therefore more attention is given to equivalences in algebra than in English.

In the present treatment this aspect of algebra (that is, the study of identities or equivalence of expressions) is delayed until the student has devoted more attention to the reading, writing, and evaluation of algebraic expressions.

This view of algebra as a language is central to the present treatment. It is buttressed and expanded in Appendix A, and this appendix should perhaps be read first by any teacher and by any student who has significant prior experience with traditional treatments of algebra.

The exercises form an important part of the development, and the point at which the reader should be prepared to attempt each group of exercises is indicated in the margin. For example, the first such marginal note appears as ⌹1-6 and indicates that Exercises 1 to 6 of this chapter may be attempted at that point.

Collections of expressions occurring in certain exercises are broken into groups to provide convenient reference in assigning and discussing exercises. These groups sometimes indicate substantive groupings of the material treated as well.

The exposition and the exercises are organized to encourage experimentation and observation as an essential part of learning. Experimentation and discovery can be further encouraged to a startling degree by the use of an APL computer terminal if one is available. All expressions occurring in the text and exercises can be entered directly on the terminal keyboard without further knowledge of computers. Techniques for the use of the computer in teaching are discussed in Appendix C. Appendix B presents the computer keyboard and other details necessary to putting it in operation.

A student using an APL computer in exploration is sometimes confronted with matters not treated until a later point in the text. For example, a beginning student entering the expression

   2000×3000×4000

will receive the response

2.4e10

This result is expressed in exponential notation (meaning 2.4 times 10 to the power 10) which is not discussed until Section 5.17. The Index, the Summary of Notation (appearing inside the covers), and Appendix B can be used to resolve such difficulties.



See also

last edited 2008-07-22 03:38:36 by RogerHui