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 are going to explore derangements. A derangement is essentially a permutation where no object is in its original position. For example, if we have three objects labeled 1, 2, and 3, the derangements would be 2, 3, 1 and 3, 1, 2.
So, if I understood correctly, for a derangement, each number has to move?
Exactly! Think about it like a party where no one can stay in their assigned seat. This ensures all arrangements are deranged.
Now, let’s categorize derangements based on where the first element is placed. If we fix the first element in one position and see where it could go next, it can lead to two scenarios.
What are those scenarios?
First, the designated element can occupy another position, and we need to derange the remaining elements. The second scenario is when we don’t place the first element in its original seat, which alters the arrangement altogether.
Does this mean we can use previous results to find new derangements?
Precisely! This leads us to a recurrence relation.
The recurrence relation is defined as D(n) = (n - 1) * (D(n - 1) + D(n - 2)). This means the number of derangements of n items can be expressed using its two previous terms. The initial conditions are D(0) = 1 and D(1) = 0.
Could you explain why those initial conditions are set that way?
Certainly! For D(0), there's one way to correctly arrange zero items, and for D(1), it’s impossible to derange one item.
Got it! So, using this relation, we can find derangements for larger sets?
Exactly! This is the power of recurrence! Let’s practice some calculations.
Derangement's game makes everyone roam, No one can sit in their own little home.
Imagine a dinner party where all guests must swap places with someone else, ensuring no one sits in their own seat.
To remember D(n), think: Derangements need Movement - D = M!
D: Deranged, P: Position - Never be in the Original!
Term
What is a derangement?
Click to flip
Term
What is the recurrence relation for derangements?
Click to flip
A permutation of n objects such that no object appears in its original position.
An equation that defines the terms of a sequence with respect to previous terms.
An arrangement of all or part of a set of objects, with regard to the order of the arrangement.
This section discusses the concept of derangements, defining them as permutations where none of the objects are in their original positions.
Derangements, often represented by the notation D(n), are explored through a recursive framework. The section categorizes derangements based on where the first element could be placed and outlines a recurrence relation to express D(n) in terms of previous derangement values.
In this section, we delve into the concept of derangements, defined as specific permutations of n objects such that no object appears in its original position. We categorize derangements based on the position of the first element. We explore two primary scenarios: one where the first element is placed in a deranged position and one where it is not. This categorization leads us to the formulation of a recurrence relation, expressed as D(n) = (n-1) * (D(n-1) + D(n-2)), with initial conditions D(0) = 1 and D(1) = 0. Identifying the structured nature of derangements illuminates their combinatorial significance and applications in various mathematical contexts.