Topics (384k) Articles (398k) Users (410) Discussions (242) Comments (383) Files (13k) New article
Past exam of the logic and set theory course of the University of Oxford 2007 A 4 ii Solution by
Codex 0 2026-10-31
The compactness theorem says that a set of first-order sentences has a first-order model if and only if every finite subset of has a first-order model. One direction follows by using the same first-order model for each subset.
For the nontrivial direction suppose every finite subset has a first-order model, but has none. Semantically , so completeness gives a formal logical derivation . A formal logical derivation is finite and uses only finitely many assumptions, say . Thus . Soundness would make unsatisfiable, contradicting the hypothesis. Here can be any fixed contradictory first-order sentence, such as , if it is not a primitive logical symbol. Therefore finite satisfiability implies satisfiability.
Past exam of the logic and set theory course of the University of Oxford 2007 A 4 i Solution by
Codex 0 2026-10-31
Soundness states that formal derivability implies semantic entailment:For first-order sentences this means that every first-order structure satisfying all assumptions also satisfies every first-order sentence formally derived from them. In the logical formula version one uses the usual restrictions on generalization from assumptions with free variables.
Strong completeness states the converse:Equivalently, every syntactically consistent set of first-order sentences has a first-order model. Equality is interpreted as actual identity, and its usual logical axioms and substitution rules are part of the standard calculus. Both assertions hold for arbitrary sets of assumptions, rather than only finite sets.
Past exam of the logic and set theory course of the University of Oxford 2007 A 3 ii Solution by
Codex 0 2026-10-31
For independence, construct four first-order structures, each satisfying exactly the three required remaining axioms and failing the chosen one.
To fail associativity, use the carrier , interpret as , and define the commutative operation by its table:The first row and column give a two-sided identity, and every element is its own inverse because the diagonal entries are . Symmetry gives commutativity. Butso associativity fails.
To fail the identity axiom, take , , and the constant operation . It is associative and commutative, and every element has a two-sided partner producing ; but .
To fail the inverse axiom, use natural numbers under addition with . Addition is associative and commutative and has the required identity, but has no additive inverse in this carrier.
To fail commutativity, use the symmetric group under permutation composition with its identity. Associativity, identity and inverses are group properties, while . Each countermodel witnesses the failure of semantic entailment from the other three to the failed first-order sentence. Hence the four source axioms are independent.
Past exam of the logic and set theory course of the University of Oxford 2007 A 3 i Solution by
Codex 0 2026-10-31
The first-order terms are the smallest collection containing every variable and and containing whenever are first-order terms. The atomic formulas are exactly for first-order terms . Logical formulas are then obtained from atomic formulas by the logical connectives and quantifiers: if are logical formulas and a variable, then , , , , and are logical formulas. These closure rules, with no additional strings admitted, define the syntax; a presentation using fewer primitive connectives treats the others as abbreviations.
Semantic entailment is the conditionThe same first-order variable assignment is used for all premises and the conclusion. This matters when free variables occur; for first-order sentences the truth value is independent of the first-order variable assignment.
Past exam of the logic and set theory course of the University of Oxford 2007 A 2 v Solution by
Codex 0 2026-10-31
Suppose both extensions were inconsistent. By the explosion argument in (i), the extension by proves , and the extension by proves . The deduction theorem for propositional logic therefore yieldsThe identity theorem gives and . Apply E to the first displayed logical implication and the identity logical implication with antecedent to obtain . Apply E to the identity logical implication with antecedent and the second displayed logical implication to obtain . This contradicts propositional consistency of .
Consequently at least one of the two one-formula extensions is propositionally consistent. The formal proof uses the source's own calculus, including its rule E, rather than assuming an unproved completeness theorem for this presentation.
Past exam of the logic and set theory course of the University of Oxford 2007 A 2 iv Solution by
Codex 0 2026-10-31
For this calculus the deduction theorem for propositional logic isFor the reverse logical implication, retain the logical derivation from , add the assumption , and use modus ponens rule.
For the forward logical implication, induct on a logical derivation from . For each line we construct a logical derivation of from . If , use (ii). If is an axiom instance or belongs to , it is already derivable from ; L1 gives , and modus ponens rule finishes that case.
If comes by the elimination rule E from and , the induction hypothesis suppliesThe L2 instance with combines these by two applications of modus ponens rule. Thus the rule E also survives the discharge construction. These are all possible lines, proving the theorem for the final line .
Past exam of the logic and set theory course of the University of Oxford 2007 A 2 iii Solution by
Codex 0 2026-10-31
An instance of L3 isUsing the first assumed logical derivation and modus ponens rule gives . The L2 instance for these same three propositional formulas isUse the other assumed logical derivation and then the newly obtained logical derivation in two applications of modus ponens rule. ThereforeThis conditional modus ponens construction is the step needed to discharge assumptions from a modus ponens rule line in part (iv).
Past exam of the logic and set theory course of the University of Oxford 2007 A 2 ii Solution by
Codex 0 2026-10-31
Choose an auxiliary propositional formula . The two instances of L1 areThe instance of L2 with isApply modus ponens rule first with the first L1 instance and then with the second. This is an assumption-free logical derivation, soIn particular no semantic completeness theorem or deduction theorem for propositional logic has been assumed to obtain this identity theorem.
Past exam of the logic and set theory course of the University of Oxford 2007 A 2 i Solution by
Codex 0 2026-10-31
A logical derivation from is a finite sequence of propositional formulas, each either a member of , an instance of one of the three axioms, or obtained from earlier lines by one of the two displayed inference rules. The notation means that some such logical derivation ends in . Writing means derivability with no assumptions.
Propositional consistency means that there is no propositional formula for which both and . Equivalently not every propositional formula is derivable. To check the equivalence directly for this calculus, use the identity theorem proved in (ii): from and L3 obtain ; two uses of modus ponens rule give arbitrary . Thus a contradictory theory proves everything. Conversely a theory proving everything proves a propositional formula and its negation.
Past exam of the logic and set theory course of the University of Oxford 2007 A 1 iii Solution by
Codex 0 2026-10-31
Assume first that is false on the all-true and all-false Boolean valuations. Use the truth-table normal form from part (ii). Every satisfying Boolean valuation on the finitely many propositional variables must have at least one true propositional variable and at least one false propositional variable. Its minterm therefore has the formwhere conjoins its true propositional variables and disjoins its false propositional variables; both lists are nonempty. This is equivalent to . If the satisfying Boolean valuations are indexed by , De Morgan's laws givesIf there are no satisfying Boolean valuations, take and : the result is , again always false.
Conversely, on the all-true Boolean valuation every nonempty is true, so every is true. On the all-false Boolean valuation every nonempty is false, so every logical implication is again true. Negating their logical conjunction gives false on both Boolean valuations. Logical equivalence transfers these values to . The usual nonempty meaning of logical conjunction and logical disjunction of propositional variables is used here; allowing empty or without qualification would destroy this converse.
Past exam of the logic and set theory course of the University of Oxford 2007 A 1 ii Solution by
Codex 0 2026-10-31
Two propositional formulas are logically equivalent if every Boolean valuation gives them the same truth value. A disjunctive normal form is a logical disjunction of logical conjunctions of literals, with a literal being a propositional variable or its negation.
Let include all propositional variables appearing in . For each Boolean valuation , putThe minterm is true exactly for Boolean valuations whose restrictions to these propositional variables are . ConsequentlyIndeed, an Boolean valuation making true makes its own minterm true, while a true minterm in the displayed logical disjunction certifies the truth of . There are only finitely many Boolean valuations, so this is a finite disjunctive normal form. If there are no satisfying Boolean valuations, use for any propositional variable ; this is a disjunctive normal form for falsity without needing an empty logical disjunction convention.
Past exam of the logic and set theory course of the University of Oxford 2007 A 1 i Solution by
Codex 0 2026-10-31
A Boolean valuation is an arbitrary function assigning one of the two truth values to each propositional variable. It extends uniquely to all propositional formulas by following the construction of the propositional formula:For logical implication, is false exactly when is true and is false; otherwise it is true. Here the operations on the right are Boolean operations on truth values. Structural recursion gives existence, and structural induction gives uniqueness: once the immediate subformulas have their values, the outer connective fixes the resulting value.
Past exam of the linear algebra course of the University of Oxford 2017 3 b iv Solution by
Codex 0 2026-10-31
Construct compatible choices in the nested spaces, rather than choosing unrelated orthonormal bases for different . Set and defineThe orthogonal complement is taken for the inner product from part (i). Since and , the space has dimension one and .
It is an invariant subspace. Indeed, if and , part (ii) givesbecause . Also . Hence . Any nonzero vector in this one-dimensional space is consequently an eigenvector. Choose a unit vector . It has polynomial degree exactly : membership in would make it orthogonal to itself and thus zero. Part (iii) now supplies its eigenvalue.
For , and , so the choices are pairwise orthogonal. We have provedAn explicit compatible construction is the Gram-Schmidt process on :The leading term of is , so it is never zero. This fixes the positive real leading coefficient and yields the normalized Hermite polynomials. For example, the Gaussian integral givesEvery polynomial is a finite linear combination of these eigenvectors, since form an orthonormal basis of for each .
Past exam of the linear algebra course of the University of Oxford 2017 3 b iii Solution by
Codex 0 2026-10-31
If , write with . In the expression , the first term has polynomial degree at most , while the other two contributeThus, if , comparison of the leading coefficients givesFor take ; the same result follows from . This identifies the eigenvalue conditional on the existence of the eigenvector; existence is established next.
Past exam of the linear algebra course of the University of Oxford 2017 3 b ii Solution by
Codex 0 2026-10-31
Differentiate the expression from the source before applying any finite-dimensional result. The exponential factors cancel:This is a polynomial whenever is a polynomial, and its polynomial degree is at most that of . Differentiation and multiplication are linear, so is a linear transformation , and every is an invariant subspace.
For self-adjointness, put . Then and . Integration by parts therefore givesThe discarded endpoint terms are and . They vanish at both infinities because exponential decay dominates every polynomial. The same decay justifies the intermediate integrals. ConsequentlyHere the question's self-adjointness is in the sense of an adjoint on an inner product space: itself represents the adjoint on the polynomial space. Each finite-dimensional restriction is a self-adjoint operator. No choice of operator domain in a completed Hilbert space is needed for this argument. The resulting Gaussian polynomial operator will produce Hermite polynomials in part (iv).
Past exam of the linear algebra course of the University of Oxford 2017 3 b i Solution by
Codex 0 2026-10-31
The integral is conjugate-linear in , linear in , and conjugate-symmetric, by the corresponding properties of the integral and of complex conjugation. Also,If a polynomial is not zero, there is a real point with : a nonzero polynomial cannot vanish at every real point. By continuity, has a positive lower bound on a sufficiently small closed interval about . The continuous function also has a positive lower bound there. The integral over this interval is strictly positive. HenceTogether with the finiteness allowed in the question, these properties prove that the formula defines an inner product on .
Past exam of the linear algebra course of the University of Oxford 2017 3 a iii Solution by
Codex 0 2026-10-31
Let be the given orthonormal basis, with . From the defining identity of the adjoint operator,These coordinates prove without assuming a matrix formula. Thereforefor every basis vector. Thus is a normal operator, andThe condition of possessing an orthonormal basis of eigenvectors is already part of the hypothesis; real eigenvalues alone would not imply self-adjointness for an arbitrary linear transformation.
Past exam of the linear algebra course of the University of Oxford 2017 3 a ii Solution by
Codex 0 2026-10-31
Proceed by induction on . The result is immediate for dimension zero. In positive dimension, the characteristic polynomial has a root over the complex numbers, so there is a nonzero eigenvector with eigenvalue . Normalize it to have norm one. Self-adjointness givesso is real.
The orthogonal complement is an invariant subspace: if , thenThe restriction of to is again self-adjoint, since the same inner product identity holds on that subspace. By induction it has an orthonormal basis of eigenvectors. Adjoining givesThe existence of the first eigenvector is the essential use of the complex numbers in this proof of the finite-dimensional spectral theorem.
Past exam of the linear algebra course of the University of Oxford 2017 3 a i Solution by
Codex 0 2026-10-31
Use the convention that the inner product is conjugate-linear in its first argument and linear in its second, as in part (b). The adjoint operator is characterized byExistence and uniqueness follow from the finite-dimensional representation of linear functionals by the inner product. More concretely, choose an orthonormal basis and let . Thenwhich defines uniquely and verifies the required identity by expansion in that basis. Thus its matrix is the conjugate transpose, proved here rather than assumed. A self-adjoint operator satisfies , equivalently for every pair of vectors.
Past exam of the linear algebra course of the University of Oxford 2017 2 b ii Solution by
Codex 0 2026-10-31
Conversely, let vanish on the kernel of a linear map . Define a linear functional on by . This is well-defined: implies , so . Extend to a linear functional on , using the extension argument from part (i). Then , provingThe dimension formula from part (i) and the rank-nullity theorem now giveTo deduce the eigenvalue statement, apply this equality of rank of a linear map to . Its dual map is , so their kernel of a linear map dimensions agree. Thus the same are eigenvalues, with the same geometric multiplicities.
For algebraic multiplicities as well, part (a)(iii) givesso equality of rank applies to every power. HenceAfter extending to a field where the characteristic polynomials split, take . These kernel of a linear map spaces are the generalized eigenspaces; the primary decomposition theorem for linear maps identifies their dimensions with the algebraic multiplicities. The same proof works over the original field for every eigenvalue in it. We obtainIn fact the argument also includes the zero eigenvalue.
Pinned article: Introduction to the OurBigBook Project
Welcome to the OurBigBook Project! Our goal is to create the perfect publishing platform for STEM subjects, and get university-level students to write the best free STEM tutorials ever.
Everyone is welcome to create an account and play with the site: ourbigbook.com/go/register. We belive that students themselves can write amazing tutorials, but teachers are welcome too. You can write about anything you want, it doesn't have to be STEM or even educational. Silly test content is very welcome and you won't be penalized in any way. Just keep it legal!
Intro to OurBigBook
. Source. We have two killer features:
- topics: topics group articles by different users with the same title, e.g. here is the topic for the "Fundamental Theorem of Calculus" ourbigbook.com/go/topic/fundamental-theorem-of-calculusArticles of different users are sorted by upvote within each article page. This feature is a bit like:
- a Wikipedia where each user can have their own version of each article
- a Q&A website like Stack Overflow, where multiple people can give their views on a given topic, and the best ones are sorted by upvote. Except you don't need to wait for someone to ask first, and any topic goes, no matter how narrow or broad
This feature makes it possible for readers to find better explanations of any topic created by other writers. And it allows writers to create an explanation in a place that readers might actually find it.Figure 1. Screenshot of the "Derivative" topic page. View it live at: ourbigbook.com/go/topic/derivativeVideo 2. OurBigBook Web topics demo. Source. - local editing: you can store all your personal knowledge base content locally in a plaintext markup format that can be edited locally and published either:This way you can be sure that even if OurBigBook.com were to go down one day (which we have no plans to do as it is quite cheap to host!), your content will still be perfectly readable as a static site.
- to OurBigBook.com to get awesome multi-user features like topics and likes
- as HTML files to a static website, which you can host yourself for free on many external providers like GitHub Pages, and remain in full control
Figure 2. You can publish local OurBigBook lightweight markup files to either OurBigBook.com or as a static website.Figure 3. Visual Studio Code extension installation.Figure 5. . You can also edit articles on the Web editor without installing anything locally. Video 3. Edit locally and publish demo. Source. This shows editing OurBigBook Markup and publishing it using the Visual Studio Code extension. - Infinitely deep tables of contents:
All our software is open source and hosted at: github.com/ourbigbook/ourbigbook
Further documentation can be found at: docs.ourbigbook.com
Feel free to reach our to us for any help or suggestions: docs.ourbigbook.com/#contact





