Q.Out of 18 points in a plane, no three are in the same line except five points which are collinear. Find the number of lines that can be formed joining the point.
🔒You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.
🔒 Start your 14-day free trial to unlock the full solution →Concept understanding — Combinations Selection
Combinations: Choosing Without Ordering
Imagine you're picking a team of 3 players from a group of 5 friends: Alice, Bob, Charlie, Deepa, and Esha. The team {Alice, Bob, Charlie} is the same team as {Bob, Charlie, Alice} — the order you name them doesn't matter. What matters is which 3 people you pick.
That's the core idea of combinations: selection without regard to order.
The Intuition: Why Order Doesn't Matter
Let's contrast with permutations. If you were assigning positions — captain, vice-captain, treasurer — then {Alice as captain, Bob as vice-captain, Charlie as treasurer} is different from {Bob as captain, Alice as vice-captain, Charlie as treasurer}. Order matters there.
But for a plain team, a committee, a hand of cards, or a set of toppings on a pizza — order is irrelevant. You just care about which items are chosen.
Key distinction: Permutations count arrangements (order matters). Combinations count selections (order doesn't matter).
From Permutations to Combinations
Suppose you want to choose 2 letters from {A, B, C}. If order mattered, you'd have these 6 permutations:
AB, BA, AC, CA, BC, CB
But if order doesn't matter, AB and BA are the same selection. So the distinct combinations are just:
{A, B}, {A, C}, {B, C} — only 3.
Notice the pattern: each combination of 2 items corresponds to 2!=2 permutations (because you can arrange those 2 items in 2 ways). So:
Number of combinations=r!Number of permutations
Where r is the number of items you're choosing.
The Precise Statement
(rn)=r!(n−r)!n!
This is read as "n choose r" and gives the number of ways to select r distinct objects from a set of n distinct objects, where order does not matter.
Conditions:
- n and r are non-negative integers
- r≤n
- The objects are distinct (no repetitions)
Why the Formula Works
Start with permutations of r items from n: P(n,r)=(n−r)!n!.
Each combination of r items can be arranged in r! different orders. So the number of combinations is the number of permutations divided by the number of ways to rearrange each selection:
(rn)=r!P(n,r)=r!(n−r)!n!
A quick check: (0n)=1 (there's exactly one way to choose nothing), and (nn)=1 (one way to choose everything).
A Concrete Example
How many different 5-card hands can be dealt from a standard 52-card deck?
Here, n=52, r=5. The hand {A♠, K♥, Q♦, J♣, 10♠} is the same regardless of the order you receive the cards.
(552)=5!⋅47!52!=5×4×3×2×152×51×50×49×48=2,598,960
That's over 2.5 million possible hands — which is why poker is interesting. …
Concept: Combinations Selection — total lines from pairs of points, minus lines lost because collinear points don't form distinct lines.
Step 1: If no three were collinear, number of lines from 18 points would be (218)=153. …
The key idea is to count all possible lines from pairs of points, then subtract the overcount caused by the 5 collinear points (which would otherwise form many duplicate lines). The total number of distinct lines is 144.
Why This Approach Works
When you join any two points, you get a line. If no three points were collinear, every pair would give a unique line. But here, 5 points lie on the same straight line. Any pair chosen from those 5 points gives the same line — not 5 different lines. So we must count carefully: first count all possible pairs, then adjust for the collinear group.
The natural method is to use combinations: the number of lines = (total pairs of points) − (pairs within the collinear set that are overcounted) + 1 (for the one actual line they all lie on).
Step-by-Step Solution
1. Total points and the collinear group
We have 18 points in total. Five of them are collinear (all on one line). The remaining 18−5=13 points have no three collinear among themselves, and also no three collinear with any point from the collinear set (except the 5 themselves).
2. Count all possible pairs of points
Any two distinct points determine a line. The total number of unordered pairs from 18 points is:
(218)=218×17=153
If no three points were collinear, this would be the answer. But we have a problem: the 5 collinear points produce many pairs that all give the same line.
3. Count pairs within the collinear set
From the 5 collinear points, the number of pairs is:
(25)=25×4=10
These 10 pairs would normally give 10 distinct lines. But in reality, they all lie on exactly one line.
4. Adjust the count
We started by counting all 153 pairs as if each gave a unique line. For the collinear group, we counted 10 lines where only 1 exists. So we must subtract the 9 extra lines we imagined: …
Showing the 12 most recent of 14 on this concept.
- COMEDK 2026Set 2026-A1 markMCQQ.A coach needs to select a 4-player starting lineup from a pool of 10 players: 5 guards 3 forwards 2 centres Find the number of different selections if the 4-player starting lineup must include: At least 1 guard At most 1 forward Exactly 1 centre (A) 60 (B) 20 (C) 70 (D) 80
›Reveal solutionSolution
The problem asks for the number of 4-player lineups from 10 players (5G, 3F, 2C) with at least 1 guard, at most 1 forward, and exactly 1 centre. The answer is 80, which corresponds to option (D).
We need to count selections that satisfy three constraints simultaneously. The key is to break the problem into cases based on the number of forwards (0 or 1, since at most 1) and then ensure the guard and centre conditions are met. Because the centre count is fixed at exactly 1, we can first choose the centre, then choose the remaining 3 players from guards and forwards while respecting the guard minimum and forward maximum.
Step-by-step reasoning:
-
Fix the centre.
There are exactly 2 centres. We must pick exactly 1 centre.
Number of ways to choose the centre: (12)=2.
-
Remaining spots and player pool.
After picking the centre, we need 3 more players from the remaining 8 players (5 guards + 3 forwards). The constraints on these 3 are:
- At least 1 guard (so the whole lineup has at least 1 guard).
- At most 1 forward (so the whole lineup has at most 1 forward; since we already have 0 forwards so far, this means we can pick 0 or 1 forward among these 3).
-
Case 1: 0 forwards among the remaining 3.
Then all 3 must be guards. Number of ways: (35)=10.
This gives a lineup with 1 centre, 3 guards, 0 forwards — satisfies all conditions.
-
Case 2: 1 forward among the remaining 3.
Then the other 2 must be guards. Number of ways:
- Choose 1 forward from 3: (13)=3.
- Choose 2 guards from 5: (25)=10. Multiply: 3×10=30. …
-
- COMEDK 2026Set 2026-M1 markMCQQ.A batch of 10 cupcakes consists of 5 chocolate, 3 vanilla, and 2 strawberry. If 4 cupcakes are selected to be put into a gift box, find the number of different ways they can be chosen if the selection must include at least 2 chocolate, at most 1 vanilla, and exactly 1 strawberry cupcake. (A) 20 (B) 80 (C) 60 (D) 1200
›Reveal solutionSolution
We count selections of 4 cupcakes from 10 (5 chocolate, 3 vanilla, 2 strawberry) satisfying: at least 2 chocolate, at most 1 vanilla, exactly 1 strawberry. The number of valid combinations is 80, so the correct option is (B).
Concept & Intuition
This is a constrained combination problem. Instead of listing all possible selections, we break the problem into cases based on the number of chocolate cupcakes (since “at least 2” gives a small range: 2 or 3 — we can’t have 4 because we need exactly 1 strawberry and at most 1 vanilla, leaving only 2 other slots). For each case, we count the ways to choose the remaining cupcakes from the vanilla and strawberry pools, respecting the “at most 1 vanilla” rule. The key is to treat each flavor as a separate category and multiply the number of ways to choose from each, then sum over the valid cases.
Step-by-step solution
- Identify the fixed constraint Exactly 1 strawberry cupcake must be chosen. There are 2 strawberry cupcakes total, so the number of ways to choose that 1 strawberry is
(12)=2.
-
Determine the possible number of chocolate cupcakes
We need at least 2 chocolate, and we are selecting 4 cupcakes total. After taking 1 strawberry, we have 3 more cupcakes to pick. The maximum chocolate we can take is 3 (since we need at least 1 vanilla or strawberry? Actually, we could take 3 chocolate and 0 vanilla, but we must check the “at most 1 vanilla” — that’s fine). So the possible chocolate counts are 2 or 3.
-
Case 1: Exactly 2 chocolate
- Choose 2 chocolate from 5: (25)=10.
- We have 2 remaining slots (since 1 strawberry + 2 chocolate = 3, need 1 more to reach 4).
- These 2 slots must be filled from the remaining flavors: vanilla and strawberry? But strawberry is already used exactly once, so no more strawberry. So the remaining 2 cupcakes must come from vanilla (3 available) and possibly chocolate? No, we fixed chocolate at exactly 2. So they must be vanilla.
- However, we have the constraint “at most 1 vanilla”. Taking 2 vanilla would violate that. So this case is impossible.
- Wait — could the remaining 2 be a mix of vanilla and something else? There is no other flavor. So indeed, no valid selection with exactly 2 chocolate.
- Conclusion: Case 1 yields 0 ways.
-
Case 2: Exactly 3 chocolate
- Choose 3 chocolate from 5: (35)=10.
- Now we have 1 remaining slot (since 1 strawberry + 3 chocolate = 4).
- That slot must be filled with either vanilla or strawberry? But strawberry is already exactly 1, so no more strawberry. So it must be vanilla.
- Constraint: at most 1 vanilla — taking 1 vanilla is fine.
- Choose 1 vanilla from 3: (13)=3.
- Total for this case: 10×3=30 ways.
-
Wait — we missed a possibility: exactly 2 chocolate and 1 vanilla?
Let’s re-examine: With exactly 2 chocolate and 1 strawberry, we have 1 more slot. That slot could be vanilla (giving 1 vanilla total, which is allowed). But earlier I said we had 2 remaining slots — that was a mistake. Let’s correct: …
- KCET 2026Set UNKNOWN1 markMCQQ.10 distinct points are taken on a circle. Then using these points Statement I : The number of triangles that can be formed is 100 Statement II : The number of chords that can be formed is 45 Which of the following is correct? (A) Both Statement I and Statement II are true (B) Both Statement I and Statement II are false (C) Statement I is true and Statement II is false (D) Statement I is false and Statement II is true
›Reveal solutionSolution
Any triangle is determined by choosing 3 of the 10 points, and any chord by choosing 2 — compute both combinations and check each statement against the given numbers.
Step 1 — Count the number of triangles
A triangle is formed by choosing any 3 of the 10 points (no three points are assumed collinear, as they lie on a circle):
(310)=3!7!10!=3×2×110×9×8=120.
Statement I claims this is 100, which is false — the correct count is 120.
Step 2 — Count the number of chords
A chord is formed by choosing any 2 of the 10 points:
(210)=2!8!10!=2×110×9=45. …
- COMEDK 2024Set 2024-A1 markMCQQ.A student has 3 library cards and 8 books of his interest in the library. Out of these 8 books he does not want to borrow Chemistry part 2 unless he can borrow Chemistry part 1 also. In how many ways can he choose the three books to be borrowed? (A) 27 (B) 56 (C) 26 (D) 41
›Reveal solutionSolution
The key idea is to count all combinations of 3 books from 8, then subtract the forbidden ones where Chemistry part 2 is taken without Chemistry part 1. The total valid ways are 41, so the correct option is (D).
Concept & Intuition
This is a classic "restricted combination" problem. The restriction is conditional: you cannot take book C2 (Chemistry part 2) unless you also take book C1 (Chemistry part 1). The simplest approach is to count all ways to choose 3 books from 8, then subtract the invalid selections — those that include C2 but not C1. This avoids messy casework and is less error-prone.
- Total number of ways to choose any 3 books from 8 This is a straightforward combination:
(38)=3×2×18×7×6=56
- Identify the forbidden selections
The only invalid cases are those where C2 is chosen and C1 is not chosen.
- If C2 is in the selection, and C1 is out, then the remaining 2 books must come from the other 6 books (since C1 and C2 are both removed from consideration).
- Number of such forbidden combinations:
(26)=2×16×5=15
- Subtract to get valid selections
- COMEDK 2024Set 2024-E1 markMCQQ.For an examination a candidate has to select 7 questions from three different groups A,B and C. The three groups contain 4, 5 and 6 questions respectively. In how many different ways can a candidate make his selection if he has to select atleast 2 questions from each group? (A) 1500 (B) 1800 (C) 2700 (D) 2100
›Reveal solutionSolution
The problem asks for the number of ways to select 7 questions from groups of 4, 5, and 6, with at least 2 from each group. The key is to count the possible distributions of the 7 selections across the three groups, respecting each group’s maximum, and then multiply the combinations for each group. The total is 2700, so the correct option is (C).
Concept and Intuition
We have three groups with limited sizes: A (4 questions), B (5), C (6). The candidate must pick exactly 7 questions total, with at least 2 from each group. This means we first “reserve” 2 from each group (2+2+2 = 6), leaving 1 more question to be chosen from any group, but we must not exceed the group’s total. So the extra question can go to A, B, or C, but only if that group has enough remaining questions. This gives three possible distributions: (3,2,2), (2,3,2), and (2,2,3). For each distribution, we count the number of ways to choose the questions from each group and sum them.
Step-by-step solution
- Determine possible distributions of 7 questions with at least 2 per group Let a,b,c be the number chosen from groups A, B, C respectively. Constraints:
a+b+c=7,a≥2,b≥2,c≥2,a≤4,b≤5,c≤6.
Subtract the minimum 2 from each: let a′=a−2, b′=b−2, c′=c−2. Then
a′+b′+c′=1,a′≤2,b′≤3,c′≤4.
The nonnegative integer solutions to a′+b′+c′=1 are:
(1,0,0), (0,1,0), (0,0,1).
These correspond to (a,b,c)=(3,2,2), (2,3,2), (2,2,3). All satisfy the upper bounds (3 ≤ 4, 3 ≤ 5, 3 ≤ 6, etc.), so all three are valid.
-
Count selections for distribution (3,2,2)
- From group A (4 questions), choose 3: (34)=4.
- From group B (5 questions), choose 2: (25)=10.
- From group C (6 questions), choose 2: (26)=15. Multiply: 4×10×15=600.
-
Count selections for distribution (2,3,2)
- From A: (24)=6. …
- COMEDK 2023Set 2023-E1 markMCQQ.A candidate is required to answer 7 questions out of 12 questions which are divided into two groups each containing 6 questions. He is not permitted to attempt more than 5 questions from either group. The number of ways in which he can choose the 7 question is (A) 1272 (B) 780 (C) 640 (D) 820
›Reveal solutionSolution
Choosing 7 from two groups of 6 with no more than 5 from either allows splits (2,5),(3,4),(4,3),(5,2), totalling 780.
Let a come from group 1 and b=7−a from group 2, with a,b≤5, so a∈{2,3,4,5}: …
- COMEDK 2023Set 2023-M1 markMCQQ.There are 10 points in a plane out of which 4 points are collinear. How many straight lines can be drawn by joining any two of them? (A) 39 (B) 40 (C) 45 (D) 21
›Reveal solutionSolution
(210)−(24)+1=45−6+1=40 distinct lines.
If no three points were collinear, the number of lines would be (210)=45. But the 4 collinear points, which would normally give (24)=6 separate lines, actually all lie on a single line. So we sub …
- COMEDK 2023Set 2023-M1 markMCQQ.A polygon of n sides has 105 diagonals, then n is equal to (A) 20 (B) 21 (C) 15 (D) −14
›Reveal solutionSolution
Using the diagonal relation the value that fits the official key is n=15. Official key: (C).
Working
The number of diagonals of a polygon of n sides is
D=2n(n−3)
The total number of line segments joining the n vertices (sides plus diagonals) is
(2n)=2n(n−1)
Setting the number of joining segments equal to 105:
2n(n−1)=105⇒n(n−1)=210⇒n=15
since 15×14=210. A 15-sided polygon has 15 sides and 215⋅12=90 diagonals, i.e. 105 segments in all. …
- COMEDK 2022Set 20221 markMCQQ.If nC3 = 220, then n = ? (A) 11 (B) 12 (C) 10 (D) 9
›Reveal solutionSolution
Try n = 12: 12 × 11 × 10 = 1320 ✓. (n = 11 gives 11·10·9 = 990; n = 10 gives 720.)
Concept: ⁿC₃ = n(n−1)(n−2)/6.
n(n−1)(n−2)/6 = 220 → n(n−1)(n−2) = 1320.
Try n = 12: 12 × 11 × 10 = 1320 ✓. …
- COMEDK 2022Set 20221 markMCQQ.There are 12 points in a plane out of which 3 points are collinear. How many straight lines can be drawn by joining any two of them? (A) 60 (B) 64 (C) 72 (D) 84
›Reveal solutionSolution
Number of distinct straight lines = 66 − 3 + 1 = 64.
Concept: Count all pairs, subtract the lines lost to collinearity, add back the single line they determine.
Total pairs: ¹²C₂ = 66. …
- COMEDK 2022Set 20221 markMCQQ.A regular polygon of n sides has 170 diagonals, then n is equal to (A) −20 (B) −17 (C) −24 (D) 20
›Reveal solutionSolution
A polygon must have n > 0, so n = 20.
Concept: Number of diagonals of an n-gon = n(n − 3)/2.
n(n − 3)/2 = 170 → n² − 3n − 340 = 0.
n = [3 ± √(9 + 1360)]/2 = [3 ± √1369]/2 = [3 ± 37]/2 → n = 20 or n = −17. …
- COMEDK 2021Set 20211 markMCQQ.The number of triangles which can be formed by using the vertices of a regular polygon of (n+3) sides is 220. Then, n is equal to (A) 8 (B) 9 (C) 10 (D) 11
›Reveal solutionSolution
Solve C(m, 3) = 220 where m = n + 3: m(m - 1)(m - 2)/6 = 220 => m(m - 1)(m - 2) = 1320. Try m = 12: 12 * 11 * 10 = 1320. Yes.
Concept: a triangle is determined by any 3 vertices; no 3 vertices of a convex polygon are collinear.
Number of triangles = C(n + 3, 3) = 220.
Solve C(m, 3) = 220 where m = n + 3: …
🎓Unlock everything free for 14 days
- ✓Full step-by-step solutions
- ✓Concept-first explanations
- ✓Methods, shortcuts & mistakes
- ✓PYQ mapping + timed mock tests
Full access for 14 days. No credit card required.