0 2026/notes/misc

notes: math 327, math 300, phys 143, math 207

real analysis, intro to proofs, physics waves and fake quantum, and differential equations

Hi! These notes are part of this larger collection of notes from my freshman year at UW.

Table of Contents

MATH 327 - Real Analysis

Matthew Conroy, Spring 2026.

Field axioms and Order axioms: Reals are an ordered field.

Absolute value.

If \forall x \in \mathbb R, f(f(x)) = f(x), then f is idempotent. E.g. \lfloor x \rfloor, |x|, x, 1.

If S is finite and nonempty, both \min S and \max S exist.

Completeness axiom: Bounded above and nonempty implies supremum exists in \mathbb R, but not in \mathbb Q.

“Bounded” = bounded both above and below.

If S is bounded below, then \{-x \mid x \in S\} is bounded above.

Archimedean property is a consequence of the completeness axiom: For all x,y \in \mathbb R with x>0, there exists n \in \mathbb N such that n x > y. There are no infinitely big or small reals.

All nonempty finite sets have a maximum (Induction on set cardinality).

A set S\subseteq \mathbb R is dense if for all x \in \mathbb R and all \varepsilon > 0, there exists s \in S such that |x -s| < \varepsilon.

Lemma: Let a,b \in \mathbb R be reals with b - a > 1. Then \exists n \in \mathbb Z, n \in (a, b).

Theorem: \mathbb Q is dense in the reals. Let a,b\in\mathbb R with a < b, then \exists q \in \mathbb Q with a < q < b.

A sequence a_n : \mathbb N \to \mathbb R has a limit L \in \mathbb R if

Irrationals are dense in the reals: Suppose \forall x \in (a,b), x \in \mathbb Q. Then we have an injection (a,b) \to \mathbb Q, so (a,b) is countable. This is a contradiction with the fact that (a,b) is uncountable.

Convergence Theorems

If (a_n) is a convergent sequence, then (a_n) is bounded: Choose some \varepsilon, and for n > N \varepsilon is the bound, but n \le N is a finite set and is this bounded.

Abuse of notation:

Theorem: If (a_n) and (b_n) both converge, then

Squeeze theorem: If for all n \in \mathbb N, a_n \le b_n \le c_n and \lim a_n = \lim b_n=L, then \lim c_n = L.

Let (S_n) be a sequence where \forall n, S_n \ne 0 and \lim S_n \ne 0. Then \exists m > 0 such that \forall n, |S_n| > m. We say S_n is bounded away from zero.

Let (S_n) be a sequence where L = \lim S_n \ne 0 and \forall n, S_n \ne 0. Then the sequence \left(\frac{1}{S_n}\right) also converges to 1/L.

Let (a_n) and (b_n) be convergent sequences with \lim b_n \ne 0. Then

Monotone Sequences: A sequence (a_n) is increasing or non-decreasing if \forall n, a_{n+1} \ge a_n and decreasing or non-increasing if \forall n, a_{n+1} \le a_n. These sequences are monotone.

Cauchy Sequences

A sequence (x_n) is Cauchy iff for all \varepsilon > 0, there exists some N \in \mathbb N such that for all n,m > N, we have |x_m - x_n| < \varepsilon.

A sequence converges if and only if it is Cauchy.

Let (a_n) be a sequence, and let n_k be a strictly increasing sequence of positive integers. Then (a_{n_k}) is a subsequence of (a_n).

Series

Comparison test: Suppose \sum a_n and \sum c_n are series.

  1. If |a_n| < c_n for n \ge N_0 for N_0 \in \mathbb N and \sum c_n converges, then \sum a_n converges.
  2. If a_n \ge c_n \ge 0 for n \ge N_0 for N_0 \in \mathbb N and \sum c_n diverges, then \sum a_n diverges.

Cauchy condensation test: Suppose \sum a_n is a decreasing positive term series (\forall n, a_n \ge 0\land a_{n+1}\le a_n). Then \sum a_n converges if and only if S=\sum_{i=0}^\infty 2^i a_{2^i} converges.

Easy way to prove convergence/divergence of p-series 1/n^p.

If \sum a_n converges, then \lim a_n = 0 (Cauchy criterion it).

Absolute convergence test: If \sum |a_n| converges, then \sum a_n also converges.

Limit comparison test: Let \sum a_n and \sum b_n be positive term series (a_n, b_n > 0). Suppose that \lim \frac{a_n}{b_n} = L and L > 0. Then \sum a_n converges if and only if \sum b_n converges.

Ratio test: Suppose we have a series \sum a_n where \lim \left|\frac{a_{n+1}}{a_n}\right|= L. Then \sum a_n converges if L < 1 and diverges if L > 1. N.B. that L=1 tells us nothing.

Root test: Let (a_n) be a sequence with L = \lim |a_n|^{1/n}. Then \sum |a_n| converges if L < 1 and diverges if L > 1. N.B. If L does not exist/converge or if L=1 this test tells us nothing.

Alternating Series: Let (a_n) be a sequence of non-negative terms. Then we say \sum (-1)^n a_n an alternating series

Alternating series test: Let (a_n) be a decreasing sequence of non-negative reals, and suppose \lim a_n = 0. Then \sum (-1)^{n+1} a_n converges.

Continuous Functions

Sequence definition: A function f : U \to \mathbb R is continuous at x_0 \in U if and only if for every sequence (x_n) : \mathbb N \to U with \lim x_n = x_0, we have f(x_0) = \lim f(x_n).

\varepsilon-\delta definition: A function f : U \to \mathbb R is continuous at x_0 \in U if and only if

These two defs are equivalent. Sequence \implies \varepsilon-\delta is a proof by contradiction, as not \varepsilon-\delta lets us build a sequence that breaks the sequence definition. \varepsilon-\delta \implies Sequence

Pathological function: Thomae’s function is continuous on all irrationals and discontinuous on all rationals.

The set of discontinuities of any function must be F_{\sigma}, the countable union of closed sets.

is continuous at 0 and discontinuous everywhere else.

Bolzano-Weierstrass Theorem

Every bounded sequence has a convergent subsequence. Rephrasing: A subset of \mathbb R^n is sequentially compact if and only if it is closed and bounded.

Every convergent sequence contained in a closed interval has a limit in the interval.

All subsequences of a convergent sequence a_n converge to \lim a_n.

Extreme value theorem: If f is continuous on [a,b], then f is bounded on [a,b] and the image of [a,b] has a max and min.

Uniform continuity

A function f:A \to \mathbb R is uniformly continuous if and only if

Theorem: If f is continuous on a closed interval [a,b], then f is uniformly continuous on [a,b].

MATH 300 - Intro to Proofs

Farbod Shokrieh, Winter 2026.

Statement/sentence

Remark: P \wedge Q is not a statement, but a “statement form”. We only get a statement when we substitute statements for P and Q like (1+1=2)\wedge(x=x).

Axioms of Set theory

Quantifiers: \exists! = exists unique, etc etc

\begin{align}A = B &\iff \forall x, (x \in A \iff x \in B) \\ &\iff A \subseteq B \land B\subseteq A\end{align}

Def Subset: A \subseteq B \iff \forall x, (x\in A \implies x \in B)

Union, intersection, setminus:

A \cup B = \{x \mid x \in A \lor x \in B\},

A \cap B = \{x \mid x \in A \land x \in B\},

A \setminus B = \{x \mid x \in A \land x \not\in B\}.

Theorems on cartesian product.

  1. (A \cup B) \times C = (A \times C) \cup (B \times C)
  2. (A \cap B) \times C = (A \times C)\cup (B \times C)
  3. (A \setminus B)\times C = (A\times C) \setminus (B\times C)
  4. \varnothing \times A = \varnothing
  5. If A,B\ne \varnothing, then A\times B = B\times A \iff A = B.
  6. If U_A \subseteq A and U_B \subseteq B, then U_A \times U_B \subseteq A \times B.

Partitions and Relations

Let S \ne \varnothing. A partition \Pi of S is a pairwise disjoint collection of subsets of S that cover S. I.e. \Pi = \{ A_i \in \mathcal P(S) \}_{i \in I} such that A_i \ne \varnothing, \forall (i \ne j \in I), A_i \cap A_j = \varnothing, and \bigcup A_i = S.

A relation R is a set R \subseteq S \times S. The inverse relation R^{-1} = \{(x,y)\mid (y,x) \in R\} (sends \ge\;\to\;\le). The complement is the negation of the relation (\ge\;\to\;\lt).

Properties of relations (\forall x,y,z \in S):

  1. Reflexive: x R x.
  2. Symmetric: x R y \implies y R x.
  3. Transitive: x R y \land y R z \implies x R z.
  4. Antisymmetric: x R y \land y R x \implies x=y.
  5. Equivalence relation: If reflexivity, transitivity, and symmetry hold.
  6. (Partial) ordering: If reflexivity, transitivity, and antisymmetry hold.
    1. Total (or linear) ordering: x R y \lor y R x.

Hasse diagrams for orderings: a total ordering’s diagram will just be a line

Given a partition \Pi=\{A_i\}_{i\in I} on S, there is an induced equivalence relation R where xRy \iff \exists(i \in I), x,y \in A_i. In fact, all equivalence relations are induced by a partition.

Functions

A function f : A \to B is a relation f \subseteq A \times B such that \forall (x \in A), \exists! (y \in B), (x, y) \in f.

Examples of functions: Inclusion map \iota : A \xhookrightarrow{} B for A \subseteq B. Being a subset is the same thing as the existence of an inclusion map. Constant maps. Identity maps.

Equality of functions: f = g if they are equal as sets (i.e. domains are equal and \forall x in the domain, we have f(x) = g(x)).

consider the image of f : A \to B, given by f(A) = \{f(x) \mid x \in A\}. We say f is surjective if f(A) = B. We say that f is injective if \forall (x,y \in A), f(x) = f(y) \implies x = y. A function f is bijective (one-to-one correspondence) if it is both injective and surjective.

Cardinality shit

We use \tan : (-\pi / 2, \pi/2) \to \mathbb R as a bijection, and f : (a, b) \to (0, 1) given by x \mapsto \frac{x-a}{b-a} is also a bijection. Thus, R \approx (a,b).

Pigeonhole principle: For n > m, there exists no injection f : \mathbb N_n \to \mathbb N_m. Proof by inducting on n, proving that \forall (m < n), \lnot \exists(\text{injective } f : \mathbb N_n \to \mathbb N_m). Take the convention that 0 \in \mathbb N, and \mathbb N_n = \{0,1,\dots, n-1\}.

Generalized pigeonhole: If n pigeons go into m holes and n > km, then some hole will have at least k+1 pigeons. Proof: If not, every hole has at most k pigeons, so we must have had at most km pigeons, but we have n > km pigeons!

Generalization 2: Given a set A = \{a_1, \dots, a_{n+1}\} \subseteq \mathbb Z, there exist x, y \in A with x \ne y and x - y = k n for some k \in \mathbb Z (i.e. x \equiv y \mod n). Proof: Consider the remainder by n function f : A \to \mathbb N_n. If there are no two elements that share remainders, f is injective, a contradiction with pigeonhole principle.

Ramsey theory: R(3,3)=6: https://en.wikipedia.org/wiki/Ramsey%27s_theorem#R(3,_3)_=_6

Feb 27

Proof of PIE: |A \cup B| = |A| + |B| - |A \cap B|: do A \cup B = (A \setminus B) \cup (A \cap B) \cup (B\setminus A) as the union of disjoint sets. Then we do A = (A \setminus B) \cup (A \cap B) as the union of disjoint sets (and same for B), and we do algebra on the equations.

|A \times B| = |A| \cdot |B|: Write A \times B = \bigcup_{a \in A} \{a\}\times B as the union of pairwise disjoint sets.

Mar 2

Cantor’s theorem: |S| < |\mathcal P(S)|: This is true for the empty set, so only look at nonempty sets. Assume FTSOC that we have a bijection f : S \to \mathcal P(S). Consider U \subseteq S defined by U = \{x \in S \mid x \not\in f(x)\}. Then consider the element y = f^{-1}(U). We have that y \in U if and only if y \not\in f(y) by the definition of U. However, f(y) = U by the definition of y, so y \not\in f(y) if and only if y \not\in U. We have y \in U if and only if y \not\in U, a contradiction.

Mar 4

Every subset A \subseteq B of a countable set B is countable: only need to consider countably infinite A: use well-order of the naturals to repeatedly select the least element of A to put it into bijection with \mathbb N.

PHYS 143 - Honors Waves, Light, & Heat (Fake Quantum edition)

Miguel Morales, Spring 2026.

Week 1

Simple Harmonic Motion

Energy conservation

In[14]:= x[t_] := A Cos[Sqrt[k/m] t + \[Phi]]
In[15]:= 1/2 k x[t]^2 + 1/2 m (x'[t])^2
Out[15]= 
1/2 A^2 k Cos[Sqrt[k/m] t + \[Phi]]^2 + 
 1/2 A^2 k Sin[Sqrt[k/m] t + \[Phi]]^2

Read out v_\text{max} = A \omega = A \sqrt{\frac{k}{m}}.

Vertical/external force: F = F_\text{sp} + F_g = -k (x - x_0) + F_g, can just set 0 at equilib.

Measurement

Proportional is not the same as linear! Affine… “Unrelated” = dependent var is constant wrt. independent var.

Week 2

Undamped oscillation: \omega_0 = \sqrt{k / m}. Undamped Pendulum \omega = \sqrt{g / L}.

Underdamped oscillator: \omega = \sqrt{\omega_0^2 - \frac{b^2}{4m^2}} Full solution is

Week 3

Wave equation

or more generally

Wave speed is v=\sqrt{\frac{F_T}{\mu}}. Solution is

Wavenumber k = 2\pi/\lambda where \lambda is wavelength. Wave speed is v=\lambda f or \omega/k. Remember \omega = 2\pi/T where T is period, and f = 1/T.

2026-04-15

General formula for doppler shift:

where v is the speed of sound in the medium, v_\text{src} is speed of source relative to medium, and v_\text{obs} is speed of observer relative to medium. For sources moving towards each other, use +v_\text{obs}, and otherwise for sources moving away from each other use -v_\text{obs}.

Power and intensity of waves is propto amplitude^2, with proportionality constant depending on the type of wave I = \frac{P}{\text{Area}} \propto A^2 This is because we have total energy = \int_{\text{wavefront}}\frac{1}{2}kA^2\,dx where this pseudo-spring constant k has units N/m per unit area of wavefront (pressure per meter displaced?).

Decibels

For waves, we take m =\text{num antinodes} - 1: we start counting from m=0,1,2,3 where m=0 is usually no wave? I think that’s how it works.

Textbook convention for phase constant is \sin(\omega t + k x + \phi). Sin, + phi!!

2026-04-20

Young’s double slit experiment and their cursed small angle approximations…

  1. Distance between the sources = d, distance to screen L, and d <<< L.
  2. Parameterize points along screen with angle \theta from midpoint between sources, call distance from point on screen to midpoint r.
  3. We have that \Delta r between the sources is r_2 - r_1 = d \sin\theta, right angle between the parallel lines.
  4. Then y along the screen is y/L = \tan \theta, and we take small angle \tan \theta = \theta.
  5. We get constructive interference whenever d \sin\theta = k \lambda, and we can plug in our small angle \theta and also take that \sin\theta = \theta to get d y /L = k \lambda.

For diffraction grating, the analysis is the same except you CANNOT USE THE SMALL ANGLE APPROXIMATION since d (distance between each slit) is too small. Thus, you just end up with y = L \tan \theta and d \sin \theta = k \lambda.

2026-04-24 - Single slit, Heuygens-Fresnel principle

For single slit, we can use Heugen’s principle and integrate over the width of the slit a. That’s too hard though, so we can play a trick and pair each point source with a point source a/2 away from it, and notice they destructively interfere with the same conditions as the single slit case (we have an a/2 double slit, and we need the phase diff to be \lambda/2, so the two effects cancel. We can consider \frac{a}{2} \sin(\theta) = k \lambda / 2, or we can consider more pairings (maybe pair each source with one a/4 away) as \frac{a}{2k} \sin(\theta) = \lambda / 2 which is obviously the same thing).

To deal with double slit, the interference is \Delta \phi' = \frac{2\pi d}{\lambda L} y and we can use 2a\cos\left(\frac{\Delta \phi'}{2}\right)\exp(i(kx-\omega t)) where we redefine a=A_0 /\sqrt{L} or whatever to conserve energy, and we pretend the wave has the same amplitude over the entire screen? We take the intensity I \propto \text{Amplitude}^2 as

2026-05-04 - Optical Frequency Comb

2026-05-27 - Schrodinger

MATH 207 - Differential Equations

Guillermo Sanmarco, Winter 2026.

Linear stuff

IDK

\sin(\theta)=-i\frac{1}{2}\left(e^{i\theta} - e^{-i\theta}\right)

Laplace Transform

Works for any f(t) bounded by exponential: f(t) \le e^{r t} for some r \in \mathbb R. The transformed F(s) may exist for all s or just for all s > C. The laplace transform is a bijection on the space of functions.

Time-domain Derivative rule (integration by parts):

Frequency-domain Shift rule (variable substitution s \mapsto s-a):

Time-domain shift rule (u-sub, convolution theorem with dirac delta):

Frequency-domain derivative rule (time-domain t-multiplication): evaluate the derivative of F(s)

Gamma function:

Convolution theorem

Dirac delta \delta(t) = u'(t).

Region of convergence: In s-domain, everything to the right of the last pole converges (this is when our e^{-s t} damping can overpower our function f(t)). One sided: Initial conditions at f(0).


Log in to Comment

Firebase not Loaded