Ordinary Differential Equations
Identification
Form: dy/dx + P(x)y = Q(x). Here P(x) = tan(x), Q(x) = sin(x). This is a First-Order Linear ODE. Use Integrating Factor.
Step 1: Find Integrating Factor
Step 2: Multiply both sides by IF
sec(x)·dy/dx + sec(x)·tan(x)·y = sin(x)·sec(x) = tan(x)
Left side = d/dx[y·sec(x)]
Step 3: Integrate both sides
y·sec(x) = log|sec(x)| + C or y = cos(x)·[log|sec(x)| + C]
⚡ Direct Formula for Linear ODE
Solution: y·IF = ∫Q·IF dx + C
IF = e^(∫P dx) → always start here. Remember: ∫tan x dx = log|sec x| (not −log|cos x| — both are same but write consistently)
⚠️ Common Mistakes
1. Writing ∫tan x = log(cos x) — Wrong! It's log|sec x| = −log|cos x|
2. Forgetting absolute value: must write log|sec x|
3. Missing constant C during integration
4. Not simplifying: leave answer as y = cos x·[log|sec x| + C]
💡 Trick
IPAS Rule: Identify → find P → compute IF = e^(∫P) → Apply: y·IF = ∫Q·IF dx + C → Simplify
📋 Examiner Expectations (8M)
1. Write "First-Order Linear ODE" — earns 1 mark
2. Show IF = e^(∫tan x dx) step clearly
3. Write d/dx[y·sec x] = tan x explicitly — critical
4. Final answer must be solved for y, not left implicit
5. 4-5 numbered steps expected minimum
📌 Similar Questions (High Probability)
- Solve dy/dx + y·cot(x) = 5e^(cos x) [2022, 8M]
- Solve dy/dx − 2xy = x·e^(x²) [2024, 8M]
- Solve dy/dx + 2y = 4x [2022, 4M]
- Solve (1+x²)dy/dx + 2xy = cos x [Expected 2026]
Step 1: Identify Bernoulli's Equation
Form: dy/dx + P(x)y = Q(x)·yⁿ. Here n=3. Standard reduction needed.
Step 2: Substitution v = y^(1-n) = y^(-2)
dv/dx = -2y^(-3)·dy/dx → y^(-3)·dy/dx = -½·dv/dx
Step 3: Divide original equation by y³
Step 4: Solve Linear ODE
P = −2/x, IF = e^(∫−2/x dx) = x^(−2)
Substituting v = y^(-2): y^(-2)/x² = −2x + C or 1/(x²y²) = C − 2x
⚡ Bernoulli Quick Formula
New linear ODE: dv/dx + (1−n)P·v = (1−n)Q
Here: dv/dx + (1−3)(−1/x)v = (1−3)(x²) → dv/dx + 2v/x = −2x² ✓
Memorize: v = y^(1-n), always substitute this way
⚠️ Common Mistakes
1. Using wrong n — it's the power of y on the right side only
2. Forgetting (1−n) factor when writing reduced linear ODE
3. Not back-substituting v = y^(1-n) at the end
4. Sign error: −½·dv/dx when going from dy/dx to dv/dx
Step 1: Identify M and N
M = 2xy + 3y², N = x² + 6xy − 4y²
Step 2: Check Exactness ∂M/∂y = ∂N/∂x
Step 3: Find F such that ∂F/∂x = M
Step 4: Find g(y) using ∂F/∂y = N
x² + 6xy + g'(y) = x² + 6xy − 4y² → g'(y) = −4y² → g(y) = −4y³/3
x²y + 3xy² − 4y³/3 = C
⚡ Direct Method for Exact ODEs
F = ∫M dx + ∫(terms in N not containing x) dy
= x²y + 3xy² + ∫(−4y²)dy = x²y + 3xy² − 4y³/3 = C
⚠️ Mistakes
1. Forgetting to test exactness first (earns marks)
2. Treating x as constant instead of y when integrating M
3. Forgetting g(y) — arbitrary function of y only
Step 1: CF — Auxiliary Equation
m² − 4m + 4 = 0 → (m−2)² = 0 → m = 2, 2 (repeated root)
Step 2: PI for e^(2x) — a=2 is repeated root
f(D) = D²−4D+4, f(2)=0. Use: PI = x²·e^(ax)/f''(a)
f''(D)=2, so f''(2)=2
Step 3: PI for sin(2x)
Replace D² → −4: f(−4) = −4−4(−4)+4 → Use operator: sin(2x)/(D²−4D+4)
Replace D² = −4: (−4−4D+4) = −4D → PI₂ = sin(2x)/(−4D)
= −(1/4)·∫sin(2x)dx = −(1/4)·(−cos(2x)/2) = cos(2x)/8
y = (C₁ + C₂x)e^(2x) + (x²/2)e^(2x) + cos(2x)/8
⚡ PI Table
If a is simple root of AE: PI = x·e^(ax)/f'(a)
If a is double root: PI = x²·e^(ax)/f''(a)
For sin(ax)/cos(ax): Replace D²=−a². If zero, multiply by x and differentiate denominator w.r.t. D
⚠️ Mistakes
1. For repeated root CF: must write (C₁+C₂x)e^mx not C₁e^mx+C₂e^mx
2. Forgetting x² for double repeated root in PI
3. Sign error in PI for trig functions
Step 1: Check Homogeneity
dy/dx = y/x + √(1−y²/x²) — this is f(y/x) form → Homogeneous ODE
Step 2: Substitute y = vx, dy/dx = v + x·dv/dx
Step 3: Separate variables and integrate
sin⁻¹(y/x) = ln|x| + C
⚡ Homogeneous Test & Trick
Check: is dy/dx = f(y/x)? Yes → always use v = y/x
∫dv/√(1−v²) = sin⁻¹(v) — standard integral, memorize!
After solving: always back-substitute y/x for v
Linear DE of Higher Order & Variation of Parameters
Step 1: Find CF
m² + 1 = 0 → m = ±i → y₁ = cos x, y₂ = sin x
Step 2: Wronskian W
Step 3: Find A and B
A = −∫(y₂·R/W)dx = −∫sin(x)·cosec(x)dx = −∫1 dx = −x
B = ∫(y₁·R/W)dx = ∫cos(x)·cosec(x)dx = ∫cot(x)dx = log|sin x|
Step 4: PI = A·y₁ + B·y₂
y = C₁cos x + C₂sin x − x·cos x + sin x·log|sin x|
⚡ Variation of Parameters Steps
1. Find CF → get y₁, y₂
2. Compute W = y₁y₂'−y₂y₁'
3. A = −∫(y₂R/W)dx, B = ∫(y₁R/W)dx
4. PI = Ay₁ + By₂
Clairaut's Form Recognition
y = px + f(p) where f(p) = a/p. Directly give general solution.
Singular Solution
Differentiate w.r.t. p: 0 = x − a/p² → p² = a/x → p = √(a/x)
Substitute: y = x·√(a/x) + a/√(a/x) = √(ax) + √(ax) = 2√(ax)
💡 Fact
The singular solution is the envelope of the family of straight lines (general solution). Always a curve that is tangent to each line of the family.
Partial Differential Equations (PDE)
Let p = ∂z/∂x, q = ∂z/∂y
p = 2x(y² + b) → y²+b = p/(2x)
q = 2y(x² + a) → x²+a = q/(2y)
Substitute back into z = (x²+a)(y²+b)
⚡ PDE Formation Rule
Step 1: Partial diff to get p = ∂z/∂x, q = ∂z/∂y
Step 2: Express a, b from p, q equations
Step 3: Substitute into original → eliminate a, b
Count: One arbitrary constant → one PDE
Step 1: Write Lagrange's Auxiliary Equations
Step 2: First Integral — Add all three
Numerators: (y−z)+(z−x)+(x−y) = 0 → dx+dy+dz = 0
Step 3: Second Integral — Multiply by x, y, z
x·dx + y·dy + z·dz = [x(y−z)+y(z−x)+z(x−y)] = 0
⚡ Lagrange's Multiplier Method
Choose multipliers (l,m,n) such that l·P + m·Q + n·R = 0
Then l·dx + m·dy + n·dz = 0 is integrable
Two independent integrals u=c₁, v=c₂ → F(u,v) = 0
Vector Calculus — Gradient, Divergence, Curl, Theorems
∂φ/∂x = 2xyz + 4z²
At (1,−2,−1): 2(1)(−2)(−1) + 4(1) = 4 + 4 = 8
∂φ/∂y = x²z
At (1,−2,−1): (1)²(−1) = −1
∂φ/∂z = x²y + 8xz
At (1,−2,−1): −2 + 8(1)(−1) = −2−8 = −10
Unit vector u along (2,1,−2)
|a| = √(4+1+4) = 3, u = (2i + j − 2k)/3
⚡ Key Gradient Facts
|∇φ| = Maximum rate of change (in direction of ∇φ)
Directional Derivative = ∇φ · unit vector (always use unit vector!)
Normal to surface φ = const is the direction of ∇φ
Green's Theorem
RHS (Double Integral)
P = xy+y², Q = x². ∂Q/∂x = 2x, ∂P/∂y = x+2y. Integrand = 2x−x−2y = x−2y
LHS: Along y=x² (x:0→1), then along y=x backwards
I₁ = ∫₀¹[x·x²+x⁴+x²·2x]dx = ∫₀¹(3x³+x⁴)dx = 3/4+1/5 = 19/20
I₂ = ∫₁⁰(3x²)dx = [x³]₁⁰ = −1
📋 Verification Strategy
1. Always compute RHS (double integral) first — usually easier
2. Find intersection of curves: x=x² → x=0,1
3. For LHS: parametrize each curve separately
4. State theorem before starting — earns 1 mark
Find div F
div F = ∂(4xz)/∂x + ∂(−y²)/∂y + ∂(yz)/∂z = 4z − 2y + y = 4z − y
Matrices, Eigenvalues & Cayley-Hamilton Theorem
Step 1: Characteristic Equation |A−λI| = 0
Expanding along row 3: (1−λ)[(2−λ)²−1] = 0 → (1−λ)(λ²−4λ+3) = 0 → (1−λ)²(λ−3) = 0
Eigenvector for λ = 3
[A−3I]x=0 gives −x+y=0, z=0 → eigenvector: [1,1,0]ᵀ
Eigenvectors for λ = 1
[A−I]x=0: x+y+z=0. Two free variables: [−1,1,0]ᵀ and [−1,0,1]ᵀ
⚡ Verification
Sum of eigenvalues = trace(A) = 2+2+1 = 5 = 1+1+3 ✓
Product = det(A) = 3 = 1×1×3 ✓
Always verify before writing final answer!
Characteristic Equation
(1−λ)²−4=0 → λ²−2λ−3=0
Verify A²−2A−3I = 0
A² = [[5,4],[4,5]]. A²−2A−3I = [[5−2−3, 4−4−0],[4−4−0, 5−2−3]] = [[0,0],[0,0]] ✓
Find A⁻¹
A²−2A−3I=0 → A−2I = 3A⁻¹
⚡ Cayley-Hamilton for A⁻¹
From p(A)=0, multiply by A⁻¹, isolate A⁻¹
For 2×2: if λ²+bλ+c=0 → A⁻¹ = −(A+bI)/c
Here: λ²−2λ−3=0 → A⁻¹ = −(A−2I)/(−3) = (A−2I)/3
Wave Optics — Interference & Diffraction
Thin Film Interference — Theory
Light partially reflects from top and bottom surfaces of a thin film. Two reflected beams interfere. Reflection from denser medium → phase change of π (equivalent to λ/2 path difference).
Conditions
Constructive (Bright): 2μt·cos r = (2n+1)λ/2 (n=0,1,2…)
Destructive (Dark): 2μt·cos r = nλ (n=0,1,2…)
Newton's Rings Setup
Plano-convex lens on flat glass. Air film of varying thickness. Center t=0 → path diff = λ/2 → central dark spot. From geometry: r² = 2Rt (for small t).
nth Dark Ring Derivation
Dark condition (normal incidence, μ_air=1): 2t = nλ
From geometry: r²=2Rt → 2Rt = nRλ
Dark: rₙ = √(nλR) | Bright: rₙ = √((2n−1)λR/2)
Wavelength: λ = (D²ₙ₊ₚ − D²ₙ)/(4pR)
⚡ Formulas to Memorize
rₙ(dark) = √(nλR)
rₙ(bright) = √((2n−1)λR/2)
λ measurement: λ = (D²ₘ − D²ₙ)/(4(m−n)R)
D² ∝ n for dark; D² ∝ (2n−1) for bright
Trick: Center is dark → phase reversal at bottom glass. CDSS: Center Dark, Spacing Squareroot-n
📋 Examiner Checklist (10M)
1. Draw labeled setup diagram — 2 marks minimum
2. Show geometry: r² = 2Rt derivation using circle theorem
3. Explain why center is dark: write path diff = λ/2 at t=0
4. Derive Dₙ² = 4nλR step by step — this gets full marks
5. State both bright and dark ring formulas
Lasers & Fiber Optics
Einstein Coefficients — Derivation
Three processes: Absorption (rate ∝ N₁·ρ·B₁₂), Spontaneous Emission (rate ∝ N₂·A₂₁), Stimulated Emission (rate ∝ N₂·ρ·B₂₁)
At thermal equilibrium: N₁B₁₂ρ = N₂A₂₁ + N₂B₂₁ρ
Solving for ρ and comparing with Planck's formula:
He-Ne Laser Working
Medium: He:Ne = 10:1 gas mixture. Pumping: Electrical discharge.
1. Electrons collide with He → He excited to metastable 2¹S₀ level
2. Resonance collision: He* + Ne(ground) → He(ground) + Ne*(3s) [nearly same energy]
3. Lasing transition: Ne*(3s) → Ne*(2p) → emits 632.8 nm red light
4. Population inversion maintained between 3s and 2p levels
Conditions for Laser Action
1. Population Inversion: N₂ > N₁ (non-equilibrium)
2. Metastable state with long lifetime
3. Optical feedback: resonant cavity (two mirrors)
4. Gain > Losses: G > L
⚡ LASER Key Facts
A₂₁/B₂₁ = 8πhν³/c³ (Einstein relation)
He-Ne: 632.8 nm (red) | Ruby: 694.3 nm | CO₂: 10.6 μm
At room temp: hν ≫ kT → A₂₁ ≫ B₂₁ρ → spontaneous dominates without population inversion
📋 Must-Do in Exam
1. Draw energy level diagram of He AND Ne side by side — 3 marks
2. Show resonance condition explicitly
3. Derive A/B from Planck's law — most students skip, earns bonus marks!
4. Write wavelength 632.8 nm — examiner always expects exact value
Acceptance Angle Derivation
At fiber entrance: n₀·sin(θₐ) = n₁·sin(θᵣ)
At core-cladding: sin(θc) = n₂/n₁ (critical angle)
For total internal reflection: θᵣ = 90°−θc
n₀·sin(θₐ) = n₁·cos(θc) = n₁√(1−n₂²/n₁²)
Calculation
⚡ Fiber Optics Formulas
NA = √(n₁²−n₂²) = n₁√(2Δ) where Δ=(n₁−n₂)/n₁
V-number = 2πa·NA/λ (a = core radius)
Single mode: V < 2.405 | Multi mode: V > 2.405
Quantum Mechanics
Statement
It is impossible to simultaneously determine exact position and exact momentum of a particle with unlimited precision.
Electron Cannot Exist in Nucleus — Proof
Nuclear diameter ≈ 10⁻¹⁴ m → Δx = 10⁻¹⁴ m
Minimum Kinetic Energy
Relativistic: E = pc = 5.27×10⁻²¹ × 3×10⁸ ≈ 1.58×10⁻¹² J ≈ 9.9 MeV
But beta electrons from nucleus have only ~1 MeV. Contradiction!
Also, this energy greatly exceeds nuclear binding energy per nucleon (~8 MeV)
⚡ Key Values
ℏ = 1.055×10⁻³⁴ J·s | h = 6.626×10⁻³⁴ J·s
1 eV = 1.6×10⁻¹⁹ J | 1 MeV = 1.6×10⁻¹³ J
Nuclear size: ~10⁻¹⁴ m | Atomic size: ~10⁻¹⁰ m
Derivation from Wave Equation
For free particle: ψ = Ae^(ikx−iωt), k=p/ℏ, ω=E/ℏ
∂²ψ/∂x² = −k²ψ → p² = −ℏ²(∂²ψ/∂x²)/ψ. Using E = p²/2m + V:
Particle in Infinite Well (0 ≤ x ≤ L, V=0 inside)
Inside: ψ'' + k²ψ = 0, k²=2mE/ℏ²
General: ψ = A sin(kx) + B cos(kx)
BC ψ(0)=0: B=0 | BC ψ(L)=0: kL=nπ → k=nπ/L
Wave functions are orthogonal sine functions
Semiconductors & Band Theory
Hall Effect Principle
When a current-carrying conductor/semiconductor is placed in a perpendicular magnetic field, a transverse electric field (Hall field) is set up perpendicular to both current and magnetic field.
Derivation of Hall Coefficient
Force on charge carrier: Lorentz force F = qvB (upward for electrons in n-type)
Hall field builds up until: qEH = qvB → EH = vB
Current density J = nqv → v = J/(nq)
Hall field: EH = JB/(nq)
Applications
1. Sign of RH → type of semiconductor (n or p)
2. |RH| → carrier concentration n or p = 1/(|RH|·q)
3. Mobility μ = |RH|·σ (σ = conductivity)
Negative RH → n-type | Positive RH → p-type
⚡ Hall Effect Formulas
VH = (RHIB)/t (Hall voltage)
RH = VHt/(IB) (from experiment)
n or p = 1/(|RH|·e)
Mobility μ = |RH|·σ
Molecular Orbital Theory (MOT)
MO Energy Level Order (O₂ and heavier)
σ1s < σ*1s < σ2s < σ*2s < σ2pz < π2px = π2py < π*2px = π*2py < σ*2pz
O₂ (16 electrons)
Bond Order = (10−6)/2 = 2 | Two unpaired e⁻ in π* → Paramagnetic
O₂⁻ (17 electrons) — one extra e⁻ in π*
Bond Order = (10−7)/2 = 1.5 | One unpaired e⁻ → Paramagnetic
⚡ MOT Quick Rules
BO = (Nb − Na)/2 | BO > 0: stable; BO = 0: unstable
Higher BO = Shorter & Stronger bond
Unpaired e⁻ → Paramagnetic | All paired → Diamagnetic
Adding e⁻ to antibonding → reduces BO; to bonding → increases BO
Electrochemistry & Corrosion
Nernst Equation Derivation
From thermodynamics: ΔG = ΔG° + RT ln Q and ΔG = −nFE
−nFE = −nFE° + RT ln Q
EMF Calculation
Cell reaction: Zn + Cu²⁺ → Zn²⁺ + Cu. n=2
Q = [Zn²⁺]/[Cu²⁺] = 0.1/0.01 = 10
⚡ Nernst at 25°C
E = E° − (0.0592/n)·log Q
Q = [products]/[reactants] of cell reaction
E > 0: spontaneous | E = 0: equilibrium | E < 0: non-spontaneous
Polymers & Water Technology
Addition Polymerization
Monomers add without loss of any molecule. Requires double bond. Mechanism: Free radical initiation → Propagation → Termination
Example: n(CH₂=CH₂) → -(CH₂-CH₂)ₙ- (Polyethylene)
Condensation Polymerization
Monomers combine with elimination of small molecules (H₂O, HCl). Requires bifunctional groups.
Example: Nylon 6,6: Hexamethylenediamine + Adipic acid → Nylon + nH₂O
Bakelite Synthesis
Phenol + Formaldehyde with acid/base catalyst
Step 1: Phenol + HCHO → ortho-hydroxybenzyl alcohol (addition)
Step 2: Condensation → linear chain (Novolac, thermoplastic)
Step 3: Cross-linking at high temp → Bakelite (thermosetting)
Hard, non-melting, good electrical insulator, heat resistant. Used in switches, socket panels, handles.
⚡ Quick Comparison
Addition: double bonds, no byproduct, chain growth → PE, PVC, Teflon
Condensation: functional groups, byproduct (H₂O), step growth → Nylon, Bakelite, Terylene
Thermoplastic: re-meltable | Thermosetting: non-remeltable (Bakelite)
Basics, Data Types, Operators & Control Flow
Logic
Armstrong number: sum of cubes of digits = number itself. Eg: 153 = 1³+5³+3³ = 153
Dry Run for n=153
digits=3, then: rem=3→result=27; rem=5→result=152; rem=1→result=153. result==153 → Armstrong!
⚠️ Common Errors
1. Not saving original value: always use orig=n before loop
2. Using pow() without casting to int — may get 152.999 instead of 153
3. Forgetting #include <math.h> for pow()
4. Hardcoding 3 digits — use digit-counting loop for general n-digit Armstrong
🎙️ Viva Questions
Other Armstrong numbers? → 0, 1, 153, 370, 371, 407 (3-digit)
Difference between % and /? → % gives remainder, / gives quotient (integer division)
Why int cast for pow()? → pow() returns double; int cast needed to avoid floating point rounding
What if n=0? → 0^1 = 0 = 0, so 0 IS Armstrong
Arrays & Strings
🎙️ Viva Questions
Condition for matrix multiplication? → Columns of A must equal Rows of B
Time complexity? → O(n³) for n×n matrices
Why initialize c[i][j]=0? → Array has garbage values; accumulation requires starting from 0
What is row-major storage? → a[i][j] at address: base + (i×cols + j)×sizeof(int)
Functions & Recursion
Call Tree for fib(5)
fib(5)
├── fib(4)
│ ├── fib(3) → fib(2)+fib(1) = 1+1 = 2
│ └── fib(2) → fib(1)+fib(0) = 1 → fib(4) = 3
└── fib(3)
├── fib(2) = 1
└── fib(1) = 1 → fib(3) = 2
Result: fib(5) = 3 + 2 = 5⚠️ Mistakes
1. Missing base case → infinite recursion → stack overflow
2. Returning n instead of 1 for fib(1)
3. Returning 1 for fib(0) — should return 0
💡 Complexity Note
Recursive: O(2ⁿ) time, O(n) space | Iterative: O(n) time, O(1) space. Mention this in exam — earns extra marks!
Pointers & Structures
Definition
A pointer is a variable that stores the memory address of another variable. Declaration: int *p; — p stores address of int. p = &n; — p points to n. *p = value at address (dereferencing).
Memory Diagram
arr: [1000] [1004] [1008] [1012] [1016] ptr = 1000 → ptr+1=1004 (adds sizeof(int)=4) *(ptr+2) = value at address 1008 = arr[2]
🎙️ Viva
Difference ptr++ vs *ptr++? → ptr++ moves pointer; *ptr++ gets value then moves
What is NULL pointer? → Pointer with value 0, points to nothing
Dangling pointer? → Pointer to freed/destroyed memory location
How does pointer arithmetic work? → Adds sizeof(datatype) bytes, not 1 byte
Definition
A structure is a user-defined data type that groups variables of different data types under one name.
🎙️ Viva
Difference between structure and union? → Structure: separate memory per member; Union: shared memory (size = max member)
sizeof(union) vs sizeof(struct)? → Union = max(sizeof members); Struct = sum + padding
Can struct contain a pointer to itself? → Yes — self-referential structure (used in linked lists)
Stacks & Queues
⚡ Stack Concept
LIFO — Last In First Out
top = −1: empty stack | top = MAX−1: full stack
Push: check overflow, stack[++top] = val
Pop: check underflow, return stack[top--]
Applications: Expression evaluation, function calls, undo operations, browser history
🎙️ Viva
What is LIFO? → Last In First Out — last element pushed is first to be popped
Difference: Stack vs Queue? → Stack: LIFO; Queue: FIFO (First In First Out)
Stack applications? → Function call stack, expression evaluation, backtracking, browser back button
What is Stack Overflow in OS? → When program uses more stack memory than allocated (infinite recursion)
Linked Lists
⚡ Linked List vs Array
Array: fixed size, random access O(1), insert/delete O(n)
Linked List: dynamic size, no random access, insert begin O(1), delete O(n) for end
Always use free() to avoid memory leaks!
🎙️ Viva
What is a self-referential structure? → A struct containing a pointer to the same type (Node has Node *next)
malloc() vs calloc()? → malloc(): allocates memory (uninitialized); calloc(): allocates and sets to zero
What is a doubly linked list? → Each node has both prev and next pointers
Time complexity of search in linked list? → O(n) — must traverse from head
Sorting Algorithms
Bubble Sort
Trace: [64,34,25,12] → Bubble Sort
Pass 1: [34,25,12,64] | Pass 2: [25,12,34,64] | Pass 3: [12,25,34,64] ✓
Quick Sort (Partition logic)
⚡ Sorting Complexity Table
Algorithm | Best | Average | Worst | Space -----------|---------|---------|---------|------ Bubble | O(n) | O(n²) | O(n²) | O(1) Selection | O(n²) | O(n²) | O(n²) | O(1) Insertion | O(n) | O(n²) | O(n²) | O(1) Quick Sort | O(nlogn)| O(nlogn)| O(n²) | O(logn) Merge Sort | O(nlogn)| O(nlogn)| O(nlogn)| O(n)
DC Circuits & Network Theorems
Thevenin's Theorem Statement
Any linear two-terminal network can be replaced by an equivalent circuit consisting of a voltage source (V_th) in series with a resistance (R_th).
Step 1: Find V_th (Open circuit voltage)
Remove the 5Ω load. With 10Ω and 5Ω in series: Total R = 10+5 = 15Ω. But load removed means 5Ω is open: V_th = voltage across the load terminals.
For a simple series circuit (V=10V, R_series=10Ω): V_th = 10 × (0/10+0) — depends on exact circuit. Standard result: V_th = 10V if no series R before load.
Step 2: Find R_th (Replace all sources by their internal resistance)
Voltage sources → short circuit. Calculate resistance seen from load terminals: R_th = 10 || 0 + 5 = depends on circuit topology.
Standard example: R_th = R₁||R₂ = 10×10/(10+10) = 5Ω
Step 3: Find load current
⚡ Thevenin Steps
1. Remove load, find V_th = open circuit voltage
2. Kill all sources (short V, open I), find R_th from terminals
3. I_L = V_th/(R_th + R_L)
Norton's: I_N = V_th/R_th, R_N = R_th
AC Circuits & Resonance
Series RLC Circuit Impedance
Resonance Condition: X_L = X_C
ωL = 1/(ωC) → ω²LC = 1
At Resonance
Z = R (minimum), Current I = V/R (maximum). Circuit is purely resistive.
Q-factor and Bandwidth
Q = ω₀L/R = 1/(ω₀CR) = (1/R)√(L/C)
Bandwidth BW = f₀/Q = R/(2πL)
Higher Q → sharper resonance, narrower bandwidth
⚡ RLC Resonance Formulas
f₀ = 1/(2π√LC) — resonant frequency
At resonance: Z=R (min), I=V/R (max), pf=1
Q = ω₀L/R = voltage magnification factor
BW = f₂−f₁ = R/(2πL) = f₀/Q
Transformers & Semiconductors
Working Principle
Transformer works on the principle of mutual electromagnetic induction. AC supply to primary coil creates changing flux in core, which induces EMF in secondary coil.
EMF Equation Derivation
Flux: φ = φₘ·sin(ωt). EMF induced: e = −dφ/dt = −φₘω·cos(ωt)
Max EMF: Eₘ = N·φₘ·ω = N·φₘ·2πf
Turns Ratio and Secondary Voltage
⚡ Transformer Formulas
E = 4.44 f N φₘ (EMF equation, 4.44 = π/√2 × 2)
V₁/V₂ = N₁/N₂ = I₂/I₁ (turns ratio = voltage ratio = inverse current ratio)
Step-up: N₂ > N₁, V₂ > V₁ | Step-down: N₂ < N₁, V₂ < V₁
Engineering Materials & Construction
Definition
Cement is a binding material that hardens when mixed with water due to chemical reactions. Portland cement is most commonly used in construction.
Dry Process of Manufacture
1. Crushing: Limestone and clay are crushed separately
2. Drying: Raw materials dried to remove moisture
3. Grinding: Mixed and ground to fine powder in ball mill
4. Blending: Proportioned and stored in silos
5. Burning: Fed into rotary kiln at 1400-1500°C → clinker formed
6. Cooling & Grinding: Clinker + 3-4% gypsum → ground to cement powder
Chemical Compounds (Bogue's Compounds)
C₃S (Tricalcium Silicate, 40%) — Early strength, responsible for initial setting
C₂S (Dicalcium Silicate, 30%) — Slow hydration, long-term strength
C₃A (Tricalcium Aluminate, 11%) — Rapid hydration, sets first (gypsum controls it)
C₄AF (Tetracalcium Alumino Ferrite, 12%) — Contributes to color, resistance
⚡ Key Facts
Dry process: suitable for dry climate, less fuel, simpler
Wet process: mixing with water, more uniform but energy-intensive
Fineness of cement affects: rate of hydration, strength gain, heat of hydration
Initial set: 30 min | Final set: 10 hours (for OPC)
Thermodynamics & Heat Engines
Laws of Thermodynamics
0th Law: If A is in thermal equilibrium with B, and B with C, then A is in equilibrium with C. (Defines temperature)
1st Law: Energy can neither be created nor destroyed. dQ = dU + dW (Heat added = change in internal energy + work done)
2nd Law: Heat cannot spontaneously flow from cold to hot body. Efficiency of heat engine < 100%
3rd Law: Entropy of a pure perfect crystal at absolute zero is zero
Carnot Cycle (4 Reversible Processes)
1. Isothermal Expansion (1→2): Heat Q₁ absorbed from source at T₁
2. Adiabatic Expansion (2→3): Temperature falls from T₁ to T₂
3. Isothermal Compression (3→4): Heat Q₂ rejected to sink at T₂
4. Adiabatic Compression (4→1): Temperature rises back to T₁
Significance
Carnot efficiency is the maximum possible efficiency for any heat engine operating between T₁ and T₂. No real engine can exceed it.
⚡ Thermodynamics Formulas
1st Law: Q = ΔU + W | For closed system
Carnot COP (refrigerator) = T₂/(T₁−T₂)
Carnot COP (heat pump) = T₁/(T₁−T₂)
η_Carnot always expressed with T in Kelvin (K = °C + 273)
Technical Writing & Formal Communication
Formal Email Format
To: hod.cse@jntuk.ac.in
Subject: Request for Permission to Attend Technical Workshop
Respected Dr./Prof. [Name],
I am [Your Name], Roll No. [XXXX], currently pursuing B.Tech (CSE) First Year at your esteemed institution. I am writing this email to respectfully seek your permission to attend a two-day technical workshop on "Artificial Intelligence and Machine Learning" being organized by IIT Hyderabad on [Date].
This workshop will provide valuable exposure to emerging technologies and industry trends, which will be highly beneficial for my academic and professional development. The registration fee is nominal and I have already obtained parental consent.
I assure you that I will cover any missed coursework diligently. I humbly request your kind permission and guidance in this regard.
Thanking you in anticipation of your favorable response.
Yours sincerely,
[Your Name]
Roll No: [XXXX]
B.Tech CSE, Sem I
⚡ Email Format Checklist
1. To, Subject — mandatory
2. Salutation: "Respected Sir/Ma'am" or "Dear Dr. [Name]"
3. Opening: State who you are + purpose
4. Body: Specific reason, benefits, assurance
5. Closing: "Yours sincerely" (formal) — NOT "Yours faithfully" unless you don't know the name
6. Signature: Name, Roll No., Dept, Semester
TECHNICAL REPORT ON RENEWABLE ENERGY SOURCES
1. Introduction: Renewable energy refers to energy derived from naturally replenishing sources such as sunlight, wind, rain, tides, and geothermal heat. Unlike fossil fuels, these sources are inexhaustible and environmentally friendly.
2. Types of Renewable Energy: (a) Solar Energy — photovoltaic cells convert sunlight to electricity; (b) Wind Energy — wind turbines harness kinetic energy; (c) Hydroelectric Power — moving water drives turbines; (d) Biomass — organic matter converted to fuel; (e) Geothermal — Earth's internal heat.
3. Advantages: Environmentally friendly (no greenhouse gas emissions), inexhaustible, reduces dependence on imported fuels, creates employment, and reduces electricity costs long-term.
4. Challenges: High initial setup cost, intermittent availability (solar/wind depend on weather), storage limitations (battery technology), land requirement, and infrastructure gaps in rural areas.
5. Conclusion: With increasing climate concerns and depleting fossil fuels, renewable energy is the future of sustainable development. Government policies and technological advancement are accelerating their adoption worldwide.
⚡ Technical Report Structure
Title → Abstract (optional) → Introduction → Body (numbered sections) → Conclusion → References
Use: Formal tone, third-person, present tense, numbered headings, no contractions
Avoid: "I think", "It's", "etc.", "stuff"
Complex Analysis & Analytic Functions
Step 1: Express f(z) = u + iv
z = x+iy, z² = x²−y² + 2xyi → u = x²−y², v = 2xy
Step 2: Check C-R Equations ∂u/∂x = ∂v/∂y and ∂u/∂y = −∂v/∂x
∂u/∂x = 2x | ∂v/∂y = 2x ✓
∂u/∂y = −2y | −∂v/∂x = −2y ✓
Both C-R equations satisfied everywhere → f(z) = z² is entire (analytic everywhere)
⚡ C-R Equations Shortcut
C-R: ∂u/∂x = ∂v/∂y AND ∂u/∂y = −∂v/∂x
If f(z) = polynomial in z → always analytic everywhere (entire)
f'(z) = ∂u/∂x + i·∂v/∂x (use after C-R verified)
Non-analytic at: z₀ if C-R fails there
Laplace Transforms
Step 1: Start with L{sin(2t)}
Step 2: First Shifting (Multiply by e^(3t))
L{e^(at)·f(t)} = F(s−a)
Step 3: Multiplication by t² — use L{tⁿf(t)} = (−1)ⁿ·Fⁿ(s)
⚡ Key Laplace Properties
First Shift: L{e^(at)f(t)} = F(s−a)
×t: L{t·f(t)} = −F'(s)
×tⁿ: L{tⁿf(t)} = (−1)ⁿ·F⁽ⁿ⁾(s)
÷t: L{f(t)/t} = ∫_s^∞ F(u)du
Second Shift: L{f(t−a)u(t−a)} = e^(−as)F(s)
Fourier Series
f(x) = x² is even function → bₙ = 0
Fourier Series
Deduce π²/6 — Put x = π:
π² = π²/3 + 4Σ[(−1)ⁿ·(−1)ⁿ/n²] = π²/3 + 4Σ[1/n²]
2π²/3 = 4Σ(1/n²)
⚡ Fourier Coefficient Formulas
a₀ = (1/π)∫₋π^π f(x)dx
aₙ = (1/π)∫₋π^π f(x)cos(nx)dx
bₙ = (1/π)∫₋π^π f(x)sin(nx)dx
Even function → bₙ=0; Odd function → a₀=aₙ=0
📊 Frequency Analytics by Subject
🔥 Most Repeated Topics
📈 High Marks Questions
⚡ Easy Marks (High Probability)
- ✅ Eigenvalues & eigenvectors (3×3) — 16M guaranteed
- ✅ Cayley-Hamilton + A⁻¹ — 16M guaranteed
- ✅ One Green's/Stokes theorem — 16M
- ✅ One ODE (linear + Bernoulli) — 8M each
- ✅ Gradient + directional derivative — 8M
- ✅ Hall Effect derivation — 10M guaranteed
- ✅ Newton's Rings + derivation — 10M
- ✅ He-Ne laser + A/B coefficients — 10M
- ✅ Schrödinger equation + particle in box — 10M
- ✅ Optical fiber NA formula + calculation — 8M
- ✅ Fibonacci recursive + trace — 8M guaranteed
- ✅ Matrix multiplication — 8M guaranteed
- ✅ Armstrong/Palindrome program — 4M each
- ✅ Pointers + memory diagram — 8M
- ✅ Structure (student record) — 8M