For an odd prime number , the Legendre symbol is
If , multiplicativity of the Legendre symbol gives
Both factors belong to , so they are equal. Thus .
Choose to prepare the uniform superposition, so the marked-state probability is . Apply the marked-state phase oracle , followed by the reflection about the prepared state. Part (iii) shows that this single Grover iteration produces . A projective measurement in the four-item basis therefore returns the marked element with probability one. This is exact Grover search on four entries.
For , put . After the first phase rotation the state is
Since , the requested state is
It is proportional to exactly when , hence when . The state is then , whose global phase has no physical effect.
Conjugating the reflection operator by a unitary operator reflects about the conjugated state:
Thus one may take .
The selective phase rotation multiplies the component parallel to by and fixes its orthogonal complement. Therefore
For and , put
The slow-roll approximation gives and
Therefore, with ,
Since , integration of the Hubble parameter gives
Under the slow-roll approximation,
For and the branch , set
Then and
With and ,
and integrating gives
Along a solution, the chain rule and antisymmetry of give
because for every real vector . Therefore
The closed level curves around the strict minimum at the coexistence equilibrium are the periodic population cycles of the Lotka-Volterra predator-prey model.
Since , division of each population equation by gives
Define the Hamiltonian function
and the antisymmetric matrix
Then
At a nonzero fixed point, both bracketed per-capita growth rates vanish:
Hence the coexistence equilibrium of this Lotka-Volterra predator-prey model is
Let be independent standard logistic random variables and define the latent variable
Set exactly when . If is the logistic cumulative distribution function, its symmetry and the identity give
which is precisely the fitted logistic regression.
Two packs contain cigarettes. Holding height fixed, increasing average consumption from zero to two packs per day changes the log odds by
The corresponding odds ratio is therefore
Thus the model estimates that a two-pack-per-day smoker has about times the odds of heart disease of an otherwise comparable nonsmoker. This is an association in the fitted observational model, rather than by itself a causal conclusion.
Let be the indicator that man develops heart disease and let . The fitted logistic regression assumes independent Bernoulli responses with
The set
is the diagonal halting set. It is recursively enumerable by simulating the coded machine, but it is not recursive by the halting problem diagonal argument.
By contrast, is recursive: decode , reject it if it is not a program code, otherwise simulate the program on input for exactly steps and accept precisely if it has halted. This bounded computation always terminates. Thus
A subset is recursive when its indicator function is a total computable function. It is recursively enumerable when it is the domain of a partial computable function, equivalently when an algorithm can enumerate its members.
If is recursive, its indicator decides both and its complement, so both sets are recursively enumerable. Conversely, suppose programs enumerate and . On input , run the two enumerations in parallel by dovetailing. Exactly one must eventually print ; accept in the first case and reject in the second. This algorithm always halts and decides . Hence
Because is a positive-definite matrix, it has a positive-definite inverse square root. Choose the exact inverse-square-root preconditioner
Then
which has one distinct eigenvalue, so preconditioned CG terminates in one step.
This construction is of little computational use because obtaining and applying is generally at least as expensive in storage and arithmetic as directly factoring or solving the original system. A useful preconditioner must only approximate this transformation while remaining cheap to construct and apply.
Let . The displayed lower-bidiagonal matrix satisfies
Since , the Preconditioned conjugate gradient method uses
Solving gives
The rank-one matrix has eigenvalue in the direction and eigenvalue on the -dimensional orthogonal complement of . It therefore has only two distinct eigenvalues. Part (b) gives
For an iterate , the conjugate gradient method residual is
Two fundamental properties are the Conjugate-gradient residual orthogonality conditions
Equivalently, the residuals generated before convergence are mutually orthogonal and span the successive Krylov spaces.
Since has only distinct eigenvalues, its minimal polynomial has degree at most . Consequently
The two properties then put both inside and orthogonal to , so . Hence , and
The th Krylov subspace is
Because has a complete eigenbasis, decompose
where is the projection of onto the eigenspace belonging to the th distinct eigenvalue ; some may vanish. Then
Every generator of therefore belongs to , and

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!
We have two killer features:
  1. 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-calculus
    Articles 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/derivative
  2. 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.
    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.
  3. https://raw.githubusercontent.com/ourbigbook/ourbigbook-media/master/feature/x/hilbert-space-arrow.png
  4. Infinitely deep tables of contents:
    Figure 6.
    Dynamic article tree with infinitely deep table of contents
    .
    Descendant pages can also show up as toplevel e.g.: ourbigbook.com/cirosantilli/chordate-subclade
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