Three types of Proof?
Steps for Proof by Induction
Theorem, eg P(n)
Base case, eg for a (often 0 or 1) prove P(a)
Induction hypothesis (IH) eg that for some value k, P(k) holds
Induction step (IS) Show that if P(k) holds, P(k+1) also holds.
–> combination of these steps shows that P(n) is true for all values of n.
Definition of an algorithm
Algorithm is a set of rules for carrying out calculation.
Execution of an algorithm must not include
- subjective decisions
- call for some intuition
Deterministic algorithm?
P Class?
NP Class?
NP-hard class
NP Complete class
What is a tractable problem
Tractable means that a problem can be solved in practice as well as in theory
What is an intractable problem
problems that can be solved in theory but not in practice .
What is a heuristic?
Symbol for:
for all
∀
Symbol for:
such that
:
Symbol for:
there exists
∃