body { background-color: #f8fafc; color: #1e293b; }
/* Premium Glassmorphism */
.glass-panel {
background: rgba(255, 255, 255, 0.85);
backdrop-filter: blur(16px);
-webkit-backdrop-filter: blur(16px);
border: 1px solid rgba(255, 255, 255, 0.5);
box-shadow: 0 10px 40px -10px rgba(0,0,0,0.08);
}
/* Typography Styling for Theory */
.theory-content h3 {
font-size: 1.5rem; font-weight: 800; color: #1e293b;
margin-top: 2.5rem; margin-bottom: 1rem;
display: flex; align-items: center; gap: 0.5rem;
}
.theory-content h3::before {
content: ”; display: block; width: 6px; height: 24px;
background: linear-gradient(to bottom, #4f46e5, #10b981);
border-radius: 4px;
}
.theory-content h4 { font-size: 1.125rem; font-weight: 700; color: #334155; margin-top: 1.5rem; margin-bottom: 0.5rem; }
.theory-content p { margin-bottom: 1.25rem; line-height: 1.8; color: #475569; font-size: 1.05rem; }
.theory-content ul { margin-bottom: 1.25rem; padding-left: 1.5rem; }
.theory-content li { margin-bottom: 0.5rem; line-height: 1.7; color: #475569; position: relative; list-style-type: none;}
.theory-content li::before {
content: ‘•’; color: #4f46e5; font-weight: bold; display: inline-block; width: 1em; margin-left: -1em;
}
/* Interactive Pro-Tip Elements */
.ecat-trick-box {
background: linear-gradient(135deg, #eef2ff 0%, #f0fdfa 100%);
border-left: 4px solid #6366f1;
padding: 1.25rem; border-radius: 0 0.75rem 0.75rem 0;
margin: 1.5rem 0; position: relative; overflow: hidden;
}
.ecat-trick-box::after {
content: ‘ECAT/NET PRO TIP’; position: absolute; top: 0; right: 0;
background: #6366f1; color: white; font-size: 0.65rem; font-weight: 800;
padding: 0.25rem 0.75rem; border-bottom-left-radius: 0.5rem; letter-spacing: 0.05em;
}
Set Operations & Logic
In-Depth Masterclass
Master Venn diagrams, set operations, De Morgan’s laws, and logical connectives to breeze through university entrance exams.
Live Venn Visualizer
A ∪ B (Union)
A ∩ B (Intersection)
A – B (Difference)
B – A (Difference)
A Δ B (Symmetric Difference)
A’ (Complement of A)
B’ (Complement of B)
(A ∪ B)’ (De Morgan 1)
(A ∩ B)’ (De Morgan 2)
Mathematical Formula
$A cup B$
Represents all elements that are in set A, in set B, or in both.
Comprehensive Theory Guide
1. Fundamentals of Sets
A set is a well-defined collection of distinct objects. The number of elements in a set is called the Order of the set.
Crucial Points for MCQs:
- $0$ is neither positive nor negative. Therefore, the set of “non-negative integers” is ${0, 1, 2, …}$ which is equivalent to Whole Numbers ($W$).
- The set of “non-positive integers” is ${0, -1, -2, …}$.
- There is only one even prime number in the universe, which is $2$.
2. Subsets & Power Sets
If every element of set $A$ is an element of set $B$, then $A$ is a subset of $B$ ($A subseteq B$).
- Proper Subset ($A subset B$): $B$ contains at least one element which is not in $A$.
- Improper Subset: A set is an improper subset of itself ($A = B$).
Subsets Calculation Formula
If a set $S$ has $m$ elements ($n(S) = m$), then its Power Set $P(S)$ contains all possible subsets.
- Total number of subsets = $2^m$
- Number of proper subsets = $2^m – 1$
- Number of non-empty subsets = $2^m – 1$
3. Disjoint vs Overlapping Sets
- Disjoint Sets: If $A cap B = emptyset$. They have no common elements.
- Overlapping Sets: If $A cap B neq emptyset$, but neither is a subset of the other ($A notsubset B$ and $B notsubset A$).
Note: The sets $A-B$, $B-A$, and $A cap B$ are always mutually disjoint. Try checking this by selecting these operations on the visualizer!
4. Algebra of Sets (Highly Tested)
Understanding these laws is critical for simplifying complex set expressions in exams.
| Law Name | Property |
|---|---|
| Idempotent Law | $A cup A = A$ and $A cap A = A$ |
| Commutative Law | $A cup B = B cup A$ |
| Associative Law | $A cup (B cup C) = (A cup B) cup C$ |
| Distributive Law | $A cup (B cap C) = (A cup B) cap (A cup C)$ |
| De Morgan’s Laws | $(A cup B)’ = A’ cap B’$ $(A cap B)’ = A’ cup B’$ |
5. Logic & Propositions
Logic is the science of reasoning. There are two main types:
- Inductive Logic: Drawing general conclusions from a limited number of observations (e.g., predicting sequence $2, 4, 6, …$).
- Deductive Logic: Drawing conclusions from premises already believed to be true.
A Proposition (or statement) is a declarative sentence which may be true or false, but not both. Aristotelian logic deals with strictly two possibilities (True/False).
6. Logical Connectives (Truth Tables)
If a problem involves $n$ simple statements (like $p, q, r$), the truth table will have exactly $2^n$ rows.
- Conjunction ($p wedge q$): Read as “p AND q”. True only if BOTH are true.
- Disjunction ($p vee q$): Read as “p OR q”. True if AT LEAST ONE is true.
- Implication ($p rightarrow q$): Read as “If p, then q”. False ONLY when $p$ is true but $q$ is false.
- Bi-conditional ($p leftrightarrow q$): Read as “p if and only if q”. True when both $p$ and $q$ have the SAME truth value.
Conditionals Cheat Sheet:
If you are given a conditional statement $p rightarrow q$, you MUST memorize its variations:
- 1. Converse: $q rightarrow p$
- 2. Inverse: $sim p rightarrow sim q$
- 3. Contrapositive: $sim q rightarrow sim p$
* A statement and its contrapositive always have the exact same truth values!