For the sample, put and use the sample covariance matrix
Order its eigenvalues decreasingly and choose unit orthogonal eigenvectors . The sample principal components are the score columns
Their sample means are zero and their sample covariance is diagonal, since . The th sample variance is , and its explained variance of a principal component is . Using divisor instead changes the numerical variances by a common factor but leaves the component directions unchanged.
Standardizing means replacing a variable with positive sample variance by . This gives principal component analysis on a correlation matrix, using with . It removes arbitrary differences of measurement units and prevents a large-variance coordinate from dominating solely through its scale. It also changes the question being optimized: small-variance and possibly noisy coordinates receive equal marginal weight. Principal component analysis based on the covariance matrix can be more appropriate when the variables have common meaningful units and absolute variability matters. Standardization is therefore a substantive choice, not an automatic improvement. A zero-variance variable must first be removed. In the word-rating example the variables share the same numerical range, but their across-word dispersions can differ; standardization gives each attribute equal initial variance.
For the standardized eight-variable analysis, total variance is . The first three fractions of explained variance of a principal component are approximately 59.6%, 19.1% and 10.1%, respectively. The first two account for about 78.8%, and the first three for 88.9%. The first direction is dominant but one direction alone loses substantial variation. Retaining two principal components is a plausible descriptive summary: their eigenvalues exceed , whereas the third is below . That cutoff is a heuristic, and the third principal component may still have interpretable content.
The reported coefficient rows are not unit-length vectors. The printed rounded rows have squared lengths , and , consistent with their eigenvalues to the precision of the coefficient table. They are consistent with the scaled principal component loading convention . Such rows remain eigenvectors, but the score direction with unit length is , or more accurately the row divided by its actual Euclidean norm when using rounded entries. Under this convention is the correlation of standardized attribute with the variance-one score for component :
This explains both their sizes and why they must not be treated as the unit vectors from parts (i) and (ii).
The first principal component has positive coefficients on every attribute, strongest on friendliness, goodness, niceness, bravery and strength. With the favorable endpoints coded in the positive direction, it describes a broad favorable or impressive evaluation, with a potency contribution. The second contrasts movement and speed, with some size and strength, against the first three evaluative attributes; it is chiefly an activity dimension. The third is dominated by size, with smaller positive strength and negative movement/speed coefficients, distinguishing size or potency from activity. These are interpretations of directions of variation, not evidence of causal latent traits. Reversing a principal component's overall sign changes neither its meaning as an axis nor its explained variance; endpoint coding fixes only how its positive side is described.
A central application is quantum order finding, which supplies the quantum step in the Shor algorithm for factoring an integer . Choose an integer coprime to , and let be its multiplicative order modulo . On valid residue quantum states define the reversible modular-multiplication unitary operator , extending it reversibly to any unused computational basis quantum states.
The orbit has the orthonormal eigenstates
for . One need not know to prepare an eigenstate: the easy input makes quantum phase estimation sample one of these eigenphases. Its control register estimates . With chosen at least of order , the nearest quantum phase label has rational approximation error small enough for continued-fraction recovery in quantum order finding. For instance, gives on the nearest-label event. If and are coprime, the recovered denominator is ; otherwise one obtains a divisor and can repeat, combine candidates and verify them by modular exponentiation.
When the verified order is even and , the greatest common divisors
give nontrivial factors: their product is divisible by , while neither factor inside the gcd is zero modulo . Unsuccessful choices of or quantum phase samples are handled by repetition and classical verification. Controlled powers of are implemented by efficient reversible modular arithmetic, rather than by naively applying exponentially many times.
Quantum phase estimation turns modular-multiplication eigenphases into an efficiently usable period, enabling quantum factoring in time polynomial in the bit length of the integer. Factoring is important to public-key cryptography, and this is a major example of a quantum algorithm improving on known classical methods. Another use is extracting energy eigenvalues by applying quantum phase estimation to a controlled time-evolution operator, with care to avoid energy aliasing and to prepare an input having overlap with the desired eigenstate.
Write and . A pure-state density matrix is a rank-one orthogonal projector, so and
Taking its square root and trace yields the unsquared quantum fidelity
Use unitary invariance of trace distance and fidelity to choose a basis of the span of the two quantum states in which and , with and . Choosing state-vector phases to make the coefficients nonnegative does not change either density matrix. On that span,
Its eigenvalues are and , with zero eigenvalues on the orthogonal complement. The positive square root of therefore has two eigenvalues , so the trace distance is . Thus the pure-state trace distance and fidelity identity is
Identical pure quantum states give ; orthogonal pure quantum states give . If the span is one-dimensional, the identical-state result follows directly, so no second basis vector is required. This formula uses the unsquared fidelity convention in the paper; if fidelity denotes squared overlap instead, the square inside the formula is omitted.
The Schrödinger–Jaynes–Hughston–Jozsa–Wootters theorem classifies all finite quantum state ensembles of a density matrix. Write its nonzero spectral decomposition as , with and orthonormal eigenvectors. An ensemble with subnormalized vectors , , represents exactly when
Here is an column linear isometry. Zero-weight vectors may be included or discarded. Equivalently, any two ensembles represent the same density matrix if and only if, after padding the shorter list with zero vectors, their subnormalized vectors are related by a unitary matrix acting on the ensemble index. This is the isometry parametrization of a density-matrix ensemble.
For necessity, if lies in the kernel of , then
Every therefore lies in the support of . Define . The ensemble identity gives
so these columns are orthonormal and the displayed parametrization follows.
Conversely, start with any such isometry and define by the boxed equation. Then
The weights are and sum to . Normalize every nonzero to obtain its pure state. This proves both directions and includes degenerate eigenvalues without any preferred choice of basis in their eigenspaces.
To prove the unitary-mixing version, pad two ensembles to a common length . Their matrices and have orthonormal columns in . Extend each column family to an orthonormal basis, obtaining square unitaries and . Then is unitary and , so the second ensemble vectors satisfy . Conversely this unitary mixing preserves , because . Independent phase choices for ensemble kets are absorbed in the row phases of these matrices.
The classification also has a measurement interpretation. Purify as . On the ancillary system define . The effects sum to , hence form a POVM. The conditional unnormalized system ket is , with probability . Thus every ensemble can be realized by measuring a purifying system; with a sufficiently enlarged ancilla the measurement can be projective. The density matrix specifies the common statistics without selecting one particular ensemble decomposition.
Perfect identification on every trial is impossible, because the family contains a nonorthogonal pair. Any physical identification device induces a POVM whose effect corresponds to its declaration of label . Certainty of correct identification would require and for every .
Since , the first identity gives , while positivity and the second identity give . For example these conclusions follow by writing the zero expectations as squared norms of and . Thus
Perfect identification would force the entire family to be orthogonal, contrary to the hypothesis. This argument permits ancillas, general measurements and disturbance of the input; it does not assume that the device must preserve the state.
Unambiguous identification with a nonzero success probability for every input is possible. Normalize the given kets and let be their Gram matrix. Their linear independence makes positive definite. Define reciprocal vectors within their span by
Then , and hence also . Put . It is positive and has finite operator norm. Choosing , set
All these effects are positive, and , so they sum to the identity and define a POVM. The Born rule gives
Thus every label is correct whenever it occurs and every input has the strictly positive success probability . This is the reciprocal-state construction of unambiguous discrimination.
For an explicit success constant, collect the input kets into a matrix , so . Its polar factorization is with . The reciprocal columns are , and therefore . Its largest eigenvalue is , so one can take . Since the normalized Gram matrix has trace , this is at most .
To realize the device, use measurement operators and . The map preserves inner products because the effects sum to . Extend this linear isometry to a unitary on the input and an initially blank ancilla, then projectively measure the ancilla's orthogonal outcome labels. Its outcome probabilities are precisely those above. This gives a physical unambiguous quantum state discrimination device rather than only a formal set of effects.
Let . An arbitrary deterministic strategy, including auxiliary systems, intermediate measurements, adaptive actions and discarded records, is a quantum channel from the two input qubits to the three returned qubits. Its output is . The three local tests commute, and their joint all-pass projector is . Thus
is exactly the probability of at least one failed test. No independence of the three returned qubits is assumed.
We prove a uniform positive obstruction using trace distance, . Two normalized pure kets obey
Indeed their projector difference is supported on their two-dimensional span, has trace zero, and has eigenvalues .
Two further estimates will cover even mixed outputs. First, trace distance contracts under a quantum channel. To see this directly, the positive spectral projector of the trace-zero difference gives . The adjoint of a channel is positive and unital, so it takes any output effect into an input effect. Maximizing over this subset cannot exceed the input maximum, proving contraction.
Second, for a mixed state and a pure target , the trace-norm triangle inequality and weighted Cauchy-Schwarz inequality give the pure-target upper bound on trace distance:
In particular .
Now take and . The two-copy input distance is , whereas the ideal three-copy distance is . Writing , contraction and the triangle inequality yield
Let . Then , and squaring gives
This is the copy-number trace-distance obstruction. It applies to every Bob strategy, irrespective of its internal complexity. If Alice chooses these two possible inputs with equal probabilities, the left side is her unconditional failure probability. For every device, at least one of the two inputs also has failure probability at least , establishing the worst-case guarantee.
The same positive bound holds if Alice chooses a uniformly random pure-qubit state. Apply the preceding inequality to and for every single-qubit unitary , since their overlap is unchanged. Average over normalized Haar measure. Both rotated kets have the same uniform distribution on the Bloch sphere, so each of the two average failures is the uniform-input average. Consequently that average is also at least . A constant satisfying the strict requested inequality in either this average or the worst-case interpretation is
The proven bound is , hence strictly greater than . This proof establishes a quantitative gap, rather than relying only on the impossibility of exact quantum cloning.
There is a necessary quantifier qualification because the PDF does not specify Alice's input distribution. A positive lower bound for every fixed state against every strategy would be false: a device hardwired to return never fails when the input is . The unknown-state assertion is therefore meaningful as a worst-case guarantee over possible inputs, or as an average for a specified hidden input ensemble. Both the equal-prior example and the uniform-input version have been proved here, with a constant independent of Bob's strategy.
General relativity models spacetime by a smooth four-dimensional Lorentzian manifold whose metric tensor governs clock readings, causal cones and free-particle motion. The Einstein equivalence principle motivates local special relativity and universal geodesic free fall for test bodies; it does not by itself select a unique gravitational field equation. We assume a Levi-Civita connection, a metric tensor as the gravitational field with no additional dynamical gravitational variables, and matter with a covariantly conserved stress-energy tensor. Units have .
The existence of local inertial frames is a local statement. At any regular event choose an orthonormal frame and Riemann normal coordinates, so that and at the event, with metric signature . Metric compatibility then gives there. The geodesic equation at that point is the special-relativistic inertial equation. Along a timelike geodesic, a parallel-transported orthonormal frame gives Fermi normal coordinates, eliminating the connection along the central worldline. These constructions do not in general eliminate second derivatives of the metric tensor in a neighborhood. The Riemann curvature tensor is built from the derivatives of the connection coefficients as well as their quadratic terms; nonzero Riemann curvature tensor components can remain when all connection coefficients vanish at a chosen point. Conversely, Polar coordinates in Minkowski spacetime can have nonzero connection coefficients but zero Riemann curvature tensor. Connection coefficients alone are therefore not an invariant measure of gravity.
For the tensorial content, consider a two-parameter family of geodesics parametrized by an affine parameter, with tangent and connecting field . Their coordinate construction gives , and torsion-freeness gives . Since , commuting derivatives in the convention of Question 1 yields geodesic deviation:
The left side is covariant relative acceleration, rather than the second coordinate derivative of an arbitrary separation. In an orthonormal frame in free fall with , its spatial components are . This is a measurable tidal force, and a coordinate transformation cannot make a nonzero Riemann curvature tensor disappear. It is the distinction between gravity at one event and the behavior of an extended freely falling laboratory.
In a static Newtonian limit, and , so the test-body acceleration is . The curvature-sign convention in Killing derivative identities gives . Hence relative acceleration is the negative Hessian of the gravitational potential. For the Newtonian potential of a point mass , the Hessian has radial eigenvalue and two tangential eigenvalues : radial separations stretch and tangential ones compress. Outside the source the Ricci tensor can vanish while the Riemann curvature tensor remains nonzero. Its vacuum tidal part is encoded by the Weyl tensor; vacuum does not mean flatness. Gravitational waves likewise carry Riemann curvature tensor disturbances without a local material source.
To obtain the field equations, make the additional dynamical assumptions explicit: locality and diffeomorphism invariance of general relativity; a symmetric metric tensor field equation using at most second derivatives of the metric tensor; a geometrical left-hand side linear in the Riemann curvature tensor with constant coefficients; and compatibility with local matter conservation. These restrictions exclude higher-curvature or extra-field alternatives. Under them the available rank-two curvature contractions give the ansatz
The contracted Bianchi identity and metric compatibility give
For this to vanish identically for arbitrary metric tensors, . Assuming and absorbing its normalization into the coupling gives
The permitted constant term is the cosmological constant. Its value is not fixed by the equivalence principle. Conservation of follows for generally covariant matter on its equations of motion: varying the matter action under a compactly supported infinitesimal diffeomorphism, then integrating its term by parts, gives . The divergence-free Einstein tensor is consistent with this identity.
The coupling sign must be fixed in the actual curvature-sign convention in Killing derivative identities, with . For the static weak-field approximation, . Set for the local asymptotically flat Newtonian comparison. In four dimensions the trace equation gives , so for slowly moving matter. Matching forces . Thus, with this convention,
Under the opposite curvature-sign convention in Killing derivative identities the coupling sign reverses, as in Einstein-equation coupling under reversed curvature. This sign statement is compatible with the supplied linearized handout. Local inertial frames remove the connection at an event; tidal Riemann curvature tensor effects remain tensorial, and the field equations require dynamical assumptions beyond the equivalence principle.
There is an important chain rule qualification in this part. The printed value of follows from the expansion. Its printed value of follows only if transverse differentiation of the translated correction profiles is omitted. For a consistent translation-covariant phase expansion, that omission is generally nonzero.
At the leading transverse threshold let
where the last conditions fix the phase gauge. Put , , and , and use . At order the Fredholm solvability condition gives
The first two contributions follow directly by differentiating:
Choose the reflection-symmetric roll with even. Then is odd and even. Projection onto the odd translation mode eliminates , and , leaving exactly the symmetry-allowed phase modulation equation. Its coefficients are
and
If one freezes at the unshifted coordinate when taking transverse derivatives, , and its projection contributes only the term. The other two projected terms then give the printed expression . But freezing these profiles is inconsistent with the translated in for a general finite phase displacement. The printed expression needs the extra assumption , which is not an identity.
A small-amplitude calculation demonstrates the difference. For a critical roll of leading amplitude and fast wavenumber , the steady equation and give
The third harmonic coefficient in follows by dividing its cubic forcing by the fast eigenvalue . Substituting in gives the displayed correction profiles; the near-zero first-harmonic eigenvalue in the even problem must be retained to obtain the first harmonic of . Periodic orthogonality then gives
Thus the supplied nonlinear coefficient is not generally an exact consequence of the finite-amplitude translated-roll expansion. The corrected coefficient above, the printed calculation under its additional freezing assumption, and the genuine near-threshold phase modulation equation are all distinguished explicitly.
Write . The admissible equilibrium points are , when , and when . The Jacobian matrix is
At the eigenvalues are and ; at they are and . At a positive coexistence equilibrium point,
It is therefore asymptotically stable. It is a node for , a focus for the reverse inequality, and has repeated real eigenvalues at equality. The node–focus change does not alter the attracting equilibrium point's topology.
There are three open physical parameter regions:
  • : extinction. Only is admissible and it is a sink.
  • , : predator extinction. is a saddle, and is a sink.
  • : coexistence. and are saddles on the boundary, while is a sink.
The axes are invariant. On , decays exponentially; on , prey obey the logistic differential equation. Positivity follows because each right-hand side has its population as a factor. Also is bounded by logistic comparison, while satisfies , so all forward trajectories are bounded. The Dulac function has divergence in the interior, excluding periodic orbits by the Bendixson-Dulac criterion.
In the extinction region, , and then is eventually negative. In the prey-only region, the upper bound implies predator decay and convergence of interior prey to . In the coexistence region the Lyapunov function
has . Its positive-quadrant sublevel sets are compact, and the only invariant subset with also has . The LaSalle invariance principle proves convergence of every interior trajectory to . These facts justify the complete qualitative phase portraits, not just their local arrows.
At , and meet in a transcritical bifurcation; positive prey decay algebraically. At with , and exchange stability. On its centre manifold, gives , so the physically positive side is still attracting. There is no interior Hopf bifurcation since the coexistence trace never vanishes.
Figure 1.
Three continuous predator–prey phase portraits and their parameter regions
. Details.
The characteristic polynomial of a real matrix is . Thus vanishes exactly when , and vanishes exactly when . These are the required eigenvalue conditions.
For and , the discriminant is negative, and
Their moduli equal one. Taking with gives . The strict trace inequalities exclude and hence exclude the repeated real multipliers .
The quadratic discrete predator-prey map equals the identity plus the vector field of part (a), so its admissible fixed points are the same . Their Jacobian matrices are the identity plus the corresponding continuous-time Jacobian matrices, but map stability requires eigenvalues inside the unit circle rather than the left half-plane.
At the multipliers are : it is a sink for and a saddle for . At they are and . Therefore
For , the prey multiplier is below : is a saddle when and a repeller when . For , makes it a saddle. The crossings at and are the two transcritical bifurcations already encountered. The crossing at is a prey period-doubling bifurcation.
At positive coexistence,
For clarity, derive the relevant Schur stability criterion directly: setting in gives
The open unit disk maps to . A real quadratic has both roots there precisely when all three displayed coefficients have the same positive sign. Since , the coexistence fixed point is a sink precisely when
This region exists only for . In the coexistence triangle , put . If , one root lies below and the other in , so is a saddle. If but , it is a repeller; if , it is a sink. These signs give the complete local fixed-point partition, including real and complex multipliers.
The coexistence period-doubling bifurcation lies at ; its segment adjoining the sink region has . The other multiplier there is and lies strictly inside the unit circle on this segment. This coexistence flip is subcritical on that segment. To calculate its direction, normalize the eigenvector by and the left eigenvector by . The symmetric quadratic derivative is given explicitly in part (d). Eliminating the quadratic term from the one-dimensional centre manifold map gives the effective cubic flip coefficient
For a scalar reduced map , its second iterate satisfies . Thus on the stable-fixed-point side , and the two-cycle multiplier is . An unstable coexistence two-cycle meets the stable fixed point as increases to the flip curve. The other multiplier remains inside the unit circle. The complex unit-modulus crossing lies at , with . The two curves meet at with a double multiplier . The prey flip and predator invasion curves meet at with multipliers .
The sketches mark the sink regions and all these local thresholds. They are a local atlas, not a claim that the map has only these global attractors. Indeed the full nonnegative quadrant is not invariant: becomes negative when . On the prey axis the logistic map already supplies new dynamics. Its nontrivial two-cycle, obtained by factoring after removing the fixed-point factors, is
Its longitudinal multiplier is , so it is stable on the axis for . The transverse multiplier is , making the cycle stable in the plane when additionally . Further flips and more complicated logistic dynamics show why the differential equation's three global regions cannot be transferred unchanged to its unit-step map.
Figure 1.
Local stability regions and fixed-point bifurcation curves of the quadratic predator–prey map
. Details.
Take the leading real field to be . A spatial translation gives ; a time translation gives ; spatial reflection exchanges and .
For a monomial in the first amplitude equation, covariance requires and . Hence , . At linear order only is allowed, no quadratic monomial satisfies these conditions, and the cubic possibilities are and . Reflection fixes the coefficients in the second equation. Removing the small common linear frequency correction by a rotating frame makes real. This derives the two cubic amplitude equations, rather than merely postulating them.
Let , . Taking real parts gives
A travelling wave has , or its reflection, whenever . Its phase evolves at , shifting the physical oscillation frequency. The nonzero-amplitude radial eigenvalue is , while the absent mode has real growth rate . Therefore, on the supercritical side,
The phase direction is neutral because of the symmetry, so stability means orbital stability. A branch with is radially unstable, whatever the transverse coefficient.
A standing wave has . Its two phases evolve together at ; the relative phase fixes the spatial position of the standing pattern. In the two intensity directions the eigenvalues are and . Thus
Again the symmetry phases are neutral and the conclusion is orbital stability. Equality leaves a continuum of mixed intensities at cubic order; equality removes cubic standing-wave saturation. These degeneracies require higher-order terms and cannot be classified by the cubic truncation. The zero state is linearly stable for and unstable for .