By the end of this chapter you'll be able to…

  • 1Distinguish types of set, and compute the size of a power set and the number of proper subsets
  • 2Apply union, intersection, difference, complement and symmetric difference, and state De Morgan's laws
  • 3Apply the inclusion-exclusion principle for two and three sets, and fill a Venn diagram from the innermost region outward
  • 4Compute the Cartesian product and the number of possible relations between two sets
  • 5Test a relation for reflexivity, symmetry and transitivity, and identify an equivalence relation
  • 6Distinguish a relation from a function, and classify a function as one-one, onto or bijective
  • 7Compute composite functions in the correct order and determine when an inverse exists
  • 8Resolve number series by computing successive differences and testing the standard patterns
  • 9Decode letter-shift, reversal and positional codes by writing out alphabet positions
  • 10Solve direction, seating and blood relation problems by drawing the diagram
  • 11Test syllogism conclusions for necessity using Venn diagrams covering every possible representation
💡
Why this chapter matters in CA Foundation
Logical Reasoning is twenty per cent of Paper 3 and requires no formula, no theory and no revision — it improves purely with practice and does not decay if left for a month. No other block in the Foundation offers a comparable return per hour, and it is neglected precisely because it does not feel like studying. Sets contribute the inclusion-exclusion principle, which resolves every survey question, and functions supply the vocabulary of one-one, onto and inverse that recurs throughout later study. Across the whole chapter one habit does most of the work: draw the diagram rather than reasoning in your head.

Sets, Relations, Functions & Logical Reasoning

Weightage: Roughly 20 marks — sets, relations and functions from the Business Mathematics section, plus the entire 20-mark Logical Reasoning section. Logical Reasoning alone is the cheapest block anywhere in the Foundation, and it is the one most consistently under-prepared.

Sets

A set is a well-defined collection of distinct objects. "Well-defined" means that for any object it can be determined unambiguously whether it belongs. The collection of tall people is not a set; the collection of people over 180 cm is.

Sets are written in roster form, listing the elements — — or in set-builder form, stating the defining property — .

Order and repetition are irrelevant: , and are the same set.

Types of set

  • Null or empty set, written or , has no elements. Note that and are not empty — each contains one element.
  • Singleton set has exactly one element.
  • Finite and infinite sets, according to whether the elements can be counted.
  • Equal sets have exactly the same elements. Equivalent sets have the same number of elements but not necessarily the same ones. Equal sets are always equivalent; the converse fails.
  • Subset if every element of is in . A proper subset additionally requires . Every set is a subset of itself, and the empty set is a subset of every set.
  • Power set is the set of all subsets of . If has elements, has elements, of which are proper subsets.
  • Universal set contains all objects under consideration in a given context.

Operations

  • Union — elements in or or both.
  • Intersection — elements in both.
  • Difference — elements in but not in .
  • Complement — elements of not in .
  • Symmetric difference — elements in exactly one of the two, that is .

Disjoint sets have no common element, so .

Laws

Union and intersection are commutative and associative, and each distributes over the other:

De Morgan's laws are examined regularly:

In words: the complement of a union is the intersection of the complements, and the complement of an intersection is the union of the complements. The operation flips when the complement is distributed.

Cardinality

For two sets:

The subtraction is necessary because elements in both sets would otherwise be counted twice. This is the inclusion-exclusion principle, and it extends to three sets:

The pattern is worth understanding rather than memorising: singles are added, pairs subtracted because they were double-counted, and the triple added back because subtracting all three pairs removed it once too often.

Venn diagram method. For any survey question, draw the diagram and fill it from the innermost region outward — start with the number in all three sets, then work out to the pairwise regions by subtraction, then to the single regions. Filling from the outside in produces errors because the outer figures usually include the inner ones.

Relations

An ordered pair has a first and second element, and unless .

The Cartesian product is the set of all ordered pairs with first element from and second from . If and , then .

A relation from to is any subset of . Since has elements, the number of possible relations is .

The domain is the set of first elements appearing in the relation, and the range is the set of second elements.

Types of relation

For a relation on a set :

  • Reflexive for every . Every element relates to itself.
  • Symmetric — whenever , also .
  • Transitive — whenever and , also .
  • Equivalence relation — reflexive, symmetric and transitive together.

"Is equal to" is an equivalence relation. "Is the brother of" is symmetric only in some cases and is not reflexive. "Is less than" is transitive but neither reflexive nor symmetric.

Functions

A function from to assigns to each element of exactly one element of . Every function is a relation, but a relation is a function only if it satisfies both conditions: no element of the domain is left unmapped, and none maps to more than one value.

  • One-one (injective) — distinct elements of the domain have distinct images.
  • Onto (surjective) — every element of the codomain is the image of some element.
  • Bijective — both one-one and onto. Only a bijective function has an inverse.

The composite function applies first and then . Note the order: the function written on the right acts first, which is the reverse of the reading order and a standard source of error.

The inverse function reverses the mapping, so . It exists only where is bijective, because otherwise the reversal would either be undefined somewhere or ambiguous.

Logical Reasoning

This section is 20 marks — a fifth of the paper — and requires no formula, no theory and no revision. It improves purely with practice and does not decay when left for a period. Prepared properly it is close to free marks, and it is the block most consistently neglected.

Number series

A sequence follows a pattern and a term must be supplied. Work through the candidate patterns in order:

  1. Constant difference — arithmetic progression.
  2. Constant ratio — geometric progression.
  3. Changing difference — compute the differences, then the differences of those differences.
  4. Squares, cubes or their neighbours — 2, 5, 10, 17 is .
  5. Alternating series — two interleaved sequences, which is why terms should be examined in alternate positions when no simple pattern appears.
  6. Operations combined — multiply then add, as in 3, 7, 15, 31, where each term is twice the previous plus one.

Compute the first differences before anything else; they resolve most series immediately.

Coding and decoding

A word is encoded by a rule and another must be encoded or decoded. The common rules:

  • Letter shift — each letter moves forward or back by a fixed number. Knowing the alphabet positions is essential, and it is worth memorising that A is 1, E is 5, J is 10, O is 15, T is 20 and Z is 26.
  • Reversal — the word is written backwards, possibly with a shift.
  • Positional substitution — letters replaced by their positions or by the letter at the mirror position, where A pairs with Z, B with Y, and so on.
  • Number coding — each word is assigned a number by a rule involving letter count or letter values.

Write out the letters with their positions beneath. The rule almost always becomes visible once the numbers are written down.

Odd man out

One item differs from the rest by a property. Test in this order: type or category; a numerical property such as prime, perfect square or divisibility; a structural property such as the number of letters or vowels; and finally the relationship between paired items.

Direction sense

A person moves through a series of turns and the final position or displacement must be found.

Always draw the diagram, fixing north at the top. Mark each movement in sequence. Where a distance is asked, the answer is usually the hypotenuse of a right triangle formed by the net eastward and net northward displacements, obtained by Pythagoras.

Remember that a right turn is clockwise and a left turn anticlockwise from the direction currently faced, not from north.

Seating arrangements

Persons are placed in a row or around a table subject to conditions.

The method: draw the arrangement, place the most constrained person first — the one whose position is fixed absolutely, such as "P sits at the extreme left" — and then place others relative to them. Where a condition permits two possibilities, draw both cases and eliminate one using a later condition.

For circular arrangements, establish whether the persons face the centre or outward, because left and right reverse between the two. This detail decides many questions and is easily missed.

Blood relations

Draw a family tree. Use a consistent notation: a horizontal line for a marriage, a vertical line for a parent-child relationship, and a symbol for sex where the question distinguishes it.

Work through the statement one relationship at a time rather than trying to hold it in mind. In puzzles phrased as "pointing to a photograph", identify who the speaker is first, then trace the chain from them.

Syllogisms

Two or more statements are given and it must be determined which conclusions follow necessarily.

The essential discipline is to accept the statements as true even where they contradict common knowledge, and to ask only whether the conclusion follows of necessity — not whether it might be true.

Draw Venn diagrams. Where a statement can be represented in more than one way, draw every possibility, and accept a conclusion only if it holds in all of them.

The standard forms:

  • All A are B — circle A entirely inside circle B.
  • No A is B — two disjoint circles.
  • Some A are B — overlapping circles.
  • Some A are not B — part of A lies outside B.

The most examined trap: from "All A are B" it does not follow that "All B are A". From "Some A are B" it does follow that "Some B are A", because overlap is symmetric.

How this chapter is examined

Sets appear as a survey problem requiring the inclusion-exclusion formula or a Venn diagram, as a question on the number of subsets or elements of a power set, or as an application of De Morgan's laws. Relations and functions appear as identification questions — is this relation reflexive, is this function one-one — and as a composite or inverse function computation.

Logical Reasoning appears as a spread across all its types, and it is answered by drawing rather than by reasoning in the head. The single most valuable habit in the whole section is to draw the diagram — the series differences, the alphabet positions, the direction path, the seating circle, the family tree, the Venn diagram — before attempting any conclusion.

Key formulas & results

Everything to memorise for the exam hall, in one card. Screenshot this for revision.

Power set
If n(A) = n, then P(A) has 2ⁿ elements, of which 2ⁿ − 1 are proper subsets
Each element is either included or excluded independently, giving 2 choices per element. The set itself is the one subset that is not proper.
De Morgan's laws
(A ∪ B)' = A' ∩ B' and (A ∩ B)' = A' ∪ B'
The operation flips when the complement is distributed: union becomes intersection and intersection becomes union.
Inclusion-exclusion for two sets
n(A ∪ B) = n(A) + n(B) − n(A ∩ B)
The subtraction corrects for elements counted twice by belonging to both sets.
Inclusion-exclusion for three sets
n(A ∪ B ∪ C) = n(A) + n(B) + n(C) − n(A∩B) − n(B∩C) − n(A∩C) + n(A∩B∩C)
Singles added, pairs subtracted because double-counted, triple added back because subtracting all three pairs removed it once too often.
Cartesian product and relations
n(A × B) = n(A) × n(B); the number of possible relations from A to B is 2^[n(A) × n(B)]
A relation is any subset of the Cartesian product, so the count is the size of its power set.
Types of relation
Reflexive: (a,a) ∈ R for all a. Symmetric: (a,b) ∈ R implies (b,a) ∈ R. Transitive: (a,b) and (b,c) in R imply (a,c) in R. Equivalence: all three together.
A relation can satisfy any subset of the three; all three together make it an equivalence relation.
Function classification
One-one (injective): distinct inputs give distinct outputs. Onto (surjective): every codomain element is an image. Bijective: both.
An inverse exists only for a bijective function — otherwise the reversal is either undefined somewhere or ambiguous.
Composite function
(g ∘ f)(x) = g(f(x)) — the function on the RIGHT acts first
The order is the reverse of the reading order, which is a standard source of error.
Venn diagram filling order
Fill from the innermost region outward: all three sets first, then pairwise regions by subtraction, then single regions
Filling from outside in produces errors because the outer figures normally include the inner ones.
⚠️

Traps CA Foundation sets — and how to dodge them

These are the exact option-traps and misreads that cost marks under negative marking.

WATCH OUT
Treating {0} or {∅} as the empty set
Each contains exactly one element and is a singleton. The empty set has no elements at all and is written ∅ or { }.
WATCH OUT
Confusing equal sets with equivalent sets
Equal sets have exactly the same elements; equivalent sets merely have the same number of elements. Equal implies equivalent, never the converse.
WATCH OUT
Adding the sizes of two sets to find the size of their union
Subtract the intersection, since elements in both would otherwise be counted twice. This is the inclusion-exclusion principle.
WATCH OUT
Filling a Venn diagram from the outer regions inward
Start from the innermost region — the number in all three sets — and work outward by subtraction, because the figures given for individual sets usually include the overlaps.
WATCH OUT
Getting the order of a composite function wrong
In (g ∘ f)(x) = g(f(x)), f acts first even though g is written first. The reading order and the operation order are reversed.
WATCH OUT
Assuming every function has an inverse
Only a bijective function does. If the function is not one-one the reversal is ambiguous; if it is not onto the reversal is undefined for some elements.
WATCH OUT
Concluding 'All B are A' from 'All A are B' in a syllogism
The relation is not symmetric. All squares are rectangles, but not all rectangles are squares. By contrast 'Some A are B' does imply 'Some B are A', because overlap is symmetric.
WATCH OUT
Rejecting a syllogism premise because it is factually untrue
Accept every statement as true for the purpose of the question and ask only whether the conclusion follows of necessity. The test is logical validity, not factual accuracy.
WATCH OUT
Attempting seating or blood relation problems mentally
Draw the arrangement or the family tree. The time spent drawing is recovered several times over, and holding the configuration in the head is where nearly all errors enter.
WATCH OUT
Ignoring whether persons in a circular arrangement face the centre or outward
Left and right reverse between the two cases, and the detail decides many questions. Establish the facing direction before placing anyone.

Exam-pattern practice

PYQ-style questions with full solutions. Work through them as a readiness check — mark yourself honestly and get your gap report at the end.

Readiness check

Are you exam-ready for Sets, Relations, Functions & Logical Reasoning?

15 problems from this chapter. Try each one, reveal the worked solution, mark yourself honestly — get your gap report at the end.

15 questions~11 min

5-minute revision

The whole chapter, distilled. Read this the night before the exam.

  • {0} and {∅} are singletons, not the empty set.
  • A set with n elements has 2ⁿ subsets and 2ⁿ − 1 proper subsets.
  • De Morgan: the complement of a union is the intersection of complements, and vice versa — the operation flips.
  • n(A ∪ B) = n(A) + n(B) − n(A ∩ B); the three-set version adds singles, subtracts pairs and adds back the triple.
  • Fill a Venn diagram from the innermost region outward.
  • The number of relations from A to B is 2^[n(A)×n(B)]; the number of functions is n(B)^n(A).
  • An equivalence relation is reflexive, symmetric and transitive together, and corresponds to a partition of the set.
  • In (g ∘ f)(x) = g(f(x)), f acts first — the reverse of reading order.
  • Only a bijective function is invertible: not one-one means ambiguous, not onto means undefined.
  • Compute first differences before testing anything else in a number series.
  • Write alphabet positions beneath letters to reveal a coding rule.
  • In direction problems, track net east-west and north-south displacement separately; distance is the hypotenuse.
  • A right turn is clockwise from the direction currently faced, not from north.
  • In circular seating, establish whether persons face the centre or outward before placing anyone.
  • 'All A are B' implies 'Some B are A' but never 'All B are A'; 'Some A are B' does imply 'Some B are A'.
  • A syllogism conclusion follows only if it holds in every possible arrangement, not merely in one.

CA Foundation question blueprint

How this topic is asked, tier by tier — so you can prep to the pattern.

Typical weightage: 20

Exam-hall strategy

Battle-tested tips from mentors and toppers for this topic under the sectional clock.

  1. Attempt Logical Reasoning early in the paper while attention is fresh, since its questions turn on a single detail.
  2. Draw the diagram in every reasoning question — series differences, alphabet positions, direction path, seating plan, family tree, Venn diagram.
  3. In series questions, compute the first differences before testing any other pattern.
  4. In syllogisms, draw every possible representation and accept a conclusion only if it survives all of them.
  5. In arrangement questions, place absolutely fixed positions first, then blocks, testing both orientations where a block is ambiguous.
  6. In blood relations, resolve the innermost relational phrase to a single person before reading further.
  7. In survey problems, fill the Venn diagram from the centre outward and check that all regions sum to the total.
  8. In odd-man-out questions, keep testing properties until one isolates exactly one item; distrust any property that leaves two.

Beyond the exam

Where this skill shows up in the job you're competing for — and in life.

The inclusion-exclusion principle underlies population an…

The inclusion-exclusion principle underlies population and sampling analysis wherever categories overlap, such as counting clients using more than one service line.

Set operations are the conceptual basis of database queries

Set operations are the conceptual basis of database queries, where union, intersection and difference correspond directly to the operations used to combine result sets.

Reasoning of the kind tested in the Logical Reasoning sec…

Reasoning of the kind tested in the Logical Reasoning section appears in audit, where a conclusion must be shown to follow necessarily from evidence rather than merely to be consistent with it.

Functions and their inverses underlie every valuation for…

Functions and their inverses underlie every valuation formula that is solved in both directions, such as converting between a present value and a required rate of return.

Where else this topic is tested

Prepare once, score in every exam that asks it.

CA Foundation Paper 3 — the probability chapter, which uses set operations directly
CS Executive and CMA Foundation quantitative and reasoning papers
CAT, XAT and banking aptitude tests, whose reasoning sections are closely comparable
Class 11 and 12 Mathematics under CBSE and ISC, which cover sets, relations and functions

Questions aspirants ask

Pulled from the Q&A community and mentor sessions.

It is twenty marks — a fifth of the paper — and needs no formula, no theory and no revision. Performance improves purely with practice and does not decay if the section is left for a few weeks, unlike statistics or interest formulas. No other block in the Foundation gives a comparable return per hour, and it is under-prepared precisely because it does not feel like studying.

Accept the statements as true even where they contradict what you know to be factually so, then ask only whether the conclusion follows of necessity. Draw Venn diagrams, and where a statement can be represented in more than one way, draw every possibility. Accept a conclusion only if it holds in all of them — possibility is not necessity, and that distinction is the whole of what these questions test.

A relation is any subset of the Cartesian product, so it may leave some domain elements unmapped and may map one element to several. A function must assign exactly one image to each element of the domain. Every function is a relation; a relation is a function only if it satisfies both restrictions, which is why there are far fewer functions than relations between the same two sets.

Fill from the innermost region outward. The number in all three sets is known directly; subtract it from each pairwise figure to get the 'exactly two' regions; then subtract all of those from each individual total to get the 'only' regions. The figures given for individual sets include the overlaps, so working from the outside in double-counts.

Because (g ∘ f)(x) is defined as g(f(x)), and in that form f is nested inside g's brackets. Whatever is innermost is evaluated first, exactly as in ordinary arithmetic. The circle notation preserves the nesting even though it makes g appear first, which is why the order is a standard source of error.

Yes, and it is the highest-return habit in the section. A seating arrangement or family tree takes under a minute to draw and makes the answer readable off the page, whereas holding the configuration mentally under time pressure is where nearly all errors originate. The same applies to direction paths, Venn diagrams and alphabet positions in coding questions.
Header Logo