Decreasing Functions

Duration: 9 min

This video lesson is available to enrolled students.

Return to /learn/UP-POLICE-COMPUTER-OPERATOR/computer-science/algorithm-analysis/growth-rate-comparisons/asset-decreasing-functions after enrolling

Inside: a video lesson and guided study material.

Module outline

  1. About the course: About the Course
  2. General Knowledge: Polity, Physics, Biology, State Wise GK, Chemistry, History, Geography, GK- Current Affairs, Indian Economy, Static General Knowledge, Environment, Evolution of Indian Banking (Banking & Financial Awareness)
  3. Mental Aptitude and Reasoning: Ratio and Proportion (Ratios), Divisibility Rules, Data Interpretation, Permutation and Combination, Number System, Sequence and Series (Series), Speed Time and Distance, Series (Number and Letter Series) (Numerical Relations and Reasoning), Coding Decoding, Data Sufficiency, Non Verbal Reasoning (Spatial Aptitude) (Spatial Reasoning) (Visual Reasoning), Vocabulary, Profit and Loss, Arithmetic, Mental Ability, Percentage, Algebra, Mensuration and Geometry, Age Problems, Clock, Calendar, Verbal Analogy (Word Based Analogy), Deductive and Inductive Reasoning (Logical Deduction and Induction) (Prepositional Reasoning), Analogy, Analytical Reasoning (Counting Figures Reasoning), Puzzle Solving (Puzzles), Selection Decision Table (Decision Making), Cubes & Dices, Blood Relations, Venn Diagram, Logical Sequence Of Words, Inequality, Directions (Direction Test), Data Arrangement, Facts, Inference and Judgements, Syllogisms, Seating Arrangements, Ranking, Order and Sequence
  4. CS | Computer Fundamentals: Basics of COA, Number System, Number Representation, C Fundamentals, Algorithm Analysis, Input Output Organisation
  5. CS | Database Management System: Basics of DBMS, ER Diagram, Relational Model & Functional Dependencies, Keys & Integrity Constraints, SQL
  6. CS | Workplace productivity Tools: MS Office Applications, Keyboard Shortcuts
  7. CS | Computer Networks: Introduction to CN, Data Communication, Data Link Layer - Ethernet, Net Layer: IPv4 & Proto, Net Layer: IP Addressing, Transport Layer Services, Application Layer, Hardware Basics, Network Security
  8. CS | The Internet: Website, Browser & Services, Internet Fundamentals, Web Design & Development, Web Publishing & Hosting, Server Side & Security, Emerging Technologies
  9. CS | Emerging Technologies: Artificial Intelligence, Emerging Tech Trends, Introduction to OS, Windows OS, Linux OS, Unix OS, JavaScript-Basics
  10. CS | Boolean algebra: Digital Systems & Boolean Basics, Boolean Expression, Boolean Minimization, Logic Gates & Hardware
  11. CS | Data Structures: Introduction to DS, Array, Stack, Queue
  12. CS | Cryptography: Society, Law & Ethics, Cyber Threats and Malware Attacks, Role of Internet and Web Services, Security in Mobile and Wireless Computing, Electronic Data Interchange and E-Commerce, Physical Security and Cryptography Basics, Intrusion Detection Systems (IDS), Cyber Safety and Security
  13. UP Police Previous Year Papers:
  14. UP Police Full Mock Tests:
AI summary & chapters

AI Summary

An AI-generated summary of this video lecture.

This lecture introduces the concept of decreasing functions in algorithm analysis, defining them as functions where the value decreases as the input size n increases. The instructor explains that for decreasing functions, running time gets smaller as the problem size grows, which is counterintuitive compared to standard complexity analysis. The core educational objective is to arrange specific reciprocal and logarithmic functions in increasing order of growth as n approaches infinity. The video utilizes concrete examples, including the set {1/n, 1/n^2, 1/log n, 1/sqrt(n)}, to demonstrate how to compare these rates. The instructor employs tables to evaluate function values at specific integers (n=1, 2, 3, 4) and sketches graphs to visualize the asymptotic behavior where time approaches zero as n grows large. Key distinctions are made between terms like 1/n and 1/n^2, establishing that 1/n decreases slower than 1/n^2. The lecture emphasizes the hierarchy of decreasing functions, noting that (1/n) is asymptotically bigger than (1/n^2), and explores the relationship between polynomial reciprocals and logarithmic terms.

Chapters

  1. 0:00 – 2:00 00:00-02:00

    The video begins by defining decreasing (decrement) functions, stating on-screen that a function f(n) is called decreasing if its value decreases as n increases. The instructor notes that for these functions, 'As input size grows, the running time keeps getting smaller.' An example problem is immediately presented to arrange four functions in increasing order of growth as n approaches infinity: 1/n, 1/n^2, 1/log n, and 1/sqrt(n). The instructor writes calculations on the right side of the screen, including arithmetic sums like '2 + 30 + 10 = 32 -> 1 sec' and '5 + 83 + 67 + 34 + 12 + 18 = 0 sec', likely illustrating timing concepts. Annotations such as 'n=3' and 'n=6' appear briefly to support the explanation of variable substitution.

  2. 2:00 – 5:00 02:00-05:00

    The instructor elaborates on the definition of decreasing functions by constructing a table for f(n) = 1/n. The visible text shows the relationship between n and 1/n, listing values: 'n | 1/1 = 1', '2 | 1/2', and '3 | 1/3'. This table demonstrates that as n increases from 1 to 4, the value of 1/n decreases. The instructor sketches a graph showing time decreasing as n approaches infinity, visually reinforcing the concept that larger inputs yield smaller running times. The focus remains on the inverse relationship between n and 1/n, preparing students to compare this behavior against other functions like 1/n^2.

  3. 5:00 – 9:02 05:00-09:02

    The lecture progresses to comparing the growth rates of reciprocal terms. The instructor fills a comparison table for 1/n and 1/n^2, calculating values for n=1 (where 1/1 = 1) and showing that for n >= 2, '1/n > 1/n^2'. This establishes that 1/n decreases slower than 1/n^2. The instructor writes the inequality '(1/n) Asymptotically bigger than (1/n^2)' on screen. The analysis extends to other terms, listing 'n', '1/n', '1/n^a', 'log n', and 'sqrt(n)'. The instructor writes '(1/n) < (1/log n)' and notes that 'log n > 1/n^0.5', boxing the final ordered list of functions to solve the initial problem.

The lecture systematically builds understanding of decreasing functions by first defining the concept, then applying it to specific examples. The teaching flow moves from abstract definition to concrete tabular evaluation, and finally to asymptotic comparison. Key evidence includes the on-screen text defining f(n) as decreasing if its value drops as n increases, and the specific inequality '(1/n) < (1/log n)' derived from comparing growth rates. The instructor uses the table method to prove that 1/n is greater than 1/n^2 for n > 1, which is crucial for ordering the functions. The visual graph of time versus n provides a geometric interpretation of the algebraic relationships. Students should note that for decreasing functions, 'asymptotically bigger' means the function value remains larger (closer to zero from above) compared to functions that decrease faster. The final ordering relies on recognizing that 1/n^2 decreases fastest, followed by 1/sqrt(n), then 1/log n, and finally 1/n decreases slowest among the given set.

Loading lesson…