StemCET Logo

Maths Question 14 – AP-EAMCET 2026

Let A be a set of n(3) distinct elements. For x,y,zA, if A3 is the set of all ordered triplets (x,y,z), then the number of triplets of A3 in which at least two among x,y,z are equal is

Often, when a problem asks for 'at least' a certain condition, it's easier to calculate the total number of possibilities and subtract the number of possibilities where the condition is NOT met (i.e., its complement).

Step 1: Identify the Total Number of Ordered Triplets✦ Active

Let A be a set with n distinct elements. We are considering ordered triplets (x,y,z) where x,y,zA. Since each position can be filled by any of the n elements, the total number of such ordered triplets is:

Total triplets=n×n×n=n3
💡 Teacher's Secret Hint

Remember that an 'ordered triplet' means the order of elements matters, and repetition is allowed unless stated otherwise. Here, x,y,z can be the same.

Step 2: Identify the Complement Event○ Expand

The problem asks for the number of triplets in which 'at least two among x,y,z are equal'. This condition is equivalent to (Total triplets) - (Triplets where all three elements are distinct). The complement event is when all three elements x,y,z are distinct.

💡 Teacher's Secret Hint

Problems with 'at least' or 'at most' often simplify significantly using the complementary counting principle.

Step 3: Calculate Number of Triplets with All Distinct Elements○ Expand

For the elements x,y,z to be distinct, we choose one element for x, another different element for y, and a third different element for z. This is a permutation of n elements taken 3 at a time:

Triplets with distinct elements=nP3=n(n1)(n2)

Expanding this expression:

n(n1)(n2)=n(n23n+2)=n33n2+2n
💡 Teacher's Secret Hint

Ensure you correctly expand the product. A common error is miscalculating the coefficients.

Step 4: Calculate Number of Triplets with At Least Two Equal Elements○ Expand

Now, subtract the number of triplets with distinct elements from the total number of triplets:

Triplets with at least two equal=Total tripletsTriplets with distinct elements
=n3(n33n2+2n)
=n3n3+3n22n
=3n22n
💡 Teacher's Secret Hint

Double-check the signs when removing the parentheses. A common mistake is (AB)=AB instead of A+B.

✦ STEM Console utilizes AI models to generate step-by-step explanations and math clues. AI can make mistakes.