Study guide

14.3 Electronics: p-n Junction, Rectifiers, Transistors, Op-Amps & Logic Gates

Pakistan ECAT Engineering Colleges Admission Test

Track your progress as you read

Finished sections get a check mark.

1 Chapter 1: ECAT Exam Structure, Scoring & Strategy

1.1 ECAT Exam Pattern, Scoring Scheme & UET Merit Aggregate 1.2 Time Management, Pacing & MCQ Problem-Solving Tactics

2 Chapter 2: Mathematics — Number Systems, Sets & Algebra

2.1 Real Numbers, Sets, Logic, Binary Operations & Groups 2.2 Complex Numbers, Modulus, Conjugates & De Moivre's Theorem 2.3 Matrices, Determinants, Inverses & Systems of Linear Equations 2.4 Quadratic Equations, Relations Between Roots & Factor/Remainder Theorems

3 Chapter 3: Mathematics — Sequences, Series & Combinatorics

3.1 Arithmetic, Geometric & Harmonic Progressions (AP, GP, HP) 3.2 Permutations, Combinations & Probability Distributions 3.3 Mathematical Induction & the Binomial Theorem

4 Chapter 4: Mathematics — Trigonometry & Trigonometric Equations

4.1 Fundamental Trigonometric Identities & Angle Addition Formulas 4.2 Graphs of Trigonometric Functions & Inverse Trigonometric Functions 4.3 Solutions of Triangles (Sine/Cosine Laws) & Trigonometric Equations

5 Chapter 5: Mathematics — Functions, Limits & Continuity

5.1 Real-Valued Functions, Types, Domains & Ranges 5.2 Limits of Functions, Indeterminate Forms & Squeeze Theorem 5.3 Continuity, Types of Discontinuity & Asymptotes

6 Chapter 6: Mathematics — Differential Calculus

6.1 Definition of Derivative, Power, Product, Quotient & Chain Rules 6.2 Derivatives of Trigonometric, Exponential & Logarithmic Functions 6.3 Implicit Differentiation, Parametric Equations & Higher-Order Derivatives 6.4 Tangents, Normals, Increasing/Decreasing Functions & Extrema

7 Chapter 7: Mathematics — Integral Calculus

7.1 Indefinite Integration Formulas & Integration by Substitution 7.2 Integration by Parts & Partial Fractions 7.3 Definite Integrals, Properties & Fundamental Theorem of Calculus 7.4 Area Under Curves & First-Order Differential Equations

8 Chapter 8: Mathematics — Analytic Geometry, Linear Programming & Vectors

8.1 Coordinates, Slopes, Straight Line Equations & Distances 8.2 Linear Inequalities & Linear Programming 8.3 Circle Equations, Tangents, Normals & Intersections 8.4 Conic Sections: Parabola, Ellipse & Hyperbola Characteristics 8.5 Vectors in 2D and 3D, Dot Product, Cross Product & Scalar Triple Product

9 Chapter 9: Physics — Measurements, Vectors & Equilibrium

9.1 Physical Quantities, SI Units, Errors & Dimensional Analysis 9.2 Vector Addition, Components, Scalar & Vector Products in Physics 9.3 Equilibrium Conditions, Torque & Rotational Equilibrium

10 Chapter 10: Physics — Kinematics, Dynamics & Energy

10.1 Kinematics: Displacement, Velocity, Acceleration & Motion Equations 10.2 Newton's Laws of Motion, Momentum, Impulse & Elastic Collisions 10.3 Projectile Motion: Trajectory, Height, Flight Time & Range 10.4 Work, Energy, Work-Energy Theorem, Conservative Forces & Power

11 Chapter 11: Physics — Circular Motion, Gravitation, Fluids & Oscillations

11.1 Uniform Circular Motion, Centripetal Force & Moment of Inertia 11.2 Gravitation, Escape Velocity, Satellites & Weightlessness 11.3 Viscosity, Drag Force, Equation of Continuity & Bernoulli's Principle 11.4 Simple Harmonic Motion (SHM), Pendulum, Mass-Spring & Resonance

12 Chapter 12: Physics — Waves, Optics, Optical Instruments & Thermodynamics

12.1 Waves, Speed of Sound, Standing Waves & Doppler Effect 12.2 Wave Theory of Light, Interference & Young's Double-Slit Experiment 12.3 Diffraction Grating, Resolving Power & Polarization of Light 12.4 Optical Instruments: Magnifiers, Microscopes, Telescopes, Spectrometer & Fibre Optics 12.5 Kinetic Theory of Gases, First Law, Heat Engines & Carnot Cycle

13 Chapter 13: Physics — Electrostatics, Current Electricity & Electromagnetism

13.1 Coulomb's Law, Electric Fields, Gauss's Law & Capacitors 13.2 Electric Current, Resistance, Ohm's Law, Kirchhoff's Rules & Potentiometer 13.3 Magnetic Fields, Ampere's Law, Faraday's Law, Lenz's Law & Transformers

14 Chapter 14: Physics — Alternating Current, Physics of Solids & Electronics

14.1 Alternating Current: RMS Values, Reactance, Impedance, Resonance & Power 14.2 Physics of Solids: Elasticity, Band Theory, Superconductors & Magnetic Materials 14.3 Electronics: p-n Junction, Rectifiers, Transistors, Op-Amps & Logic Gates

15 Chapter 15: Physics — Modern, Atomic & Nuclear Physics

15.1 Special Relativity, Mass–Energy Equivalence, Pair Production & Annihilation 15.2 Photoelectric Effect, Photons, Atomic Spectra, X-Rays & Nuclear Reactions 15.3 Lasers, Nuclear Reactors, Radiation Detectors, Dosimetry & Elementary Particles

16 Chapter 16: Chemistry — Basic Concepts, Atomic Structure, Bonding & States of Matter

16.1 Mole Concept, Stoichiometry, Limiting Reactants, Isotopes & Experimental Techniques 16.2 Atomic Structure, Bohr's Model, Quantum Numbers & Electronic Configurations 16.3 Chemical Bonding: Ionic, Covalent & Coordinate Bonds, VSEPR, Hybridization & MOT 16.4 Gas Laws, Ideal Gas Equation, Kinetic Molecular Theory & Real Gases 16.5 Liquids, Intermolecular Forces, Hydrogen Bonding & Crystal Lattices

17 Chapter 17: Chemistry — Energetics, Equilibrium & Kinetics

17.1 Enthalpy Changes, Calorimetry, Hess's Law & Born-Haber Cycle 17.2 Reversible Reactions, Equilibrium Constants (Kc, Kp), Le Chatelier & Ksp 17.3 Solutions, Concentration Units, Colligative Properties & Raoult's Law 17.4 Reaction Rates, Rate Equations, Order of Reaction & Activation Energy

18 Chapter 18: Chemistry — Periodic Trends, s-, p- & d-Block Elements & Electrochemistry

18.1 Periodic Trends: Atomic Radii, Ionization Energies & Electronegativities 18.2 Chemistry of s-Block and p-Block Elements (Groups I, II, III, IV, VII) 18.3 Groups V-A & VI-A: Nitrogen, Phosphorus, Oxygen & Sulphur Compounds 18.4 Transition Elements: Electronic Configurations, Complexes & Colors 18.5 Oxidation Numbers, Electrochemical Cells, Standard Potentials & Batteries

19 Chapter 19: Chemistry — Organic Chemistry & Reaction Mechanisms

19.1 Organic Functional Groups, IUPAC Nomenclature & Structural/Stereoisomerism 19.2 Aliphatic Hydrocarbons: Alkanes, Alkenes, Alkynes & Addition Reactions 19.3 Benzene: Electronic Structure, Resonance Stability & Electrophilic Substitution 19.4 Alkyl Halides (SN1/SN2), Grignard Reagents & Functional-Group Tests 19.5 Alcohols, Phenols & Ethers: Preparation and Reactions 19.6 Aldehydes, Ketones, Carboxylic Acids, Acid Derivatives & Amino Acids

20 Chapter 20: Chemistry — Macromolecules, Chemical Industries & Environment

20.1 Macromolecules: Polymers, Carbohydrates, Proteins, Lipids, Enzymes & Nucleic Acids 20.2 Chemical Industries in Pakistan & Environmental Chemistry

21 Chapter 21: English — Reading Comprehension, Vocabulary & Grammar

21.1 Reading Comprehension Strategies, Main Ideas, Inferences & Tone 21.2 Academic Vocabulary, Context Clues, Synonyms & Antonyms 21.3 Subject-Verb Agreement, Tenses & Grammatical Concord 21.4 Sentence Correction, Parallelism, Modifiers & Prepositions

14.3 Electronics: p-n Junction, Rectifiers, Transistors, Op-Amps & Logic Gates

Key Takeaways Explain This Topic AI

A p-n junction forms a depletion region with a barrier potential of about 0.7 V for silicon and 0.3 V for germanium; it conducts when forward biased and blocks (apart from a tiny leakage current) when reverse biased.

A half-wave rectifier uses one diode and passes alternate half-cycles; a full-wave bridge rectifier uses four diodes so both half-cycles drive current the same way through the load, and a capacitor smooths the output.

In a transistor I E = I B + I C I_E = I_B + I_C I E ​ = I B ​ + I C ​ and the current gain is β = I C I B \beta = \frac{I_C}{I_B} β = I B ​ I C ​ ​ ; for amplification the base–emitter junction is forward biased and the collector–base junction reverse biased.

An ideal op-amp has very high open-loop gain and input resistance; the inverting amplifier gain is − R f R 1 -\frac{R_f}{R_1} − R 1 ​ R f ​ ​ and the non-inverting gain is 1 + R f R 1 1 + \frac{R_f}{R_1} 1 + R 1 ​ R f ​ ​ .

NAND and NOR gates are universal: any logic function can be built from either one alone, and the NAND output is 0 only when all inputs are 1.

Last updated: October 2026

Electronics: p-n Junction, Rectifiers, Transistors, Op-Amps & Logic Gates

Electronics builds directly on the n-type and p-type semiconductors introduced in Section 14.2. Most questions test either a definition (biasing, majority carriers, gate outputs) or a short calculation (transistor currents, amplifier gain), so clarity on the basic rules is enough to score well.

1. The p-n Junction

When p-type and n-type material are joined, electrons diffuse from the n-side into the p-side and holes diffuse the other way. They recombine near the boundary, leaving a thin depletion region of fixed ions (negative on the p-side, positive on the n-side) with no free carriers. The resulting electric field creates a potential barrier :

  • about 0.7 V 0.7\text{ V} 0.7 V for silicon
  • about 0.3 V 0.3\text{ V} 0.3 V for germanium
  • Biasing
  • Bias Connection Depletion region Current
  • Forward p-side to positive terminal Narrows Large current once the applied voltage exceeds the barrier
  • Reverse p-side to negative terminal Widens Very small leakage current from minority carriers

The diode's I–V curve is therefore highly non-linear: almost no current below about 0.7 V (Si) in forward bias, then a steep rise. A very large reverse voltage causes breakdown .

2. Rectification

A rectifier converts AC into DC.

Half-wave rectifier: one diode in series with the load conducts only during the half-cycles that forward-bias it; the other half-cycles are cut off. Output is pulsating DC at the supply frequency.

Full-wave bridge rectifier: four diodes arranged in a bridge. In each half-cycle, two diodes conduct and route the current through the load in the same direction . The output pulses at twice the supply frequency (100 Hz from 50 Hz mains).

Smoothing: a capacitor connected across the load charges near each peak and discharges slowly between peaks, reducing the ripple .

3. Special-Purpose Diodes

Device Principle Use

Light-emitting diode (LED) Forward-biased; electrons and holes recombine and emit photons. Colour depends on the band gap of the material (for example gallium arsenide phosphide) Indicators, displays, lighting

Photodiode Reverse-biased; light creates electron–hole pairs that increase the reverse current Light detection, optical communication, counters

Photovoltaic (solar) cell Unbiased junction; light creates carriers that are separated by the junction field, producing an emf Solar panels, calculators

4. The Transistor

A bipolar junction transistor (BJT) is a thin, lightly doped base sandwiched between an emitter (heavily doped) and a collector (moderately doped, largest). It may be npn or pnp ; in the circuit symbol the arrow on the emitter points in the direction of conventional current.

Currents

I E = I B + I C , β = I C I B I_E = I_B + I_C, \qquad \beta = \frac{I_C}{I_B} I E ​ = I B ​ + I C ​ , β = I B ​ I C ​ ​

Because the base is thin and lightly doped, most carriers from the emitter cross into the collector, so I B I_B I B ​ is only a small fraction of I E I_E I E ​ and β \beta β is typically 50 to a few hundred.

Example: with I B = 20 μ A I_B = 20\,\mu\text{A} I B ​ = 20 μ A and β = 150 \beta = 150 β = 150 , I C = 3.0 mA I_C = 3.0\text{ mA} I C ​ = 3.0 mA and I E = 3.02 mA I_E = 3.02\text{ mA} I E ​ = 3.02 mA .

Transistor as an Amplifier

For amplification, the base–emitter junction is forward biased and the collector–base junction is reverse biased . In the common-emitter amplifier, a small change in base current produces a large change in collector current; the voltage across the collector load resistor R C R_C R C ​ changes correspondingly. The output voltage is inverted ( 180 ∘ 180^\circ 18 0 ∘ out of phase) relative to the input.

Transistor as a Switch

Cut-off (OFF): base current is zero, collector current is (almost) zero, and the transistor behaves like an open switch.

Saturation (ON): a large base current drives the collector current to its maximum, and the voltage across the transistor is very small, like a closed switch.

Switching circuits are used in automatic lighting (with a light-dependent resistor) and in digital electronics.

5. The Operational Amplifier (Op-Amp)

An op-amp is an integrated-circuit amplifier with an inverting input ( − - − ), a non-inverting input ( + + + ) and one output. Its open-loop gain A O L A_{OL} A O L ​ is very high (around 10 5 10^5 1 0 5 or more), its input resistance is very high and its output resistance is low. Without feedback, the output is

V o = A O L ( V + − V − ) V_o = A_{OL}(V_+ - V_-) V o ​ = A O L ​ ( V + ​ − V − ​ )

and it saturates near the supply voltage for any appreciable difference between the inputs.

Circuit Feedback Gain

Inverting amplifier R f R_f R f ​ from output to − - − input; input through R 1 R_1 R 1 ​ G = − R f R 1 G = -\frac{R_f}{R_1} G = − R 1 ​ R f ​ ​

Non-inverting amplifier R f R_f R f ​ from output to − - − input; R 1 R_1 R 1 ​ from − - − input to ground; signal at + + + G = 1 + R f R 1 G = 1 + \frac{R_f}{R_1} G = 1 + R 1 ​ R f ​ ​

Comparator No feedback Output switches to + V sat +V_{\text{sat}} + V sat ​ or − V sat -V_{\text{sat}} − V sat ​ depending on which input is larger

Example: an inverting amplifier with R 1 = 10 k Ω R_1 = 10\text{ k}\Omega R 1 ​ = 10 k Ω and R f = 100 k Ω R_f = 100\text{ k}\Omega R f ​ = 100 k Ω has G = − 10 G = -10 G = − 10 , so a 0.2 V input gives − 2.0 V -2.0\text{ V} − 2.0 V . A non-inverting amplifier with the same resistors has G = 11 G = 11 G = 11 .

A comparator with a thermistor or light-dependent resistor in a voltage divider forms a night switch or temperature alarm: the output changes state when the sensor voltage crosses a reference.

6. Logic Gates

Digital circuits use two voltage levels, written 1 (high) and 0 (low).

  • A B AND OR NAND NOR XOR XNOR
  • 0 0 0 0 1 1 0 1
  • 0 1 0 1 1 0 1 0
  • 1 0 0 1 1 0 1 0
  • 1 1 1 1 0 0 0 1

The NOT gate (inverter) has one input and outputs its complement: A ˉ \bar{A} A ˉ .

  • Gate Boolean expression Rule of thumb
  • AND X = A ⋅ B X = A \cdot B X = A ⋅ B 1 only if all inputs are 1
  • OR X = A + B X = A + B X = A + B 1 if any input is 1
  • NAND X = A ⋅ B ‾ X = \overline{A \cdot B} X = A ⋅ B 0 only if all inputs are 1
  • NOR X = A + B ‾ X = \overline{A + B} X = A + B ​ 1 only if all inputs are 0

XOR X = A ⊕ B = A B ˉ + A ˉ B X = A \oplus B = A\bar{B} + \bar{A}B X = A ⊕ B = A B ˉ + A ˉ B 1 if the inputs differ

XNOR X = A ⊕ B ‾ X = \overline{A \oplus B} X = A ⊕ B ​ 1 if the inputs are equal

Universal gates: NAND alone (or NOR alone) can build every other gate. Joining both inputs of a NAND gate makes a NOT gate; a NAND followed by a NOT gives AND.

De Morgan's theorems for logic, A + B ‾ = A ˉ ⋅ B ˉ \overline{A + B} = \bar{A}\cdot\bar{B} A + B ​ = A ˉ ⋅ B ˉ and A ⋅ B ‾ = A ˉ + B ˉ \overline{A \cdot B} = \bar{A} + \bar{B} A ⋅ B = A ˉ + B ˉ , mirror the set-theory laws in Section 2.1. Logic gates are used in alarms (for example, sounding if a door is open AND the system is armed), in arithmetic circuits and in computer memory.

Loading diagram... Choosing the Operating Mode of a Transistor