The Importance of Mathematics in Computing
The Importance of Mathematics in Computing
The Importance of Mathematics in Computing
Daniel Souza (UnB, FLI) The importance of mathematics in computing December 4th, 2018 1 / 11
Mathematics and Computing
Mathematics Computing
Mathematical Logic Programming Logic
Number Theory Criptography and Digital Signature
Set and Graph Theories Data Structure, Data bases, Networking, etc..
Discreet Math Algorithms
Analytical Geometry Computer Graphics
Probability and statistics Machine Learning, BI, Big Data, etc..
Daniel Souza (UnB, FLI) The importance of mathematics in computing December 4th, 2018 2 / 11
Mathematics and Computing
Mathematics Computing
Mathematical Logic Comp. Theory, Reasoning models, paradigms
Number Theory Criptography and Digital Signature
Set and Graph Theories Data Structure, Data bases, Networking, etc..
Discreet Math Algorithms
Analytical Geometry Computer Graphics
Probability and statistics Machine Learning, BI, Big Data, etc..
Daniel Souza (UnB, FLI) The importance of mathematics in computing December 4th, 2018 2 / 11
Computing as a Science
Charles Babbage’s Turing Machine
Analytical engine
Ada Lovelace
First Programmer
Mathematics
(i)
∞
f (0) i
f ( x)=∑ x
i=0 i ! (x−μ ) 2
1 − 2
f (x)= e 2σ
σ √2π
Daniel Souza (UnB, FLI) The importance of mathematics in computing December 4th, 2018 3 / 11
Computing as a Science
Daniel Souza (UnB, FLI) The importance of mathematics in computing December 4th, 2018 4 / 11
Computing as a Science
Charles Babbage’s Turing Machine
Analytical engine
Ada Lovelace
First Programmer
Mathematics
(i)
∞
f (0) i
f ( x)=∑ x
i=0 i ! (x−μ ) 2
1 − 2
f (x)= e 2σ
σ √2π
Daniel Souza (UnB, FLI) The importance of mathematics in computing December 4th, 2018 5 / 11
Phylosophy to mathematical reasoning abstractions and
computing
Every problem-solving activity requires mathematical thinking (such as,
basic logics)
Abstraction
Math logic model
Problem-domain Reasoning / Inference
Argument
Logical conclusion
Daniel Souza (UnB, FLI) The importance of mathematics in computing December 4th, 2018 7 / 11
Problem solving
Daniel Souza (UnB, FLI) The importance of mathematics in computing December 4th, 2018 8 / 11
Problem solving
According to 3rd student, instead of finding a general solution, it would be
wiser to find a general pattern.
Then, one is able in finding problem restrictions, variables and rules.
(
1 if n = 2
Shakes(n) =
shakes(n − 1) + (n − 1) for all n > 2
n shakes
2 1
3 3
4 6
5 10
... ...
Daniel Souza (UnB, FLI) The importance of mathematics in computing December 4th, 2018 9 / 11
Problem solving
The astute student will note that this computation is inefficient for larger
values of n.
Ideally, we seek an expression directly relating shakes(n) with n which does
not require computing intermediate values. With some hints students can
find the relationship:
shakes(n) = 1 + 2 + 3 + ... + (n − 1)
and ultimately the efficient “closed form” expression:
Daniel Souza (UnB, FLI) The importance of mathematics in computing December 4th, 2018 10 / 11
Question
Daniel Souza (UnB, FLI) The importance of mathematics in computing December 4th, 2018 11 / 11