AllRounder.ai
Chapters in this course

Enrol to start learning

Reading is open to everyone. Enrolling is free, and it is what unlocks the audio lessons, practice tests and progress tracking.

Enrol free

18.1.1. Definition of Increasing and Decreasing Sequences

Interactive Audio Lesson

Session 1: Understanding Increasing and Decreasing Sequences

Unlock the classroom podcast

The transcript is free to read. A free account plays the conversation back.

Sarah
SarahInstructor

Today, we are going to explore what it means for a sequence to be strictly increasing or strictly decreasing. Who can tell me what they think a strictly increasing sequence is?

Noah
Noah

Isn't it when every number is larger than the one before?

Sarah
SarahInstructor

Exactly! A strictly increasing sequence is of the form (a_1, a_2, …) where a_1 < a_2 < a_3 and so on. Now, can anyone define a strictly decreasing sequence?

Isabella
Isabella

It’s when each number is smaller than its predecessor, right?

Sarah
SarahInstructor

Exactly correct! A strictly decreasing sequence looks like (a_1, a_2, …) where a_1 > a_2 > a_3. This brings us to an important idea: subsequences. Can anyone tell me what a subsequence is?

Akash
Akash

Is it a part of the sequence that can skip some numbers but keeps the order?

Sarah
SarahInstructor

Yes! Good job! A subsequence maintains the original order of terms but may not include all the elements. Let’s look at our definitions again. What if I told you that no matter how we choose n + 1 distinct real numbers, we can always find a subsequence that is either strictly increasing or strictly decreasing?

Ananya
Ananya

How is that possible? Can you explain?

Sarah
SarahInstructor

Great question! That’s what we’ll prove next!

Session 2: Explaining Subsequences and Their Importance

Unlock the classroom podcast

The transcript is free to read. A free account plays the conversation back.

Robert
RobertInstructor

Let’s delve into why subsequences are significant in sequences of distinct real numbers. We can take these numbers and create subsequences. Can anyone give me an example of a subsequence?

Noah
Noah

In a sequence like 1, 3, 0, -5, 2, 8, I could pick 1, -5, and 2.

Robert
RobertInstructor

Great example! What you’ve chosen is a valid subsequence, although it’s not strictly increasing or decreasing. Now let's dive into how we prove that some subsequence will always be either increasing or decreasing.

Isabella
Isabella

How do we do that?

Robert
RobertInstructor

We use the pigeonhole principle, which states if you have more pigeons than holes, at least one hole must contain more than one pigeon. We can relate this to our increasing and decreasing lengths.

Akash
Akash

So we pair values of increasing and decreasing subsequences?

Robert
RobertInstructor

Exactly! Now, if we assume that the longest increasing or decreasing subsequence is less than or equal to n for all subsequences, we’ll find a contradiction.

Session 3: Proving with the Pigeonhole Principle

Unlock the classroom podcast

The transcript is free to read. A free account plays the conversation back.

Sarah
SarahInstructor

Now, we’ll apply the pigeonhole principle to prove this statement. Suppose we have n + 1 distinct numbers, and we define a_i as the length of the longest increasing sequence starting from that number.

Ananya
Ananya

What if it turns out that all subsequences are less than or equal to n?

Sarah
SarahInstructor

If that’s assumed, we could pair the longest subsequences, which leads to decreasing subsequences as well.

Noah
Noah

And that’s how we get a contradiction, right?

Sarah
SarahInstructor

Exactly! In both cases of comparing the lengths, we arrive at a contradiction confirming that at least one subsequence must be of length n + 1. So no matter how we arrange n + 1 distinct numbers, we will find at least one subsequence that is either strictly increasing or strictly decreasing.