1.11 \(x^{n}\)-equivalence
Let \(n\in \mathbb {N}\). Let \(f,g\in K\left[\left[x\right]\right]\) be two FPSs. We write \(f\overset {x^{n}}{\equiv }g\) if and only if
Thus, we have defined a binary relation \(\overset {x^{n}}{\equiv }\) on the set \(K\left[\left[x\right]\right]\). We say that an FPS \(f\) is \(x^{n}\)-equivalent to an FPS \(g\) if and only if \(f\overset {x^{n}}{\equiv }g\).
- (f ≡[x^n] g) = ∀ m ≤ n, (PowerSeries.coeff m) f = (PowerSeries.coeff m) g
Let \(m,n\in \mathbb {N}\) with \(m\leq n\). If \(f\overset {x^{n}}{\equiv }g\), then \(f\overset {x^{m}}{\equiv }g\).
If each \(k\in \{ 0,1,\ldots ,n\} \) satisfies \([x^k]f=[x^k]g\), then in particular each \(k\in \{ 0,1,\ldots ,m\} \subseteq \{ 0,1,\ldots ,n\} \) satisfies \([x^k]f=[x^k]g\).
Two FPSs \(f,g\in K[[x]]\) satisfy \(f\overset {x^{0}}{\equiv }g\) if and only if \([x^0]f=[x^0]g\).
This is immediate from the definition, since \(\{ 0,1,\ldots ,0\} =\{ 0\} \).
1.11.1 Helpers for the equivalence relation
Let \(n\in \mathbb {N}\). For any FPS \(f\in K[[x]]\), we have \(f\overset {x^{n}}{\equiv }f\).
Immediate from the definition: \([x^m]f=[x^m]f\) for all \(m\).
Let \(n\in \mathbb {N}\). If \(f,g\in K[[x]]\) satisfy \(f\overset {x^{n}}{\equiv }g\), then \(g\overset {x^{n}}{\equiv }f\).
If \([x^m]f=[x^m]g\) for all \(m\leq n\), then \([x^m]g=[x^m]f\) by symmetry of equality.
Let \(n\in \mathbb {N}\). If \(f,g,h\in K[[x]]\) satisfy \(f\overset {x^{n}}{\equiv }g\) and \(g\overset {x^{n}}{\equiv }h\), then \(f\overset {x^{n}}{\equiv }h\).
If \([x^m]f=[x^m]g\) and \([x^m]g=[x^m]h\) for all \(m\leq n\), then \([x^m]f=[x^m]h\) by transitivity of equality.
Let \(n\in \mathbb {N}\).
(a) The relation \(\overset {x^{n}}{\equiv }\) on \(K\left[\left[ x\right]\right]\) is an equivalence relation. In other words:
This relation is reflexive (i.e., we have \(f\overset {x^{n}}{\equiv }f\) for each \(f\in K\left[\left[x\right]\right]\)).
This relation is transitive (i.e., if three FPSs \(f,g,h\in K\left[ \left[x\right]\right]\) satisfy \(f\overset {x^{n}}{\equiv }g\) and \(g\overset {x^{n}}{\equiv }h\), then \(f\overset {x^{n}}{\equiv }h\)).
This relation is symmetric (i.e., if two FPSs \(f,g\in K\left[\left[ x\right]\right]\) satisfy \(f\overset {x^{n}}{\equiv }g\), then \(g\overset {x^{n}}{\equiv }f\)).
(b) If \(a,b,c,d\in K\left[\left[x\right]\right]\) are four FPSs satisfying \(a\overset {x^{n}}{\equiv }b\) and \(c\overset {x^{n}}{\equiv }d\), then we also have
(c) If \(a,b\in K\left[\left[x\right]\right]\) are two FPSs satisfying \(a\overset {x^{n}}{\equiv }b\), then \(\lambda a\overset {x^{n}}{\equiv }\lambda b\) for each \(\lambda \in K\).
(d) If \(a,b\in K\left[\left[x\right]\right]\) are two invertible FPSs satisfying \(a\overset {x^{n}}{\equiv }b\), then \(a^{-1} \overset {x^{n}}{\equiv }b^{-1}\).
(e) If \(a,b,c,d\in K\left[\left[x\right]\right]\) are four FPSs satisfying \(a\overset {x^{n}}{\equiv }b\) and \(c\overset {x^{n}}{\equiv }d\), and if the FPSs \(c\) and \(d\) are invertible, then we also have
(f) Let \(S\) be a finite set. Let \(\left(a_{s}\right)_{s\in S}\in K\left[\left[x\right]\right]^{S}\) and \(\left(b_{s}\right)_{s\in S}\in K\left[\left[x\right]\right]^{S}\) be two families of FPSs such that
Then, we have
All of these properties are analogous to familiar properties of integer congruences, except for Theorem 1.328 (d), which is moot for integers (since there are not many integers that are invertible in \(\mathbb {Z}\)).
(a) Reflexivity, symmetry and transitivity follow directly from the corresponding properties of equality of coefficients.
(b) For addition: If \(a\overset {x^{n}}{\equiv }b\) and \(c\overset {x^{n}}{\equiv }d\), then for each \(m\in \{ 0,1,\ldots ,n\} \) we have \([x^m](a+c)=[x^m]a+[x^m]c=[x^m]b+[x^m]d=[x^m](b+d)\). Subtraction is analogous.
For multiplication: We have \([x^m](ac)=\sum _{i=0}^{m}[x^i]a\cdot [x^{m-i}]c\). Since \(m\leq n\), each \(i\leq m\) satisfies \(i\leq n\) and \(m-i\leq n\), so \([x^i]a=[x^i]b\) and \([x^{m-i}]c=[x^{m-i}]d\). Thus \([x^m](ac)=[x^m](bd)\).
(c) For each \(m\leq n\), we have \([x^m](\lambda a)=\lambda \cdot [x^m]a=\lambda \cdot [x^m]b=[x^m](\lambda b)\).
(d) Let \(a,b\in K[[x]]\) be two invertible FPSs satisfying \(a\overset {x^{n}}{\equiv }b\). We want to show that \(a^{-1}\overset {x^{n}}{\equiv }b^{-1}\).
The FPS \(a\) is invertible; thus, its constant term \([x^{0}]a\) is invertible in \(K\) (by Proposition 1.111).
We prove that each \(m\in \{ 0,1,\ldots ,n\} \) satisfies \([x^{m}](a^{-1})=[x^{m}](b^{-1})\) by strong induction on \(m\). Fix some \(k\in \{ 0,1,\ldots ,n\} \), and assume (as induction hypothesis) that \([x^{m}](a^{-1})=[x^{m}](b^{-1})\) for each \(m\in \{ 0,1,\ldots ,k-1\} \).
We know that
(here, we have split off the addend for \(i=0\) from the sum). Thus,
We can solve this equation for \([x^{k}](a^{-1})\) (since \([x^{0}]a\) is invertible), and thus obtain
The same argument (applied to \(b\) instead of \(a\)) yields
The right hand sides of the latter two equalities are equal (since each \(i\in \{ 1,2,\ldots ,k\} \) satisfies \([x^{i}]a=[x^{i}]b\) as a consequence of \(a\overset {x^{n}}{\equiv }b\), and satisfies \([x^{k-i}](a^{-1})=[x^{k-i}](b^{-1})\) as a consequence of the induction hypothesis, and since we have \([x^{0}]a=[x^{0}]b\) as a consequence of \(a\overset {x^{n}}{\equiv }b\)). Hence, the left hand sides must also be equal. In other words, \([x^{k}](a^{-1})=[x^{k}](b^{-1})\), which is precisely what we wanted to prove. Thus, the induction step is complete, so that \(a^{-1}\overset {x^{n}}{\equiv }b^{-1}\) is proved.
(e) Combine parts (b) and (d): we have \(a\overset {x^{n}}{\equiv }b\) and \(c^{-1}\overset {x^{n}}{\equiv }d^{-1}\) (by (d)), so \(ac^{-1}\overset {x^{n}}{\equiv }bd^{-1}\) (by (b)).
(f) The sum case follows by induction on \(|S|\) using part (b) for the induction step (adding one element at a time). The product case is analogous, using the multiplication part of (b).
Let \(n\in \mathbb {N}\). If \(a,b\in K[[x]]\) satisfy \(a\overset {x^{n}}{\equiv }b\), then \(-a\overset {x^{n}}{\equiv }-b\).
For each \(m\leq n\), we have \([x^m](-a)=-[x^m]a=-[x^m]b=[x^m](-b)\).
1.11.2 Helpers for inversion and division
Let \(n\in \mathbb {N}\). Let \(f,g\in K[[x]]\) be two FPSs satisfying \(f\overset {x^{n}}{\equiv }g\), and let \(u,v\) be units of \(K\) satisfying \(u = v\). Then the FPS obtained by inverting \(f\) using the unit \(u\) is \(x^n\)-equivalent to the FPS obtained by inverting \(g\) using the unit \(v\).
The proof proceeds by strong induction on the coefficient index, analogous to the proof of Theorem 1.328 (d), using the equality of unit values \(u=v\) and the \(x^n\)-equivalence of \(f\) and \(g\).
Let \(n\in \mathbb {N}\). Let \(a,b,c,d\in K[[x]]\) be four FPSs satisfying \(a\overset {x^{n}}{\equiv }b\) and \(c\overset {x^{n}}{\equiv }d\), and let \(c\) and \(d\) have invertible constant terms. Then \(a \cdot c^{-1}\overset {x^{n}}{\equiv }b \cdot d^{-1}\).
Let \(n\in \mathbb {N}\). If \(a,b\in K[[x]]\) satisfy \(a\overset {x^{n}}{\equiv }b\), then \(a^k\overset {x^{n}}{\equiv }b^k\) for every \(k\in \mathbb {N}\).
By induction on \(k\). The base case \(k=0\) gives \(a^0=1=b^0\), which is trivially \(x^n\)-equivalent to itself. For the induction step, \(a^{k+1}=a^k\cdot a \overset {x^{n}}{\equiv }b^k\cdot b=b^{k+1}\) by the induction hypothesis and (53).
Let \(n\in \mathbb {N}\). Two FPSs \(f,g\in K[[x]]\) satisfy \(f\overset {x^{n}}{\equiv }g\) if and only if \(\operatorname {trunc}_{n+1}(f)=\operatorname {trunc}_{n+1}(g)\).
The truncation \(\operatorname {trunc}_{n+1}(f)\) is the polynomial \(\sum _{k=0}^{n}([x^k]f)\cdot x^k\). Two such truncations are equal if and only if all their coefficients at degrees \(0,1,\ldots ,n\) agree, which is exactly the condition \(f\overset {x^{n}}{\equiv }g\).
Let \(n\in \mathbb {N}\) and \(f\in K[[x]]\). There exists a polynomial \(p\in K[x]\) such that \(f\overset {x^{n}}{\equiv }p\).
Take \(p=\sum _{k=0}^{n}([x^k]f)\cdot x^k\). Then for each \(m\leq n\), \([x^m]p=[x^m]f\).
1.11.3 Divisibility characterization
Let \(n\in \mathbb {N}\). Let \(f,g\in K\left[\left[x\right]\right]\) be two FPSs. Then, we have \(f\overset {x^{n}}{\equiv }g\) if and only if the FPS \(f-g\) is a multiple of \(x^{n+1}\).
A simple consequence of Lemma 1.130.
\((\Longrightarrow )\): Assume \(f\overset {x^{n}}{\equiv }g\). Then for each \(m{\lt}n+1\) (i.e., \(m\leq n\)), we have \([x^m](f-g)=[x^m]f-[x^m]g=0\). Thus the first \(n+1\) coefficients of \(f-g\) are \(0\), so \(f-g\) is a multiple of \(x^{n+1}\) by Lemma 1.130.
\((\Longleftarrow )\): Assume \(x^{n+1}\mid (f-g)\). Then for each \(m{\lt}n+1\), we have \([x^m](f-g)=0\) (by the power series analogue of Lemma 1.130), so \([x^m]f=[x^m]g\). Since this holds for each \(m\leq n\), we obtain \(f\overset {x^{n}}{\equiv }g\).
Let \(n\in \mathbb {N}\). Let \(f,g\in K[[x]]\) be two FPSs. Then, \(f\overset {x^{n}}{\equiv }g\) if and only if there exists a \(q\in K[[x]]\) such that \(f-g=x^{n+1}q\).
This is simply a restatement of Proposition 1.335, since “\(f-g\) is a multiple of \(x^{n+1}\)” means exactly that there exists such a \(q\).
1.11.4 Composition
Let \(f\in K[[x]]\) be an FPS with \([x^0]f=0\). Let \(m,k\in \mathbb {N}\) with \(m{\lt}k\). Then \([x^m](f^k)=0\).
Since \([x^0]f=0\), the order of \(f\) is at least \(1\), and thus the order of \(f^k\) is at least \(k{\gt}m\). Hence \([x^m](f^k)=0\).
Let \(n\in \mathbb {N}\). Let \(a,b,c,d\in K\left[\left[x\right]\right]\) be four FPSs satisfying \(a\overset {x^{n}}{\equiv }b\) and \(c\overset {x^{n}}{\equiv }d\) and \([x^{0}]c=0\) and \([x^{0}]d=0\). Then,
Write \(a\) and \(b\) as \(a=\sum _{i\in \mathbb {N}}a_{i}x^{i}\) and \(b=\sum _{i\in \mathbb {N}}b_{i}x^{i}\) (with \(a_{i},b_{i}\in K\)). Then, \(a\overset {x^{n}}{\equiv }b\) means that \(a_{i}=b_{i}\) for all \(i\leq n\). Combine this with \(c^{i}\overset {x^{n}}{\equiv }d^{i}\) (which holds for all \(i\in \mathbb {N}\) as a consequence of \(c\overset {x^{n}}{\equiv }d\) and of (57)) to obtain the relation \(a_{i}c^{i}\overset {x^{n}}{\equiv }b_{i}d^{i}\) for all \(i\leq n\). But this relation also holds for all \(i{\gt}n\), since all such \(i\) satisfy \([x^{m}](c^{i})=[x^{m}](d^{i})=0\) for all \(m\in \{ 0,1,\ldots ,n\} \) (a consequence of Lemma 1.337 using \([x^{0}]c=0\) and \([x^{0}]d=0\)). Thus, the relation \(a_{i}c^{i}\overset {x^{n}}{\equiv }b_{i}d^{i}\) holds for all \(i\in \mathbb {N}\). Summing over all \(i\), we find \(a\circ c\overset {x^{n}}{\equiv }b\circ d\).
1.11.5 Equality via \(x^n\)-equivalence
Two FPSs \(f,g\in K[[x]]\) are equal if and only if \(f\overset {x^{n}}{\equiv }g\) for all \(n\in \mathbb {N}\).
\((\Longrightarrow )\): If \(f=g\), then \(f\overset {x^{n}}{\equiv }g\) for every \(n\) by reflexivity.
\((\Longleftarrow )\): If \(f\overset {x^{n}}{\equiv }g\) for all \(n\), then in particular for each \(m\in \mathbb {N}\), taking \(n=m\) gives \([x^m]f=[x^m]g\) (since \(m\leq m\)). Thus \(f=g\) by extensionality (Lemma 1.86).