maths.free › Combinatorics & Graph Theory › The counting principles
The counting principles
Product rule, sum rule, permutations, combinations, and when each applies.
Independent choices multiply; exclusive alternatives add. Ordered selections are permutations, unordered are combinations. Picture it: a tree diagram, each level a choice, each leaf an outcome. Think it: every counting formula is a bijection with something easy to count.
ឧទាហរណ៍ដែលបានធ្វើ · 5 choose 2
ជំហានដោយជំហាន
- \binom{5}{2} = \frac{5!}{2!\,(5-2)!}
Unordered selections: n! / (k! (n−k)!).
- = \frac{120}{2 \times 6} = 10
បង្ហាញចម្លើយ
ឥឡូវអ្នក ជ្រើសបញ្ហា ឬវាយបញ្ចូល ឬគូររបស់អ្នកផ្ទាល់ ។ ជំហាននីមួយៗ រូបភាព ចម្លើយត្រូវបានលាក់រហូតដល់អ្នកសួរ ។
គណនីឥតគិតថ្លៃបន្ថែមចំណាំលើមេរៀននីមួយៗ កំណត់ហេតុនៃអ្វីដែលអ្នកបានបញ្ចប់ បញ្ហាដែលអ្នកបានដោះស្រាយនៅកន្លែងមួយ និងគ្រូដែលអ្នកអាចសួរអំពីទំព័រនេះ ។ គណិតវិទ្យាដោយខ្លួនវាគឺបើកចំហសម្រាប់អ្នកទាំងអស់គ្នា ចុះឈ្មោះចូល ឬមិនចុះឈ្មោះចូល ។
ចុះឈ្មោះ ចូលនិមិត្តសញ្ញាដែលបានប្រើនៅទីនេះ
ចុចនិមិត្តសញ្ញាណាមួយសម្រាប់ការកំណត់ពេញលេញ រូបភាព និងតួអក្សរនីមួយៗមានន័យអ្វី ។
របៀប: The counting principles
- Decide whether order matters (permutation) or not (combination).
- Decide whether repetition is allowed.
- Break the count into independent stages (multiply) or exclusive cases (add).
- Sanity-check with a tiny case you can list by hand.
សំណួរដែលមនុស្សសួរ
Permutation or combination?
Ask whether order matters. A lock code is a permutation (order matters); a hand of cards is a combination (it does not).
What is a graph in this sense?
Dots (vertices) joined by lines (edges), not a plot. Road maps, social networks and molecules are graphs; questions like "is there a route" and "how few colours" are graph theory.
បន្ថែមទៀតក្នុង Combinatorics & Graph Theory
Pigeonhole principle and inclusion, exclusionBinomial coefficients and Pascal's triangleRecurrences and generating functionsGraphs: vertices, edges, degreesPaths, cycles, trees, Euler and HamiltonColouring and planar graphs