Physics for Computer Science
An applied, in-depth structure of the 30-session course — every module and every numbered session with its objectives, topics, governing equations and key readings. Live demos on the interactive lab are cross-linked where a session has a matching simulation.
This course introduces the basic concepts for understanding the physics behind computer science. It begins with elementary physics of mechanical systems and electromagnetic forces, then moves to the analysis of electric circuits. The main part describes basic models of semiconductors and how they are used to build transistors — the key element to represent formal logic in a computer. The final part is devoted to an emergent computer science, quantum computing, where the basic principles of quantum mechanics are introduced.
The narrative is deliberately cumulative: classical mechanics fixes the language of force, energy and conservation laws; electromagnetism and circuits turn those ideas into voltages and currents; the solid-state block explains why a doped crystal can switch; and the quantum block reopens the foundations to explain both the transistor's deepest physics and the qubit that may succeed it. The through-line is the single question: what physical laws make computation possible?
Professor profile — experimental and computational physicist (solid-state & polymer physics); PhD, Case Western Reserve University. Office hours on request by email.
Learning objectives
Understand the basic laws of any modern electronic and computing technology — namely:
- Understand Newton's laws and the phenomena associated with mechanical forces.
- Understand the main phenomena associated with electromagnetic forces.
- Solve elementary DC circuits.
- Understand basic models of semiconductors.
- Understand the basic structure of transistors, and how they can be used to build logic circuits.
- Understand the basic principles of quantum mechanics.
Methodology & assessment
IE University's teaching method is collaborative, active and applied. Students build knowledge across a diverse range of activities; the professor leads and guides toward the learning objectives. Total dedication is 150 hours, split across the learning activities below.
Learning activities
Evaluation criteria
Components in detail — deliverable & evaluation
Pass, attendance & re-sit rules
- Attendance: the 80% attendance rule applies. Students who do not comply fail both calls (ordinary and extraordinary) for the year and must re-take the course the following year.
- Four calls: each student has four chances to pass a course, distributed over two consecutive academic years (ordinary calls plus June/July re-sits).
- Re-sit (June/July): a comprehensive exam requiring physical presence on campus (Segovia or Madrid); continuous evaluation is not carried over. Minimum passing grade 5, maximum grade 8.0 ("notable").
- Re-takers: students re-enrolled from a previous year must check the assigned professor's syllabus and agree specific criteria; maximum retake grade 10.0.
- Review & appeals: a grade review session follows each call; attending it is a prerequisite for any grade appeal.
- Program rule: failing more than 18 ECTS after the June/July re-sits may lead to being asked to leave the program.
- GenAI policy: permitted for specified tasks with acknowledgment; inappropriate use is academic misconduct and may fail the assignment or course.
Program — 30 sessions, 5 blocks
Every session is delivered live in-person. Numbers match the syllabus. Each session carries its governing equation(s), a key idea, and annotated readings; tags link to the matching interactive demo.
Foundations & classical mechanics
sessions 1–5Elementary physics: what physics is, units and modeling, then Newton's laws and mechanical energy — the groundwork for everything that follows.
- express any quantity in SI base units and check equations by dimensional analysis;
- draw a correct free-body diagram and apply $\sum\vec F=m\vec a$ to find acceleration;
- use the work–energy theorem and conservation of energy to solve motion problems without integrating forces.
Overview of the course
Live · introductionOrient to the course and establish a shared language of physical units.
- Overview of the course — the arc from mechanics to quantum computing and how each block builds on the last.
- Introduction to physical units — SI base units and dimensional consistency as a sanity check on every result.
Basic concepts in Physics and Science
Live · lectureFrame physics as the modeling of reality and connect it to computer science.
- What is Physics? — describing nature with quantitative, testable models.
- Matter, space and time — the primitive quantities physics builds on.
- Forces — interactions that change a body's state of motion.
- Equations of movement — kinematics linking position, velocity and acceleration.
- Doing science — hypothesis, measurement, falsification.
- Measurements and units — uncertainty and significant figures.
- Modeling reality — choosing the simplest model that captures the phenomenon.
- Physics and computer science — simulation, numerical methods and hardware as applied physics.
Newton's laws
Live · lectureUnderstand Newton's three laws and analyze forces with free-body diagrams.
- Forces — pushes/pulls measured in newtons.
- Newton's First law — inertia: with no net force, velocity is constant.
- Newton's Second law — net force sets acceleration.
- Newton's Third law — action–reaction pairs are equal and opposite.
- Free body diagrams — isolate one body and draw every force on it.
- Equilibrium — $\sum\vec F=0$ for bodies at rest or constant velocity.
Serway ch. 4–5 — particle dynamics and applications of Newton's laws, with friction and incline worked examples mirroring the demo.
Mechanical energy
Live · lectureRelate work and power to kinetic and potential energy and apply conservation.
- Work — energy transferred by a force along a displacement.
- Power — rate of doing work.
- Work-energy theorem — net work equals the change in kinetic energy.
- Kinetic energy — energy of motion, $\tfrac12 mv^2$.
- Potential energy — stored energy of configuration, e.g. $mgh$.
- Conservation of mechanical energy — KE+PE constant without dissipation.
- Conservation of energy — the universal bookkeeping law including heat.
Serway ch. 7–8 — work, kinetic energy and the conservation of energy, including spring potential energy used by the SHM demo.
Workshop on mechanical systems
Live · workshopApply Newton's laws and energy conservation to solve mechanical-system problems.
- Hands-on problem solving — forces, motion and energy on inclines, pulleys and springs.
Electromagnetism
sessions 6–11Electric charge, fields and potential; capacitance and dielectrics; current, magnetic forces and electromagnetic induction — the main phenomena of electromagnetic forces.
- compute the field and potential of point charges and relate work to potential energy;
- find the capacitance, field and stored energy of a capacitor, with and without a dielectric;
- apply the Lorentz force and Faraday's law to charges, currents and changing flux.
Electric force and voltage
Live · lectureUnderstand the electrostatic field and relate electric work to potential energy.
- Electric charge — quantised, conserved property of matter.
- Electric force — Coulomb's inverse-square attraction/repulsion.
- Electrostatic field — force per unit test charge.
- Electric potential — potential energy per unit charge (volts).
- Electric work — work moving charge through a potential difference.
- Electric Potential energy — stored energy of a charge configuration.
Serway ch. 22–25 — electric fields, Gauss's law, potential and potential energy underpinning the E-field demo.
Capacitance
Live · lectureUnderstand polarization, dielectrics and how capacitors store charge and energy.
- Polarization — alignment of bound charge in a field.
- Electric dipole — equal-and-opposite charge pair, the building block of dielectrics.
- Dielectrics — insulators that raise capacitance by factor $\kappa$.
- Capacitors — devices that store charge and energy in a field.
Young & Freedman ch. 24 — capacitance, dielectrics and energy storage matching the capacitor demo's $C$, $E$ and $U$ readouts.
Workshop on electric forces and capacitance
Live · workshopSolve problems on electrostatic fields, potential and capacitor networks.
- Applied problems — superposing fields, potential differences and series/parallel capacitor networks.
Current and magnetic forces
Live · lectureConnect electric current and Ohm's law to magnetic fields, forces and materials.
- Electric current — rate of charge flow, $I=dQ/dt$.
- Ohm's law — current proportional to voltage across a resistor.
- Electromotive force — energy per charge supplied by a source.
- Magnetic force — the velocity-dependent Lorentz force.
- Magnetic field — produced by moving charge / current.
- Magnetic flux — field threading a surface.
- Magnetic dipole — current loop as a magnet.
- Magnetic materials — dia-, para- and ferromagnetism.
Serway ch. 27–30 — current, resistance, magnetic fields and sources of magnetism behind the Lorentz-force and Ohm demos.
Induction
Live · lectureUnderstand electromagnetic induction via Faraday's and Lenz's laws and inductance.
- Faraday's law — a changing flux induces an EMF.
- Lenz's law — the induced current opposes the change.
- Alternators — rotating loops turning motion into AC.
- Self-inductance — a coil opposing changes in its own current.
- Inductors — energy-storing magnetic components.
Young & Freedman ch. 29–30 — electromagnetic induction, Faraday's and Lenz's laws, and inductance.
Workshop on magnetism and induction
Live · workshopSolve problems on magnetic forces, flux and induced electromotive force.
- Applied problems — gyroradius, flux through moving loops and induced EMF.
Electric circuits
sessions 12–16Direct-current circuit analysis — components, Kirchhoff's rules and systematic methods — applied right up to a simple circuit for a machine-learning model, then review and the midterm.
- identify passive/active components and reduce series–parallel resistor networks;
- apply Kirchhoff's current and voltage laws to solve multi-loop DC circuits;
- compute power dissipation and analyse the transient response of an RC circuit.
Direct current circuits
Live · lectureAnalyze DC circuits systematically using components, power and Kirchhoff's rules.
- Circuits — closed conducting paths for charge.
- Passive components — resistors, capacitors, inductors.
- Active components — sources and amplifying devices.
- Electrical measuring devices — ammeters and voltmeters.
- Kirchhoff's rules — node (current) and loop (voltage) laws.
- Transient and steady state — time-dependent vs. settled behaviour.
- Electric power — energy dissipation rate, $P=VI$.
- Systematic circuit analysis — node/mesh methods.
Serway ch. 28 — direct-current circuits, Kirchhoff's rules and RC transients matching both circuit demos.
Workshop on DC circuits: circuit analysis
Live · workshopPractice systematic analysis of series and parallel DC circuits.
- Hands-on circuit analysis — reducing networks and solving for branch currents.
Workshop on DC circuits: a simple circuit for a simple machine learning model
Live · workshopBuild a DC circuit that realizes a simple machine-learning model — physics meets CS.
- Circuit realization of an ML model — resistors as weights, summing node as a neuron, threshold as activation.
Q&A review session
Live · reviewConsolidate mechanics, electromagnetism and circuits ahead of the midterm.
- Open question & answer review — clearing doubts across blocks 1–3.
Midterm test
Live · assessmentGraded intermediate test covering blocks 1–3 (mechanics, electromagnetism, circuits).
- Scope — Newton's laws, energy, fields, capacitance, magnetism, induction, DC circuits.
- Weighting — counts toward the 30% intermediate-tests component.
Semiconductors, transistors & digital logic
sessions 17–23From the physics of solids and doping to p–n junctions, diodes and bipolar transistors — and how transistors build the logic gates at the heart of every computer.
- explain conduction via energy bands, holes and doping in semiconductors;
- read a diode I–V curve and analyse rectifier circuits with the Shockley equation;
- describe BJT operation and build logic gates and truth tables from transistors.
Semiconductors
Live · lectureUnderstand band structure, doping and conduction in semiconductors.
- Condensed matter — solids and liquids with strong interactions.
- Crystalline solid — periodic atomic lattice.
- Bonding in solids — covalent, ionic, metallic bonds.
- Energy bands — allowed energy ranges with a gap $E_g$.
- Semiconductors — small-gap materials, conductivity between metals and insulators.
- Holes — missing electrons acting as positive carriers.
- Impurities and doping — n-type (donors) and p-type (acceptors).
- Electric field on semiconductors — drift of carriers.
- Inhomogeneous semiconductors — junctions between doped regions.
Young & Freedman ch. 42 — molecules and condensed matter: bonding, energy bands and semiconductors.
Diodes
Live · lectureUnderstand the p–n junction, its I–V curve and diode-based circuits.
- P-N junction: structure — adjoining p- and n-type regions.
- P-N junction in equilibrium — depletion region and built-in potential.
- Polarized P-N junction — forward vs. reverse bias.
- Characteristic curve I-V — exponential turn-on.
- LEDs — radiative recombination emitting photons.
- Circuits with diodes — rectifiers and clippers.
Serway ch. 43 — semiconductor devices: the p–n junction, diodes and LEDs feeding the diode I–V demo.
Workshop on diodes
Live · workshopAnalyze rectifier and clipping circuits built from diodes.
- Hands-on diode circuits — half/full-wave rectifiers and clipping with the ideal-diode model.
Bipolar transistors
Live · lectureUnderstand BJT structure, biasing and modeling for circuit analysis.
- Transistors — three-terminal devices controlling current.
- BJT transistor — npn/pnp sandwiches of doped silicon.
- Basic functioning — small base current controls large collector current.
- Polarization of the transistor — biasing into active/cutoff/saturation.
- Modeling the transistor — small-signal and large-signal models.
- Circuit analysis with transistors — amplifiers and switches.
Sedra & Smith (suppl.) — bipolar junction transistors, biasing and small-signal models for circuit analysis.
Workshop on circuits with BJT
Live · workshopAnalyze and bias amplifier and switching circuits using BJTs.
- Hands-on BJT circuits — setting the operating point and computing gain.
Logic gates
Live · lectureSee how transistors implement digital logic, truth tables and logic families.
- Digital circuits — two-level (0/1) signalling.
- Logic gates — AND, OR, NOT, NAND, NOR, XOR.
- Truth tables — full input→output specification.
- Logic families — TTL, CMOS and their trade-offs.
Workshop on logic gates
Live · workshopBuild and verify logic functions from gates and truth tables.
- Hands-on logic-gate construction — realising functions and checking them against truth tables.
Quantum physics & quantum computing
sessions 24–30The origins of quantum theory through to qubits and quantum logic — an emergent computer science — closing with review and the final assessments.
- explain the experiments (blackbody, photoelectric) that forced the quantum hypothesis;
- relate photon energy and the work function and apply $E_k=hf-\phi$;
- describe a qubit, superposition and basic quantum gates, and contrast them with classical bits.
Quantum Physics I: Origins and Concepts
Live · lectureUnderstand the crisis of classical physics that gave rise to quantum mechanics.
- Historical crisis of classical physics — phenomena classical theory could not explain.
- Ultraviolet catastrophe & blackbody radiation — Planck's quantised energy resolves it.
- Photoelectric effect & Planck's hypothesis — light as quanta of energy $hf$.
- Bohr model of the atom — quantised orbits and spectral lines.
- Wave-particle duality — matter and light are both wave and particle.
Young & Freedman ch. 38–39 — photons, the photoelectric effect and the particle nature of light; the wave nature of particles.
Quantum Physics II: Quantum Computing
Live · lectureUnderstand qubits, superposition and entanglement, and basic quantum logic.
- Superposition and entanglement — states as combinations; correlated multi-qubit states.
- Quantum states and measurement — probabilistic collapse on measurement.
- Qubits vs. classical bits — a continuum of states vs. just 0/1.
- Basic quantum logic gates — X, H, Z, S as unitary operations.
- Quantum computing — exploiting superposition for parallelism.
- Real-world applications: cryptography — Shor's algorithm and quantum key distribution.
Young & Freedman ch. 40 (suppl.) — quantum mechanics, wavefunctions and measurement underpinning the qubit demo.
Workshop on Quantum Physics
Live · workshopWork through qubit-state and quantum-gate problems hands-on.
- Hands-on exercises — applying gates to qubit states and computing measurement probabilities.
Q&A review session
Live · reviewConsolidate electronics and quantum physics before the final assessments.
- Open question & answer review — clearing doubts across blocks 4–5.
Final test on electronics and quantum physics
Live · assessmentGraded intermediate test covering blocks 4–5 (semiconductors, transistors, logic, quantum).
- Scope — bands & doping, diodes, BJTs, logic gates, photoelectric effect, qubits.
- Weighting — counts toward the 30% intermediate-tests component.
Final exam
Live · assessmentComprehensive final exam spanning all five blocks — 40% of the grade, minimum 3.5 required to pass.
- Span — delivered across sessions 29–30.
- Coverage — comprehensive across mechanics, EM, circuits, electronics and quantum.
- Gate — a minimum of 3.5/10 on this exam is required to pass the course.
Key concepts & key equations
A compact reference of the core terms and governing equations that recur across the five blocks.
Mechanics
Electromagnetism
Circuits
Semiconductors & logic
Quantum
Bibliography
Core and supporting texts, annotated with the sessions each one supports.