body { background-color: #f8fafc; color: #1e293b; }
/* Premium Glassmorphism */
.glass-panel {
background: rgba(255, 255, 255, 0.7);
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 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;
}
input[type=range] { accent-color: #4f46e5; }
Complex Numbers
In-Depth Masterclass
Master the geometry of the Argand plane, vector addition, and locus concepts required to ace NUST (NET) and UET ECAT.
Live Argand Visualizer
Quadrant I
3
4
Modulus $|Z|$
5.00
Argument $theta$
53.1°
Polar Form
$Z = 5.00(cos(53.1^circ) + isin(53.1^circ))$
Beyond the Basics: Conceptual Depth
1. Integral Powers of Iota & Euler’s Formula
You already know that $i = sqrt{-1}$ and the cycle of 4: $i^1=i$, $i^2=-1$, $i^3=-i$, $i^4=1$. But entrance exams test the Euler representation of complex numbers.
Euler’s Formula:
$e^{itheta} = costheta + isintheta$
Application ($i^i$ derivation): How do we calculate iota raised to the power of iota ($i^i$)?
Since $i$ is at $90^circ$ ($pi/2$) on the Argand plane, its modulus is $1$ and argument is $pi/2$.
Using Euler’s formula: $i = e^{i(pi/2)}$.
Now raise both sides to power $i$: $(i)^i = (e^{i(pi/2)})^i = e^{i^2 (pi/2)} = e^{-1(pi/2)} = e^{-pi/2}$.
Result: $i^i$ is a purely real number!
Sum of Consecutive Powers: The sum of any 4 consecutive powers of $i$ is zero. $sum_{n=k}^{k+3} i^n = 0$.
2. Geometric Meaning of Modulus & Triangle Inequality
In ECAT/NET, you shouldn’t just think of $|Z| = sqrt{x^2+y^2}$. You must think of complex numbers as Vectors originating from $(0,0)$.
- $|Z_1 – Z_2|$ represents the distance between point $Z_1$ and point $Z_2$.
- $Z_1 + Z_2$ is vector addition (Diagonal of a parallelogram).
The Triangle Inequality
Because $Z_1, Z_2$, and $(Z_1+Z_2)$ form a triangle on the Argand plane, the length of one side must be less than the sum of the other two sides.
$||Z_1| – |Z_2|| le |Z_1 pm Z_2| le |Z_1| + |Z_2|$
ECAT Application: If asked to find the maximum value of $|Z_1 + Z_2|$, it is simply $|Z_1| + |Z_2|$ (when vectors are parallel/collinear). The minimum value is $||Z_1| – |Z_2||$.
3. Advanced Polar Form & Argument
The Principal Argument $theta$ must lie strictly in $(-pi, pi]$. Using the interactive visualizer on the left, notice how the angle shifts to negative values in the 3rd and 4th quadrants.
Rotation by $i$:
Multiplying any complex number $Z$ by $i$ mathematically rotates its vector by $90^circ$ counter-clockwise around the origin. Multiplying by $-i$ rotates it $90^circ$ clockwise.
4. De Moivre’s Theorem & Geometry of Roots
De Moivre’s theorem states that $(costheta + isintheta)^n = cos(ntheta) + isin(ntheta)$. While useful for powers, its real power is finding the $n$-th roots of unity ($Z^n = 1$).
- Geometric Interpretation: The $n$-th roots of unity always lie on a unit circle ($|Z|=1$) and form the vertices of a regular polygon of $n$ sides.
- Progression: The roots always form a Geometric Progression (G.P.).
- Sum & Product: The sum of all $n$-th roots of unity is exactly $0$. The product of all $n$-th roots of unity is $(-1)^{n-1}$.
5. Locus of Complex Numbers (NET Cheat Sheet)
NUST frequently asks to identify the geometric shape represented by a complex equation. Memorize these standard forms:
| Complex Equation | Geometric Shape (Locus) |
|---|---|
| |Z – Z_0| = r | Circle with center $Z_0$ and radius $r$. |
| |Z – Z_1| = |Z – Z_2| | Perpendicular Bisector of the line segment joining $Z_1$ and $Z_2$. |
| |Z – Z_1| + |Z – Z_2| = 2a | Ellipse (where $2a > |Z_1 – Z_2|$). Foci are at $Z_1$ and $Z_2$. |
| ||Z – Z_1| – |Z – Z_2|| = 2a | Hyperbola (where $2a < |Z_1 – Z_2|$). |
| arg(Z – Z_0) = theta | A Ray (Half-Line) originating from $Z_0$ at angle $theta$. |