Important Questions on Derangements
Duration: 10 min
This video lesson is available to enrolled students.
Inside: a video lesson and guided study material.
Module outline
- About Course: About the Course
- General Aptitude & Reasoning: Number System Percentage Ratio and Proportion (Ratios) Average Profit and Loss Simple Interest and Compound Interest Algebra Probability Permutation and Combination Venn Diagram HCF LCM Pipe and Cistern Linear Algebra Sequence and Series (Series) Statistics Powers and Exponents (Surds and Indices) Arithmetic Mensuration and Geometry Calculus Trigonometry Vectors Non Verbal Reasoning (Spatial Aptitude) (Spatial Reasoning) (Visual Reasoning) Analogy Series (Number and Letter Series) (Numerical Relations and Reasoning) Puzzle Solving (Puzzles) Syllogisms Deductive and Inductive Reasoning (Logical Deduction and Induction) (Prepositional Reasoning) Calendar Seating Arrangements Coding Decoding Blood Relations Directions (Direction Test) Clock Analytical Reasoning (Counting Figures Reasoning) Ranking, Order and Sequence Logical Sequence Of Words Cubes & Dices Number System Powers, Surds and Logarithms Mathematical Operations Simplification and Approximation Percentages Ratio and Proportion Averages, Mixtures and Alligation Permutations and Combinations Profit, Loss and Discount Sequences and Series Vocabulary Subject-Verb Agreement Sentence Completion Geometry Reading Comprehension Transformation of Shapes Signal Space and Optimum Detection Alphabet and Word Tests Syllogisms and Venn Diagrams Analogy and Classification Mensuration Constraint Puzzles Patterns in Two-Dimensional Figures Three-Dimensional Patterns and Visualization Differential Calculus Wireless, Satellite and Optical Communication Systems Complex Analysis Vector Analysis Numerical Reasoning Assembling and Grouping of Shapes Coding and Decoding Cubes and Dice Series Completion Direction Sense Logical Deduction and Induction Order, Ranking and Sequence Clocks and Calendars Critical Reasoning Narrative Sequencing Project Monitoring, Resources and Safety Traverse Surveying Algebra Data Interpretation Time and Work Probability Speed, Time and Distance Statistics Data Sufficiency Trigonometry Differential Calculus Blood Relations Mixture and Alligation Speed Time and Distance Combinatorics
- Computer Networks & Cybersecurity: Introduction to CN Data Communication DLL: Access Control DLL: Flow Control DLL: Error Control DLL: Framing Data Link Layer - Ethernet Net Layer: IPv4 & Proto Net Layer: IP Addressing Net Layer:Routing Protocol Transport Layer Services TL: Congestion & UDP Application Layer Hardware Basics Network Security
- Programming, Data Structures & Algorithms: C Fundamentals Control Flow Functions Arrays & Pointers Storage Classes, Structures & Enums DMA, Macros, Scoping & File Handling OOPS with C++ Introduction to DS Array Stack Queue Linked List Tree Graphs Hashing Algorithm Analysis Time Complexity Analysis Sorting Algorithms Greedy Algorithms Dynamic Programming Minimum Spanning Trees Shortest Path Algos Advanced Algorithms
- AI, Machine Learning, Big Data & Cloud: Emerging Tech Trends Artificial Intelligence Big Data Systems Approaches to AI Search Algorithms Knowledge Representation Cloud Computing Internet of Things
- Digital Logic & Computer Organization: Digital Systems & Boolean Basics Logic Gates & Hardware Boolean Expression Boolean Minimization Combinational Circuit Sequential Circuits Number System Number Representation Basics of COA Floating Point Rep Cache Memory Organization Input Output Organisation Pipelining Instr Formats & Modes Register Transfer and Microoperations Control Unit Design Programming the Basic Computer Registers and Counters Boolean Algebra and Logic Gates Microprocessors and Microcontrollers Logic Families and CMOS Logic Microprocessors Logic Gates and Boolean Algebra Number Systems and Codes Minimization of Boolean Functions Timing, Hazards and Testing Logic Families Combinational Logic Design Arithmetic Circuits Waveform Generators and Timer Circuits Semiconductor Memories and Programmable Logic Devices Combinational Logic Circuits Sequential Circuits and State Machines Latches and Flip-Flops Finite State Machines Processor Organization and Instructions Memory Hierarchy and Input/Output Minimization of Boolean Functions Arithmetic Circuits Registers and Counters Latches and Flip-Flops Number Systems and Codes Semiconductor Memories and Programmable Logic
- TOC & Compiler: Introduction to TOC Deterministic FA (DFA) Non-Deterministic FA Regular Expressions Grammar Regular Language Properties Moore & Mealy Machines Pushdown Automata & CFG Turing Machines Complexity Theory Intro to Compilers Lexical Analysis Grammar & CFG Syntax Analysis: Top-Down Syntax Analysis: Bottom-Up Semantic Analysis & SDT Intermediate Code Gen Code Optimization Run Time Environment
- Discrete Mathematics: Set Theory Relations Functions Graph Theory Group Theory Propositional and Predicate Logic
- Operating System: Introduction to OS Process Management CPU Scheduling Process Synchronization Threads & Process Creation Deadlock Memory Management Virtual Memory Disc Scheduling File Management Unix OS Linux OS Distributed Systems
- Software Engineering: Fundamentals of Software Engineering Software Requirements and Quality Assurance Software Design, Estimation and Metrics Software Testing Software Maintenance and Configuration Management Object Oriented Technology HTML Basics JavaScript-Basics Java XML
- Database Management System: Basics of DBMS ER Diagram Relational Model & Functional Dependencies Keys & Integrity Constraints Normalization (1NF - BCNF) Decomposition Properties & 4NF File Organization & Indexing Relational Algebra SQL Relational Calculus Transaction Management Concurrency Control Database Recovery Data Warehousing & Mining Enhanced Data Models NoSQL
- Other Recurring CS Topics: Basics of Computer Graphics 2-D Geometrical Transforms and Viewing Multimedia
- Live Classes: ISRO Live classes
- Full Mock Test:
AI summary & chapters
AI Summary
An AI-generated summary of this video lecture.
This educational video is a lecture on permutations and combinations, specifically focusing on derangements. The instructor begins by clarifying the difference between permutations and combinations using a visual metaphor of a detective trying to unlock a door, where the order of the combination matters. The core of the lecture is on derangements, which are permutations where no element appears in its original position. The instructor presents several problems to illustrate the concept. The first problem involves placing 5 gems into 5 boxes such that no gem is in its corresponding box, which is a classic derangement problem. The solution is derived by calculating the total number of permutations (5!) and subtracting the number of permutations where at least one gem is in the correct box, which is found using the principle of inclusion and exclusion. The second problem asks for the number of ways to place 4 letters into 4 envelopes so that at least one letter is in the correct envelope, which is solved by subtracting the number of derangements from the total permutations. The final problem is a trick question about a typist inserting 42 letters into 42 envelopes, asking for the number of ways to have exactly one letter in the wrong envelope. The instructor explains that this is impossible because if one letter is in the wrong envelope, another must also be misplaced to accommodate it, making the answer zero. The video uses a whiteboard for calculations and includes a brief, unrelated meme at the beginning.
Chapters
0:00 – 2:00 00:00-02:00
The video opens with a four-panel graphic illustrating the concepts of permutation and combination. The top-left panel shows a craps table with dice, labeled 'PERMUTATION'. The top-right panel shows a basket of fruit, labeled 'COMBINATION'. The bottom-left panel shows a pizza, and the bottom-right shows two men in suits. The instructor then transitions to a slide with a meme and a picture of a man with yellow teeth, introducing the topic. The main content begins with a slide titled 'Confused' that asks, 'Should I unlock with Permutation or Combination?'. This slide features a cartoon detective with a magnifying glass, standing between two doors labeled 'Permutation' and 'Combination', each with a lock. The instructor explains that in a permutation, the order matters, while in a combination, it does not, using the example of a lock where the sequence of numbers is crucial.
2:00 – 5:00 02:00-05:00
The lecture progresses to the core topic of derangements. A slide titled 'Derangements' is shown, displaying a table of permutations of the numbers 1, 2, 3, 4, with some highlighted as derangements (where no number is in its original position). The instructor then presents a problem: 'There are 5 gems {g1,g2,g3,g4,g5} and 5 boxes {b1,b2,b3,b4,b5}. We are supposed to place exactly one gem in each box. Find number of ways to do so such that gem g(i) is placed in box b(i) for all i={1,2,3,4,5)?'. The instructor explains that this is asking for the number of ways where all gems are in their correct boxes, which is only 1 way. He then changes the question to find the number of ways such that at least one gem is in an incorrect box. He writes the formula '# total - # all in correct box' and calculates 5! - 1 = 119. He then introduces the concept of derangements, which is a permutation where no element is in its original position, and writes the formula for the number of derangements of n objects as !n = n! * (1 - 1/1! + 1/2! - 1/3! + ... + (-1)^n/n!). He applies this to the 5-gem problem, calculating !5 = 5! * (1 - 1/1! + 1/2! - 1/3! + 1/4! - 1/5!) = 120 * (1 - 1 + 1/2 - 1/6 + 1/24 - 1/120) = 120 * (0 + 0.5 - 0.1667 + 0.04167 - 0.00833) = 120 * 0.36667 = 44.0004, which he rounds to 44.
5:00 – 9:43 05:00-09:43
The instructor moves to a new problem: 'There are 4 different letters and 4 addressed envelopes. In how many ways can the letters be put in the envelopes so that at least one letter goes to the correct address?'. He explains that this is the total number of ways to arrange the letters minus the number of derangements. He writes the formula '# total - # all incorrect' and calculates 4! - !4. He calculates !4 = 4! * (1 - 1/1! + 1/2! - 1/3! + 1/4!) = 24 * (1 - 1 + 1/2 - 1/6 + 1/24) = 24 * (0 + 0.5 - 0.1667 + 0.04167) = 24 * 0.375 = 9. So, the answer is 24 - 9 = 15. He then presents a final, trick question: 'After a typist types 42 letters and addresses 42 envelopes, she inserts the letters randomly into envelopes (1 letter per envelope). In how many ways can she insert exactly one letter in an improper envelope?'. He explains that this is impossible because if one letter is in the wrong envelope, it must have taken the place of another letter, which means at least two letters are in the wrong envelopes. Therefore, the number of ways to have exactly one letter in the wrong envelope is 0. The video ends with a 'THANKS FOR WATCHING' screen.
The video provides a structured and clear explanation of permutations, combinations, and the specific concept of derangements. It begins by establishing the fundamental difference between permutations and combinations using a relatable analogy. The core of the lecture is dedicated to derangements, a topic in combinatorics where no element is in its original position. The instructor effectively uses the principle of inclusion and exclusion to solve problems involving derangements, demonstrating the calculation of the number of derangements for a set of n elements. The lecture progresses from a simple problem of placing gems in boxes to a more complex one involving letters and envelopes, and concludes with a clever trick question that reinforces the logical understanding of the concept. The use of a whiteboard for step-by-step calculations and clear, concise language makes the complex topic accessible to students.
Important Questions on Derangements

