References
Paul Abbott
School of Physics, Mathematics and Computing
The University of Western Australia
paul.c.abbott@uwa.edu.au
School of Physics, Mathematics and Computing
The University of Western Australia
paul.c.abbott@uwa.edu.au
In this Chat-Enabled notebook I revisit questions asked in the paper Empowering mathematics education through programming.
The sum of even natural numbers
The sum of even natural numbers
In my view, I think the more important question to ask is what is the sum of terms, something that Python and Geogebra will likely struggle with.
n
Sum of the first n even natural numbers
The sum of the first even natural numbers can be calculated using a simple formula. The first even natural numbers are . The sum of these numbers can be given by: This can be factored as: The sum of the first natural numbers is given by the formula: Therefore, the sum of the first even natural numbers is: So, the sum of the first even natural numbers is .Let's verify this with an example. For : And the first 5 even natural numbers are 2, 4, 6, 8, 10 , whose sum is indeed 30 .
n
n
2,4,6,…,2n
S
S2+4+6+⋯+2n
S2(1+2+3+⋯+n)
n
1+2+3+⋯+n
n(n+1)
2
n
S2n(n+1)
n(n+1)
2
n
n(n+1)
n5
S5(5+1)5630
Give me Mathematica code for computing this sum.
Sure! Here is the Mathematica code to compute the sum of the first even natural numbers:
You can use this function to compute the sum for any . For example, to compute the sum of the first 5 even natural numbers:
This will return 30, as expected.
n
n
1. How many terms are needed to get a sum larger than 10,000?
2. Can we get the sum 100?
2. Can we get the sum 100?
Let's address each question one by one. We need to solve for in the inequality: To find the smallest integer that satisfies this inequality, we can solve the quadratic equation: +n-10,0000Using the quadratic formula: where , , and , we get: Since must be positive, we take the positive root: Let's compute this value.
We need to check if there exists an integer such that: This is a quadratic equation: +n-1000Again, we use the quadratic formula: Let's compute this value.
If is an integer, then it is possible to get the sum of 100 using the first even natural numbers. Otherwise, it is not possible.Let's calculate these results.
With these calculations, we can determine the answers to both questions.
n
n(n+1)>10,000
n
2
n
n
-b±-4ac
2
b
2a
a1
b1
c-10,000
n
-1±
1+40,000
2
-1±
40,001
2
n
n
-1+
40,001
2
n
n(n+1)100
2
n
n
-1±
1+400
2
-1±
401
2
n
n
Code Evaluation
Code Evaluation
Mouse-over the code, select, and evaluate:
In[]:=
nLargerThan10000=Ceiling[(-1+Sqrt[40001])/2]
Out[]=
100
In[]:=
nSum100=(-1+Sqrt[401])/2
Out[]=
1
2
401
)Sum of all four digit numbers divisible by three
Sum of all four digit numbers divisible by three
Sum of all four digit numbers divisible by three.
To find the sum of all four-digit numbers divisible by 3, we can use the formula for the sum of an arithmetic series. The smallest four-digit number is 1000, and the largest is 9999. We need to find the four-digit numbers within this range that are divisible by 3.1. Identify the smallest and largest four-digit numbers divisible by 3: • The smallest four-digit number divisible by 3 is the smallest number greater than or equal to 1000 that is divisible by 3. Since with a remainder of 1, the smallest four-digit number divisible by 3 is 1002. • The largest four-digit number divisible by 3 is the largest number less than or equal to 9999 that is divisible by 3. Since with no remainder, the largest four-digit number divisible by 3 is 9999.2. Calculate the number of terms in the sequence: • The sequence of four-digit numbers divisible by 3 from 1002 to 9999 forms an arithmetic sequence with the first term , the common difference , and the last term . • The number of terms can be found using the formula for the -th term of an arithmetic sequence: a+(n-1)d. Setting 9999, we get: Solving for : 3. Calculate the sum of the sequence: • The sum of an arithmetic sequence can be calculated using the formula: Substituting the values we found: So, the sum of all four-digit numbers divisible by 3 is 16,501,500.
1000÷3333
9999÷33333
a1002
d3
l9999
n
n
a
n
a
n
99991002+(n-1)·3
n
9999-1002(n-1)·3
8997(n-1)·3
n-1
8997
3
n-12999
n3000
S
S(a+l)
n
2
S(1002+9999)
3000
2
S1500·11001
S16501500
Summarize all three-digit numbers divisible by seven
Summarize all three-digit numbers divisible by seven
What is the sum of all three digit numbers divisible by seven.
Triangle with unknown angles
Triangle with unknown angles
A triangle ΔABC has three unknown angles called a, b, and c with the following relations. Angle a is 12° larger than angle c. Angle b is four times larger than angle c. Determine the size of the angles.
A triangle ΔABC has three unknown angles a, b, and c with the relations: Angle a is 5° larger than angle c. Angle b is 50° larger than angle c+a. Determine the size of the angles.
Comments
Comments
Regarding “The programming seemed to be much easier for most of the students than I had imagined”, with Chat-Enabled notebooks, this has become even easier.
“Of course, some students disliked entering the mathematics into the environments of GeoGebra, Python, and Wolfram Alpha. The[y] were probably considering mathematics to be something that should be done with paper and pencil and thus considering that letting GeoGebra, Python, and Wolfram Alpha solve the problem was cheating.”
In my view it is not cheating. The point is that the entire approach and goal of math(s) teaching needs to be re-thought because of what current technology is capable of.
Bruno Buchberger’s White-Box/Black-Box principle addresses what should be done with paper and pencil.
Buchberger (1990)
Buchberger (1990)
Proposed White-Box/Black-Box principle (WBBB) to describe computer-assisted learning:
In the stage where area X is new to the students, the use of a symbolic software system realizing the algorithm of area X as black boxes would be a disaster. Students have to study the area thoroughly, that is they should study problems, basic concepts theorems, proofs, algorithms based on the theorems, examples, and hand calculations.
In the stage where area X has been thoroughly studied, when hand calculation for simple examples become routine, and hand calculations for complex problems becomes intractable, students should be allowed and encouraged to use the respective algorithms available in symbolic software systems.
Kutzler (2000)
Kutzler (2000)
Modified the WBBB principle: students who do not master certain topics can use computer-assisted learning as a scaffolding to help understand higher level topics.
Drijvers (2000)
Drijvers (2000)
Proposed inverting the sequence—Black-Box/White-Box—using computer-assisted learning as a generator of examples and as an explorative tool that confronts the student with new situations. The explorative Black-Box phase can lead to (directed) discoveries. In the White-Box phase the results of the explorations are examined and can lead to the development of new concepts.
1
Buchberger, Bruno. “Should Students Learn Integration Rules?” SIGSAM Bull. 24 (1990): 10-17. https://doi.org/10.1145/382276.1095228
2
Kutzler, Bernhard. “The Algebraic Calculator as a Pedagogical Tool for Teaching Mathematics.” International Journal of Computer Algebra in Mathematics Education, 7(1), 5-23 (2000). https://www.learntechlib.org/p/92408/
3
Drijvers, Paul. “Students encountering obstacles using a CAS.” International Journal of Computers for Mathematical Learning 5, 189–209 (2000). https://doi.org/10.1023/A:1009825629417
CITE THIS NOTEBOOK
CITE THIS NOTEBOOK
Empowering Mathematics education through programming
by Paul Abbott
Wolfram Community, STAFF PICKS, October 1, 2024
https://community.wolfram.com/groups/-/m/t/3288988
by Paul Abbott
Wolfram Community, STAFF PICKS, October 1, 2024
https://community.wolfram.com/groups/-/m/t/3288988