어느 식당의 메뉴는 메인 가지, 음료 가지다. 메인 하나와 음료 하나를 고르는 방법의 수는?
A restaurant offers mains and drinks. How many ways to choose one main and one drink?
정답과 풀이Answer & solution
메인 그리고 음료 — 곱의 법칙:
A main and a drink — multiplication principle:
세기의 조립 부품은 둘뿐이다.
셔츠 벌, 바지 벌로 만드는 옷차림: 셔츠 선택(4) 그리고 바지 선택(3) — 가지.
명을 한 줄로 세우는 것은 곱의 법칙의 연쇄다: 첫 자리 , 둘째 자리 , … —
( 팩토리얼). , — 팩토리얼은 폭발적으로 자란다.
개 중 개를 뽑아 순서 있게 배열하는 가짓수가 순열 이다. 곱의 법칙으로: 첫 자리 , 둘째 , …, 번째 자리 —
(뒤 표기는 에서 쓰지 않은 꼬리 을 나눠 지운 것). .
순서 없이 개를 뽑기만 하는 가짓수가 조합 이다. 유도는 이중 세기다 — 순열을 두 단계로 다시 세면: 먼저 개를 뽑고(가지), 뽑힌 것들을 줄 세운다(가지):
— 순열에서 순서의 중복 을 나눠 지운 것이 조합이다.
대칭도 공짜로 나온다:
— 개를 뽑는 것과 개를 남기는 것은 같은 행동이기 때문이다(처럼 계산도 짧아진다).
묶음: "두 사람이 이웃하도록"은 둘을 한 덩어리로 묶어 배열하고(꼴), 덩어리 안을 다시 배열한다().
여사건: "적어도 하나"는 정면으로 세면 갈래가 많다 — 전체에서 '하나도 없는' 경우를 뺀다.
같은 것이 있는 순열: 같은 글자끼리의 자리바꿈은 구별되지 않으므로 팩토리얼로 나눈다 — LEVEL의 배열은 (L 둘, E 둘).
순열이냐 조합이냐의 판별 질문은 하나다 — 뽑힌 것들의 역할이 다른가? 회장·부회장(다름)은 순열, 대표 둘(같음)은 조합. 그리고 은 약속이되 자의적이지 않다: ("전부 뽑기"는 한 가지)이 성립하려면 그래야 한다. 곱의 법칙은 각 단계의 가짓수가 앞 선택과 무관할 때만 쓴다.
Counting assembles from just two parts.
Outfits from shirts and pants: choose a shirt (4) and pants (3) — .
Lining up people chains the multiplication principle: for the first spot, for the second, … —
( factorial). , — factorials grow explosively.
The number of ways to pick of objects in order is the permutation . By the multiplication principle: choices, then , …, down to for the th spot —
(the right form divides away the unused tail of ). .
The number of ways to merely select objects, order ignored, is the combination . The derivation is a double count — recount permutations in two stages: first select objects ( ways), then line them up ( ways):
— a combination is a permutation with the -fold order-redundancy divided out.
Symmetry falls out free:
— choosing and leaving are the same act (and computations shorten: ).
Gluing: "two people adjacent" — glue them into one block, arrange the blocks (-style), then arrange within the glue ().
Complements: "at least one" splinters when counted head-on — count everything, subtract the 'none' cases.
Repeated letters: swaps among identical letters are indistinguishable, so divide by their factorials — LEVEL arranges in ways (two L's, two E's).
The one diagnostic question for permutation versus combination: do the chosen objects get different roles? President and vice-president (different) — permutation; two delegates (same) — combination. And is a convention but not arbitrary: ("choose all" is one way) demands it. Use the multiplication principle only when each stage's count of options is independent of earlier choices.
어느 식당의 메뉴는 메인 가지, 음료 가지다. 메인 하나와 음료 하나를 고르는 방법의 수는?
A restaurant offers mains and drinks. How many ways to choose one main and one drink?
메인 그리고 음료 — 곱의 법칙:
A main and a drink — multiplication principle:
계산하여라:
Compute:
.
— 꼬리가 통째로 약분된다.
— 와 같은 계산이다: 의 정체가 "앞에서 개만 곱하기"임을 보여 준다.
.
— the tail cancels wholesale.
— the same computation as : unmasked as "multiply just the first factors."
와 을 계산하고, 두 값이 같은 이유를 말하여라.
Compute and , and explain why they agree.
개 중 개를 뽑으면 자동으로 개가 남는다 — 뽑기와 남기기의 일대일 대응이 의 이유다.
Choosing of automatically leaves — the choose/leave correspondence is the reason .
곱의 법칙으로 을 유도하고, 이중 세기로 을 유도하여라.
Derive from the multiplication principle, and by double counting.
순열: 개의 자리를 차례로 채운다 — 첫 자리 가지, 둘째 가지, …, 번째 자리는 가지. 곱의 법칙으로
(뒤 등호는 분자 에서 쓰지 않은 꼬리 을 나눈 것).
조합: 같은 순열을 두 단계로 다시 센다 — 먼저 배열할 개를 순서 없이 뽑고(가지), 뽑힌 개를 줄 세운다(가지). 두 셈이 같은 대상을 세므로
핵심은 이중 세기 — 한 집합을 두 방법으로 세어 등식을 얻는 이 논법은 조합론의 주력 무기다.
채점 기준 (논리가 맞는 다른 풀이도 만점)
Permutations: fill seats in turn — options, then , …, with for the th seat. By the multiplication principle,
(the last equality divides by its unused tail ).
Combinations: recount those same permutations in two stages — select the objects without order ( ways), then line them up ( ways). Two counts of one set must agree:
The heart is double counting — counting one set two ways to force an equation: combinatorics' main weapon.
Rubric (any logically correct proof earns full credit)
명의 동아리에서 회장 명과 부회장 명을 뽑는 방법, 대표 명을 뽑는 방법의 수를 각각 구하여라.
From a club of : how many ways to choose a president and a vice-president? how many ways to choose delegates?
회장과 부회장은 역할이 다르다 — 순열: .
대표 둘은 같은 자격 — 조합: .
같은 상황, 다른 질문 — 답이 정확히 배 차이 나는 것이 "순서 지우기"의 실물이다.
President and vice-president hold different roles — permutation: .
Two delegates share one status — combination: .
Same setting, different question — and the answers differ by exactly : "erasing order" in the flesh.
명을 한 줄로 세울 때, 특정한 두 사람이 이웃하는 경우의 수를 구하여라.
Five people line up. In how many ways are two particular people adjacent?
묶음 기법: 두 사람을 한 덩어리로 묶으면 배열할 대상은 덩어리 + 나머지 명 = 개 — 가지. 덩어리 안에서 두 사람의 순서가 가지:
검산(여사건): 전체 , 이웃하지 않는 경우는 — 나머지 명을 먼저 세우고() 그 사이·양끝 자리에서 둘의 자리를 고르면 , ✓ — 두 길이 만난다.
Gluing: bind the two into one block — now objects (the block + others) arrange in ways, with orders inside the block:
Check (complement): total , so non-adjacent should be — seat the other first (), then place the two into the gaps and ends: , giving ✓ — two roads meet.
대응(일대일 짝짓기)으로 을 증명하여라.
Prove by a one-to-one correspondence.
개 중 개를 뽑는 각 선택 에, 뽑히지 않은 개의 집합 (여집합)를 짝지어 준다.
즉 "개 뽑기"들과 "개 뽑기"들이 완전한 짝을 이룬다 — 개수가 같다:
공식 의 대칭으로도 한 줄에 보이지만, 대응 논증은 이유를 준다 — 뽑는 행동과 남기는 행동이 같은 정보라는 것. 계산 없이 개수의 일치를 밝히는 이 수법(전단사 논증)은 조합론의 두 번째 주력 무기다.
채점 기준 (논리가 맞는 다른 풀이도 만점)
To each choice of objects from , assign the set of the objects not chosen (the complement).
The "-choices" and "-choices" thus pair off perfectly — equal in number:
The formula shows the symmetry in one line, but the correspondence gives the reason — choosing and leaving carry the same information. Establishing equal counts without computing (a bijection argument) is combinatorics' second main weapon.
Rubric (any logically correct proof earns full credit)
십각형의 대각선의 개수를 구하여라 — 일반 각형의 공식과 함께.
How many diagonals has a decagon — and the general -gon?
꼭짓점 개를 잇는 선분은 개 — 그중 이웃한 꼭짓점을 잇는 개는 변이지 대각선이 아니다:
: .
검산(다른 세기): 각 꼭짓점에서 자신·이웃 둘을 뺀 개로 대각선을 그을 수 있고, 각 대각선이 두 번 세어지므로 ✓ — 이중 세기가 또 한 번 두 길을 만나게 한다.
Segments joining vertices number — but the joining adjacent vertices are sides, not diagonals:
: .
Check (another count): each vertex sends diagonals to all but itself and its two neighbors — of them — and each diagonal gets counted twice: ✓ — double counting brings two roads together again.
좌표평면의 에서 까지 오른쪽 또는 위로 한 칸씩만 이동한다. 최단 경로의 수를 구하여라.
From to , moving only right or up one unit at a time — how many shortest paths?
경로 하나는 R 네 개와 U 세 개의 나열이다.
Each path is a string of four R's and three U's.
어떤 최단 경로든 오른쪽(R) 번, 위(U) 번 — 총 걸음의 나열이고, 경로는 자리 중 U가 설 자리의 선택으로 완전히 결정된다:
같은 글자가 있는 순열로 읽어도 같다: ✓.
기하의 경로가 문자열의 조합으로 번역되는 것 — "센다"는 것은 종종 "대응시킨다"는 것이다.
Every shortest path takes rights (R) and ups (U) — a string of steps, determined completely by choosing which of the positions hold U:
Reading it as a repeated-letter arrangement agrees: ✓.
A geometric path translated into a combination of letters — to count is, often, to correspond.
LEVEL의 다섯 글자를 일렬로 배열하는 방법의 수를 구하여라.
How many arrangements of the five letters of LEVEL?
L 둘과 E 둘이 각각 서로 같다. 다섯 글자가 모두 다르다면 이지만, 같은 L끼리의 자리바꿈()과 같은 E끼리의 자리바꿈()은 구별되지 않는다:
조합 유도와 같은 원리 — 구별되지 않는 중복을 나눠 지운다. 검산: V의 자리 가지 × 남은 자리에서 L 두 자리 고르기 → ✓ (E는 자동).
The two L's are identical, as are the two E's. Five distinct letters would give , but swaps within the L's () and within the E's () are indistinguishable:
The same principle as the combinations derivation — divide out indistinguishable redundancy. Check: spots for V ways to place the L's among the rest → ✓ (the E's fill in automatically).
명이 원탁에 둘러앉는 방법의 수를 구하여라 — 회전해서 같아지는 배치는 하나로 센다.
In how many ways can people sit around a round table — arrangements matching under rotation counted once?
일렬이라면 이지만, 원탁에서는 모두가 한 자리씩 도는 회전 가지가 같은 배치다:
같은 답의 다른 유도: 한 사람을 기준으로 고정해 회전을 없애면, 나머지 명을 그 사람 기준의 자리에 배열하는 가지.
"대칭으로 나눈다"와 "대칭을 고정한다" — 같은 아이디어의 두 표현이고, 원순열 의 정체다.
In a row it would be , but at a round table the rotations of any arrangement are one seating:
Another derivation of the same answer: pin one person as the reference, killing rotation — then the other arrange relative to them in ways.
"Divide by the symmetry" and "fix the symmetry" — two phrasings of one idea, and the identity of the circular-permutation count .
남학생 명과 여학생 명 중 명을 뽑을 때, 여학생이 적어도 한 명 포함되는 경우의 수를 구하여라.
From boys and girls, choose people. In how many ways does the group include at least one girl?
"적어도 하나"의 정면 돌파는 세 갈래 — 여사건은 한 갈래다.
Head-on, "at least one" splits three ways — the complement is one way.
여사건으로: 전체에서 "여학생 명"(전원 남학생)을 뺀다.
검산(정면 돌파): 여 ·남 : , 여 ·남 : , 여 : — 합 ✓.
세 갈래 셈과 한 번의 뺄셈이 같은 답 — "적어도"라는 말이 보이면 여사건부터 저울질하라.
Complement: subtract the all-boys selections from the total.
Check (head-on): girl· boys: ; ·: ; girls: — total ✓.
Three cases versus one subtraction, same answer — when "at least" appears, weigh the complement first.
어느 모임에서 참석자 전원이 서로 한 번씩 악수했더니 악수가 모두 번이었다. 참석자는 몇 명인가?
At a gathering, everyone shook hands with everyone else exactly once — handshakes in all. How many attendees?
명이 서로 한 번씩 악수하면 악수 수는 두 사람의 조합:
— 이므로 .
검산: ✓.
세기가 만든 방정식을 인수분해가 푼다 — 조합론과 대수가 맞잡는 표준 장면이고, 대각선 공식()과 함께 가 "쌍의 개수"의 보편 문법임을 보여 준다.
Among people, handshakes are pairs:
— and gives .
Check: ✓.
Counting builds the equation; factoring solves it — a standard scene of combinatorics and algebra joining hands, and with the diagonal formula () it shows as the universal grammar of "number of pairs."