Showing posts with label math applications. Show all posts
Showing posts with label math applications. Show all posts

Tuesday, April 24, 2012

Mathematics and Real World Applications Links. World #1 and World #2 Approach

You can download all the important posts as  PDF book "Unlocking the Secrets of Quantitative Thinking".

In mathematics, it is all about numbers, sets of numbers, and the sequences of operations on them.

Axioms how to link real world scenarios to mathematical axioms and theorems, have to be defined. The closer you are to the point of complete axiomatization of the real world domains you want to apply math at, the better. Mathematics will reward you with meaningful results. Quantitative aspects of real world axioms, theorems and laws are usually theorems within mathematics.

How that can help you to learn mathematics and the domains where the mathematics is apply to, whatever that means? The answers is that you have to separate the two systems of axioms. The real world system, let's call it World #1 and the pure mathematical system (with its own axioms!), let's call it World #2. Note that there are World #1 axioms (ideally), World #2 axioms and axioms how to link the premises, and eventually theorems, from these two worlds.

If you quantify objects and their relationships in the World #1, the quantities, and their relations, you obtained enter mathematics as initial or boundary conditions, or simply as numbers, set of numbers, pairs of numbers, as the starting points or starting premises. Note that these numerical starting points can be obtained inside math as well, without any extraneous motivation, i.e. within the realm of pure math only, sometimes directly from fundamental axioms.

The interpretation of numerical results is, apparently, up to you. It is you who will keep track of what is counted and why. The logic why you would do certain mathematical operations on the specified numbers, if coming from World #1, has to be firm and, ideally, has to be derived from an firm axiomatic system. Of course, math doesn't care if you axiomatized your real world domain or not. Mathematics will, without asking any questions, follow your instructions for calculations, and give you back results. Interpretation and usage of those results will depend on the correctness of your real world domain assumptions, accuracy of its logic, and  completeness and correctness of the real world domain axioms.

[ mathematics, real life math applications, learning math, teaching math, math applications, real world math applications ]

Sunday, July 24, 2011

From Poker, Basketball, Financial Math to Pure Math and Back

You can download all the important posts as  PDF book "Unlocking the Secrets of Quantitative Thinking".

After some initial counting and some thinking put into it, you may have asked yourself, what is there more to investigate about numbers? A number is a number, I have just seen that, a clean and dry concept, a quite straightforward count of objects I have been dealing with. Five apples, five pears, the number five is common to all of them. We have abstracted it, and together with other fellow numbers (three, four, seven, ...) it is a part of a number system we are familiar and we work with. We may have a feeling there are only integers present, and that, really, it is not clear where those mathematicians find so many exotic concepts, so many other numbers, like rational, irrational, and others. Moreover, you may think that, without some real objects to count or measure, there would be no mathematics, and that mathematics is, actually, always linked to a real world examples, that numbers are intrinsically linked to the real world, to the objects counted, measured, that they are inseparable, that a number, despite its "purity", somehow shares properties of the objects it represents the count of.

In this article I will discuss these thoughts, assumptions, maybe even misconceptions. But, no worries, you are on the right track by very action that you put a thought about math and numbers.

Before I go to the exciting world of basketball and poker, as an illustration, let me discuss a few statements. A famous mathematician, Leopold Kronecker, once said that there are positive integers only and that everything else is the work of man. I support that view and essentially many mathematicians do. Here is the flavor of that perspective. Negative numbers are positive numbers with a negative sign. Rational numbers are ratios if two integers. Real numbers (rational and irrational) are limiting values of rational numbers (which are in turn ratios of integers), a sequence of ratios that are smaller and smaller and there are more and more of them, that converge to one value. So, essentially, all these numbers are constructed from positive integers.

As for "purity" of a number here is a comment. Number has only one personality! Take number 5, for instance. It's the same number whether we count apples, pears, meters...That's why we need labels below, or beside, numbers, to remind us what is measured, what is counted, because by looking at the number only we can not conclude where the count comes from. I have written about this in my previous posts. When you write 5 + 3 = 8, you can apply this result to any number of objects with these counts. So, numbers do not hold or hide properties of the objects they are counts of. As a a matter of fact, you can just declare a number you will be working with, say number 5, and start using it with other numbers, adding it, subtracting it etc.. No need to explain if it is a count of anything. Pure math doesn't care about who or what generated numbers, it doesn't care where the numbers are coming from. It works with clear, pure numbers, and numbers only. It is a very important conclusion. You may think, that properties of numbers depends on the objects that have generated them, and there are no other properties of numbers other than describing them as a part of real world objects. But, it is not so. Properties of numbers don't depend on the objects or processes that have generated them. While you can have a rich description of objects and millions of colorful reasons why you have counted five objects, number five, once abstracted, has properties of its own. That's why it is abstracted at the first place, as a common property! When you read any textbook about pure math you will see that apples, pears, coins are not part of theorem proofs.

Now, you may ask, if we have eliminated any trace of objects that a number can represent a count of, what are the properties left to this abstracted number?  What are the numbers' properties? That's the focus of pure math research. Pure means that a concept of a number is not anymore linked to any object whose count it may represent. In pure math we do not discuss logic why we have counted apples, or why we have turned left on the road and then drive 10 km. Pure math is only interested in numbers provided to it. Among those properties of number are divisibility, which number is greater or smaller, what are the different sets of numbers that satisfy different equations or other puzzles, different sets of pairs of numbers and their relationships in terms of their relative differences. That's what pure math is about, and these are the properties a number has.

In applied math, of course, we do care what is counted! Otherwise, we wouldn't be in situation to "apply" our results. Applied math means that we keep track what we have counted or measured. Don't forget though, we still deal with pure numbers when doing calculations, they are just marked with labels, because we keep track by adding small letters beside numbers, which number represent which object. When you say 5 apples plus 3 apples is eight apples, you really do two steps. First step is you abstract number 5 from 5 apples, then, abstract number 3 from 3 apples, then use pure math to add 5 and 3 (5 + 3) and the result 8 you return back to the apples world. You say there are 8 apples. You do this almost unconsciously! You see the two way street here? When developing pure math we are interested in pure number only. Then, while applying math back to real world scenarios, that same number is associated with a specific object now, while we kept in mind that the number has been abstracted from that or many other objects at the first place. This is also the major advantage of mathematics as a discipline, when considering its applications. The advantage of math is that the results obtained by dealing with pure numbers only, can be applied to any kind of objects that has the same count! For instance, 5 + 3 = 8 as a pure math result is valid for any 5 objects and for any 3 objects we have decided to add together, be it apples, cars, pears, rockets.

While, as we have seen, pure math doesn't care where numbers come from, when applying math we do care very much. We care so much what we have counted that we have invented devices to keep track of these counted objects. We have dials that keep track of fuel, temperature, time, distance, speed. Imagine, we have devices which keep track of kind of counted objects so when we look at them and see number five, we will know what that number five represent the count of! Say you have four dials in front of you, and they show all number 5. It is the same number five, with the same properties, and we can say that the power of mathematics is derived from noticing that number 5 is the same for many object and abstracting that number 5 from them, then investigating its properties. Now, here, we went back! We used that universal number five, and keep track in our dials, which exact objects the number 5 represents the count of.

In applied math it is so important to keep what is counted that we have invented dials for those countable objects or measures. There are dials in car, for instance, for fuel consumption, speed, time, engine temperature, ambient temperature, fan speed, engine shaft speed. If it was not up to us, those numbers would float around, like, 5, 2300, 120, 35, 2.78 without knowing what they represent until we assigned them a proper dial units. This example shows the essence of difference between applied and pure math, and how much is up to our thinking and initiative, what are we going to do with the numbers and objects counted or measured.

Now, we may go to great extent to investigate all kinds of properties of all kinds of numbers and sets of numbers. Hence, linear algebra,calculus, real analysis. They are all useful and sometimes very elegant parts of mathematics. But, frequently, we do not need all those properties to apply or use pure math results in everyday situations. Excelling in some business endeavor frequently depends on actually knowing WHAT and WHY something is counted, while, at the same time, mathematics involved, can be quite simple. When I say business, I mean business in usual sense, like finance, trading, but also, I mean, for instance, as we will see soon, basketball, and even poker.

When playing basketball we also need to know some math, at least dealing with positive integers and zero. However, knowledge of basketball rules are way more important than math, in basketball domain.
Those basketball rules are mostly non mathematical, which doesn't make them at all less significant. Moreover, they are way more important ingredient, and more complex part, for that matter, of a basketball game, than adding the numbers. You can have knowledge of adding integers, but without knowing basketball rules, and know how to play basketball, you will not move anywhere in a basketball team or in the game. Moreover, basketball rules are actual axioms of a basketball game. And, every move in the basketball court, any 30 seconds strategy developed by one team or the other, corresponds to theorems of the basketball game! Any uninterrupted part of the game, without fouls or penalties, is an actual theorem proof, with basketball rules as axioms. We can say that basketball rules are those statements that define what belongs to a set "number of scored points"! You see here how we have whole book of basketball game rules that serve the purpose to define what belongs to a set (of scored points). Compare that to those boring, and sometimes, ridiculous examples, in many math texts, with apples, pears, watermelons (although they may illustrate the point at hand well). With ridiculing the importance of rules of what belongs to a set, belittling their significance and logic associated to obtain them, those authors, unintentionally, pull you away from an essential point of "applied" math - in order to define what belongs to a set, and then, count it (like points in basketball) you need to know areas other than math, and to develop, logic, creativity, even intuition in those areas, in order to decide what really belongs to a set and what needs to be counted. Because, accuracy of rules and logic to determine what belongs to a set dictates the set's cardinality, the size of the set, the number of its elements. And this is the number you will enter in all your calculations later! Note, also, that only knowing rules of basketball game doesn't make you a first class player, nor your team can be a winner just knowing the rules. You have to develop strategies using those rules. You have to play within those rules a winning game. The same is in math. Knowing the fundamental axioms of math will not make you a great mathematician per se. You have to play "winning game" inside math too, you have to show creativity in math as well, as you would in basketball game!

In business it is often more important to know where the numbers are coming from than to know in detail their properties. For instance, in poker. again, only integers are involved. You have to remember that the same number 5 can be any of the card suits, and, in addition, can belong to one or more players. Note how abstracting number 5 here and trying to develop pure math doesn't help us at all in the game. We have to go back, we have to use that abstracted number 5 and put it back to the objects it may have been abstracted from. You have to somehow distinguish that pure number 5, and associate it with different suit, different player. And strategy you develop, you do with many numbers 5, so to speak, but belonging to different sets, suits, players, game scenarios. Hence, being a successful poker player, among other things, you need to memorize, not exotic properties of integers and functions, but how the same number 5 (or other number) can belong to so many different places (players, suits, strategies, scenarios).

Another example is finance. Any contract you have signed, say for a credit card, is actual detailed definition what belongs to a set, i.e. whether $23,789.32 belongs to your account under the conditions outlined in the contract. Note how even your signature is a part of the definition what belongs to a set, i.e. are those    $23,789.32 really belong to your account. You see, math here is quite simple, it is a rational number   23.789,32, but what sets it belongs to is outside mathematics, it's a domain of financial definitions. Are you going to pay the bill of $23,789.32, or someone else, is a non mathematical question, while mathematics involved is quite simple, it's number 23,789.32.

Now, note, when you are paid for your basketball game, suddenly you have math from two domains put together! It may be that the number of points you scored are directly linked to a number of dollars you may be paid. Two domains, of sport and finance, are linked together via monetary compensation rules, which can have quite a bit of legal background too, and all these (non mathematical in nature!) rules dictate what number, of dollars, may be picked after the set of games.

A theorem in one system is usually an axiom in another. Which systems to link in this way is in the center of innovative thinking.

[ applied math, applied mathematics, math applications, poker, basketball, financial math, poker and math, math concepts, financial mathematics  ]

Monday, June 27, 2011

From Real World Math Applications to Pure Math and Back

You can download all the important posts as  PDF book "Unlocking the Secrets of Quantitative Thinking".

Can you go from pure math to real world math applications? The answer is no. You can not start with math only and then “apply” to real world scenario. It is, however, possible to use math in real world (even in fictional world, like in Harry Potter movies), practical applications, but the path and direction are different and needs to be clarified.

The reason you can not go from pure math to real world math application is in the fact and in the nature, definition (in a sense) of a number. A number is obtained as an abstraction, a common property for many objects. By this very definition, because it is abstracted from counted objects, because it is, now, a separate concept, representing a pure count, without any object associated to it, you can not tell, by looking at the number only, where it came from, what and if anything has been counted to obtain that number. In other words, a number does not carry any information about any object extraneous to mathematics! Hence, you can not say, just looking at the number only, or at the sequence of math operations on numbers, what its or their application, in real world, may be. Newton did not learn calculus first, then applied it to the gravitational problems! Quite the opposite happened. Newton was dealing with non mathematical objects and relationships like apple falling from the tree, Moon orbiting Earth, and other body motions. Unless they are quantified, these are not mathematical objects nor relationships. If they were, then you would see theorems in math books proved by apples, Moon, speed, etc. but it is not so. Math theorems are stipulated and proved using only mathematical objects, like numbers, sets, set of numbers, or other mathematical theorems and axioms. So, let make that clear, Newton first dealt with physical objects and only then he invented calculus. So, when someone tells you you will learn math then apply it, it is not quite true.

When you deal with a number, you deal with an abstracted common property, a separated concept abstracted from all the objects whose count it represents. The very moment you start adding 2 apples and 3 apples you are doing two distinct steps. First one is recognizing that the object to be counted is an apple. That recognition process, a categorization, that you are looking or holding an apple is outside mathematics, since you can be counting apples, pears, cars, books, cups. This recognition is a focus of research of cognitive science, psychology, biology, color research, even socal sciences. The second step (which is, actually, common to counting all those objects) is dealing with numbers 2 and 3. Even if you may not notice, when dealing with 2 and 3, you are dealing with counts that can represent not only apples, but millions of other objects that can be counted, or put in sets, then counted, to obtain 2 and 3. Hence, the result you obtained for 2 and 3 apples, i.e. 2 + 3 = 5, can be used in ANY other situation where you have 2 objects and 3 objects and you want to add their counts. You right away invented and used "pure" mathematics when counted these apples. It is this universality, the common numeric property of counted objects, that gives mathematics ability to be a separate discipline, to deal only with numbers. While to us, and to the field that uses quantification, is very important what, when, why and where something is counted or measured, to investigate only the counts' properties is the task of pure math. Pure math does not care where the numbers or counts are coming from. It is very similar when we create a set of any objects (of interest), but we are only interested how many elements are in the set and not which objects are part of the set (that information, which objects are elements of the set, we keep track of on a separate sheet of paper) ! Math knows and should know only about numbers and sets of numbers. Notice how math may be "motivated" by counting apples, but, the result obtained, i.e. 2 + 3 = 5, can be used when counting any other objects!

Also, math can't tell real world from fictional one! Look! If Harry Potter flies 10 m/s how many meters he will advance after flying 5 seconds?

Mathematics deals with numbers and with numbers only. It does not care where the numbers are coming from (but, in the field of applied math, we do care where the numbers are coming from). Now, you may ask, how we can apply mathematics at all, if the trace what is counted is lost in this abstraction, in this definition of pure number? Well, here is how.

It is true that pure mathematics deals with numbers only and, of course with mathematical operations on them. We have abstracted, separated a concept of number from all possible real world objects that might have been counted. Thus, when you say 5 + 3, you right away know that the answer will be 8. No real world objects are mentioned nor even thought of when we did this addition. We just selected two numbers, and decided to do addition (we could also decide to do subtraction or multiplication). Now, how then we can apply math to real world if we don’t have a trace of what is counted? There is a way! When we want to “apply” or rather, use, math in real world, we will drag the names of objects counted into the math! We will keep track of numbers obtained, to know where they come from, which objects’ counts they represent. How we do that? We will add  a small letter, or abbreviation, or a word, name, just beside the count to tell us what we have counted. For instance, we can write numbers, 3, 5, 7, 10 after we counted (or measured) something. In order to keep track what we have counted we will add small letters right beside the numbers, like 3m, 5m, 7seconds, 10apples. Now, very important thing. These added letters do not represent math. They are for us to keep track what is counted. Unfortunately, frequently, this is all mixed up and students are often told they are doing math even when they describe what are they counted, why (to give 10 apples), where (apples from the basket, he went 3m downhill, then 5 meters uphill,), when (7seconds ago, not after). All this reasoning, descriptions, units, abbreviations, meters, seconds, apples, ago, before, after, downhill, uphill,  DO NOT BELONG TO MATH. Why is that? Because, if you look in any pure mathematical textbook or book, you will clearly see that no theorems are stated or proved by mentioning apples, meters, seconds, pears, etc. All the theorems are proved strictly in terms of mathematical objects, numbers, sets, set of numbers, using other theorems and axioms. No outside objects or descriptions, like apples, cars, downhill, uphill, will ever enter a mathematical theorem or its proof.

Now, when we distinguished what is pure math and what is applied part of it, we can make more interesting and significant conclusions. Pure mathematics deals with numbers and numbers only. Since number 3, say, can represent an abstracted count of so many, many objects, wouldn’t be interesting to have its properties investigated? It looks like there is some value in the fact that one concept, a number, stands for counts for so many objects. We can compare number 3 with other numbers. We can say which numbers are greater than or less than other numbers. We can multiply them and see what numbers we are getting. And all the time we deal only with numbers. The value is, if we get some interesting result for a certain number or numbers, from our “pure” number investigation, we can use that result for all those examples in real world. That’s the value of applied math. But, in order to use it, say, in order to use 5 + 3 = 8, we have to make a match between pure math numbers and real world counts. Hence, IF we count say, CDs and IF we get 5CDs, and, again we count another set of CDs just mentioned. This is a simple example, but there are more complex mathematical results where we don’t need to reinvent the wheel each time we get the real world count, but instead we take advantage of ready to use mathematical result, procedure, theorem, solution.

Mathematics does not see the reasoning from other worlds. Math will see number 6 (given, or picked), math will see number 10 (given, or picked), and math will see the selected, required operation, addition (it could be subtraction or division too). Does it mean that these numbers, 10 and 6 came from thin air to mathematics? They came from counting apples, but, where are the apples then? The point is, remember, when we said that numbers, in pure math, are abstraction for all the objects they can represent count of. They are not from thin air, they exist in our math as our starting point. Our pure math has already numbers available for our use, 1, 2, 3,…10, …, etc.. How? We did not even need to find objects to count to obtain different numbers. We can start with 1, then add 1 to get 2, then add 1 to get 3, etc. That’s why we have numbers already available for us. We only pick them, and do the operations. Math, for that matter, doesn’t need to know if we counted apples, or pears, of chewing gums. It is enough for math to tell there is number 10 and number 6 and that we want to add them. It is us who will keep track why we counted (because Peter was hungry),  what we counted (apples, they are edible), when we counted (in the evening, when was the time for dinner).

How we are allowed, at all, to go from non-axiomatic worlds, physics, economics, finance, to, so strictly defined, axiomatic world of mathematics? Apparently, mathematics does not care whether the problems come from axiomatized system or not! And that tells us that mathematics can not correct logical steps or see the flaws in the system it proudly claims it models. Assumptions coming from non-axiomatized fields, like physics, economics, finance, and into a strict axiomatic system, like mathematics, can produce results that can wreak havoc back in the field where the mathematics is applied.

You may ask, at this point, how we can mix these two logic worlds. One world appear to be very fluid, the real world, with objects selected, of any type, and any kind of relationships. On the other hand we have mathematical logic world, where we only deal with numbers, or sets of numbers only, and with what appears to be quite precise rules, axioms, logic, and well defined sequences of math operations (of addition, subtraction, multiplication, division). Is there a logic that will merge and connect these two worlds? YES! You can mix these two worlds, but you have to be very careful with the World # 1, the real world's objects and scenarios. Your logic there has to be correct. Then, you can use logic used to link these two worlds, and it's  is the logic already familiar to you, but with new domains of application. How it is done? Here is how. Let’s say that logical statement from the first, real world, is labelled as “p” ,  and logical statement from the second, mathematical logic world is labelled as “q”, then we can create a new, logical statement IF “p” AND “q” THEN “s”, or in shorter notation, p ^ q => s. I am sure you are familiar with this logical statement. Here is example. Let p = “Peter is hungry” and let q = “there are 10 apples”. Then we can form a statement “IF Peter is hungry and IF there are 10 apples, THEN he will get 6 apples”.

Mathematics is defined not by objects it counts, nor by reasons or logic why those objects are counted, but with concepts used to define matheatics axioms and to define proofs of mathematical theorems. 

[ applied math, applied mathematics, learn math, math applications, math concepts ]