Search the courses, subjects, tracks, games and features, or jump straight to a page.
Learn it your way
A short class with Sarah and her students. The other ways are under More.
Sign up free to listen. Transcripts are free to read.
Today we'll explore recurrence conditions, specifically focusing on strictly increasing sequences. Can anyone explain what a strictly increasing sequence is?
Isn't it a sequence where each number is larger than the one before?
Exactly! A sequence like 1, 2, 3 is strictly increasing. Now, let's define a function S for the number of valid sequences that start with 1 and end with n. Do you remember how we might denote sequences mathematically?
Like using S(n)?
Correct! So S(n) denotes the number of sequences starting with 1 and ending with n. Let's delve deeper.
We can establish a trivial recurrence relation as S(n) = S(n-1) + S(n-2) + ... + S(1). Why do you think this is?
Because the last term can take on several values before n?
Exactly! But, notice this relation has a degree of n-1, meaning it depends heavily on many previous values. We want to simplify it.
How do we simplify it?
Let's categorize the sequences based on the second last term. This will help us create a more compact relation.
Now, we've categorized our sequences: one where the second last number is n-1, and others where it varies. Can anyone propose a new relation?
Could it be something like S(n) = 2 * S(n-1)?
Yes! This compact relation of degree 1 simplifies our work since it only depends on S(n-1).
What about initial conditions for this?
Great question! We only need initial conditions for S(1) and S(2) to solve it effectively.
Why do we need to specify S(1) = 1 and S(2) = 1 as initial conditions?
Because without them, we can't calculate the next terms in the sequence.
Exactly! So, it’s crucial to understand the base cases for calculating the recurrence.
So, if S(1) is 1, there’s only one number in the sequence, right?
Exactly! One number means only one way to arrange it. Great job everyone!
In an increasing sequence, each number gleams, bigger than the last, fulfilling our dreams.
Once upon a time, numbers aligned in the perfect order, each one taller, representing a strictly increasing sequence!
S(n) = S(n-1) + S(n-2) + ... S(1) can be remembered as 'Strict Numbers Solo.'
S.I.R. (Strictly Increasing Relation) helps ensure we remember that relationships between numbers build on their predecessors.
Term
Compact Recurrence Condition
Click to flip
Term
Strictly Increasing Sequence
Click to flip
A sequence of numbers where each term is greater than the previous.
An equation that recursively defines a sequence; each term is defined as a function of preceding terms.
A simplified form of a recurrence relation with reduced dependency on earlier terms.
Values needed to start or solve a recurrence relation.
This section introduces a compact recurrence condition for strictly increasing sequences of numbers, outlining distinct categories of sequences based on constraints.
The section details the formation of a compact recurrence relation for sequences that start and end with specific values, explaining how to derive a simpler equation through categorization and replacing last values. It emphasizes the significance of distinctly identifying categories of sequence constructions.
The section begins by exploring strictly increasing sequences that begin with 1 and end with a number n. It defines a function 'S' as the number of valid sequences ending with n. Multiple categories are established based on the second last term in the sequences. The first trivial recurrence condition presented is S(n) = S(n-1) + S(n-2) + ... + S(1), where the last element can range from 1 to n-1. However, this yields a high degree of dependency, with the equation having a degree of n-1.
To derive a more compact recurrence condition, the function is redefined to better reflectrelationships between valid sequences based on their last values. Two main categories emerge: sequences where the second last term equals n-1 and those where it can take other values. The final compact recurrence relation is established as S(n) = 2 �D7 S(n-1), significantly reducing the degree to 1, and demonstrating that only two initial conditions are necessary for its solution, particularly emphasizing valid sequences of lengths 1 and 2. The section concludes its exploration of this recurrence condition, providing crucial insights into its formation and utility.