Mathematics is the science of structure, order, and relation that has evolved from elemental practices of counting, measuring, and describing the shapes of objects. It deals with logical reasoning and quantitative calculation.
Abstraction
The power of mathematics lies in its ability to abstract. By stripping away the specific details of a problem, we can find universal patterns that apply to many different situations. For example, the number “3” is an abstraction that represents the commonality between 3 apples, 3 planets, and 3 ideas.
Interactive Lab
def count_elements(iterable):
"""Abstraction: Counting works the same way regardless of what we count."""
count = 0
for _ in iterable:
count += 1
return count
apples = ["fuji", "gala", "granny smith"]
planets = ["Mercury", "Venus", "Earth"]
print(f"Apples: {count_elements(apples)}")
print(f"Planets: {count_elements(planets)}")
python
1def count_elements(iterable):
2"""Abstraction: Counting works the same way regardless of what we count."""
3 count =0
4for _ in iterable:
5 count +=1
6return count
7
8apples =["fuji", "gala", "granny smith"]
9planets =["Mercury", "Venus", "Earth"]
10
11print(f"Apples: {count_elements(apples)}")
12print(f"Planets: {count_elements(planets)}")
Formalism and Proof
Mathematics is not just about calculation; it is about rigorous proof. A mathematical truth is one that follows logically from a set of starting assumptions (axioms). Once a theorem is proven, it remains true forever.
Knowledge Check
What is an 'axiom' in mathematics?
Answer: A starting assumption that is accepted without proof.
What is an 'axiom' in mathematics?
Applied Mathematics
While pure mathematics focuses on the intrinsic properties of mathematical structures, applied mathematics uses these structures to model the world around us—from the motion of stars to the behavior of financial markets.
Interactive Lab
import numpy as np
def simple_growth_model(initial_pop, growth_rate, time):
"""Mathematical model of exponential growth."""
return initial_pop * (1 + growth_rate)**time
print(f"Population after 10 years (5% growth): {simple_growth_model(100, 0.05, 10):.2f}")