Mathematics · Book 3 · Bachelor Year 1

University Mathematics — Year 1

University Mathematics — Year 1 · Bachelor Year 1

9Rational Fractions

A rational fraction is a quotient of polynomials. The central theorem of this short chapter — partial fraction decomposition — breaks any such quotient into a sum of elementary bricks c(Xa)k\frac{c}{(X - a)^k}. Beyond its algebraic interest, it is the standard machine for integrating rational functions (Chapter 15) and for summing certain series (Chapter 17).

9.1 The field K(X)K(X)

Definition 9.1

A rational fraction over KK (=R= \R or C\C) is a quotient F=ABF = \frac{A}{B} with A,BK[X]A, B \in K[X], B0B \neq 0; two quotients AB\frac AB and AB\frac{A'}{B'} are identified when AB=ABAB' = A'B. Every fraction has a reduced form with gcd(A,B)=1\gcd(A, B) = 1, unique up to constants. With the natural operations, the set K(X)K(X) of rational fractions is a field.

The poles of FF (in reduced form) are the roots of BB; the order of a pole is its multiplicity as a root of BB. The degree of FF is degF=degAdegBZ{}\deg F = \deg A - \deg B \in \Z \cup \{-\infty\}.

Example 9.2 (Reading off poles, orders and degree)

Let F=X3XX42X3+X2F = \dfrac{X^3 - X}{X^4 - 2X^3 + X^2}. Factor both layers: numerator X(X1)(X+1)X(X-1)(X+1), denominator X2(X1)2X^2(X-1)^2; cancel the common factor X(X1)X(X-1):

F=X+1X(X1)(reduced form).F = \frac{X + 1}{X(X - 1)} \quad\text{(reduced form).}

Poles: 00 and 11, both simple — the orders are read on the reduced denominator, so the apparent double roots of the original one are irrelevant. Degree: degF=12=1\deg F = 1 - 2 = -1, visible asymptotically (xF(x)1xF(x) \to 1 as xx \to \infty). The degree behaves like the polynomial degree (degFG=degF+degG\deg FG = \deg F + \deg G, deg(F+G)max\deg(F + G) \leq \max), a bookkeeping rule used constantly in the coefficient hunts below: each “limit of xF(x)xF(x)” argument is a degree count in disguise.

Proposition 9.3 (Integer part)

Every F=ABK(X)F = \frac AB \in K(X) is uniquely F=E+RBF = E + \frac RB with EK[X]E \in K[X] (the integer part, or polynomial part, of FF) and degR<degB\deg R < \deg B. One has E0E \neq 0 iff degF0\deg F \geq 0.

Proof. Euclidean division A=BE+RA = BE + R (Theorem 8.3), divided by BB. Uniqueness: if E+RB=E+RBE + \frac RB = E' + \frac{R'}{B}, then (EE)B=RR(E - E')B = R' - R with deg(RR)<degB\deg(R' - R) < \deg B, forcing E=EE = E' then R=RR = R'.

Example 9.4 (Reduce first, then divide)

Find the integer part of F=X3+1X21F = \dfrac{X^3 + 1}{X^2 - 1}. Dividing blindly: X3+1=(X21)X+(X+1)X^3 + 1 = (X^2 - 1)X + (X + 1), so F=X+X+1X21F = X + \frac{X + 1}{X^2 - 1}. But the fraction was not reduced: X3+1=(X+1)(X2X+1)X^3 + 1 = (X + 1)(X^2 - X + 1) and X21=(X+1)(X1)X^2 - 1 = (X+1)(X-1) share the factor X+1X + 1, and

F=X2X+1X1=X+1X1:F = \frac{X^2 - X + 1}{X - 1} = X + \frac{1}{X - 1} :

the same integer part XX, but the fractional part collapses to a single brick, and the “pole” at 1-1 was never a pole at all. Always reduce to lowest terms before hunting poles: the poles of FF are the roots of the reduced denominator. (The integer part is insensitive to the simplification, as the uniqueness in Proposition 9.3 guarantees.)

9.2 Partial fraction decomposition over C\C

Theorem 9.5 (Decomposition over C\C)

Let F=ABC(X)F = \frac AB \in \C(X) be in reduced form, with B=c(Xa1)m1(Xar)mrB = c\,(X - a_1)^{m_1} \cdots (X - a_r)^{m_r}. Then FF is, in a unique way,

F=E+i=1rk=1mici,k(Xai)k,EC[X], ci,kC,F = E + \sum_{i=1}^{r} \sum_{k=1}^{m_i} \frac{c_{i,k}}{(X - a_i)^k}, \qquad E \in \C[X],\ c_{i,k} \in \C ,

EE being the integer part of FF.

Proof. By Proposition 9.3 we may assume degA<degB\deg A < \deg B and prove the sum decomposition with E=0E = 0.

Splitting the poles. Write B=(Xa1)m1B1B = (X - a_1)^{m_1} B_1 with B1(a1)0B_1(a_1) \neq 0. The polynomials (Xa1)m1(X-a_1)^{m_1} and B1B_1 are coprime (no common root), so by Bézout in C[X]\C[X] (see the remark in Chapter 8) there are U0,V0U_0, V_0 with U0(Xa1)m1+V0B1=1U_0 (X-a_1)^{m_1} + V_0 B_1 = 1; multiplying by AA and setting U=AU0U = AU_0, V=AV0V = AV_0, then dividing by BB:

AB=V(Xa1)m1+UB1.\frac AB = \frac{V}{(X - a_1)^{m_1}} + \frac{U}{B_1} .

The degree conditions can be enforced: divide VV by (Xa1)m1(X-a_1)^{m_1}, say V=(Xa1)m1Q+V1V = (X-a_1)^{m_1}Q + V_1 with degV1<m1\deg V_1 < m_1, and absorb the quotient into the second term (U1=U+QB1U_1 = U + QB_1):

AB=V1(Xa1)m1+U1B1,degV1<m1;\frac AB = \frac{V_1}{(X - a_1)^{m_1}} + \frac{U_1}{B_1}, \qquad \deg V_1 < m_1 ;

comparing degrees (degA<degB\deg A < \deg B and degV1<m1\deg V_1 < m_1) forces degU1<degB1\deg U_1 < \deg B_1 as well. Iterating on U1B1\frac{U_1}{B_1}, pole after pole, reduces everything to the one-pole case below.

One pole. For A(Xa)m\frac{A}{(X-a)^m} with degA<m\deg A < m: expand AA in powers of (Xa)(X - a), A=j=0m1αj(Xa)jA = \sum_{j=0}^{m-1} \alpha_j (X - a)^j (Taylor expansion of a polynomial, as in the proof of Proposition 8.11); dividing gives exactly the bricks αj(Xa)mj\frac{\alpha_j}{(X-a)^{m-j}}. Concretely, for X2+1(X+2)3\frac{X^2 + 1}{(X+2)^3}: substituting X=Y2X = Y - 2,

X2+1=(Y2)2+1=Y24Y+5,soX2+1(X+2)3=1Y4Y2+5Y3X^2 + 1 = (Y - 2)^2 + 1 = Y^2 - 4Y + 5 , \qquad\text{so}\qquad \frac{X^2+1}{(X+2)^3} = \frac1{Y} - \frac4{Y^2} + \frac5{Y^3}

with Y=X+2Y = X + 2: the three bricks appear by mere division of the shifted expansion — the fastest route whenever a single high-order pole is involved, and the recommended one for Exercise 9.3.

Uniqueness. Suppose two decompositions coincide; their difference is an identity 0=i,kdi,k(Xai)k0 = \sum_{i,k} \frac{d_{i,k}}{(X - a_i)^k}. Multiply through by (Xa1)m1(X - a_1)^{m_1}: every term acquires a factor vanishing at a1a_1 except the one with i=1i = 1, k=m1k = m_1, whose coefficient becomes d1,m1d_{1,m_1} plus terms carrying at least one factor (Xa1)(X - a_1). Evaluating at a1a_1 (legitimate: after the multiplication, no pole remains at a1a_1) gives d1,m1=0d_{1,m_1} = 0. With the top coefficient gone, repeat with (Xa1)m11(X - a_1)^{m_1 - 1}, and so on downward to k=1k = 1; then move to the next pole. All di,kd_{i,k} vanish: the decomposition is unique.

Method 9.6 (Computing the coefficients)

In practice, avoid Bézout; combine:

  1. cover-up for the highest power: the coefficient of 1(Xa)m\frac{1}{(X-a)^m} (with mm the order of the pole aa) is

    ca,m=[(Xa)mF]X=a;c_{a,m} = \Bigl[\,(X - a)^m F\,\Bigr]_{X = a};

    for a simple pole of F=ABF = \frac AB, this is A(a)B(a)\frac{A(a)}{B'(a)};

  2. evaluations at convenient points and limits of xF(x)xF(x) as xx \to \infty to collect linear relations for the remaining coefficients;
  3. parity or conjugation symmetries, when present, to cut the work in half.

Remark 9.7 (Common pitfalls with partial fractions)

  1. Skipping the integer part. The brick decomposition applies to fractions of degree <0< 0; when degAdegB\deg A \geq \deg B, divide first (Proposition 9.3), or the coefficient hunt will produce contradictions.
  2. Cover-up beyond its scope. Multiplying by (Xa)k(X - a)^k and evaluating at aa yields the coefficient only for k=mk = m, the full order of the pole; the lower-order coefficients require other relations (limits, evaluations) — see Example 9.9.
  3. Forgetting to reduce. Poles are read on the reduced form; a common factor between numerator and denominator creates phantom poles (Example 9.4).
  4. Wrong brick shapes over R\R. Above an irreducible quadratic the numerators are affine (αX+β\alpha X + \beta), not constant; writing cX2+1\frac{c}{X^2 + 1} alone loses solutions — the correct shapes are dictated by Theorem 9.10, never improvised.

Proof of the simple-pole formula. Near a simple pole aa: B=(Xa)QB = (X - a) Q with Q(a)0Q(a) \neq 0, and B=Q+(Xa)QB' = Q + (X - a) Q', so B(a)=Q(a)B'(a) = Q(a). The cover-up value is A(a)Q(a)=A(a)B(a)\frac{A(a)}{Q(a)} = \frac{A(a)}{B'(a)}.

Example 9.8

Decompose F=1X(X1)(X2)F = \dfrac{1}{X(X-1)(X-2)}. Three simple poles; cover-up at each:

c0=1(01)(02)=12,c1=11×(12)=1,c2=12×1=12,c_0 = \frac{1}{(0-1)(0-2)} = \frac12, \quad c_1 = \frac{1}{1 \times (1 - 2)} = -1, \quad c_2 = \frac{1}{2 \times 1} = \frac12,

so F=1/2X1X1+1/2X2F = \dfrac{1/2}{X} - \dfrac{1}{X-1} + \dfrac{1/2}{X-2}. Check at X=3X = 3: directly, F(3)=1321=16F(3) = \frac{1}{3\cdot2\cdot1} = \frac16; from the decomposition, 1/2312+1/21=1612+12=16\frac{1/2}{3} - \frac{1}{2} + \frac{1/2}{1} = \frac16 - \frac12 + \frac12 = \frac16.

Example 9.9 (Multiple pole)

Decompose F=X(X1)2(X+1)F = \dfrac{X}{(X-1)^2 (X+1)}. Shape: a(X1)2+bX1+cX+1\frac{a}{(X-1)^2} + \frac{b}{X-1} + \frac{c}{X+1}.

  • Cover-up at the double pole: a=[XX+1]X=1=12a = \bigl[\frac{X}{X+1}\bigr]_{X=1} = \frac12.
  • Cover-up at 1-1: c=[X(X1)2]X=1=14c = \bigl[\frac{X}{(X-1)^2}\bigr]_{X=-1} = -\frac14.
  • Limit of xF(x)xF(x) at \infty: 0=b+c0 = b + c, so b=14b = \frac14.
F=1/2(X1)2+1/4X11/4X+1.F = \frac{1/2}{(X-1)^2} + \frac{1/4}{X-1} - \frac{1/4}{X+1} .

Check at X=0X = 0: F(0)=0F(0) = 0 and 121414=0\frac12 - \frac14 - \frac14 = 0.

9.3 Decomposition over R\R

Theorem 9.10 (Decomposition over R\R)

Let FR(X)F \in \R(X) be in reduced form with denominator

B=ci(Xai)mij(X2+pjX+qj)nj(pj24qj<0).B = c \prod_i (X - a_i)^{m_i} \prod_j (X^2 + p_j X + q_j)^{n_j} \qquad (p_j^2 - 4q_j < 0).

Then FF decomposes uniquely as its integer part plus terms

ci,k(Xai)k(1kmi),αj,lX+βj,l(X2+pjX+qj)l(1lnj),\frac{c_{i,k}}{(X - a_i)^k} \quad (1 \leq k \leq m_i), \qquad \frac{\alpha_{j,l}\, X + \beta_{j,l}}{(X^2 + p_j X + q_j)^{l}} \quad (1 \leq l \leq n_j),

with real coefficients.

Proof. Decompose over C\C (Theorem 9.5). Since FF is real, the coefficient over the pole a\conj a (at each order) is the conjugate of the coefficient over aa (apply conjugation to the decomposition and invoke uniqueness). Group each conjugate pair:

c(Xz)l+c(Xz)l=c(Xz)l+c(Xz)l(X22(z)X+z2)l,\frac{c}{(X - z)^l} + \frac{\conj c}{(X - \conj z)^l} = \frac{c\,(X - \conj z)^l + \conj c\,(X - z)^l}{\bigl(X^2 - 2\Re(z)X + \abs z^2\bigr)^{l}},

whose numerator is its own conjugate, hence real, of degree l\leq l; splitting off multiples of the real quadratic lowers it to degree 1\leq 1 at each level ll (a small downward induction). Real poles keep their real coefficients (conjugation fixes them). Uniqueness follows from uniqueness over C\C.

Example 9.11 (Watching the conjugate pairing)

The mechanism of the proof, on the smallest case: over C\C, the poles of 1X2+1\frac1{X^2+1} are ±i\pm\iu, with cover-up coefficients 12i\frac1{2\iu} at i\iu and 12i\frac1{-2\iu} at i-\iu — conjugates of each other, as the theorem predicts:

1X2+1=1/(2i)Xi1/(2i)X+i.\frac{1}{X^2 + 1} = \frac{1/(2\iu)}{X - \iu} - \frac{1/(2\iu)}{X + \iu} .

Recombining over the common denominator:

12i(X+i)(Xi)X2+1=12i2iX2+1=1X2+1:\frac{1}{2\iu}\cdot\frac{(X + \iu) - (X - \iu)}{X^2 + 1} = \frac{1}{2\iu}\cdot\frac{2\iu}{X^2 + 1} = \frac{1}{X^2+1} :

the imaginary parts cancel and the real brick reappears intact. For real integrands one usually never leaves R\R — but when evaluating sums at complex points (as the weekend problem does with roots of unity), the complex bricks are the natural currency, and this pairing is the exchange rate between the two decompositions.

Example 9.12

Decompose F=4(X2+1)(X1)2F = \dfrac{4}{(X^2+1)(X-1)^2} over R\R. Shape: aX+bX2+1+c(X1)2+dX1\frac{aX + b}{X^2 + 1} + \frac{c}{(X-1)^2} + \frac{d}{X - 1}. Cover-up at the double pole: c=[4X2+1]X=1=2c = \bigl[\frac{4}{X^2+1}\bigr]_{X=1} = 2. Cover-up at the complex pole i\iu (numerator over X2+1X^2 + 1 evaluated via the complex decomposition, or directly): multiply by X2+1X^2 + 1 and set X=iX = \iu:

ai+b=4(i1)2=42i=2i,a\iu + b = \frac{4}{(\iu - 1)^2} = \frac{4}{-2\iu} = 2\iu ,

so a=2a = 2, b=0b = 0. Limit of xF(x)xF(x) at infinity: 0=a+d0 = a + d, so d=2d = -2. Hence

F=2XX2+1+2(X1)22X1.F = \frac{2X}{X^2+1} + \frac{2}{(X-1)^2} - \frac{2}{X-1} .

Check at X=0X = 0: F(0)=4F(0) = 4 and 0+2+2=40 + 2 + 2 = 4.

Example 9.13 (A cubic denominator, start to finish)

Decompose F=1X3+1F = \dfrac{1}{X^3 + 1} over R\R. Factor first: X3+1=(X+1)(X2X+1)X^3 + 1 = (X + 1)(X^2 - X + 1), the quadratic having discriminant 3<0-3 < 0. Shape: aX+1+bX+cX2X+1\frac{a}{X+1} + \frac{bX + c}{X^2 - X + 1}. Cover-up at the simple pole 1-1: a=[1X2X+1]X=1=13a = \bigl[\frac1{X^2 - X + 1}\bigr]_{X=-1} = \frac13. Limit of xF(x)xF(x) at infinity: 0=a+b0 = a + b, so b=13b = -\frac13. Evaluation at X=0X = 0: 1=a+c1 = a + c, so c=23c = \frac23. Hence

1X3+1=13(1X+1+X+2X2X+1),\frac{1}{X^3+1} = \frac13\Bigl(\frac{1}{X+1} + \frac{-X + 2}{X^2 - X + 1}\Bigr) ,

confirmed at X=1X = 1: left side 12\frac12, right side 13(12+1)=12\frac13\bigl(\frac12 + 1\bigr) = \frac12. Note the economy: three unknowns, three cheap linear facts (one cover-up, one limit, one evaluation), no expansion of anything — the workflow of Method 9.6 in its pure form.

Remark 9.14 (What it is for)

Once decomposed, a rational function integrates term by term: bricks 1(xa)k\frac{1}{(x-a)^k} have elementary primitives, and bricks αx+β(x2+px+q)l\frac{\alpha x + \beta}{(x^2 + px + q)^l} reduce to ln\ln and arctan\arctan (Chapter 15). Telescoping sums are the other standard application (Exercise 9.8).

Remark 9.15 (Where this chapter is used)

Partial fractions are above all a preprocessing step: the integration chapter (Chapter 15) feeds every rational integrand through Theorem 9.10 before integrating, and the series chapter (Chapter 17) telescopes rational terms exactly as in Exercise 9.8 and in the weekend problem below — which pushes the technique all the way to 1/k2=π2/6\sum 1/k^2 = \pi^2/6. The logarithmic derivative P/P=mi/(Xai)P'/P = \sum m_i/(X - a_i) (Exercise 8.11) reappears whenever root locations are studied. Beyond this volume, the decomposition of 1/χ(X)1/\chi(X) for a characteristic polynomial χ\chi underlies the computation of matrix powers and of Laplace transforms in the Year 2 volume: the bricks c(Xa)k\frac{c}{(X - a)^k} are the algebraic shadow of the solutions tk1eatt^{k-1}\eu^{at} met in Chapter 5.

The function F(x) = 1x+1 + 1x + 1x-1 of -type: strictly decreasing on each interval between its poles -1, 0, 1 (dashed). Each horizontal level > 0 is crossed exactly once per interval to the right of the first pole (marked dots): the solutions of F = interlace with the poles.
The function F(x)=1x+1+1x+1x1F(x) = \frac1{x+1} + \frac1x + \frac1{x-1} of Exercise 9.12-type: strictly decreasing on each interval between its poles 1,0,1-1, 0, 1 (dashed). Each horizontal level λ>0\lambda > 0 is crossed exactly once per interval to the right of the first pole (marked dots): the solutions of F=λF = \lambda interlace with the poles.

9.4 Exercises

Exercise 9.1

Decompose over R\R: 1X21\dfrac{1}{X^2 - 1};   XX23X+2\;\dfrac{X}{X^2 - 3X + 2};   X2+1X(X1)\;\dfrac{X^2 + 1}{X(X-1)} (mind the integer part).

Solution

Solution of Exercise 9.1.

1X21\dfrac{1}{X^2 - 1}: simple poles ±1\pm 1; cover-up: 1/2X11/2X+1\dfrac{1/2}{X-1} - \dfrac{1/2}{X+1}.

XX23X+2=X(X1)(X2)\dfrac{X}{X^2 - 3X + 2} = \dfrac{X}{(X-1)(X-2)}: cover-up gives 112=1\frac{1}{1-2} = -1 at 11 and 221=2\frac{2}{2-1} = 2 at 22: 1X1+2X2\dfrac{-1}{X-1} + \dfrac{2}{X-2}.

X2+1X(X1)\dfrac{X^2+1}{X(X-1)}: the degree is 00, so there is an integer part: dividing, X2+1=(X2X)+(X+1)X^2 + 1 = (X^2 - X) + (X + 1), so F=1+X+1X(X1)F = 1 + \frac{X+1}{X(X-1)}. Cover-up on the remainder: 11=1\frac{1}{-1} = -1 at 00, 21=2\frac{2}{1} = 2 at 11:

F=11X+2X1.F = 1 - \frac{1}{X} + \frac{2}{X-1} .

Exercise 9.2

Decompose over R\R: 1X(X2+1)\dfrac{1}{X(X^2 + 1)} and X3X2+X+1\dfrac{X^3}{X^2 + X + 1}.

Solution

Solution of Exercise 9.2.

1X(X2+1)\dfrac{1}{X(X^2+1)}: shape aX+bX+cX2+1\frac aX + \frac{bX + c}{X^2 + 1}. Cover-up at 00: a=1a = 1. Limit of xFxF: 0=a+b0 = a + b, so b=1b = -1. Evaluation at X=1X = 1: 12=1+c12\frac12 = 1 + \frac{c - 1}{2}, so c=0c = 0:

1X(X2+1)=1XXX2+1.\frac{1}{X(X^2+1)} = \frac 1X - \frac{X}{X^2+1} .

X3X2+X+1\dfrac{X^3}{X^2+X+1}: division: X3=(X2+X+1)(X1)+1X^3 = (X^2+X+1)(X - 1) + 1, so

X3X2+X+1=X1+1X2+X+1,\frac{X^3}{X^2+X+1} = X - 1 + \frac{1}{X^2 + X + 1} ,

already in real decomposed form (the quadratic has negative discriminant).

Exercise 9.3

Decompose 1X2(X1)\dfrac{1}{X^2(X - 1)} and X+1(X1)3\dfrac{X + 1}{(X - 1)^3} (for the second, substitute Y=X1Y = X - 1).

Solution

Solution of Exercise 9.3.

1X2(X1)\dfrac{1}{X^2(X-1)}: shape aX2+bX+cX1\frac{a}{X^2} + \frac bX + \frac{c}{X-1}. Cover-up at the double pole 00: a=[1X1]0=1a = \bigl[\frac{1}{X-1}\bigr]_{0} = -1. Cover-up at 11: c=1c = 1. Limit of xFxF: 0=b+c0 = b + c, so b=1b = -1:

1X2(X1)=1X21X+1X1.\frac{1}{X^2(X-1)} = -\frac{1}{X^2} - \frac1X + \frac{1}{X-1} .

X+1(X1)3\dfrac{X+1}{(X-1)^3}: with Y=X1Y = X - 1, the numerator is Y+2Y + 2:

Y+2Y3=1Y2+2Y3=1(X1)2+2(X1)3.\frac{Y + 2}{Y^3} = \frac{1}{Y^2} + \frac{2}{Y^3} = \frac{1}{(X-1)^2} + \frac{2}{(X-1)^3} .

Exercise 9.4 ★★

Decompose over C\C, then over R\R: 1X41\dfrac{1}{X^4 - 1}.

Solution

Solution of Exercise 9.4.

The poles are the fourth roots of unity 1,i,1,i1, \iu, -1, -\iu, all simple. Simple-pole formula with B=4X3B' = 4X^3: coefficient at aa is 14a3=a4a4=a4\frac{1}{4a^3} = \frac{a}{4a^4} = \frac a4 (using a4=1a^4 = 1). So, over C\C:

1X41=1/4X11/4X+1+i/4Xii/4X+i.\frac{1}{X^4 - 1} = \frac{1/4}{X - 1} - \frac{1/4}{X + 1} + \frac{\iu/4}{X - \iu} - \frac{\iu/4}{X + \iu} .

Grouping the conjugate pair (common denominator X2+1X^2 + 1): i4(1Xi1X+i)=i42iX2+1=1/2X2+1\frac{\iu}{4}\bigl(\frac{1}{X-\iu} - \frac{1}{X+\iu}\bigr) = \frac{\iu}{4}\cdot\frac{2\iu}{X^2+1} = \frac{-1/2}{X^2+1}. Over R\R:

1X41=1/4X11/4X+11/2X2+1.\frac{1}{X^4 - 1} = \frac{1/4}{X-1} - \frac{1/4}{X+1} - \frac{1/2}{X^2 + 1} .

Check at X=0X = 0: 1=141412-1 = -\frac14 - \frac14 - \frac12.

Exercise 9.5 ★★

Decompose over R\R: X2(X2+1)2\dfrac{X^2}{(X^2 + 1)^2}, and deduce a primitive of xx2(x2+1)2x \mapsto \dfrac{x^2}{(x^2+1)^2} given  ⁣dx(x2+1)2=12(arctanx+xx2+1)+C\int \frac{\dd x}{(x^2+1)^2} = \frac12\bigl(\arctan x + \frac{x}{x^2+1}\bigr) + C.

Solution

Solution of Exercise 9.5.

X2(X2+1)2=(X2+1)1(X2+1)2=1X2+11(X2+1)2\dfrac{X^2}{(X^2+1)^2} = \dfrac{(X^2 + 1) - 1}{(X^2+1)^2} = \dfrac{1}{X^2+1} - \dfrac{1}{(X^2+1)^2}.

Hence a primitive:

x2 ⁣dx(x2+1)2=arctanx12(arctanx+xx2+1)+C=12arctanxx2(x2+1)+C.\int \frac{x^2\,\dd x}{(x^2+1)^2} = \arctan x - \frac12\Bigl(\arctan x + \frac{x}{x^2+1}\Bigr) + C = \frac12\arctan x - \frac{x}{2(x^2+1)} + C .

Exercise 9.6 ★★

For nNn \in \N^*, decompose Fn=n!X(X+1)(X+n)F_n = \dfrac{n!}{X(X+1)\cdots(X+n)} (simple poles at 0,1,,n0, -1, \dots, -n; use the cover-up formula and recognize binomial coefficients).

Solution

Solution of Exercise 9.6.

The poles 0,1,,n0, -1, \dots, -n are simple. Cover-up at k-k:

ck=n!jk(k+j)=n!(j=0k1(jk))(j=k+1n(jk))=n!(1)kk!(nk)!=(1)k(nk).c_k = \frac{n!}{\prod_{j \neq k} (-k + j)} = \frac{n!}{\bigl(\prod_{j=0}^{k-1}(j - k)\bigr) \bigl(\prod_{j=k+1}^{n}(j-k)\bigr)} = \frac{n!}{(-1)^k k!\,(n-k)!} = (-1)^k \binom nk .

So

n!X(X+1)(X+n)=k=0n(1)k(nk)X+k.\frac{n!}{X(X+1)\cdots(X+n)} = \sum_{k=0}^{n} \frac{(-1)^k \binom nk}{X + k} .

(Sanity check for n=1n = 1: 1X(X+1)=1X1X+1\frac{1}{X(X+1)} = \frac1X - \frac{1}{X+1}.)

Exercise 9.7 ★★

Using the identity of Exercise 8.11 for P=Xn1P = X^n - 1, prove that

k=0n11Xωk=nXn1Xn1,ω=e2iπ/n,\sum_{k=0}^{n-1} \frac{1}{X - \omega^k} = \frac{n X^{n-1}}{X^n - 1}, \qquad \omega = \eu^{2\iu\pi/n},

and evaluate both sides at X=2X = 2 for n=4n = 4 as a check.

Solution

Solution of Exercise 9.7.

P=Xn1P = X^n - 1 has the nn simple roots ωk\omega^k (Theorem 3.14), so the logarithmic-derivative identity of Exercise 8.11 reads

k=0n11Xωk=P(X)P(X)=nXn1Xn1.\sum_{k=0}^{n-1} \frac{1}{X - \omega^k} = \frac{P'(X)}{P(X)} = \frac{n X^{n-1}}{X^n - 1} .

At X=2X = 2, n=4n = 4: right side =4×815=3215= \frac{4 \times 8}{15} = \frac{32}{15}. Left side: 121+12+1+12i+12+i=1+13+45=15+5+1215=3215\frac{1}{2-1} + \frac{1}{2+1} + \frac{1}{2 - \iu} + \frac{1}{2 + \iu} = 1 + \frac13 + \frac{4}{5} = \frac{15 + 5 + 12}{15} = \frac{32}{15}, using 12i+12+i=45\frac{1}{2-\iu} + \frac{1}{2+\iu} = \frac{4}{5}.

Exercise 9.8 ★★

Decompose 1k(k+1)(k+2)\dfrac{1}{k(k+1)(k+2)} and compute

Sn=k=1n1k(k+1)(k+2),thenlimnSn.S_n = \sum_{k=1}^{n} \frac{1}{k(k+1)(k+2)}, \qquad\text{then}\qquad \lim_{n \to \infty} S_n .
Solution

Solution of Exercise 9.8.

Cover-up: 1k(k+1)(k+2)=1/2k1k+1+1/2k+2\dfrac{1}{k(k+1)(k+2)} = \dfrac{1/2}{k} - \dfrac{1}{k+1} + \dfrac{1/2}{k+2}. Rewrite as a telescoping difference:

1k(k+1)(k+2)=12(1k(k+1)1(k+1)(k+2)),\frac{1}{k(k+1)(k+2)} = \frac12\Bigl(\frac{1}{k(k+1)} - \frac{1}{(k+1)(k+2)}\Bigr),

(expand to check — or subtract the two decompositions). Summing:

Sn=12(11×21(n+1)(n+2))=1412(n+1)(n+2)n14.S_n = \frac12\Bigl(\frac{1}{1 \times 2} - \frac{1}{(n+1)(n+2)}\Bigr) = \frac14 - \frac{1}{2(n+1)(n+2)} \xrightarrow[n \to \infty]{} \frac14 .

Exercise 9.9 ★★★

Let PR[X]P \in \R[X] be monic of degree nn with nn distinct real roots x1<<xnx_1 < \dots < x_n. Prove that

i=1n1P(xi)=0(n2),i=1nxin1P(xi)=1.\sum_{i=1}^{n} \frac{1}{P'(x_i)} = 0 \quad (n \geq 2), \qquad \sum_{i=1}^{n} \frac{x_i^{\,n-1}}{P'(x_i)} = 1 .

Hint: decompose XmP\frac{X^m}{P} for mn1m \leq n - 1 and look at the coefficient decay at infinity — or use Lagrange interpolation (Theorem 8.23) of the monomial XmX^m at the nodes xix_i.

Solution

Solution of Exercise 9.9.

Decompose, for 0mn10 \leq m \leq n - 1, the fraction XmP\frac{X^m}{P} (degree mn1m - n \leq -1, poles simple): the simple-pole formula gives

XmP=i=1nxim/P(xi)Xxi.\frac{X^m}{P} = \sum_{i=1}^{n} \frac{x_i^m / P'(x_i)}{X - x_i} .

Multiply by XX and let X+X \to +\infty: the left side tends to the limit of Xm+1/PX^{m+1}/P, which is 00 if mn2m \leq n - 2 and 11 if m=n1m = n - 1 (PP is monic of degree nn); the right side tends to iximP(xi)\sum_i \frac{x_i^m}{P'(x_i)}. Hence

i=1nximP(xi)={0for 0mn2,1for m=n1,\sum_{i=1}^{n} \frac{x_i^{m}}{P'(x_i)} = \begin{cases} 0 & \text{for } 0 \leq m \leq n-2,\\ 1 & \text{for } m = n - 1, \end{cases}

which contains both announced identities (m=0m = 0 requires n2n \geq 2). (Interpretation via Theorem 8.23: these sums are the leading coefficients of the Lagrange interpolants of XmX^m, and interpolating a polynomial of degree n1\leq n-1 at nn points reproduces it exactly.)

Exercise 9.10 ★★

Decompose 1X(X+1)2\dfrac{1}{X(X+1)^2} over R\R. Admitting the value k11k2=π26\sum_{k \geq 1} \frac1{k^2} = \frac{\pi^2}6 (proved in this chapter’s weekend problem), deduce

n=11n(n+1)2=2π26.\sum_{n=1}^{\infty} \frac{1}{n(n+1)^2} = 2 - \frac{\pi^2}{6} .
Solution

Solution of Exercise 9.10.

Shape aX+bX+1+c(X+1)2\frac aX + \frac b{X+1} + \frac c{(X+1)^2}. Cover-up at 00: a=1a = 1; cover-up at the double pole: c=[1X]X=1=1c = \bigl[\frac1X \bigr]_{X=-1} = -1; limit of xF(x)xF(x) at infinity: 0=a+b0 = a + b, so b=1b = -1:

1X(X+1)2=1X1X+11(X+1)2.\frac{1}{X(X+1)^2} = \frac1X - \frac1{X+1} - \frac1{(X+1)^2} .

Summing for n=1,,Nn = 1, \dots, N: the first two bricks telescope to 11N+11 - \frac1{N+1}, and the third contributes k=2N+11k2-\sum_{k=2}^{N+1} \frac1{k^2}. Letting NN \to \infty and using k11k2=π26\sum_{k\geq1} \frac1{k^2} = \frac{\pi^2}6:

n=11n(n+1)2=1(π261)=2π260.355.\sum_{n=1}^{\infty}\frac{1}{n(n+1)^2} = 1 - \Bigl(\frac{\pi^2}6 - 1\Bigr) = 2 - \frac{\pi^2}6 \approx 0.355 .

Exercise 9.11 ★★

Decompose over R\R: 1(X2+1)(X2+4)\dfrac{1}{(X^2+1)(X^2+4)}, then X2(X2+1)(X2+4)\dfrac{X^2}{(X^2+1)(X^2+4)}. Hint: both denominators are polynomials in X2X^2: decompose 1(Y+1)(Y+4)\frac1{(Y+1)(Y+4)} first.

Solution

Solution of Exercise 9.11.

In the variable YY: 1(Y+1)(Y+4)=1/3Y+11/3Y+4\frac1{(Y+1)(Y+4)} = \frac{1/3}{Y+1} - \frac{1/3}{Y+4} (cover-up at 1-1 and 4-4), so

1(X2+1)(X2+4)=131X2+1131X2+4.\frac{1}{(X^2+1)(X^2+4)} = \frac13\,\frac1{X^2+1} - \frac13\,\frac1{X^2+4} .

Likewise Y(Y+1)(Y+4)=1/3Y+1+4/3Y+4\frac{Y}{(Y+1)(Y+4)} = \frac{-1/3}{Y+1} + \frac{4/3}{Y+4}, so

X2(X2+1)(X2+4)=131X2+1+431X2+4.\frac{X^2}{(X^2+1)(X^2+4)} = -\frac13\,\frac1{X^2+1} + \frac43\,\frac1{X^2+4} .

(Check at X=0X = 0: 0=13(1+1)0 = \frac13(-1 + 1).) These are already the real decompositions: the numerators over the irreducible quadratics happen to be constants.

Exercise 9.12 ★★★

(Secular equations) Let F=i=1rciXpiF = \sum_{i=1}^{r} \frac{c_i}{X - p_i} with p1<p2<<prp_1 < p_2 < \dots < p_r real and all ci>0c_i > 0.

  1. Show that FF is strictly decreasing on each interval of its domain, and give its limits at ±\pm\infty and on both sides of each pole.
  2. Deduce that for every λ>0\lambda > 0, the equation F(x)=λF(x) = \lambda has exactly rr real solutions, one in each interval (pi,pi+1)\intoo{p_i}{p_{i+1}} and one beyond prp_r. (Such equations govern eigenvalue perturbations; the intermediate value theorem is used at High School level here and proved in Chapter 13.)
Solution

Solution of Exercise 9.12.

  1. On each interval avoiding the poles, F(x)=ici(xpi)2<0F'(x) = -\sum_i \frac{c_i}{(x - p_i)^2} < 0: strictly decreasing. As x±x \to \pm\infty, every brick tends to 00: F0F \to 0, from above at ++\infty (all bricks positive there) and from below at -\infty. As xpi+x \to p_i^+, the brick cixpi\frac{c_i}{x - p_i} blows up to ++\infty and the others stay bounded: F+F \to +\infty; likewise FF \to -\infty as xpix \to p_i^-.
  2. Fix λ>0\lambda > 0. On (,p1)\intoo{-\infty}{p_1}: FF decreases from 00^- to -\infty, so F<0<λF < 0 < \lambda: no solution. On each (pi,pi+1)\intoo{p_i}{p_{i+1}} (1ir11 \leq i \leq r-1): FF decreases from ++\infty to -\infty, hence takes the value λ\lambda exactly once (intermediate value property plus strict monotonicity). On (pr,+)\intoo{p_r}{+\infty}: FF decreases from ++\infty to 0+0^+, again exactly one solution. Total: exactly rr solutions, interlaced with the poles.

9.5 Problem: Partial fractions as an engine

Problem 9.1

Partial fraction decomposition looks like bookkeeping; this problem shows it is an engine. Fed with the fraction 1X(X+1)(X+k)\frac1{X(X+1)\cdots(X+k)}, it telescopes whole families of sums in closed form; fed with 1Xn1\frac1{X^n - 1}, it produces trigonometric identities such as

k=1n11sin2kπn=n213;\sum_{k=1}^{n-1}\frac{1}{\sin^2\frac{k\pi}{n}} = \frac{n^2-1}{3} ;

and, pushed one step further, that identity squeezes out one of the most celebrated formulas in mathematics, Euler’s

k=11k2=π26\sum_{k=1}^{\infty}\frac1{k^2} = \frac{\pi^2}{6}

— here obtained with nothing beyond this chapter’s algebra and high-school trigonometry. Throughout, ω=e2iπ/n\omega = \eu^{2\iu\pi/n}; limits of sequences are used at High School level (Chapter 11 formalizes them).

Part I — The telescope.

  1. Decompose 1X(X+1)\frac1{X(X+1)} and compute n=1N1n(n+1)\sum_{n=1}^{N} \frac1{n(n+1)} exactly; conclude that the sum tends to 11.
  2. Same for 1X(X+2)\frac1{X(X+2)}: show n=1N1n(n+2)=12(321N+11N+2)34\sum_{n=1}^{N} \frac1{n(n+2)} = \frac12\bigl(\frac32 - \frac1{N+1} - \frac1{N+2}\bigr) \to \frac34. (With a gap, two boundary terms survive at each end.)
  3. Formalize the mechanism: if F(X)=G(X)G(X+1)F(X) = G(X) - G(X+1) for some rational GG without poles in [1,+)\intco1{+\infty}, then n=1NF(n)=G(1)G(N+1)\sum_{n=1}^N F(n) = G(1) - G(N+1). Recover the value 14\frac14 of Exercise 9.8 by exhibiting the witness GG for F=1X(X+1)(X+2)F = \frac1{X(X+1)(X+2)}.
  4. Prove the general factorial telescope: for k1k \geq 1,

    1X(X+1)(X+k)=1k(1X(X+1)(X+k1)1(X+1)(X+k)),\frac{1}{X(X+1)\cdots(X+k)} = \frac1k\biggl(\frac{1}{X(X+1)\cdots(X+k-1)} - \frac{1}{(X+1)\cdots(X+k)}\biggr),

    and deduce

    n=11n(n+1)(n+k)=1kk!.\sum_{n=1}^{\infty}\frac{1}{n(n+1)\cdots(n+k)} = \frac{1}{k \cdot k!} .

    Check the case k=2k = 2 against question 3.

  5. Evaluate the decomposition of Exercise 9.6 at well-chosen points to prove

    j=0n(1)j(nj)1j+1=1n+1,j=0n(1)j(nj)1j+2=1(n+1)(n+2).\sum_{j=0}^{n}(-1)^j\binom nj\,\frac1{j+1} = \frac1{n+1}, \qquad \sum_{j=0}^{n}(-1)^j\binom nj\,\frac1{j+2} = \frac1{(n+1)(n+2)} .

Part II — The fraction 1/(Xn1)1/(X^n - 1).

  1. Show by the cover-up formula that

    1Xn1=1nk=0n1ωkXωk.\frac{1}{X^n - 1} = \frac1n\sum_{k=0}^{n-1}\frac{\omega^k}{X - \omega^k} .
  2. Two sanity checks: verify the formula directly for n=2n = 2, and show that the sum of the nn coefficients vanishes for n2n \geq 2 — explain why it must (consider xF(x)xF(x) as xx \to \infty).
  3. Re-derive by cover-up the identity of Exercise 9.7: nXn1Xn1=k1Xωk\frac{nX^{n-1}}{X^n-1} = \sum_k \frac1{X - \omega^k}.
  4. Group conjugate poles to prove the real decomposition: with θk=2kπn\theta_k = \frac{2k\pi}n,

    ωkXωk+ωnkXωnk=2cosθkX2X22cosθkX+1,\frac{\omega^k}{X - \omega^k} + \frac{\omega^{n-k}}{X - \omega^{n-k}} = \frac{2\cos\theta_k\,X - 2} {X^2 - 2\cos\theta_k\,X + 1} ,

    and write down the full real decomposition of 1Xn1\frac1{X^n-1} (distinguish nn odd and nn even).

  5. Specialize to n=4n = 4 and check against Exercise 9.4.

Part III — Trigonometric sums, and Euler’s π2/6\pi^2/6. Let P=1+X++Xn1P = 1 + X + \dots + X^{n-1}, whose roots are ω,ω2,,ωn1\omega, \omega^2, \dots, \omega^{n-1} (all simple).

  1. Using PP=k=1n11Xωk\frac{P'}P = \sum_{k=1}^{n-1}\frac1{X - \omega^k} (Exercise 8.11), prove

    k=1n111ωk=n12.\sum_{k=1}^{n-1}\frac{1}{1 - \omega^k} = \frac{n-1}2 .
  2. Prove 11eiθ=12+i2cos(θ/2)sin(θ/2)\dfrac1{1 - \eu^{\iu\theta}} = \dfrac12 + \dfrac\iu2\,\frac{\cos(\theta/2)}{\sin(\theta/2)} for θ2πZ\theta \notin 2\pi\Z (half-angle factorization, Method 3.11), and deduce from question 11 that k=1n1cos(kπ/n)sin(kπ/n)=0\sum_{k=1}^{n-1} \frac{\cos(k\pi/n)}{\sin(k\pi/n)} = 0 — also visible by the symmetry knkk \leftrightarrow n - k.
  3. Differentiating the identity of question 11 (i.e. using (PP)=PP(PP)2\bigl(\frac{P'}P\bigr)' = \frac{P''}P - \bigl(\frac{P'}P\bigr)^2 evaluated at X=1X = 1), prove

    k=1n11(1ωk)2=(n1)(5n)12.\sum_{k=1}^{n-1}\frac{1}{(1 - \omega^k)^2} = \frac{(n-1)(5-n)}{12} .
  4. Writing cott=costsint\cot t = \frac{\cos t}{\sin t}, deduce from questions 12–13 the two closed forms

    k=1n1cot2kπn=(n1)(n2)3,k=1n11sin2kπn=n213.\sum_{k=1}^{n-1}\cot^2\frac{k\pi}n = \frac{(n-1)(n-2)}3, \qquad \sum_{k=1}^{n-1}\frac1{\sin^2\frac{k\pi}n} = \frac{n^2-1}3 .
  5. Verify both formulas by hand for n=3n = 3 and n=4n = 4.
  6. Prove the inequalities cott<1t<1sint\cot t < \frac1t < \frac1{\sin t} for t(0,π2)t \in \intoo0{\frac\pi2} (from sint<t<tant\sin t < t < \tan t), and deduce, for n=2m+1n = 2m + 1 and 1km1 \leq k \leq m:

    cot2kπn  <  n2k2π2  <  1sin2kπn.\cot^2\frac{k\pi}n \;<\; \frac{n^2}{k^2\pi^2} \;<\; \frac1{\sin^2\frac{k\pi}n} .
  7. Sum these inequalities for k=1,,mk = 1, \dots, m (using the symmetry knkk \leftrightarrow n - k to halve the formulas of question 14) and squeeze:

    k=11k2=π26.\sum_{k=1}^{\infty}\frac1{k^2} = \frac{\pi^2}6 .

Part IV — Higher bricks.

  1. By squaring the decomposition of 1X21\frac1{X^2-1} and re-decomposing the cross term, prove

    1(X21)2=14(1(X1)2+1(X+1)2)14(1X11X+1),\frac1{(X^2-1)^2} = \frac14\Bigl(\frac1{(X-1)^2} + \frac1{(X+1)^2}\Bigr) - \frac14\Bigl(\frac1{X-1} - \frac1{X+1}\Bigr),

    and check it at X=0X = 0.

  2. Combine question 18, the telescope, and Euler’s value (question 17) to prove

    n=21(n21)2=π2121116,\sum_{n=2}^{\infty}\frac1{(n^2-1)^2} = \frac{\pi^2}{12} - \frac{11}{16} ,

    and confirm the value numerically to three decimals.

  3. Differentiate the identity of question 8 to obtain a closed form for k=0n11(Xωk)2\sum_{k=0}^{n-1}\frac1{(X - \omega^k)^2}, and check it at X=2X = 2, n=2n = 2.
  4. Prove that for k2k \geq 2,

    n=k1(nk)=kk1.\sum_{n=k}^{\infty}\frac{1}{\binom nk} = \frac{k}{k-1} .

    (Reduce to question 4 by writing 1/(nk)1/\binom nk with factorials.)

  5. For k=3k = 3, give the exact partial sum n=3N1(n3)\sum_{n=3}^{N}\frac1{\binom n3} and its limit.

Part V — Synthesis.

  1. As a capstone computation, write out the complete real decomposition of 1X61\dfrac1{X^6 - 1} and check it at X=0X = 0.
  2. Where exactly did the problem use: (i) the uniqueness of the decomposition; (ii) the roots of unity from Chapter 3; (iii) the logarithmic derivative from Exercise 8.11? One sentence each.
  3. Synthesis, in a short paragraph: one algebraic identity — breaking a fraction into bricks — generated exact sums, trigonometric identities, and π2/6\pi^2/6. Comment on the division of labor between algebra (exact decompositions, valid everywhere) and analysis (limits, squeezing), and point to where each thread is industrialized: telescoping and comparison in Chapter 17, integration of the bricks in Chapter 15.
Solution

Solution of Problem 9.1.

1. Cover-up: 1X(X+1)=1X1X+1\frac1{X(X+1)} = \frac1X - \frac1{X+1}. The sum telescopes:

n=1N(1n1n+1)=11N+11.\sum_{n=1}^{N}\Bigl(\frac1n - \frac1{n+1}\Bigr) = 1 - \frac1{N+1} \longrightarrow 1 .

2. 1X(X+2)=1/2X1/2X+2\frac1{X(X+2)} = \frac{1/2}X - \frac{1/2}{X+2}. Summing, the terms 1n\frac1n survive for n=1,2n = 1, 2 and the terms 1n+2-\frac1{n+2} survive for n=N1,Nn = N-1, N:

n=1N1n(n+2)=12(1+121N+11N+2)34.\sum_{n=1}^{N}\frac1{n(n+2)} = \frac12\Bigl(1 + \frac12 - \frac1{N+1} - \frac1{N+2}\Bigr) \longrightarrow \frac34 .

3. If F(X)=G(X)G(X+1)F(X) = G(X) - G(X+1), then n=1NF(n)=n=1N(G(n)G(n+1))=G(1)G(N+1)\sum_{n=1}^N F(n) = \sum_{n=1}^N\bigl(G(n) - G(n+1)\bigr) = G(1) - G(N+1): all intermediate values cancel in pairs. For F=1X(X+1)(X+2)F = \frac1{X(X+1)(X+2)}, the witness is G(X)=12X(X+1)G(X) = \frac1{2X(X+1)}:

G(X)G(X+1)=(X+2)X2X(X+1)(X+2)=F(X),G(X) - G(X+1) = \frac{(X+2) - X}{2X(X+1)(X+2)} = F(X) ,

so n=1NF(n)=1412(N+1)(N+2)14\sum_{n=1}^N F(n) = \frac14 - \frac1{2(N+1)(N+2)} \to \frac14, the value of Exercise 9.8.

4. Put the right-hand side over the common denominator X(X+1)(X+k)X(X+1)\cdots(X+k):

1k(X+k)XX(X+1)(X+k)=1X(X+1)(X+k),\frac1k\cdot\frac{(X + k) - X}{X(X+1)\cdots(X+k)} = \frac{1}{X(X+1)\cdots(X+k)} ,

which is the identity. So Fk(X)=1k(Gk(X)Gk(X+1))F_k(X) = \frac1k\bigl(G_k(X) - G_k(X+1)\bigr) with Gk(X)=1X(X+1)(X+k1)G_k(X) = \frac1{X(X+1)\cdots(X+k-1)}, and question 3’s mechanism gives

n=1N1n(n+1)(n+k)=1k(1k!Gk(N+1))1kk!,\sum_{n=1}^{N}\frac1{n(n+1)\cdots(n+k)} = \frac1k\Bigl(\frac1{k!} - G_k(N+1)\Bigr) \longrightarrow \frac1{k\cdot k!} ,

since Gk(1)=1k!G_k(1) = \frac1{k!} and Gk(N+1)0G_k(N+1) \to 0. For k=2k = 2: 122=14\frac1{2\cdot2} = \frac14, matching question 3.

5. Exercise 9.6 gives n!X(X+1)(X+n)=j=0n(1)j(nj)X+j\frac{n!}{X(X+1)\cdots(X+n)} = \sum_{j=0}^n \frac{(-1)^j\binom nj}{X + j}. Evaluate at X=1X = 1: the left side is n!(n+1)!=1n+1\frac{n!}{(n+1)!} = \frac1{n+1}, the right side is j(1)j(nj)11+j\sum_j(-1)^j\binom nj\frac1{1+j}: first identity. At X=2X = 2: the left side is n!23(n+2)=n!1(n+2)!=1(n+1)(n+2)\frac{n!}{2\cdot3\cdots(n+2)} = \frac{n!\cdot1}{(n+2)!} = \frac1{(n+1)(n+2)}, the right side j(1)j(nj)12+j\sum_j(-1)^j\binom nj\frac1{2+j}: second identity.

6. The poles ωk\omega^k are simple, and the simple-pole formula of Method 9.6 gives the coefficient

1(nXn1)X=ωk=1nωk(n1)=ωknωkn=ωkn,\frac{1}{\bigl(nX^{n-1}\bigr)_{X = \omega^k}} = \frac{1}{n\,\omega^{k(n-1)}} = \frac{\omega^k}{n\,\omega^{kn}} = \frac{\omega^k}n ,

using ωkn=1\omega^{kn} = 1. Hence 1Xn1=1nkωkXωk\frac1{X^n-1} = \frac1n\sum_k \frac{\omega^k}{X - \omega^k}.

7. For n=2n = 2 (ω=1\omega = -1): 12(1X11X+1)=122X21=1X21\frac12\bigl( \frac1{X-1} - \frac1{X+1}\bigr) = \frac12\cdot\frac{2}{X^2-1} = \frac1{X^2-1}: correct. The coefficients sum to 1nkωk=0\frac1n\sum_k\omega^k = 0 for n2n \geq 2 (Proposition 3.18). They must: xF(x)kckx\,F(x) \to \sum_k c_k as xx \to \infty for any decomposition with simple poles, while here xF(x)=xxn10xF(x) = \frac{x}{x^n-1} \to 0 since n2n \geq 2.

8. Cover-up for Xn1Xn1\frac{X^{n-1}}{X^n - 1} at ωk\omega^k: A(ωk)B(ωk)=ωk(n1)nωk(n1)=1n\frac{A(\omega^k)}{B'(\omega^k)} = \frac{\omega^{k(n-1)}}{n\omega^{k(n-1)}} = \frac1n, so Xn1Xn1=1nk1Xωk\frac{X^{n-1}}{X^n-1} = \frac1n\sum_k\frac1{X - \omega^k} — the identity of Exercise 9.7 again.

9. With c=ωkc = \omega^k, c=ωnk\conj c = \omega^{n-k} and cc=1c\conj c = 1, c+c=2cosθkc + \conj c = 2\cos\theta_k:

cXc+cXc=c(Xc)+c(Xc)(Xc)(Xc)=2cosθkX2X22cosθkX+1.\frac{c}{X - c} + \frac{\conj c}{X - \conj c} = \frac{c(X - \conj c) + \conj c(X - c)} {(X - c)(X - \conj c)} = \frac{2\cos\theta_k\,X - 2}{X^2 - 2\cos\theta_k\,X + 1} .

Grouping kk with nkn - k in question 6: for odd nn,

1Xn1=1n(1X1+k=1(n1)/22cosθkX2X22cosθkX+1);\frac1{X^n - 1} = \frac1n\Biggl(\frac1{X-1} + \sum_{k=1}^{(n-1)/2} \frac{2\cos\theta_k X - 2}{X^2 - 2\cos\theta_k X + 1}\Biggr) ;

for even nn, the extra self-paired pole ωn/2=1\omega^{n/2} = -1 contributes 1X+1\frac{-1}{X+1} inside the parenthesis and the pair sum runs to n21\frac n2 - 1.

10. n=4n = 4: θ1=π2\theta_1 = \frac\pi2, cosθ1=0\cos\theta_1 = 0, so the pair term is 2X2+1\frac{-2}{X^2+1} and

1X41=14(1X11X+12X2+1),\frac1{X^4-1} = \frac14\Bigl(\frac1{X-1} - \frac1{X+1} - \frac2{X^2+1}\Bigr) ,

the decomposition of Exercise 9.4.

11. P=k=1n1(Xωk)P = \prod_{k=1}^{n-1}(X - \omega^k) (divide Xn1X^n - 1 by X1X - 1), so by Exercise 8.11, PP=k=1n11Xωk\frac{P'}P = \sum_{k=1}^{n-1}\frac1{X-\omega^k}. At X=1X = 1: P(1)=nP(1) = n and P(1)=j=1n1j=n(n1)2P'(1) = \sum_{j=1}^{n-1}j = \frac{n(n-1)}2, whence

k=1n111ωk=P(1)P(1)=n12.\sum_{k=1}^{n-1}\frac1{1 - \omega^k} = \frac{P'(1)}{P(1)} = \frac{n-1}2 .

12. Half-angle: 1eiθ=2isinθ2eiθ/21 - \eu^{\iu\theta} = -2\iu\sin\frac\theta2\,\eu^{\iu\theta/2}, so

11eiθ=eiθ/22isinθ2=icosθ2+sinθ22sinθ2=12+i2cosθ2sinθ2.\frac1{1 - \eu^{\iu\theta}} = \frac{\eu^{-\iu\theta/2}}{-2\iu\sin\frac\theta2} = \frac{\iu\cos\frac\theta2 + \sin\frac\theta2} {2\sin\frac\theta2} = \frac12 + \frac\iu2\, \frac{\cos\frac\theta2}{\sin\frac\theta2} .

With θ=θk=2kπn\theta = \theta_k = \frac{2k\pi}n: 11ωk=12+i2cotkπn\frac1{1-\omega^k} = \frac12 + \frac\iu2\cot\frac{k\pi}n. Summing over k=1,,n1k = 1, \dots, n-1 and comparing with the real value n12\frac{n-1}2 of question 11: the real parts already account for everything, so kcotkπn=0\sum_k\cot\frac{k\pi}n = 0 — as the symmetry cot(nk)πn=cotkπn\cot\frac{(n-k) \pi}n = -\cot\frac{k\pi}n also shows.

13. Differentiating PP=k1Xωk\frac{P'}P = \sum_k\frac1{X - \omega^k}:

PP(PP)2=k=1n11(Xωk)2.\frac{P''}P - \Bigl(\frac{P'}P\Bigr)^2 = -\sum_{k=1}^{n-1}\frac1{(X - \omega^k)^2} .

At X=1X = 1: P(1)=j=2n1j(j1)=2(n3)=n(n1)(n2)3P''(1) = \sum_{j=2}^{n-1}j(j-1) = 2\binom n3 = \frac{n(n-1)(n-2)}3 (hockey-stick identity, or induction), so

k=1n11(1ωk)2=(n12)2(n1)(n2)3=(n1)(3(n1)4(n2))12=(n1)(5n)12.\sum_{k=1}^{n-1}\frac1{(1 - \omega^k)^2} = \Bigl(\frac{n-1}2\Bigr)^2 - \frac{(n-1)(n-2)}3 = \frac{(n-1)\bigl(3(n-1) - 4(n-2)\bigr)}{12} = \frac{(n-1)(5-n)}{12} .

14. Squaring question 12’s formula, with ck=cotkπnc_k = \cot\frac{k\pi}n:

1(1ωk)2=(12+i2ck)2=14ck24+i2ck.\frac1{(1-\omega^k)^2} = \Bigl(\frac12 + \frac\iu2 c_k\Bigr)^2 = \frac14 - \frac{c_k^2}4 + \frac\iu2\,c_k .

Summing and using ck=0\sum c_k = 0 (question 12) and question 13: n1414kck2=(n1)(5n)12\frac{n-1}4 - \frac14\sum_k c_k^2 = \frac{(n-1)(5-n)}{12}, so

k=1n1cot2kπn=(n1)(n1)(5n)3=(n1)(n2)3.\sum_{k=1}^{n-1}\cot^2\frac{k\pi}n = (n-1) - \frac{(n-1)(5-n)}3 = \frac{(n-1)(n-2)}3 .

Then 1sin2t=1+cot2t\frac1{\sin^2t} = 1 + \cot^2t gives k1sin2kπn=(n1)+(n1)(n2)3=n213\sum_k\frac1{\sin^2\frac{k\pi}n} = (n-1) + \frac{(n-1)(n-2)}3 = \frac{n^2-1}3.

15. n=3n = 3: cot2π3+cot22π3=13+13=23=213\cot^2\frac\pi3 + \cot^2\frac{2\pi}3 = \frac13 + \frac13 = \frac23 = \frac{2\cdot1}3; and 1sin2\frac1{\sin^2} sums to 43+43=83=913\frac43 + \frac43 = \frac83 = \frac{9-1}3. n=4n = 4: 1+0+1=2=3231 + 0 + 1 = 2 = \frac{3\cdot2}3; and 2+1+2=5=16132 + 1 + 2 = 5 = \frac{16-1}3. Both formulas check.

16. For t(0,π2)t \in \intoo0{\frac\pi2}, the classical comparison sint<t<tant\sin t < t < \tan t (area or convexity argument, familiar from High School) yields, taking reciprocals, cott<1t<1sint\cot t < \frac1t < \frac1{\sin t}, all three positive there; squaring preserves the order. With t=kπnt = \frac{k\pi}n, 1km1 \leq k \leq m, n=2m+1n = 2m+1 (so t<π2t < \frac\pi2):

cot2kπn<n2k2π2<1sin2kπn.\cot^2\frac{k\pi}n < \frac{n^2}{k^2\pi^2} < \frac1{\sin^2\frac{k\pi}n} .

17. By the symmetries cot2(nk)πn=cot2kπn\cot^2\frac{(n-k)\pi}n = \cot^2\frac{k\pi}n and likewise for sin2\sin^2, question 14’s sums halve: k=1mcot2kπn=(n1)(n2)6=m(2m1)3\sum_{k=1}^{m}\cot^2\frac{k\pi}n = \frac{(n-1)(n-2)}6 = \frac{m(2m-1)}3 and k=1m1sin2kπn=n216=2m(m+1)3\sum_{k=1}^m\frac1{\sin^2\frac{k\pi}n} = \frac{n^2-1}6 = \frac{2m(m+1)}3. Summing question 16 over k=1,,mk = 1, \dots, m and multiplying by π2n2\frac{\pi^2}{n^2}:

π2(2m+1)2m(2m1)3  <  k=1m1k2  <  π2(2m+1)22m(m+1)3.\frac{\pi^2}{(2m+1)^2}\cdot\frac{m(2m-1)}3 \;<\; \sum_{k=1}^{m}\frac1{k^2} \;<\; \frac{\pi^2}{(2m+1)^2}\cdot\frac{2m(m+1)}3 .

Both bounds tend to π26\frac{\pi^2}6 as mm \to \infty (the ratios m(2m1)(2m+1)2\frac{m(2m-1)}{(2m+1)^2} and 2m(m+1)(2m+1)2\frac{2m(m+1)}{(2m+1)^2} both tend to 12\frac12), so by the squeeze the increasing partial sums converge and

k=11k2=π26.\sum_{k=1}^{\infty}\frac1{k^2} = \frac{\pi^2}6 .

18. Square 1X21=12(1X11X+1)\frac1{X^2-1} = \frac12\bigl(\frac1{X-1} - \frac1{X+1}\bigr):

1(X21)2=14(1(X1)2+1(X+1)2)121(X1)(X+1),\frac1{(X^2-1)^2} = \frac14\Bigl(\frac1{(X-1)^2} + \frac1{(X+1)^2}\Bigr) - \frac12\cdot\frac1{(X-1)(X+1)} ,

and re-decompose the cross term 1(X1)(X+1)=12(1X11X+1)\frac1{(X-1)(X+1)} = \frac12\bigl(\frac1{X-1} - \frac1{X+1}\bigr) to get the stated form. At X=0X = 0: left side 11; right side 14(1+1)14(11)=12+12=1\frac14(1 + 1) - \frac14(-1 - 1) = \frac12 + \frac12 = 1.

19. Sum question 18 over n2n \geq 2. With S=k11k2=π26S = \sum_{k\geq1}\frac1{k^2} = \frac{\pi^2}6: n21(n1)2=S\sum_{n\geq2} \frac1{(n-1)^2} = S; n21(n+1)2=S114\sum_{n\geq2}\frac1{(n+1)^2} = S - 1 - \frac14; and the gap-two telescope n2(1n11n+1)=1+12=32\sum_{n\geq2}\bigl( \frac1{n-1} - \frac1{n+1}\bigr) = 1 + \frac12 = \frac32. Hence

n=21(n21)2=14(2S54)1432=S21116=π21211160.135.\sum_{n=2}^{\infty}\frac1{(n^2-1)^2} = \frac14\Bigl(2S - \frac54\Bigr) - \frac14\cdot\frac32 = \frac S2 - \frac{11}{16} = \frac{\pi^2}{12} - \frac{11}{16} \approx 0.135 .

Numerically: 19+164+1225+1576+11225+0.1111+0.0156+0.0044+0.0017+0.0008+0.135\frac19 + \frac1{64} + \frac1{225} + \frac1{576} + \frac1{1225} + \dots \approx 0.1111 + 0.0156 + 0.0044 + 0.0017 + 0.0008 + \dots \approx 0.135: consistent.

20. Differentiate question 8’s identity k1Xωk=nXn1Xn1\sum_k\frac1{X-\omega^k} = \frac{nX^{n-1}}{X^n-1}:

k=0n11(Xωk)2=n2X2n2n(n1)Xn2(Xn1)(Xn1)2.\sum_{k=0}^{n-1}\frac1{(X - \omega^k)^2} = \frac{n^2X^{2n-2} - n(n-1)X^{n-2}(X^n - 1)}{(X^n - 1)^2} .

Check at n=2n = 2, X=2X = 2: right side 442139=109\frac{4\cdot4 - 2\cdot1\cdot3}{9} = \frac{10}9; left side 1(21)2+1(2+1)2=1+19=109\frac1{(2-1)^2} + \frac1{(2+1)^2} = 1 + \frac19 = \frac{10}9.

21. 1(nk)=k!(nk)!n!=k!(nk+1)(nk+2)n\frac1{\binom nk} = \frac{k!\,(n-k)!}{n!} = \frac{k!}{(n-k+1)(n-k+2)\cdots n}, a product of kk consecutive integers downstairs. Substituting j=nk+1j = n - k + 1 (so jj runs over N\N^* as nn runs from kk):

n=k1(nk)=k!j=11j(j+1)(j+k1)=k!(k1)(k1)!=kk1,\sum_{n=k}^{\infty}\frac1{\binom nk} = k!\sum_{j=1}^{\infty}\frac1{j(j+1)\cdots(j+k-1)} = \frac{k!}{(k-1)\,(k-1)!} = \frac{k}{k-1} ,

by question 4 applied with k1k - 1 in place of kk (valid since k11k - 1 \geq 1).

22. For k=3k = 3: 1(n3)=6(n2)(n1)n\frac1{\binom n3} = \frac6{(n-2)(n-1)n}, so by question 3’s partial sum (shifted),

n=3N1(n3)=6j=1N21j(j+1)(j+2)=6(1412(N1)N)=323(N1)N32,\sum_{n=3}^{N}\frac1{\binom n3} = 6\sum_{j=1}^{N-2}\frac1{j(j+1)(j+2)} = 6\Bigl(\frac14 - \frac1{2(N-1)N}\Bigr) = \frac32 - \frac3{(N-1)N} \longrightarrow \frac32 ,

the value kk1=32\frac k{k-1} = \frac32 of question 21.

23. n=6n = 6: pairs k=1k = 1 (θ1=π3\theta_1 = \frac\pi3, 2cosθ1=12\cos\theta_1 = 1) and k=2k = 2 (θ2=2π3\theta_2 = \frac{2\pi}3, 2cosθ2=12\cos\theta_2 = -1), plus the real poles ±1\pm1:

1X61=16(1X11X+1+X2X2X+1+X2X2+X+1).\frac1{X^6-1} = \frac16\Bigl(\frac1{X-1} - \frac1{X+1} + \frac{X - 2}{X^2 - X + 1} + \frac{-X - 2}{X^2 + X + 1}\Bigr) .

At X=0X = 0: left side 1-1; right side 16(1122)=1\frac16(-1 - 1 - 2 - 2) = -1: correct.

24. (i) Uniqueness legitimizes every identification of coefficients — cover-up, the conjugate-pair grouping of question 9, and the differentiation tricks (questions 13, 20) all rest on it. (ii) Roots of unity supplied the poles of Xn1X^n - 1, their symmetries (knkk \leftrightarrow n-k), and the half-angle algebra of question 12 (Method 3.11). (iii) The logarithmic derivative PP=miXai\frac{P'}P = \sum\frac{m_i}{X-a_i} converted information about the roots of P=1+X++Xn1P = 1 + X + \dots + X^{n-1} into the numerical sums of questions 11 and 13 — the hinge between Parts II and III.

25. The decomposition is a purely algebraic identity, true for every value of the variable at once; that is what makes it an engine. Substituting integers and summing turned it into telescopes (Part I); substituting roots of unity and grouping conjugates turned it into trigonometric identities (Parts II and III); and only at the very last step did analysis enter — a squeeze between two closed forms — to deliver π26\frac{\pi^2}6, a statement no finite substitution could reach. This division of labor (algebra produces exact finite identities, analysis passes to the limit) is the template for Chapter 17, where telescoping and comparison become systematic, and for Chapter 15, where each brick acquires a primitive and the same decompositions compute integrals instead of sums.