Make learning comfortable
Introduction to Mathematical Proof / LEVEL 1 · DIFFICULTY 4/5
Introduction to Mathematical Proof
Read the prerequisite, study a worked example and justify each step in these selected university topics.
Choose a node to explore its lesson.
STAGE UPRF 1.1 · 8 PRACTICE PROBLEMS · 4 NEW-CONTEXT APPLICATIONS
Direct, Contrapositive & Contradiction Proofs
Useful preparation: Logic, Sets & Relations
Open this topic in the university library →
For a long equation, swipe sideways inside its formula box to see every term.
Meaning & notation
A proof handles every allowed object. Track which facts are given, which assumptions are temporary, and why each step follows.
- Direct proof
- To prove directly, start with an arbitrary object satisfying P and derive Q through justified implications.
- Contrapositive proof
- Instead prove ¬Q⇒¬P. This is logically equivalent to , whereas the converse is generally not.
- Contradiction and counterexample
- Contradiction assumes the negation of the target alongside the hypotheses and derives incompatible statements. A counterexample is one allowed object satisfying the hypotheses but violating the conclusion.
Conditions before calculation
- Declare the domain before using facts such as “not even means odd,” which is a dichotomy for integers, not arbitrary real numbers.
- Division requires a nonzero divisor; taking square roots or reversing inequalities also needs its own stated conditions.
- In an indirect proof, identify the temporary assumption and the precise contradiction. Do not assume the desired conclusion without a valid logical framework.
Why the method works
1. Unpack definitions
Replace descriptive words with usable equations. If an integer is divisible by a nonzero integer d, introduce an integer multiplier. The multiplier’s domain is part of the justification.
2. Choose a helpful direction
A parity goal may be easier backwards. To establish that an even square has an even integer root, assume the root is odd and compute its square.
3. Close the logical loop
Say which arbitrary choices were handled and how the last statement proves the target. For an equivalence, prove both directions separately; one implication alone is insufficient.
Worked examples
EXAMPLE 1
Prove that if a nonzero integer d divides both integers a and b, then it divides .
Because d divides a and b, choose integers r and s with and .
Substitute these representations and distribute. This uses the hypotheses rather than the desired conclusion.
The number is an integer because integers are closed under multiplication and subtraction.
Conclusion: The displayed integer multiplier proves d divides .
EXAMPLE 2
Prove that there is no smallest positive rational number.
Assume a smallest positive rational r exists. “Smallest” means r is no larger than every positive rational.
The number is rational because rational numbers are closed under division by the nonzero integer 2.
Since r is positive, . This is a positive rational smaller than the supposed smallest one.
Conclusion: The assumed minimum contradicts its defining property, so it cannot exist.
Pitfalls & counterexamples
Tempting claim: A true conclusion means the argument proving it is valid.
Correction: Every implication must follow from available assumptions, even when the final statement happens to be correct.
Test the claim: “All multiples of 4 are even because 12 is even” gives one successful case but does not handle arbitrary multiples.
Check your understanding
What must be assumed first in a contrapositive proof of “if is odd, then n is odd” for integer n?
Write a reason before opening the explanation. This reflection is not graded or saved.
Compare your reasoning
Assume n is even.
Negate the conclusion, then show is even, which negates the premise.
Connect this idea
Proof methods support induction, limit arguments, and algebraic structure tests. Checking quantifiers and legal operations prevents the same logical errors across these subjects.
Reference reading
Use these texts to study the underlying definitions and theorems in greater depth. The explanations and examples above are written for Numerive.
Preview the eight practice prompts
Complete a direct proof . With , , what integer is c?
An odd integer with . In , find b.
A claim says “all positive integers n satisfy .” Find the smallest positive counterexample.
To prove “if is even then n is even,” an argument assumes with and shows odd. Which method is this? Enter 1 for contrapositive, 2 for testing examples only.
A divisibility argument writes . With , , what integer is c?
A parity proof writes an odd integer with . In , find b.
A proposed rule says “all positive integers n satisfy .” Find the smallest positive counterexample.
A proof goal is “if is even then n is even,” an argument assumes with and shows odd. Which method is this? Enter 1 for contrapositive, 2 for testing examples only.
STAGE UPRF 1.2 · 8 PRACTICE PROBLEMS · 4 NEW-CONTEXT APPLICATIONS
Induction, Bijections & Countability
Useful preparation: Direct, Contrapositive & Contradiction Proofs
Open this topic in the university library →
For a long equation, swipe sideways inside its formula box to see every term.
Meaning & notation
Induction turns one verified starting point and a reusable transition into infinitely many conclusions. Bijections compare sets by pairing their elements without omission or duplication. Both methods replace an impossible infinite checklist with a finite rule whose correctness can be proved for arbitrary inputs.
- Induction
- For integers , prove , then prove for every . Strong induction may assume all cases from through k.
- Injection, surjection, and bijection
- An injection never identifies different inputs. A surjection reaches every element of its specified codomain. A bijection has both properties and therefore has an inverse function.
- Countability
- Use N={1,2,3,…}. A set is countably infinite if it admits a bijection with N; here “countable” includes finite sets as well.
Conditions before calculation
- The base cases must cover the range actually needed by the transition. A recurrence using two preceding terms normally needs two starting values.
- The inductive assumption concerns earlier cases only. The next case must be derived, not introduced as an additional assumption.
- Every map needs a domain, codomain, and well-defined rule. Changing the codomain can change surjectivity without changing the formula.
Why the method works
1. Expose the next contribution
For a sum, separate the new term before using the induction hypothesis. This identifies the exact connection between successive cases rather than merely recognizing a pattern.
2. Prove both mapping properties
For injectivity, equate two outputs and derive equal inputs. For surjectivity, begin with an arbitrary target and construct an allowed preimage.
3. Compare infinite sets by a rule
An infinite proper subset can pair perfectly with its parent set. Listing initial values suggests the pairing, but an inverse formula proves that every target is reached exactly once.
Worked examples
EXAMPLE 1
Prove that the sum of the first n terms 2,5,8,… equals for .
At , the formula gives 2, matching the first term.
Assume the formula at arbitrary . The next term is .
Add that term and factor; this is the formula with k replaced by .
Conclusion: The base and transition prove the identity for every positive integer n.
EXAMPLE 2
Construct a bijection from N onto the integers Z.
Send odd input to and even input 2k to −k, for positive integer k.
Odd inputs give distinct nonnegative integers; even inputs give distinct negative integers. The two output ranges cannot overlap.
For target , choose input . For target , choose input −2t. These are positive integers with the required outputs.
Conclusion: The rule is injective and surjective, so Z is countably infinite.
Pitfalls & counterexamples
Tempting claim: Checking several initial cases completes an induction proof.
Correction: Initial cases do not provide a transition for arbitrary k.
Test the claim: The claim holds for through 10 but fails at .
Check your understanding
Is from R to [0,) a bijection?
Write a reason before opening the explanation. This reflection is not graded or saved.
Compare your reasoning
It is surjective but not injective.
Every nonnegative y has preimage , but 2 and −2 both map to 4.
Connect this idea
Induction formalizes recursive constructions. Bijections justify equal-size cosets and provide a precise foundation for comparing finite and infinite collections.
Reference reading
Use these texts to study the underlying definitions and theorems in greater depth. The explanations and examples above are written for Numerive.
Preview the eight practice prompts
In the odd-sum induction at , what next odd term must be added?
After the induction hypothesis from to n of . For , what is the new total after adding ?
The bijection from positive integers to positive even integers. Which input maps to 8?
A function is . Is it surjective onto R? Enter 1 for yes, 0 for no.
A staircase proof assumes the odd-sum formula at , what next odd term must be added?
A proof step starts with from to n of . For , what is the new total after adding ?
A numbering scheme is the bijection from positive integers to positive even integers. Which input maps to 10?
A set map is . Is it surjective onto R? Enter 1 for yes, 0 for no.

