For a nonnegative integer parameter , make both branches of a structural recursion execute:
sml
fun binaryWalk 0 = ()
  | binaryWalk n = (binaryWalk (n - 1); binaryWalk (n - 1));
The semicolon sequences two calls, so this is not a conditional choosing just one branch. The recursion tree has leaves and calls. Its time complexity satisfies , giving . Here is the parameter specified by the question, not its binary encoding length; only calls are simultaneously on the stack.
Traverse the whole original list once for each of its elements:
sml
fun scan [] = ()
  | scan (_ :: xs) = scan xs;

fun scanForEach [] whole = ()
  | scanForEach (_ :: rest) whole =
      (scan whole; scanForEach rest whole);

fun quadratic xs = scanForEach xs xs;
The outer structural recursion runs times, and each scan whole visits constructors. In the ordinary source-evaluation cost model, the time complexity is . This example counts executed traversals, without assuming an optimizing compiler that removes deliberately unused computations.
Use merge sort on a list of integers:
sml
fun sort xs = mergeSort (op <=) xs;
Here mergeSort denotes the standard merge sort implementation: split into two almost equal lists, recursively sort them, and combine them using the merge algorithm. Splitting and merging take linear time, and each recursion level has total input length . There are levels, so the worst-case time complexity is . Equivalently, .
A Standard ML length function visits each list constructor once:
sml
fun length [] = 0
  | length (_ :: xs) = 1 + length xs;
Writing for its time complexity, and . Thus . Arithmetic is treated as unit cost; the example concerns list traversal rather than arbitrary-precision arithmetic.
Use the usual unit-cost model for Standard ML list constructors and fixed-size arithmetic. The input size in the list examples is the number of list elements, rather than the size of the integer entries. Inspecting only the first constructor has constant time complexity:
sml
fun firstOrZero [] = 0
  | firstOrZero (x :: _) = x;
No tail is traversed. The running time is .
Condition (iv) says in particular that is an equivalence relation, so it is symmetric and transitive. It therefore implies (i) and (ii), closing the chain of implications.
Uniqueness is literal: if two equivalence relations both contain and are each contained in every such relation, each is contained in the other, so they are equal. Combining the preceding proofs gives
Their common relation is the equivalence relation generated by , and under these conditions it is already obtained by the two-step composite .
The inverse argument in part (i) proves that the one-sided inclusion in (iii) already implies equality:
Parts (i) and (ii) then make both symmetric and transitive; it is reflexive from the root solution. Therefore is an equivalence relation containing and .
If is any other equivalence relation containing both, a witness gives , and transitivity gives . Hence . Thus (iii) implies the unique-smallest assertion in (iv).
A binary relation is transitive exactly when . If condition (iii) holds, associativity and monotonicity of composition of relations give
Hence (iii) implies (ii). Conversely, the inclusions imply
If is a transitive relation, the right side lies in , which is condition (iii). Thus (ii) and (iii) are equivalent.
By the inverse identity established in the root solution, the composite is a symmetric relation precisely when
Thus condition (i) implies condition (iii). Conversely, if , take inverse relations. Since are symmetric, this gives the reverse inclusion . The two composites are equal, making symmetric. Therefore (i) and (iii) are equivalent, and either one forces commutation.
For the anticlockwise arc use , , . Since and , the line integral becomes
The two integrals multiplying each equal , by substituting and respectively. The remaining integral equals one. Thus
On the first leg and decreases from one to zero; on the second and increases from zero to one. Adding their line integrals gives
The negative sign in the first term follows from the direction of traversal.
Parametrize the straight segment by , , . Then , , and . The line integral is
False; in fact no matrix with this spectrum is diagonalizable over . If a real invertible gave with a real diagonal matrix, all eigenvalues of would be the real diagonal entries of . But two of the required eigenvalues have nonzero imaginary parts. This contradiction proves
The real block form in the initial example is consistent with this: a two-dimensional rotation block is not a real diagonalization.
False. Consider the real matrix
It is block upper triangular, so its characteristic polynomial is the same as that of and it has the required eigenvalues. Its second column, however, has squared Euclidean norm , whereas every column of an orthogonal matrix has norm one. Thus
Unit-modulus eigenvalues alone do not imply orthogonality; they do not control the geometry of the eigenvectors.
True. All three eigenvalues are distinct in , so their nonzero eigenvectors are linearly independent. Here is a direct proof of that assertion. If , apply to obtain
Distinctness makes both scalar factors nonzero, hence . Applying the analogous products gives . The three eigenvectors therefore form a basis of . Taking them as the columns of gives
This proves that every such matrix is a diagonalizable matrix over , rather than merely showing it for the example.
Decompose the electric field into its orthogonal parts , where . The uniaxial conductivity tensor acts on them as
If , its perpendicular and parallel components each vanish. Since and , this forces both field components to be zero. The contrapositive gives
Equivalently, the tensor has nonzero eigenvalues and determinant .
Writing the uniaxial conductivity tensor in vector form gives the electric current density
Choose the plane through the origin perpendicular to :
For an electric field in this plane, the anisotropic term vanishes and . Thus every nonzero such field is parallel or antiparallel to its current according to the sign of the nonzero . The zero field gives zero current. This establishes collinearity throughout the plane without assuming that the tensor is isotropic.
Under the moving-coordinate transformation, the forcing is . Choose a stationary solution , which requires precisely . The left spatial limit of is zero only if . Therefore one solution is the transported step forcing in an advection-diffusion equation profile
It has and , so their sum vanishes; almost everywhere , canceling the source. The first derivatives are continuous on the moving interface. For each fixed , the profile is zero far to the left and tends to minus infinity to the right, as required. The PDE holds pointwise off that interface and weakly across it, consistently with the requested continuously differentiable regularity.
For , the Heaviside function vanishes, so . For , , giving . Continuity of and at zero requires and . Consequently the general continuously differentiable profile is
Its second derivative jumps from zero to minus one. The equation is satisfied classically away from zero and in the weak, or distributional, sense across it; no globally twice-differentiable function can have the prescribed step as its second derivative. There is no Dirac delta contribution because is continuous. The value assigned to the Heaviside function at a single point does not change this weak solution.
Apply the chain rule to . Holding fixed while differentiating in gives , while and . Thus the advection-diffusion equation becomes
The moving coordinate follows the unit-speed advection, leaving the heat equation with a transformed source.

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