Use for the intercept, to avoid confusing it with the observation means. Let be the fitted Poisson regression mean. Apart from constants, its log-likelihood is
At a finite interior maximum-likelihood estimate, the intercept score equation gives the Poisson regression margin-matching score equations:
The statistical saturated model fits each mean to , taking the boundary mean zero if . Subtracting fitted from saturated log-likelihood gives the Poisson deviance
The intercept balance cancels the sum of linear terms. Consequently
The unsimplified formula makes nonnegativity transparent; individual terms in the simplified formula need not each be positive.
For the deviance goodness-of-fit test, if the fitted design has rank , compare a suitably calibrated with , rejecting for large values. This approximation applies in a regular large-count regime, such as a fixed set of cells with increasing exposure and positive fitted proportions. It is not automatically accurate for many sparse Poisson observations. Check residual patterns and overdispersion; where the approximation is doubtful, simulate independent Poisson random variables with fitted means, refit each sample, and use a parametric bootstrap distribution of the same statistic. A large p-value means no detected lack of fit, not proof of the model. If a finite interior estimate fails to exist, the score proof needs a boundary-limit interpretation; for example all-zero data give a supremum with every fitted mean tending to zero and limiting deviance zero.
The prose names a second year that differs from the table label. The calculations use the four supplied counts, interpreting the first and second rows as the two displayed periods; no numerical conclusion depends on resolving that label discrepancy.
The first generalized linear model treats the four counts as independent Poisson random variables, with a log link and both row and column regression factors. The row-by-column interaction makes the log-linear model saturated. With , write
Its four maximum-likelihood fitted values equal the observed counts. Thus , , , and
The interaction is the log odds ratio measuring association of row and column. Under independent Poisson sampling, the delta-method variances are for the intercept, for the row contrast, for the column contrast, and for the interaction. Their square roots reproduce the printed standard errors. Although the software labels the standardized ratios as t values, these are asymptotic normal Wald statistics, with known Poisson dispersion one, not exact finite-df Student tests.
The statistical saturated model has zero residual deviance and zero residual degrees of freedom; this is a perfect interpolation, not evidence of predictive adequacy. The null deviance compares the four observed counts with an intercept-only model, whose four fitted means are . Fisher scoring is the numerical score/information iteration used to fit the model; the iteration count is a convergence report, not a test statistic.
Dropping the interaction gives the independence log-linear model for a two-way contingency table, . Its Poisson regression margin-matching score equations match the row and column totals, so
Here and denote the observed row and column totals. In particular the fitted row multiplier is , the column multiplier is , and the intercept is . These produce the second coefficient table. Their standard errors follow from the inverse Fisher information matrix; for the row and column contrasts their squared values are and , while the intercept variance is .
The Poisson deviance relative to the saturated fit is
The linear terms cancel because fitted and observed totals agree. The additive model has three coefficients, leaving one degree of freedom. Wilks theorem calibrates this likelihood-ratio test approximately by , giving . The interaction Wald test instead gives ; the two are only asymptotically equivalent.
Fisher's exact test conditions on both margins under independence. If is the upper-left count, then
Its usual two-sided p-value sums the probabilities of all tables no more probable than the observed . That sum is , reproducing the output without an asymptotic approximation. It tests the same absence of row-column association, but conditioning and discreteness explain the numerical difference from the likelihood-ratio test.
In ordinary language, the male proportion among the cases is in the first row and in the second. The estimated case-sex odds ratio is , but its approximate 95-percent confidence interval is wide, . These small samples do not give convincing evidence that the sex composition of cases changed between the two periods. Failure to reject is not evidence that the compositions are exactly equal. Nor do these counts establish a male-to-female disease-incidence ratio or an incidence trend: population denominators and comparable ascertainment would be needed for those interpretations.
The S-Plus input and the data table differ in one entry: the former uses for the first year in the second male age group, whereas the table has . The displayed coefficients are reproduced by the software vector with , so that is the input analysed here. Using instead would give a different fit, including an intercept of rather than .
The factor grid has rows. Its first factor varies fastest, so the five years run within each age group, and the age groups run within each sex. All three predictors are regression factors: in particular the year coefficients are category contrasts, not a fitted linear slope in calendar time. Under reference-level coding, take the first year, youngest age group and men as the reference levels in a regression factor. Write for women and for men, and for the other year and age indicators. The normal linear model is
The star in the formula includes both main effects and their statistical interaction. There are twelve coefficients: an intercept, four year contrasts, one sex contrast, three age contrasts and three sex-by-age contrasts. Year effects are assumed common across all sex-age combinations; there is no year interaction term. Independent errors with common variance are additional assumptions of the reported exact tests.
The least-squares estimator is , where has rank twelve. Under the normal linear model,
and these quantities are independent. This standard normal-projection theorem gives and estimated coefficient standard errors . A coefficient estimate divided by its standard error has a Student t-distribution with 28 degrees of freedom under its zero-coefficient null. These are the printed t statistics and two-sided p-values; a printed zero is rounding, not a probability of exactly zero. The option suppresses the coefficient-correlation display.
The fitted intercept is the expected percentage for the reference sex, age and year. Relative to that year, the year changes are percentage points. The last two are individually significant at the conventional five-percent level; the first two are not. The sex coefficient is the female-minus-male difference in the youngest group. The male age changes are points. Adding the three interaction term coefficients gives the female age changes . Thus the sex gap shrinks with age. An individual insignificant interaction term coefficient does not justify deleting the whole interaction: the joint partial F-test for the three interaction terms gives on degrees of freedom, with .
The regression residuals are observed minus fitted percentages; their printed five-number summary describes their spread. Direct calculation gives , so the residual standard error is
The coefficient of determination is . The overall F-test compares all eleven non-intercept coefficients with zero:
Under the null it has an F-distribution on degrees of freedom; its very small p-value shows substantial explained variation. This does not independently validate the Gaussian error assumptions. Survey percentages can have different sampling variances and correlations, and the survey denominators and design are not supplied. The output's exact inferential interpretation is conditional on the stated normal linear model.
The final command makes an interaction plot, not another regression fit. Its points are arithmetic averages over the five years for each sex-age combination. It draws two decreasing, nonparallel lines, with coordinates
Their gaps are percentage points, illustrating the sex-by-age statistical interaction. The average uses the software vector's disputed entry, consistently with the displayed fit. These are means of percentages, not denominator-weighted pooled prevalence estimates.
Figure 1.
Sex-by-age interaction plot averaged over years, using the printed software input
. Details.
In a two-player symmetric finite game, represent mixed strategies by probability vectors and let be the payoff to a player using against one using . A resident strategy is an evolutionarily stable strategy if every distinct mutant strategy has an invasion barrier such that, for ,
Thus when mutants are sufficiently rare, the resident has strictly larger fitness against the population mixture. The barrier may depend on the mutant; a common barrier is not part of this definition.
For fixed put
By bilinearity the resident-minus-mutant fitness difference is
If this is positive for all sufficiently small positive , taking gives . If , strict positivity requires . Conversely, if , choose ; then the difference is at least . If and , it is for every . This proves the two-condition criterion for evolutionary stability: for every , either
or
The weak first comparison is the symmetric Nash equilibrium condition; the second excludes neutrally competitive mutants when that comparison is an equality.
For the Hawk-Dove game, let and , . Against the resident, both pure strategies give , so
Direct multiplication of the payoff matrix gives
Consequently
The equality case of the two-condition criterion for evolutionary stability therefore applies to every distinct mutant. More explicitly, the fitness difference in a mixed population is , positive for every . Hence , with the common invasion barrier one.
Let denote player 's expected payoff, so the definition also covers mixed strategies. If is a dominant strategy, then
for every opponents' profile and every alternative . In particular this holds at . Thus no player can improve its payoff by a unilateral deviation from , which is exactly the definition of a Nash equilibrium. A profile of dominant strategies is a Nash equilibrium.
For the second-price sealed-bid auction, use the usual private-value auction assumptions: a bidder with value has quasilinear utility minus its payment if it wins, and zero if it loses. Fix the highest opposing bid . If , winning gives , and bidding wins. If , winning gives , and bidding loses. If , winning or losing gives zero, irrespective of the tie rule. Any other bid can only change whether the bidder wins, not the payment conditional on winning. It therefore cannot improve on the truthful bid in any of these cases. Hence bidding the true value is a weakly dominant strategy. Neither symmetry nor independence of the opposing values is needed for this argument.
For part (a), in a first-price sealed-bid auction with , continuous nonnegative bids and , no fixed bid is a dominant strategy. A positive bid can be improved against opponents all bidding zero: replace it by , still win, and increase the payoff by . Bid zero can be improved against an opposing highest bid : bidding wins and earns , whereas zero loses. This proves the no dominant positive-value bid in a first-price auction result.
Allowing mixed strategies does not change that conclusion. Against all-zero opponents, a random bid has expected payoff strictly below unless it is always zero and the tie rule awards this bidder the item with certainty. Any positive bid incurs a strictly positive payment, and any probability of losing at zero also reduces the payoff below . In the strict case choose a sufficiently small positive fixed bid so that exceeds the random bid's expected payoff. In the exceptional case the preceding deviation against still improves it. The assumptions matter: for value zero, bid zero is weakly dominant; with only one bidder it is also optimal. Consequently there is no dominant strategy for a positive-value bidder in the standard first-price setting.
Part (b)'s printed nonexistence request is false under the stated symmetric independent private values model. Lack of a dominant strategy does not imply lack of a Nash equilibrium. For incomplete private information the appropriate equilibrium is a Bayesian Nash equilibrium, a Nash equilibrium of the game whose strategies are bidding rules as functions of private values. Here is an explicit counterexample with a full deviation check.
Let the risk-neutral bidders have independent valuations with the uniform distribution on , and put . Suppose every opponent bids . A bidder with value who bids wins with probability , since the opposing values must all be below . Ties have probability zero, including at either endpoint. Its expected quasilinear utility is
For ,
Thus increases up to and decreases thereafter. For , bid zero is optimal directly. A bid above wins with certainty and pays more than bidding , so it cannot improve on the maximum already found in . A randomized bid is a mixture of these payoffs and also cannot improve on their maximum. The best response for every value is therefore the proposed bidding rule itself. This proves the uniform private-value first-price bidding equilibrium:
The value- expected equilibrium payoff is . The bidding rule is a pure strategy in the Bayesian game, even though values are random. Therefore the requested general nonexistence claim in (b) has a counterexample, rather than a valid proof. The defect is present in the original PDF, not introduced by the converted text.
A Nash bargaining problem consists of a compact convex set of feasible two-player payoff vectors and a disagreement point . If bargaining fails, the players receive ; agreement selects a feasible vector. The convex set allows jointly agreed correlated payoff lotteries over outcomes. Assume essentiality: some feasible vector strictly improves both coordinates of . The admissible answers satisfy bargaining individual rationality, .
The four characterizing axioms are Pareto efficiency (no feasible vector weakly improves both chosen payoffs and strictly improves one), bargaining symmetry (interchanging identical player roles leaves the answer unchanged), positive affine invariance in bargaining (independently replacing utilities by , , transforms the answer by the same maps), and bargaining independence of irrelevant alternatives (restricting to an admissible smaller feasible set that still contains the chosen vector leaves the choice unchanged). The last axiom keeps the disagreement point fixed.
The arbitration procedure maximizes the Nash product over individually rational vectors:
A maximizer exists by compactness and has positive gains by essentiality. It is unique, since the logarithm of the product is a strictly concave function of the two gains on their positive domain. The product is strictly increasing in either positive gain, giving Pareto efficiency. A positive affine utility change multiplies the product by , giving positive affine invariance in bargaining. Uniqueness gives bargaining symmetry and bargaining independence of irrelevant alternatives.
For completeness, these axioms also force the procedure. Normalize the product-maximizing vector to and to zero using positive affine invariance in bargaining. For any normalized feasible vector , the directional derivative of the product along the feasible segment from to is . The initial part of that segment has positive gains, so optimality implies . Choose sufficiently large that the transformed feasible set is contained in the symmetric triangle
On this triangle, bargaining symmetry requires equal coordinates and Pareto efficiency then forces . By bargaining independence of irrelevant alternatives, restricting from to the original normalized set still selects . Undoing the normalization proves the Nash bargaining solution characterization. This is the supporting triangle for Nash bargaining argument.
For the numerical game, the maximin disagreement point is the vector of the players' separate security level payoffs. If player I uses its first action with probability , its worst expected payoff is
The two lines meet at ; before that point the increasing second line is smaller and afterwards the decreasing first line is smaller. Hence . If player II uses its first action with probability , its worst payoff is
maximized at , giving . Thus . These are separate worst-case guarantees; they need not equal the actual payoffs when both security strategies are used together.
The cooperative feasible set is the convex hull of the four outcome vectors. The outcomes and are dominated by . Its Pareto frontier is the segment joining to , with equation . Any maximizer of the positive Nash product is on this frontier. Bargaining individual rationality restricts its relevant portion to . There we maximize
The stationary point lies strictly inside that interval and is the unique maximum. Therefore the Nash bargaining solution is
The gains are and , with Nash product . The arbitration can implement the vector by the agreed correlated payoff lottery assigning probability to outcome and to outcome . Indeed and . This is a correlated payoff lottery; independent mixed strategies are not required to implement the cooperative agreement.
Write for the partial assignment problem solution sending person to job . The prescribed assignment lower bound from independent task minima is
Every completion must pay at least the minimum in each remaining column, so this is a valid lower bound, even if the minima use the same person several times. At , the one remaining job must go to person 4, and the bound is the exact completed cost.
Use branch and bound with the smallest open bound expanded first. The initial bounds are
For example, . Expand , giving
Expand . Its children are with bound 64 and with bound 65. Completing the first gives at cost 64, our first incumbent. The second cannot improve it. We may also discard , , and , since their lower bounds are at least 64; equality may be pruned when seeking one optimum.
The remaining open prefix is , whose children have bounds
Only can improve the incumbent. Its children and have exact completed costs 69 and 61, respectively. The latter completes to and replaces the incumbent. Every other branch has already been bounded above this value. Thus the optimal assignment is
This branch and bound computation produces fourteen partial nodes: four initial nodes, three below , two below , three below and two below . The last person is assigned automatically at a depth-three node.
For the travelling salesman problem, let mean that the tour goes directly from city to city . Retain only the constraints
This is an assignment problem between cities as departure points and cities as arrival points, solvable by the Hungarian algorithm. Its optimum is a cycle cover of a directed graph, possibly with several disjoint cycles. Since every tour is such a cover, its cost is a lower bound on the best tour cost. This is the assignment relaxation of the travelling salesman problem.
If the minimizing cover is a single Hamiltonian cycle, it supplies a tour and can update the incumbent. Otherwise choose one proper subtour . No tour can contain all edges of , since that would close a cycle before visiting the remaining cities. Make one child subproblem for each edge of , forbidding that edge, and solve its modified assignment problem. These branches may overlap but together retain every possible tour. Prune a child if it is infeasible or its assignment bound is at least the incumbent cost. Further subtours cause further branching. Each branch adds a new forbidden edge, so the search is finite, and the covering property plus the valid lower bounds proves optimality when no open branch remains. This enforces the effect of subtour elimination constraints through branch and bound.
A linear polyhedron is full-dimensional if its affine hull is . For a convex set, this is equivalent to containing an open Euclidean ball: an open ball has full affine span, while affinely independent points in the set span a simplex with nonempty interior. In particular, a nonempty linear polyhedron need not be full-dimensional; a singleton or a hyperplane is an example.
Assume , increasing the coefficient bound to one if necessary. If and denotes the th row, then . For and , the Cauchy-Schwarz inequality gives
Thus with , proving that is a full-dimensional linear polyhedron. This part works for every positive ; the particular small value also ensures that relaxation cannot create feasibility when is empty.
Here is that exact-feasibility point. Put . If is empty, a Farkas certificate for linear inequalities gives with and . Normalize , and maximize over the compact linear polyhedron
Choose a maximizing extreme point. Its positive support has size : a dependence among its supported columns would permit small perturbations of both signs in , contradicting extremality. Select independent equations for those coordinates. Cramer's rule expresses them over a common nonzero integer determinant , with . Since is integer and , its numerator is a positive integer after choosing a positive denominator. Hence . This is the normalized integer Farkas infeasibility gap. A point in would imply
a contradiction. Consequently if and only if .
The ellipsoid method takes the integer matrix , vector , dimension , and a bound (or their binary encodings). It computes the prescribed , an inner radius , and an outer radius whose logarithms have polynomial size. For an explicit outer bound, let . A nonempty has a rational feasibility certificate for integer inequalities with . To see this bound, intersect with an orthant containing a feasible point. This intersection is a nonempty linear polyhedron containing no whole nontrivial affine line, and it has an extreme point. Indeed, if its active rows do not yet span the ambient space, move along a nonzero direction annihilating them. The orthant prevents motion in both directions from being feasible forever, so in at least one direction a new independent row becomes active. Repeating at most times produces an extreme point. At that point choose independent active constraints, including coordinate constraints where needed. Cramer's rule and the Hadamard determinant inequality bound the numerators by , while a nonzero integer denominator has absolute value at least one. Thus the point has norm at most . Choosing ensures that, whenever is nonempty, an entire radius- Euclidean ball in lies inside .
Start with the ellipsoid and retain . At each iteration test the centre against every relaxed inequality. If it passes all tests, is nonempty and hence so is . Otherwise a violated row gives the separation oracle: the feasible set lies in . Cut the current ellipsoid by this half-space through its centre and replace it by the standard containing ellipsoid. Every step retains and, for , reduces Lebesgue measure by a factor at most . In dimension one the corresponding step bisects an interval.
If more than cuts occur without finding a feasible centre, the Lebesgue measure is smaller than that of a radius- ball. This contradicts the retained ball whenever is nonempty, so the algorithm can declare empty. Both and are polynomial in and , and each inequality test uses arithmetic operations for rows. The bit implementation uses rational rounding with outward enlargement of the containing ellipsoids; the encoding bounds allow polynomial precision while keeping a constant fraction of the volume decrease. Detailed update and rounding formulae are not needed for this account. The essential role of the full-dimensional relaxation of integer inequalities is to supply a positive inner-volume bound without changing the emptiness decision; applying a Lebesgue measure stopping test directly to a lower-dimensional would fail.
A decision problem is in NP if every yes-instance has a complexity certificate of length bounded by a polynomial in the input length, and a deterministic verifier can check that certificate in polynomial time. More precisely, for some polynomial and verifier ,
where runs in polynomial time. Equivalently, a nondeterministic machine decides the problem in polynomial time. A problem is NP-complete if it belongs to NP and is NP-hard: every problem in NP has a polynomial-time many-one reduction to it. Such a reduction maps instances to instances with if and only if is a yes-instance of the target problem.
For 3-SAT, the complexity certificate is one truth value for each Boolean variable. Check every Boolean literal, negate its variable's truth value when appropriate, evaluate the disjunction in each Boolean clause, and check their conjunction. This takes time linear in the encoded Boolean formula, apart from equally polynomial bookkeeping for variable names. A satisfying assignment passes; an unsatisfiable Boolean formula has no passing assignment. Thus 3-SAT belongs to NP.
For the diagram's three-colour clause gadget, name the three colours by the graph triangle . Each input is adjacent to , so each has colour or . Suppose that none has colour . Then all three have colour . Because is adjacent to and to , neither has colour . The edge forces these two colours to be and in some order. The graph triangle now forces to have colour . Since is adjacent to and , it must have colour . The graph triangle forces to have colour . But is adjacent to , which also has colour , contradicting a proper graph colouring. Therefore at least one input has colour .
To give the polynomial-time many-one reduction, use one common palette graph triangle . For each Boolean variable , create two graph vertices and join them to each other and to . This Boolean-pair colouring gadget forces them to have opposite colours . For each Boolean clause, introduce five fresh auxiliary graph vertices and the edges of the three-colour clause gadget, identifying its inputs with that clause's three Boolean literal vertices and using the common . In the notation of the diagram, its ten additional edges are the two triangles and , the bridge , and the three input edges. With variables and clauses the constructed undirected graph has vertices and at most edges. Repeated literals do not affect the argument. Its construction takes polynomial time.
A proper graph colouring defines a consistent truth assignment by declaring true precisely when its vertex has colour . The only-if result just proved makes every clause true. Conversely, a satisfying assignment colours every literal vertex consistently, and the supplied if-direction extends each satisfied clause's colours to its fresh auxiliary vertices. These extensions do not conflict, since different clauses share only already-coloured palette and literal vertices. Thus the Boolean formula is satisfiable exactly when the constructed undirected graph is three-colourable. Since 3-SAT is NP-complete, composition of reductions proves NP-hardness of the three-colourability problem.
Finally, a list of three colour labels, one for each graph vertex, is a complexity certificate for the three-colourability problem. Checking all edges takes time. Hence this problem is in NP as well, and the three-colourability problem is NP-complete.
A cyclic code of length over is a linear code invariant under . Associate the word with . The shift is multiplication by modulo , so shift-invariant linear subspaces are exactly the ideals of . The inverse image of such an ideal in is principal and contains ; hence it is generated by a unique monic divisor of . The code has basis , and dimension .
The defining zeros of a cyclic code are the roots of its generator in a splitting field. Since , each is a root of unity over a finite field. Every codeword vanishes at each such root. If the characteristic divides , root multiplicities must additionally be retained; in the Hamming construction below the modulus has no repeated roots.
The unrestricted ternary cyclic-equivalence assertion is false. At it would give a cyclic code. But
over , with the quadratic irreducible. A dimension-two cyclic code needs a degree-two generator, so its only possibilities are and . Each is a weight-two codeword. Therefore neither has minimum distance three, and no code equivalent to the ternary Hamming code can be cyclic. A valid general version of the asserted construction assumes odd . The usual distance-three Hamming parameters also require ; when the code is the length-one zero code.
Here is the construction with its precise qualification. A ternary Hamming code has a parity-check matrix whose columns represent each one-dimensional subspace of once. There are such subspaces. Its rank is , because the coordinate lines are included. Its minimum distance is at least three, because no column is zero and no two are proportional. For , two independent vectors and their sum determine three distinct columns, and, after adjusting their nonzero representative scalars, give a weight-three linear relation. Thus its parameters are . Permuting columns and changing their nonzero representatives produces a monomial equivalence of linear codes.
Take odd and choose of order . Since is odd, is not in the cyclic subgroup generated by . Hence lie in distinct one-dimensional -subspaces: a proportional pair would have ratio or , neither possible for two distinct powers in this list. By their number they represent all projective points. Consequently
is monomially equivalent to the ternary Hamming code. Since , evaluation at descends to and its kernel is an ideal, so is cyclic.
The degree of over is . If it were , its generated field would have elements and its element order would give
a contradiction. Its minimal polynomial of an algebraic element therefore has degree . Applying Frobenius to a polynomial relation shows that are its roots; they are distinct by the same field-degree argument. Their product polynomial is the monic minimal polynomial of an algebraic element, and it divides . Thus
This identifies all the defining zeros. For , , the defining exponents are modulo .
There is also a uniform construction for all , explaining the missing qualification. Let generate , which has order . The powers represent all projective points, since proportional powers differ by exponent or modulo . But , so the kernel of is an ideal modulo , a negacyclic code. Multiplication by gives , preserving its kernel. This code is always equivalent to the ternary Hamming code. If is odd, is odd too, and the substitution , or coordinate scaling , changes this negacyclic construction into the cyclic one. In fact then has order . These explicit constructions prove the qualified assertion rather than relying on a theorem name.
For decoding, use the printed matrix with received words as row vectors; the conventional parity-check matrix is . The received word's syndrome is
A single-symbol error of value at position has syndrome , where is row of the printed matrix. Here
Therefore subtract at the sixth coordinate, changing its received value to modulo three. The decoded codeword is
Its syndrome is zero. The thirteen projective rows and the two nonzero scalars give all nonzero syndromes exactly once, so this is the unique codeword at distance one. It is the transmitted word under the usual assumption of at most one symbol error. If positions are designated check positions, their independent unit rows make the other ten symbols systematic data, namely .
A root of unity over a finite field is an element satisfying , with ; the algebraic closure is essential because all roots need not lie in the base field. Write and , where . In characteristic ,
The latter polynomial has distinct roots, since the derivative is nonzero at every root. Those roots are closed under multiplication and inversion and contain , so is a finite multiplicative subgroup of a field. The proof in the preceding solution makes it a cyclic group. In particular
This also explains why the coprimality qualification is needed.
The multiplicative group of a finite field is cyclic of order . It contains the entire group of th roots precisely when . For necessity, a generator of has order and Lagrange's theorem applies. For sufficiency, a cyclic group whose order is divisible by contains roots of ; since there are exactly roots in the algebraic closure, these are all of them. Hence the least positive extension degree is
Here is the multiplicative order of the residue class of modulo . If is coprime to , replace by . Existence of this order follows because is a unit modulo .
A primitive th root of unity over a finite field has multiplicative order exactly . If , no such element exists, since all roots have order dividing . If , choose a generator of . The element has order , so it is primitive precisely when . Therefore there are primitive roots, with the Euler totient function.
If is primitive of order , then exactly when , equivalently . The implication from that equality to membership follows because the roots of form , as proved in the preceding solution. Consequently
for , and the degree is one for . This is also the length of the finite-field Frobenius automorphism orbit of .
Using the same basis of as before, the fourth roots of unity are
There are four, they are already in , and the primitive fourth roots are the two vectors and .
A finite field is a field with finitely many elements. Its characteristic is the least positive integer for which ; such an integer exists because the additive group is finite. If with , then although neither factor is zero, impossible in a field. Hence is prime, and the multiples of form its prime field . The whole field is a finite-dimensional vector space over this subfield, say of dimension , so its cardinality is . Thus and its characteristic is .
For existence, let be a splitting field over of . Since , it has exactly distinct roots. Its root set contains and is closed under addition and multiplication, because iterated Frobenius endomorphism gives
It is also closed under additive inverses, and for , . Thus is a field with exactly elements. Since it contains every root, it is the entire splitting field. This proves existence.
For uniqueness, let be any field with elements. Its nonzero multiplicative group has order , so Lagrange's theorem gives for every , including zero. Hence is a splitting field of the same polynomial. Here is the embedding argument giving uniqueness, rather than merely invoking it by name. Extend the identity on from one root at a time. If an embedding is already defined on and a new root has minimal polynomial of an algebraic element over , the transported polynomial divides and therefore has a root in . Evaluation at induces an embedding , extending the existing embedding to . Repeating for the finitely many roots embeds the constructed field in . They have the same finite cardinality, so this embedding is an isomorphism. Thus the field of order is unique up to isomorphism.
We prove cyclicity of the multiplicative group, also establishing the more general finite multiplicative subgroup of a field is cyclic result. Let be a finite subgroup of a field's multiplicative group, and let be the least common multiple of all element orders. For every prime dividing , choose an element whose order has the maximal -power ; raising it to the factor of its order coprime to gives an element of order . Since the group is abelian, the product of these elements has order : for commuting elements of coprime orders, an equation forces into the intersection of their cyclic subgroups, which is trivial, so both orders divide . Every member of is a root of . The Lagrange root bound over a field gives , while the element just constructed has order and gives . Thus equality holds and that element generates . In particular
For the field with nine elements, use . The polynomial has no root in , since its squares are , so the quotient is a field. In the basis , a vector represents , and
with coefficients reduced modulo three. Put . Then , , and , proving that is a primitive element of a finite field of order eight. Its complete power/vector table is
For completeness, the full addition and multiplication tables in these labels are displayed below. The subscripts are element labels; they are not the scalar residues of .
A nonzero element satisfies exactly when , so is even. Thus, with ,
For a linear code , its dual code is
The standard bilinear form is nondegenerate. The map obtained by restricting the dot-product functional to is surjective: extend a functional from a basis of to a basis of , then use the nondegenerate dot product to represent it. Its kernel is . The rank-nullity theorem therefore gives
The first proposed description of the dual code is false without self-orthogonality. At length three take . It has the specified dimension, but
whereas contains and , neither of which is in . The natural corrected statement is the odd-length binary self-orthogonal dual extension: if also , every word of has even Hamming weight, the all-ones word lies in but not in , and dimensions then give .
For a binary self-dual code, for every . In , this equals , so every codeword has even Hamming weight. Thus for all , giving . The dimension identity yields , so is even. Alternatively and itself gives evenness. Hence the second assertion is true.
For every , use
This linear code has dimension , and . Therefore ; both have dimension , so equality holds. This constructs a binary self-dual code at every even length. Conversely the dimension identity already proves every self-dual length- linear code has dimension .
For a nonbinary example, over take . Its generator has self-product in , so . Both are one-dimensional, proving
For a memoryless quantum channel , successive uses are described by . Its entanglement-assisted classical capacity is the supremum of classical bits per use achievable with error tending to zero when sender and receiver may use unlimited preshared quantum entanglement, independent of the message. Only the channel is used to transmit the message.
For input state , choose a purification and set . The capacity formula is
Purifications differ only by an isometry on the reference, so this expression depends only on the input density matrix. The quantity optimized is quantum mutual information.
The binary quantum erasure channel sends a qubit to a qubit subspace plus an orthogonal erasure flag:
On the nonerased branch it transmits the entire state, including its coherences. Put . The entropy of an orthogonal quantum mixture gives
The reference-output state has two orthogonal branches:
The first branch is pure; the second has entropy . Thus and
A qubit has entropy at most one bit, with equality at . We conclude
The endpoint capacities are two and zero. As an operational check, superdense coding encodes four classical messages in one member of a shared Bell pair. A successful channel use lets the receiver identify the message; an erased qubit yields the flag. This induces a four-symbol classical erasure channel of capacity , agreeing with the entropy calculation.

There are unlisted articles, also show them or only show them.