It was sad to hear about the recent passing of Tony Greig. I loved the excitement he brought to cricket through his enthusiastic commentary. Here are a few examples.

## December 31, 2012

## December 29, 2012

### A curious fact involving factors

Here is one of my favourite elementary number theory results.

If are positive integers such that , then is composite.

I like it because it is not immediately obvious that the relationship should be related to the primality of the *sum* of these four numbers. As an example and .

To prove this, let . Then we may write and where and have no common factors. In other words, extracts the common factors from and . This leads to or . Since and have no common factors, this means all the non-unit factors of divide (and all the non-unit factors of divide ). Then we may write where is a positive integer so that .

Then

which is composite.

Note that we can similarly prove that is composite where is any positive integer.

## December 23, 2012

### Recap of the Australia-South Africa test match in Perth

South Africa recently notched up an impressive 309-run win in the third and deciding cricket test to win the series 1-0 against Australia. After making a first innings score of 225 they fought back hard to have Australia reeling at 6/45 early on the second day. Dale Steyn caused much of that damage with two wickets in his first over of the day and then a brilliant delivery with just enough movement to dismiss the in-form Clarke cheaply. They dismissed Australia for 163 and then seized the initiative in a way I have rarely seen. After batting slowly in the final innings of the previous test to save the match they showed they can bat at the other end of the spectrum, putting away the Australian bowlers with classy batting. South Africa ended day 2 with 2/230 after just 38 overs, a lead of 292 which is amazing given their first innings score. Smith scored 84 off 100 balls while Amla was 99* off just 84 balls.

In my earlier post about the second test I mentioned the rapidity of the partnership between Clarke and Warner. Here we saw two rapid partnerships by the South Africans. Smith and Amla added 178 in 25.3 overs while de Villiers and du Plessis later added 112 in just 14.1 overs, with both partnerships featuring side by side in this list of fastest test partnerships of 100+. De Villiers raced from 50 to 150 in just 63 balls, including 3 cheeky reverse sweeps in a row to move from 89 to 101! Amla finished with 196 off 221 while de Villiers made 169 off 184 as South Africa finished with 569 at 5.08 runs per over. It’s interesting that two scores from the same series and by opposing sides fill the third and fourth spots in this list of the highest test run rates in a completed innings.

Australia were set 632 to win and were never going to get close, with an extremely even bowling performance from South Africa’s frontline bowlers dismissing them for 322 after an entertaining last wicket stand of 87. Ricky Ponting was not to get a fairy tale ending to his distinguished career, making just 4 and 8 for the match. Mitchell Starc interestingly scored the second fastest test half century by an Australian (32 balls).

Faf du Plessis in this game set a record for being the only player to score 70 or more in his first test three innings 78, 110*, and 78* (see this article in The Roar). The following is a list of others who have did well (60+) in each of their first three test innings.

- Sunil Gavaskar (Ind) scored 65, 67*, 116 in his first three innings, following it up with 64*.
- Herbert Sutcliffe (Eng) scored 64, 122, 83.
- Ian Bell (Eng) scored 70, 65*, 162*.
- Andrew Strauss (Eng) scored 112, 83, and 62.
- Herbie Collins (Aus) scored 70, 104, and 64.

## December 12, 2012

### Matrices that are easy to invert

Here are some classes of real non-singular matrices that are easier to invert than most. In an earlier post I had referred to involutory matrices that had the special property that they were equal to their inverse – hence they are the easiest types of matrix to invert!

- 1 by 1 and 2 by 2 matrices are easy to invert:

- Diagonal matrices (including the identity matrix) are among the easiest to invert:

- Orthogonal matrices satisfy . Special cases are permutation matrices and rotation matrices.

- A matrix with all 1s down its diagonal and non-zero entries in a single row or column are easily invertible (atomic triangular matrices are a special case):

Other special cases of this are elementary matrices corresponding to the addition of a row to another:

- Bidiagonal matrices with 1s down the main diagonal are inverted as follows:

A special case of this is that the sum matrix and difference matrix are inverses:

Another special case is the following alternating matrix:

If one thinks about matrix inversion in terms of Gauss-Jordan elimination, keeping track of the order in which row/column operations can be done allow us to carry out matrix inversions such as the following:

- Integer-valued matrices that are equivalent (up to row or column operations which don’t change the determinant) to a triangle matrix with 1 or -1 as diagonal entries have inverses that are integer-valued. See [1] for more details.

- Matrices that are a sum of the identity matrix and a matrix with all entries equal to a constant are inverted as follows.

If , then This is a special case of the formula . For column vectors and this becomes .

- The inverse of the second difference matrix is

- Using identities such as , , and , where and are easily invertible, leads to simplifications. For example, if is diagonal, multiplies the columns of by the entries of and so will multiply the rows of by the entries of .

- The identity (where is the Kronecker product) leads to identities such as

- The following block matrix results also may be useful [2].

#### References

[1] R. Hanson, Integer Matrices Whose Inverse Contain Only Integers, The Two-Year College Mathematics Journal, Vol. 13, No. 1 (Jan., 1982), pp. 18-21.

[2] D. Bernstein, Matrix Mathematics: Theory, Facts, and Formulas, Princeton University Press, 2011.