The generalized Leibniz rule follows by mathematical induction. The case is the identity . Suppose the formula holds for and differentiate every term using the product rule:
For an interior index , the coefficient of becomes by Pascal's identity. The two endpoint coefficients are one. This proves
Only finitely many derivatives are involved; it suffices that both functions are times differentiable.
For and , the derivatives of beyond order two vanish. The three surviving terms of the generalized Leibniz rule give
The simplified expression works for every integer , including the two cases where one or more of the three terms are absent.
For and , use . Again only three terms survive. With , they are
Since and , this becomes
The factors and remove the nonexistent terms when or .
For functions with the required derivatives, the Leibniz rule is
At it is immediate. If it holds at , differentiating each summand gives two sums. The coefficient of after regrouping is by Pascal's identity, including the two endpoint terms. This proves the formula by mathematical induction.
Apply it to and then expand the derivatives of . For , the resulting coefficient is . Consequently
where range over nonnegative integers. This is the three-factor generalized Leibniz rule.
The similarity transformation gives . In the matrix power, each adjacent pair cancels to the identity matrix:
This also follows by mathematical induction: the formula holds for , and multiplication by turns its th instance into the st.
The trigonometric addition formula gives
Dividing by and writing gives the recurrence relation
The first two members are and . If has degree and leading coefficient , then has degree and leading coefficient , whereas has lower degree and cannot cancel that term. Mathematical induction proves
For example the sequence begins , agreeing with the Chebyshev polynomial of the second kind.
Nonzero vectors are conjugate directions with respect to when for . They are linearly independent: if , multiplication by gives , hence by positive definiteness. There are consequently at most such directions.
The finite termination of conjugate directions follows from the residual orthogonality maintained by the exact line minimizations. At step ,
For , conjugacy gives . By mathematical induction, is orthogonal to every . After nonzero conjugate directions they form a basis of , forcing . Thus the method reaches in at most steps, and positive definiteness makes that solution unique. The claim is in exact arithmetic; rounding errors need not preserve exact conjugacy.
Write . The update can be rearranged as
When , the right side is a convex combination of old values: its coefficients are nonnegative and sum to one. Assume all old values lie in . A new maximum is interior because boundary values are zero and . At its node the left side is at least , while the right side is at most , a contradiction. A new minimum similarly makes the left side at most and the right side at least , again a contradiction.
The initial values satisfy the bounds by construction; mathematical induction proves
The new-time matrix is a strictly diagonally dominant matrix with positive diagonal and nonpositive off-diagonal entries, so the linear update is uniquely solvable. This Crank-Nicolson maximum principle under a step restriction concerns preservation of value bounds, which is a stronger requirement than scalar A-stability.
Set with . The cosine addition identity gives
hence , , and . By mathematical induction, is a polynomial of degree : the initial cases hold, and the leading term of has degree while the subtraction has lower degree. Its leading coefficient is for .
The same change of variables gives the weighted integral
Differentiating the expectation value and using and gives
The second term means explicit operator time dependence, distinct from the state's evolution.
The commutator product rule follows by adding and subtracting :
For the mathematical induction step, let and use . The case is immediate. If , then
Thus the claimed identity holds for every positive integer. Commutation of with is not needed for this particular step. This is the central-commutator differentiation rule. Termwise application to a convergent power series, on a common domain where the operations are justified, gives
For position and momentum, . Hence , and . Substitution gives Ehrenfest theorem:
The mean momentum changes by the mean force. It does not follow for a general nonlinear Potential energy that : a closed classical trajectory for the mean position requires an additional condition, such as a quadratic Potential energy or a sufficiently localized wave packet.
The answer is
It holds initially by construction. If it holds at step , then is a function of , so it is independent of the fresh inputs . Part (a)(iii) therefore gives . This completes the mathematical induction and identifies the stationary distribution of the recursion.
For every , is a sigma-algebra contained in , and including one more random variable among its generators can only enlarge it. Hence ; the trivial is contained in every sigma-algebra. These are exactly the requirements for a filtration.
The constant is -measurable. Suppose is -measurable. The pair is then -measurable, and the event is -measurable because comparison of two real coordinates defines a Borel set. Define its indicator function by . The recursion becomes
It is a measurable function of that pair. Mathematical induction proves is -measurable for every , so is an adapted process. The same recursion also proves at every finite time, a useful bound for the later integrability arguments.
For each ,
since is adapted. This verifies directly that is a stopping time.
Set . On , the random walk is at some integer strictly between and . If its next steps are all , it must hit within that block. These future steps are independent of and have probability of being all . Hence
The law of total expectation and mathematical induction give the geometric tail bound from a uniform escape probability:
Therefore . In fact this also proves by grouping the tail-sum formula into blocks of length . No assertion of independence between successive survival events is needed.
Set with . The cosine addition identity gives
hence , , and . By mathematical induction, is a polynomial of degree : the initial cases hold, and the leading term of has degree while the subtraction has lower degree. Its leading coefficient is for .
The same change of variables gives the weighted integral
Here each is a nonempty connected subgraph of a tree, rather than a descendant-closed data-structure subtree. We prove the Helly property for connected subgraphs of a tree by mathematical induction on the number of vertices of .
For a one-vertex tree, every nonempty contains that vertex. For a larger tree, choose a leaf of a tree using part (i), and denote its unique neighbour by . If some consists only of , the assumed pairwise intersections force every to contain , and we are done.
Otherwise, remove from every that contains it, leaving all other unchanged. Any affected has at least two vertices; connectedness forces it to contain and the edge . Thus is a leaf of a tree of , and part (ii) shows that its deletion leaves a nonempty tree. All reduced are therefore nonempty connected subgraphs of a tree .
They still intersect pairwise. An original common vertex other than survives. If a pair had only in common, both members would also contain , by the previous paragraph, contradicting that it was their only common vertex. The induction hypothesis now supplies a common vertex of the reduced family, which is also common to the original family. Consequently
The following R code implements the given recursion for the Cholesky decomposition. The input is assumed to be a real symmetric matrix that is a positive-definite matrix.
mychol <- function(A) {
  n <- nrow(A)
  if (n == 1L) return(matrix(sqrt(A[1L, 1L]), 1L, 1L))
  j <- 2L:n
  L <- matrix(0, n, n)
  L[1L, 1L] <- sqrt(A[1L, 1L])
  b <- A[j, 1L, drop = FALSE] / L[1L, 1L]
  L[j, 1L] <- b
  S <- A[j, j, drop = FALSE] - tcrossprod(b)
  L[j, j] <- mychol(S)
  L
}
Here tcrossprod(b) is the outer product . The drop = FALSE arguments preserve matrix dimensions, including the final one-by-one subproblem, and the base case also returns a matrix.
To verify correctness, partition . The code sets , and recursively factors . This Schur complement is a positive-definite matrix: for ,
If is the recursive answer, then the returned lower triangular matrix satisfies
The one-dimensional identity starts this mathematical induction proof. Each recursive call reduces the matrix size by one and therefore terminates.
An inverse matrix exists only if the lower triangular matrix has no zero diagonal entries; this necessary assumption is implicit in the request for . Partition
Writing its inverse in the same block form and multiplying gives the recursive inverse of a lower triangular matrix:
Indeed the lower-left block of the product is , and the diagonal blocks are identities. This gives an implementation with no call to solve:
ltinv <- function(L) {
  n <- nrow(L)
  if (n == 1L) return(matrix(1 / L[1L, 1L], 1L, 1L))
  j <- 2L:n
  Cinv <- ltinv(L[j, j, drop = FALSE])
  B <- matrix(0, n, n)
  B[1L, 1L] <- 1 / L[1L, 1L]
  B[j, j] <- Cinv
  B[j, 1L] <- -as.vector(Cinv %*% L[j, 1L, drop = FALSE]) / L[1L, 1L]
  B
}
The preserved matrix dimensions also handle . A mathematical induction using the block identity proves that every returned matrix is the desired inverse. Applied to the Cholesky decomposition from (a), all diagonal entries are positive, so all divisions are valid.
A finite tree is a nonempty connected graph with no graph cycles. We show by mathematical induction on its number of vertices that it has edges. For there are no edges, so the assertion holds.
If , take a path in a graph of maximal length among those without repeated vertices. Each endpoint is a leaf of a tree: an additional incident edge would either extend the path in a graph or create a graph cycle. Delete one such leaf of a tree and its unique incident edge. The remaining graph stays connected, since a path in a graph between remaining vertices never needs that terminal edge, and it has no graph cycles. It is therefore a tree with vertices and, by mathematical induction, edges. Restoring the deleted edge gives .
Thus its Euler characteristic is
A context-free grammar with start symbol , terminal alphabet , and the following productions generates all binary palindromes:
Each production preserves the palindrome property: it either supplies a central string of length zero or one, or wraps the same symbol around a shorter palindrome. This proves soundness by structural induction on the parse tree.
Conversely, any palindrome of length at least two has equal first and last symbols. Remove them to obtain a shorter palindrome, apply mathematical induction on length, and then use the corresponding wrapping production. The three base cases are , , and , proving completeness.
A context-free grammar is an ambiguous grammar if some terminal string has two distinct parse trees, equivalently two distinct leftmost derivations. Different orders of expanding independent nonterminals do not by themselves constitute ambiguity.
The context-free grammar just given is unambiguous. It suffices to prove this for the reversed productions, because reversing a parse tree preserves whether two parse trees are distinct.
For , the empty string forces the empty production. A nonempty string must use . In any resulting nonnegative balanced path, the displayed one is the unique first return to zero. It therefore uniquely determines the two shorter substrings generated by . Mathematical induction on length makes both smaller parse trees unique.
For , the empty string again forces the empty production. A nonempty path with no return to zero must use , since always returns to zero. A path with a return must use , since stays positive after its first step. In the latter case, the first return uniquely determines the substring and the remaining substring. Applying mathematical induction to these shorter substrings proves uniqueness throughout. Hence
Use the following context-free grammar, with start symbol :
The symbol generates the balanced members of the suffix-nonnegative binary language, while permits extra zeros. To prove the claim and prepare the ambiguity argument, reverse every generated string. The reversed productions are
Here represents the reversals of the strings, and represents the reversals of the strings. A string belongs to the desired formal language precisely when its reversal has no string prefix with more ones than zeros. Associate a path with each reversed string, counting a zero as a step and a one as a step .
The nonterminal generates exactly the paths that stay nonnegative and finish at zero. The production consists of an initial up-step, a balanced path one level higher, a down-step to zero, and another balanced path. Conversely, any nonempty balanced nonnegative path has a first return to zero, and splitting there gives exactly this form. Mathematical induction on length proves the characterization.
The productions for generate nonnegative paths: stays strictly above zero after its first step, while first executes a balanced excursion and then another nonnegative path. Conversely, a nonempty nonnegative path starts with zero. If it never returns to height zero, removing that initial zero leaves a nonnegative path, giving . If it does return, split at its first return to obtain . These shorter components can be generated by mathematical induction. This proves that the original context-free grammar generates exactly the required formal language.
For instance, in the original context-free grammar,
while . The string is excluded since its entire length is a string suffix having two ones and only one zero.
Let denote the given tridiagonal matrix and put , including for the empty determinant. The starting values are
For , apply the following elementary row operations in the indicated order, always using the updated rows:
The first three rows now begin
with the fourth column omitted if . When , also use . The resulting block upper triangular matrix has a upper triangular matrix with diagonal entries all one in its top left corner, and in its bottom right corner. All elementary row operations preserved the determinant except the single row interchange. Therefore
Applying this recurrence relation to the three starting values proves by mathematical induction that
Equivalently, the sequence is periodic with period six, with values starting at . A compact closed form is .