Skip to main content

Welcome to a Grasp lesson

Create a free account to keep studying and create your own study path.

Lesson 1

Direct Proofs in Combinatorics

Recommended resources

Welcome to your first lesson in our study of combinatorics. This course is designed to build a strong foundation, moving from fundamental principles to advanced applications, which aligns with your goal of gaining a thorough, rigorous understanding for both your college course and competitive mathematics.

We'll begin by mastering the language of mathematics: proofs. This first module is dedicated to different proof techniques, which are the essential tools for establishing the truth of combinatorial statements. In this lesson, we will focus on the most fundamental of these: the direct proof. You will learn how to construct a direct proof for statements involving two key concepts from discrete mathematics: set membership and divisibility. Since you're already familiar with set theory and logic, we'll be able to ground these new proof strategies in concepts you already know.

The Anatomy of a Direct Proof

At its heart, a direct proof is the most straightforward way to establish the truth of a statement of the form "If P, then Q." The strategy is simple:

  1. Assume the hypothesis, P, is true.
  2. Use definitions, logical deductions, and previously established facts to build a chain of reasoning.
  3. Show that this chain inevitably leads to the conclusion, Q.

Let's see how this works in practice, starting with the world of sets.


Direct Proofs in Set Theory

A common task in combinatorics is to prove that two sets are equal. The standard method for proving that set equals set is to show they are subsets of each other. This requires a two-part proof:

  1. Prove that . (Show that any element in must also be in .)
  2. Prove that . (Show that any element in must also be in .)

Each part is a mini-direct proof. To prove , we assume we have an arbitrary element and then use the definitions of the sets to show that must also be in . This technique is often called the "element-chasing method."

Let's explore a detailed example of this method.

4.1: Methods of Proof for Sets - Mathematics LibreTexts

The following reading from Applied Discrete Structures by Doerr and Levasseur provides an excellent template for constructing a direct proof about set equality. It demonstrates the "Proof Using Definitions" technique, which is precisely the element-chasing method we've just discussed.

Please read the section titled Proof Using Definitions. Pay close attention to how the proof is broken down into two distinct goals: proving LHS \subseteq RHS and RHS \subseteq LHS. Focus on the first part of the proof for the Distributive Law, where the text shows that A ∩ (B ∪ C) ⊆ (A ∩ B) ∪ (A ∩ C). Notice how each step is a direct consequence of a set theory definition.

As you saw in the reading, the proof relies on translating the set notation into logical statements. Let's break down the logic for the first part of that proof:

Theorem: For any sets , it holds that .

Proof (Part 1: ):

  1. Assume the hypothesis: Let be an arbitrary element such that .
  2. Unpack definitions: By the definition of intersection (), this means:
    and .
  3. Unpack further: By the definition of union (), means:
    or .
  4. Combine and reason: Substituting this back, we have:
    and ( or ).
    This is a statement in logic. The distributive law of logic states that "P and (Q or R)" is equivalent to "(P and Q) or (P and R)". Applying this, we get:
    ( and ) or ( and ).
  5. Repack using definitions: Now, we translate back to set notation:
    • ( and ) is equivalent to .
    • ( and ) is equivalent to .
  6. Final step: Our logical statement becomes:
    or .
    By the definition of union, this is exactly the same as .
  7. Conclusion: We started by assuming was in and have shown it must be in . Therefore, we have proven that .

The second part of the proof, showing , follows the same logic in reverse. I encourage you to try writing it out yourself, using the "Why?" prompts in the reading as a guide, before moving on.

To see more examples and hear the logic explained, the following video is very helpful.

How to do a PROOF in SET THEORY - Discrete Mathematics

This video from TrevTutor walks through several set proofs, emphasizing how to translate set operations into natural language and logical steps.

Watch the introduction on interpreting set operations in natural language. This is key to building intuition. Next, see a simple subset proof demonstrated from start to finish. To see how to prove set equality, watch the proof of De Morgan's Law from this section, which shows the required two-way subset proof.


Direct Proofs Involving Divisibility

Now, let's apply the same direct proof strategy to a different domain: number theory, specifically properties of divisibility. The structure of the proof remains the same, but the definitions we use will change.

The statement "a divides b," written as , means that is a multiple of . While we can think of this as being an integer, for writing proofs, it's far more powerful to use an algebraic definition based on multiplication.

Direct Proofs Involving Divisibility

The video "Direct Proofs Involving Divisibility" by Brain Gainz provides a clear and methodical introduction to this topic.

First, watch the segment that explains the formal definition of divisibility used in proofs. This is the most important concept for this section. After understanding the definition, watch the proof of the transitive property: "If a|b and b|c, then a|c". This is a classic example of using a chain of reasoning in a direct proof.

Let's formalize the proof for the transitive property of divisibility shown in the video.

Theorem: For any integers , if and , then .

Proof:

  1. Assume the hypothesis: Assume and .
  2. Unpack definitions:
    • By the definition of divisibility, means there exists an integer such that .
    • Similarly, means there exists an integer such that .
  3. State the goal: We want to show that . This means we need to find an integer such that .
  4. Chain logical steps: We have an expression for in terms of , and an expression for in terms of . We can substitute the second into the first: Using the associative property of multiplication, we can regroup this as:
  5. Conclusion: Let . Since and are integers, their product is also an integer. We have successfully shown that for some integer . Therefore, by the definition of divisibility, .

This proof perfectly illustrates the direct method: we assumed the "if" part and, by using definitions and simple algebra, we arrived at the "then" part. I recommend watching the other examples in the video to see this pattern repeated in slightly different contexts.


Your Turn: Practice Problems

Now it's time to try constructing a couple of direct proofs yourself. Use the structure we've discussed: state your assumptions, unpack definitions, manipulate the expressions, and form your conclusion.

Problem 1 (Sets): Prove that for any sets A and B, .

Hint: Start by assuming . What does the definition of union tell you?

Click to see the solution

Proof:

  1. Assume the hypothesis: Let be an arbitrary element of , so .
  2. State the goal: We want to show that .
  3. Use definitions: The definition of union states that an element is in if it is in or if it is in .
  4. Chain logical steps: Since we know , it is certainly true that " or ". This is a fundamental rule of logic: if a statement P is true, then the statement "P or Q" is also true for any other statement Q.
  5. Conclusion: Because " or " is true, by the definition of union, we have . Since we have shown that any element of is also an element of , we conclude that .

Problem 2 (Divisibility): Prove that for all integers and , if , then . This problem and its solution are also available in the following resource.

Discrete Math for Computer Science - Problems

This document contains a collection of solved problems in discrete mathematics.

Find the section titled "Divisibility Properties" (p. 19). The first problem in this section is the one you are asked to solve. Try to solve it on your own first, then review the provided solution to check your work and reasoning.

Click to see the solution

Proof:

  1. Assume the hypothesis: Assume .
  2. Unpack definitions: By definition, this means there is an integer such that .
  3. State the goal: We want to show that . This means we need to find an integer such that .
  4. Chain logical steps: We start with the equation . Squaring both sides gives:
  5. Conclusion: Let . Since is an integer, is also an integer. We have shown that for some integer . Therefore, by definition, .

Key Takeaways

In this lesson, we introduced the direct proof, the most fundamental proof technique in mathematics. The core strategy is always the same:

  • Assume the hypothesis (the "if" part).
  • Use definitions to translate high-level concepts (like set inclusion or divisibility) into concrete logical and algebraic statements.
  • Build a bridge of logical deductions to arrive at the conclusion (the "then" part).
  • Conclude by showing you have successfully derived the conclusion from the hypothesis.

You've now seen this method applied to both set theory and number theory, which are foundational areas for combinatorics.


Looking Ahead

While direct proofs are powerful, they are not always the easiest or even a possible way to prove a statement. What happens when assuming P doesn't seem to lead anywhere? In our next lesson, we will explore a powerful alternative: proof by contradiction. This technique allows us to prove a statement is true by showing that assuming it to be false leads to an impossible outcome.