Showing posts with label Algebra. Show all posts
Showing posts with label Algebra. Show all posts

Thursday, October 10, 2024

Forms and Algebra



                When studying mathematics at any level, one might find themselves asking where did this stuff come from? , or why is this useful?.  The answer to these questions can be summed up in one word , Algebra.    Why algebra? Why is it so important?  Well, let’s look at what algebra actually means.  Algebra, throughout history, has developed many rules, relations, and symbols to answer some of the everyday problems we encounter.  The history of algebra and how it was formed, in my opinion, has little to do with what it actually means. I will instead explain algebra by use of philosophy. We can call it the philosophical theory of algebraic reasoning.

The Theory of forms and Algebra

      The theory of Forms is basically that real-world objects have forms. For example, when you look at your table, how do you know it’s a table?  In fact, your table could be extremely different from all other tables, but you know it’s a table because it has the form of a table. The form of a table is that it has a flat surface at the top, and a support structure at the bottom.  The Form of the table can be restated as the abstraction of a table.  By having the abstract model or form of a table, we can then manipulate or customize our table to look how we want so long as it stays within the basic bounds of the form.  We can also now take our base form and use it to define specific types of tables.
    Algebra works in the same way as the theory of forms. In algebra we use letters to symbolize or initialize the form of a number. We call the letters variables because they can change their value. Let’s look at the statement 1+1=2. Even though we have numbers and not variables this is still an abstraction. This is a perfect abstraction for general purposes it gives us a specific form unity. The 1 is the form or abstraction of a real world object. It can be any object as long as it is a single object. So to translate this statement we would say that a single object and a single object together has the form of two objects.  For most the meaning of this statement is obvious, however; the statement a + a = b is not as obvious. Also, this statement does not mean the same as 1+1=2.   Table + Table = 2 tables this statement is equivalent to 1+1=2 only because we are assuming the Knowledge of what the symbols 1, 2, + , =, represent. So we build our philosophical theory of algebra off of the assumption that we don’t need to define the symbols for numbers and what they mean.
     The symbols 1 and 2 have a very specific meaning, but their properties, and interactions have a more complicated philosophical meaning. So we have a gap in our ability to abstract numbers and their properties, which is why we use the letters or variables.  The variables are in fact a form of a form. Sounds redundant, but it is necessary to provide abstraction from something that is already an abstraction. This concept is where it gets a little tricky.  We can say a variable is the form of a number but not all numbers only numbers that have the specific properties we provide with the rest of the statement. Take our a + a = b statement. This statement gives us a relationship between any two numbers that can be represented in this form a + a = b which has many numerical equivalences.                            It can mean 1+1 =2, 2+2 = 4, 3+3 =6, 4+4 = 8…etc. In fact this statement provides an abstract definition of even numbers.  Statements like this should then be called definitions of forms.  We shall go back to our table example again. The basic form of a table is flat surface at the top and support structure at the bottom. What if we said table + wood? We are giving an abstract definition of tables that are made out of wood. So table + wood is the same as a + a =b they are both abstract definitions of forms.   The only difference is abstract definitions of numerical forms take a little more interpretation. However both assume an understanding of something else. The table + wood example assumes an understanding of the form of wood and the form of table. The a+a=b example assumes an understanding that 2,4,6,8,10…etc are called even numbers. a+a=b just gives us a definition of even numbers without trying to list all of the even numbers up to infinity. So abstraction is actually necessary to define specific numbers and number relationships, because we cannot realistically list every even number to infinity.

Why is algebra the heart of mathematics?


                The abstraction of algebra gives us strong foundation by which to build many more complex definitions with a wide range of uses in everyday life. A lot of these concepts we use every day without even realizing it. In fact nearly every branch of mathematics would not exist without the foundation laid down by algebra. For example statistics, uses many definitions that would not exist without the framework of algebra. We even use algebraic concepts in many other subjects. For example in composition classes we use abstraction as a tool to write papers we start with an outline, which is simply an abstraction. Our outline gives us a simple abstract definition of our paper which makes writing our paper much easier.  Language itself is an abstract definition of our thoughts and feelings.   

Tuesday, September 22, 2015

The "common core check guy"

In the news recently, we see the story of Doug Herrmann. Doug is a father from Ohio who out of frustration with his child's math homework, wrote a check using common core methods. He was frustrated because he was unable to understand what the school was teaching his son, and therefore was unable to help his son with his math homework.

The ten card system that his “viral” check picture was intended to highlight is not a terrible method of mental math. One exception is that for some it abstracts the idea so far that it seems to become separate from the actual “math”. Utilizing grouping techniques is in no way a “bad” technique to understand mental math. However, it becomes a problem if too much emphasis is placed on a single rigid method.

Using the ten card system is one of many useful techniques for understanding grouping. We only run into problems when the standardized testing systems force children to “believe” there is only one right way. The testing should only test for the ability to solve problems and not for the strict adherence to a single “correct” way of getting there. The practice tests I have looked at appear as though they are actually structured that way. The second grade tests do emphasize place value, but do not seem to indicate a single method. Now as far as the rigidity of the teachers, I have not seen how this comes into play. I do know that in many instances students fall behind due to teachers being too strict in the techniques that you use.

Please understand that I am well aware that there has been a rising trend in math illiteracy. I am not completely blasting common core. I , along with other parents, have some questions about the implementation and flexibility of these standards.
Some questions I have include:
  • How flexible are the methods used ?
    • Are students being taught that the ten card system is the “only correct” method ?
    • Will students be penalized for utilizing other techniques to arrive at their answers ?
  • How are conflicts between common core, and how the parents teach their children handled ?
    • Do teachers penalize their students for the way their parents teach them to solve problems ?
  • Is there an awareness of the different ways people understand concepts ?
    • Is there an accommodation in place for students who understand place value through other means than just grouping visualizations? ( e.g. positional notation instead of ten cards.)
These questions go beyond just common core. The rigid adherence to single techniques has long been the culprit behind the fall in mathematics education.

On a personal note, I have been a victim to the rigidity of teachers. When I was in high school(many years before common core) I failed a math class simply due to my teacher not approving of my mental math techniques. To be fair, I would like to emphasize the math teacher was not actually a math teacher, she was a soccer coach moonlighting as a math teacher due to a poor student teacher ratio.
The conflict arose when I was forced to show my work(and by show my work I mean that my teacher wanted to see the remedial addition, subtraction, multiplication, and division) This was an algebra class, where showing your work meant to show the steps taken to simplify the expressions. However, this instructor insisted we not just show that we had to multiply she wanted to see the actual steps we took to multiply. I thought this was odd in an algebra class, because learning to multiply was second grade. However, I did comply and attempted to be verbose with “showing my work”. However, my method of “long hand” multiplication was different from what she was taught. Most people are taught the “only” way to multiply is to start in the one column and carry and borrow and all these other concepts. I used a more “short hand” method which lends itself well to mental math. I would start with the highest power of ten column and work left to right instead of right to left. For example if I were to multiply two digit numbers I would start in the tens column and multiply no need for carrying and borrowing. You are just simply adding up zeros. This method isn't understood by all, but it was how I understood numbers and place value. Unfortunately, my math teacher was strict and rigid in how she wanted it done and failed me on all of my quizzes. I understood the algebra part and understood the basic calculations part, and arrived at the correct answer. I just applied a different method for the basic calculations.

Now my story is sadly similar to many other students. For most, these situations reinforce their frustrations with mathematics. It can quickly lead students to make snap judgments about the efficacy of learning and understanding math. They soon start to see math as a foolish endeavor with rigid methodologies not worth their time. Or they could simply just give up believing they will never understand and struggle to merely pass.



 I don't exclusively place the blame on teachers for the problem of rigidity. The parents also hold a share of the blame. As with the “common core check guy” Doug Hermann and some of the comments on his posting, they also find themselves rigid in their understanding. Simply not understanding a technique of solving a problem does not condemn it. Rather, it simply means you should probably learn more about it before condemnation.  

Sunday, July 28, 2013

Python Slope-Intercept

Python  is a wonderful programming language for quickly coding solutions to many problems. You can download python by going to python.org/download and selecting the version that’s best for your operating system.  Python can run from command line or though Idle that comes with most python downloads.   I have been working with python for almost a year now and it has become my “go to “for  
a lot of work in mathematics. It is not necessarily the “best” language for processor intensive mathematical algorithms, but it can offer efficient and quick solutions that can be easily applied to larger projects.  Recently, I have been doing some review of linear algebra and slope-intercept formulas. This is a fairly simple subject in mathematics but I thought it might be interesting to use python to solve some of these problems.   My solution might not be elegant but it is fairly simple.  I designed the program to take in two points (x1, y1), (x2, y2)  and output an equation of the line in slope-intercept form.   For those who may not be familiar slope-intercept form it is  y = mx + b where m is the slope and b is the y- intercept. The slope is calculated from the two given points by the formula (y1-y2)/(x1-x2) and the y -intercept can be found by 
b = y – mx.


Slope-intercept is useful in linear depreciation models.  For example:  if you bought a car at $81,292 and after 10 years it is only worth $33,121 to find out how much it will be worth after 13 years you can use slope-intercept to get a depreciation formula. The two points are at 0 years it is 81,292 (0, 81,292) and at 10 years it is 33,121 (10 , 33,121) substituting these numbers into our formulas you first find the slope which will represent the rate of depreciation.  You use the slope formula (y1-y2)/(x1-x2) 
(33,121 – 81,292) / (10-0) = -48,171 / 10 = -4817.1   and the y intercept is b = y – mx. 81292- 0(4817.1) = b= 81292 and putting it together you get y = (-4817.1) x + 81292 using this formula we can then determine the value of the car at 13 years by substituting 13 in for x
y = (-4817.1)13 + 81292 and we get 18,669.70 so after 13 years our car is worth $18,669.70
The Python code to find our linear depreciation formula is fairly straight forward


def slope():

    result = ''
    x = float(input("enter x one"))
    y = float(input("enter y one"))
    a = float(input("enter x two"))
    b = float(input("enter y two"))
    slope = (y-b)/(x-a)
    yint = y - (slope*x)
    if yint < 0:
        sign='-'
    else:
        sign='+'
    result = str("y="),str(slope),str("x"),sign,str(yint)
    return result
print(slope())


I use the input() method to take in the two points (x,y), (a,b)
then create a variable named “slope” and then immediately assign it to the formula to find the slope given 2 points (y-b)/(x-a). I then create a variable yint and assign it to the formula for the y-intercept. The if-else statement I use to aid with formatting because generally the + (plus sign) isn't displayed when you get a positive. The final line print(slope()) is there only for when you are running the code in console or idle if you were to convert this to a python module it won't be needed.  
I am sure there are more elegant and efficient ways of doing this as well as built-in python methods to make it display much better but that’s the beauty of python it’s easy to modify and play around with to get desired output style. 

Monday, May 13, 2013

Better learning through abstraction..…


There are many barriers to learning and teaching mathematics, some of which include:  anxiety, comprehension, and focus.  How do we get past these?  First, let’s look at anxiety. Why does the mere mention of mathematics strike fear and confusion in students?   It seems there are so many different causes of this to look at, that we are unable to pin point a single method to fix the problem.  In fact to find the solution, we need use the solution.   You will say   “well that sounds impossible”.   If we don’t know the solution, how can we use the solution to find it? There is a simple answer, abstraction.
I touched upon the idea of abstraction in Algebra: the true heart of mathematics.  So rather than just focusing on a solution to all of the different barriers to learning mathematics, we instead use abstraction to find a general solution.  We can then begin teaching abstraction rather than just mathematics.   If we find ways to take the classic “math” out of the picture we avoid the instant fear that many students face.  The statement “Today, class we are going to invent a new dictionary” is much less daunting than “Today, class we are going to learn algebra”.   The first statement will immediately spark a curiosity. The students will begin asking questions, and wanting to know more. 
What does inventing a new dictionary have to do with algebra?  To answer this, we first need to think what is algebra?  Algebra is basically a “dictionary” of formulas, theorems, and proofs which apply to a wide range of problems. 
How do these relate to each other?  Let’s look at the commutative property of addition. In algebra this is “defined” as   (a + b = b + a) .    To look at this in words rather than algebraic symbols, you get 

 Commutative property of addition: When adding two numbers together the order of the numbers does not change the result of the addition.


Where do we go from here?  This seems no different than how algebra is introduced normally.  What I am proposing is taking the math out of it in the beginning, and then slowly adding the math in after the concept of abstraction is understood.  We ask the students to look at some common problems they may face in their daily lives.  We will then list out some of the top suggestions. The students will then be asked to find the commonalities between the problems to group them together. Then the students are asked to make a name for each of the problem groups.  They can then begin defining the general solution to those problem types. Keep it simple, only spend about a week introducing the concept of abstraction with simple problems.   After the idea of abstraction seems clear then you could start adding the Math back into the process. You will begin with asking the students about math related problems. You could start with something simple like what is an even number. Many of the students by this point are familiar with the idea of what an even number is.  However, this time you can approach the same way you approached your dictionary idea. You ask the students to create their own definition of an even number. Allowing them to create their own mathematical rules to use empowers them with the ability to not only recognize the steps of problem solving, but to understand it rather than just memorize it.

               Teaching abstraction leaves a wide open doorway to many different possibilities. The hardest part of learning math for many students is the daunting amount of formulas and rules to remember. A student who knows how and why these rules work, and can look at a problem and devise their own algorithms for solving it, will be way ahead of the curve when they are faced with solving any problem they encounter. When you think about it you use this concept every day. As adults we face many different types of problems, and we solve them by first identifying the problem then abstracting a set of procedures for solving them. We sometimes have similar problems that we have solved before, and we encounter new problems that need new solutions.  However, being successful in life is dependent on the solidarity and efficiency of our ability to solve problems. When I say problems I don’t mean just mathematical, it is the seemingly mundane parts of life for some and the more perplexing or dire situations we encounter that I call problems.         Abstraction, logic, deductive and inductive reasoning are so important to a successful life that part of the curriculum of each grade level should be dedicated to them.

Saturday, February 2, 2013

Analysis of the MegaMIllions lottery



I compiled some data in Excel using the winning numbers data from 5-17-2002 – 3-23-2012.A few of the charts created using the winning numbers for the Mega Millions lottery are found below.
This first chart describes the number of times each number is drawn for each pick. From the data we see that the number 2 is more likely to be the first number drawn because it shows up as the first pick more often. The number of times 2 has appeared first is 75.4% of the total number of times a 2 has been in the winning numbers.


How many times each numbers is drawn 




first pick
second pick
third pick
fourth pick
fifth pick
mega ball
1s
82
0
0
0
0
19
2's
92
9
0
0
0
21
3s
78
7
1
0
0
27
4's
70
23
1
0
0
24
5's
68
22
3
1
0
18
6's
61
21
3
0
0
22
7's
63
24
6
1
0
28
8's
53
27
4
0
0
22
9's
52
36
6
0
0
27
10's
50
46
13
0
0
27
11's
39
32
10
3
0
17
12's
35
44
16
2
0
21
13's
27
49
15
2
0
27
14's
46
40
19
2
1
16
15's
24
39
19
4
0
23
16's
32
42
16
10
0
15
17's
17
50
30
3
0
17
18's
23
40
27
10
1
21
19's
12
38
30
11
0
22
20's
13
40
38
7
1
24
21's
10
33
35
13
2
30
22's
14
34
32
13
4
25
23's
9
27
30
12
2
18
24's
14
32
36
10
3
23
25's
10
33
29
19
4
20
26's
5
25
39
19
2
22
27's
9
25
42
16
7
20
28's
5
20
35
34
5
9
29's
4
26
33
30
7
25
30's
2
23
27
29
8
21
31's
2
25
40
29
12
21
32's
1
19
34
35
10
15
33's
1
11
25
29
13
23
34's
0
8
31
29
11
26
35's
1
12
30
29
16
28
36's
1
10
25
41
21
32
37's
1
5
33
37
7
17
38's
1
6
25
40
22
25
39's
1
7
30
46
23
18
40's
0
5
19
45
23
20
41's
0
3
20
28
26
19
42's
0
3
18
43
29
23
43's
0
4
22
27
31
20
44's
0
1
18
32
42
21
45's
0
1
19
38
37
19
46's
0
1
11
44
47
17
47's
0
0
7
35
40
7
48's
0
0
12
41
55
4
49's
0
0
3
33
54
7
50's
0
0
2
25
74
4
51's
0
0
4
26
81
1
52's
0
0
2
17
89
10
53's
0
0
2
16
56
0
54's
0
0
1
8
50
0
55's
0
0
0
4
49
0
56's
0
0
0
0
63
0


In this next chart I have laid out the average, mode, median, harmonic mean and other analysis of the number distributions across all of the different picks. 



first pick
second pick
third pick
fourth pick
fifth pick
mega ball
median all
7.5
18
28
38
49
24
Average all
9.278210117
18.6624514
28.3015564
37.42607
46.4542802
23.990272
mode all
2
17
27
39
52
36
standard deviation
7.137233978
9.10326996
10.2470703
9.59011029
7.6711884
13.842004
Geometric mean
6.565968069
16.139646
26.1471469
35.9559721
45.6978254
18.277583
Harmonic mean
4.207752217
13.1495089
23.5028125
34.0860285
44.7726832
10.698143
Mean - stddev
2.140976139
9.5591814
18.0544862
27.8359598
38.7830918
10.148268
Mean + stddev
14.63723398
27.10327
38.2470703
47.5901103
56.6711884
37.842004
avg mean+-stddev
8.389105058
18.3312257
28.1507782
37.713035
47.7271401
23.995136


This final chart is all of the data above rounded to the nearest whole number.
first pick
second pick
third pick
fourth pick
fifth pick
mega ball
8
18
28
38
49
24
9
19
28
37
46
24
2
17
27
39
52
36
7
9
10
10
8
14
7
16
26
36
46
18
4
13
24
34
45
11
2
10
18
28
39
10
15
27
38
48
57
38
8
18
28
38
48
24

It is important to note, that all these numbers represent the various distribution statistics of the numbers that were drawn at each of the televised drawings, and do not represent any regressive or other types of predictive models. These numbers are just simply a statistical analysis of the given data for educational purposes only. All data represents the real numbers published at http://www.megamillions.com/numbers/pastdrawings.asp The website offers a tool at the top of the page to select your data range and get all of the drawings