Skip to main content

Preliminaries of the LTE Lemma


In this post I will discuss the preliminary theory underlying the Lifting the Exponent Lemma (let's refer it to as LTE from now on) which is  one of the foundational topics of Olympiad Number Theory.  It is a useful technique to think of whenever we come across Diophantine equations having exponents and it is even better if those exponents are primes. Comfort with modular arithmetic is assumed. If the reader is not fluent in Modular arithmetic, a quick reading from any handout is sufficient. (I highly recommend  this )

So before starting things off, here are a few conventions that we will follow: We say an integer $b$ divides $a$ iff there is an integer $c$ such that $a = bc$. We denote it as $b \mid a$. We now take a look at more interesting things. 

Consider the following: What is the greatest power of $3$ that divides $63$? It is easy to see that it's $2$. i.e $3^2 \mid 63$. We denote this as $\nu_3(63) = 2$. So let us now define it formally. 

$\nu_p(x)$ is defined as the highest power in which a prime number $p$ divides $x$. So, if $\nu_p(x) = a$ then $p^a \mid x$ but $p^{a+1} \nmid x$. We also use the notation $$p^a || \; x$$ if and only if $\nu_p(x) = a$. From this we get the following relations(these are easy to prove if you understand the definition of $\nu_p(x)$ so I recommend you try to prove them on your own.) :   

  •  $\nu_p(xy) = \nu_p(x) + \nu_p(y)$ 
  •  $\nu_p(x+y) \ge \min\{\nu_p(x) , \nu_p(y)\}$ 
  •  $\nu_p(0) = \infty$ for all prime numbers $p$.  
  • If $p$ and $q$ are different prime numbers then the following holds true $$\nu_p(p^a q^b) = a$$  

We will now utilize the above properties and look at the following two lemmas.

Lemma: Let $x$ and $y$ be integers and let $n \in \mathbb{Z}^+$. For any arbitrary prime number $p$, such that $n$ and $p$ are coprime, $p \mid x-y$ and $p \nmid x$ and $p \nmid y$. We have the following $$\nu_p(x^n - y^n) = \nu_p(x-y)$$

Proof: We use the following well known algebraic trick $$x^n - y^n = (x-y)(x^{n-1}y^0 + x^{n-2}y + \dots + x^0y^{n-1})$$ Now we want to show $$p \nmid x^{n-1}y^0 + x^{n-2}y + \dots + x^0y^{n-1}$$ To show that this is actually true, we take advantage of the fact that $p \mid x-y$. Which implies that $x-y \equiv 0 \pmod{p}$. This gives the us following:   

$$x^{n-1} + x^{n-2}y + \dots + y^{n-1}$$$$\equiv x^{n-1} + x^{n-2} \cdot x + x^{n-3} \cdot x^2 + \dots + x \cdot x^{n-2} + x^{n-1}$$$$\equiv nx^{n-1}$$$$\not \equiv 0 \pmod{p}$$

Which concludes the proof. $\square$ 

Here's another important lemma. 

Lemma: Let $x$ and $y$ be integers and let $n$ be an odd positive integer. Given some arbitrary prime number $p$, such that $n$ and $p$ are co-prime, $p \mid x+y$, $p \nmid x$ and $p \nmid y$, the following holds true $$\nu_p(x^n + y^n) = \nu_p(x+y)$$  Proof: Since both $x$ and $y$ can take negative values, by the previous lemma we obtain $$\nu_p(x^n - (-y^n)) = \nu_p(x-(-y)) \implies \nu_p(x^n + y^n) = \nu_p(x+y)$$  Now observe that $n$ is odd and hence $(-y)^n$ can be replaced with $-y^n$ which finishes the proof. $\square$ 

We have now developed enough tools to take a look at the "LTE Lemma". Here it goes: 

Theorem: Let $x$ and $y$ be two integers. Let $n$ be a positive integer and let $p$ be an odd prime such that $p \mid x-y$ but $p \nmid x$ and $p \nmid y$. Then the following holds true $$\nu_p(x^n - y^n) = \nu_p(x-y) + \nu_p(n)$$


Proof: We will first prove that the following relation holds true $$\nu_p(x^p - y^p) = \nu_p(x-y) + 1$$

To prove this, we will prove two more claims, they are as follows $$p \mid x^{p-1} + x^{p-2}y + \dots + y^{p-1}$$

and  $$p^2 \nmid x^{p-1} + x^{p-2}y + \dots + xy^{p-2} + y^{p-1}$$ To prove the second sub-claim, just observe the fact that $$x^{p-1} + x^{p-2}y + \dots + xy^{p-2} + y^{p-1} \equiv px^{p-1} \equiv 0 \pmod{p}$$ Now denote by $d = x+kp$ where $k \in \mathbb{Z}$ For any integer $t \in [1 , p)$ we get:  

$$d^tx^{p-1-d} \equiv (x+kp)^{t} x^{p-1-t}$$ $$\equiv x^{p-1-t} \left(x^t + t(kp)(x^{t-1}) + \frac{t(t-1)}{2}(kp)^2(x^{t-2)} + \dots \right)$$$$\equiv x^{p-1-t} \left(x^t + t(kp)(x^{t-1}) \right)$$$$\equiv x^{p-1} + tkpx^{p-2} \pmod{p^2}$$ which gives us that $$d^{t}x^{p-1-t} \equiv x^{p-1} + tkpx^{p-2} \pmod{p^2}$$ where $t = \{1,2,3,4,\dots,p-1\}$ Using this we derive the following relations $$x^{p-1} + x^{p-2}y + \dots + xy^{p-2} + y^{p-1}$$ $$\equiv x^{p-1} + (x^{p-1} + kpx^{p-2}) + (x^{p-1} + 2kpx^{p-2}) + \dots + (x^{p-1} + (p-1)(kpx^{p-2})$$ $$\equiv px^{p-1} + (1+2+3+4+\dots+p-1)kpx^{p-2}$$ $$\equiv px^{p-1} + \left(\frac{p(p-1)}{2}\right) kpx^{p-2}$$$$\equiv px^{p-1} + \left(\frac{p-1}{2}\right) kp^2x^{p-1}$$$$\equiv px^{p-1} \not \equiv 0 \pmod{p^2}$$After successfully proving all our sub-claims, we can now move onto our main problem. We had to prove the following $$\nu_p(x^n - y^n) = \nu_p(x-y) + \nu_p(n)$$ The reader can hopefully now conclude the proof by themselves. The key to prove this is to convert $n$ in the form $p^{\omega}b$ where $p$ and $b$ are co-prime. $\square$ 


Theorem: Let $x$ and $y$ be integers and $n$ be an odd integer greater than zero and $p$ be an odd prime such that $p \mid x+y$ and neither $x$ nor $y$ is divisible by $p$. Then the following holds true $$\nu_p(x^n + y^n) = \nu_p(x+y) + \nu_p(n)$$ Proof:  Follows from the previous theorem $\square$ 

A careful reader must have observed that we have been imposing a weird condition on the primes, i.e we are always assuming that the primes are odd. Well, in part of the post, we'll look what exactly happens when the prime $= 2$.  

Theorem: Let $x$ and $y$ be two odd integers such that $4 \mid x-y$. Then the following holds $$\nu_2(x^n - y^n) = \nu_2(x-y) + \nu_2(n)$$Proof: We have previously proved that for any prime number $p$, which is co-prime to $n$ and $p \mid x-y$ and $p \nmid x,y$ then the following relation is true $$\nu_p(x^n - y^n) = \nu_p(x-y)$$ so it suffices to check that $$\nu_2 \left(x^{2^n} - y^{2^n}\right) = \nu_2(x-y) + n$$ which upon factorization leads to the following  

$$x^{2^n} - y^{2^n} = \left(x^{2^{n-1}} + y^{2^{n-1}} \right) \left( x^{2^{n-2}} + y^{2^{n-2}}\right) \dots \left(x^2 + y^2 \right)(x+y)(x-y)$$ Now since $$x \equiv y \equiv \pm 1 \pmod{4}$$ we see that the following is true for all positive integers $k$: $$x^{2^k} \equiv y^{2^k} \equiv 1 \pmod{4}$$ and so for $k \in \{1,2,3,4,\dots\}$ we have $$x^{2^k} + y^{2^k} \equiv 2 \pmod{4}$$ and using the fact that both $x$ and $y$ are odd and also since $4$ divides the difference of $x$ and $y$, $x + y \equiv 2 \pmod{4}$ which finishes the proof $\square$ 

Theorem: Let $x$ and $y$ be two odd positive integers and let $n$ be an even positive integer. Then $$\nu_2(x^n - y^n) = \nu_2(x-y) + \nu_2(x+y) + \nu_2(n) - 1$$

Proof: We will be using the fact that the square of an odd integer is of the form of $4k + 1$ for some integer $k$. Hence, for odd integers $x$ and $y$, we get that $4 \mid x^2 - y^2$. Now define $l$ to be an odd integer and $k$ be a positive integer such that $n  = l \cdot 2^{k}$. Then$$\nu_2(x^n - y^n) = \nu_2 \left(x^{l \cdot 2^k} - y^{l \cdot 2^k}\right)$$ $$= \nu_2 \left(\left(x^2 \right)^{2^{k-1}} - \left(y^2 \right)^{2^{k-1}}\right)$$$$\vdots$$ $$\nu_2(x-y) + \nu_2(x+y)+ \nu_2(n) - 1$$$\square$   

These were the fundamental theorems concerning the LTE lemma. I'm still in the process of collecting problems on the topic and hence I plan to write a second part of this where I'll discuss problems that use this lemma. 

Bratin 


Comments

Popular posts from this blog

EGMO solutions, motivations and reviews ft. Atul, Pranjal and Abhay

The  European Girls' Mathematical Olympiad a.k.a EGMO 2022 just ended. Congrats to Jessica Wan from USA, Taisiia Korotchenko, and Galiia Sharafetdinova for the perfect scores! Moreover, the Indian girls brought home 4 bronze medals! By far, this is the best result the EGMO India Team has ever achieved! To celebrate the brilliant result, here's a compilation of EGMO 2022 solutions and motivations written by my and everyone's favorite IMOTCer Atul ! And along with that, we also have reviews of each problem written by everyone's favorite senior, Pranjal !  These solutions were actually found by Atul, Pranjal,  and Abhay  during the 3-hour live solve. In the live solve, they solved all the 6 problems in 3 hours 😍!!! Okie Dokie, I think we should get started with the problems! Enjoy! Problem 1:  Let $ABC$ be an acute-angled triangle in which $BC<AB$ and $BC<CA$. Let point $P$ lie on segment $AB$ and point $Q$ lie on segment $AC$ such that $P \neq B$, $Q \neq C$ and

Kőnig-Egerváry theorem

Graph theory has been my most favourite thing to learn in maths and and in this blog i hope to spread the knowledge about Kőnig's theorem. It is advised that the readers are aware about basic graph theory terminologies including bipartite graphs. Before going on to the theorem i would like to go on about matchings and vertex cover which we are going to use in the theorem  Matchings A matching $M$ of a graph $G$ is a subset of the edges of a graph in which no two edge share a common vertex (non adjacent edges). For example :- The Matching $M$ over here is edge $\{ 3 - 5 , 1-2 , \}$ or $\{ 1 - 2 , 4 - 3 \}$ etc .  Maximum Matching is a matching that contains the largest possible number of edges for instance in the above example the maximum matching is 2 edges as there cannot be a subset of non adjacent edges having greater than 2 edges (Readers are advised to try so they can convince themselves) A Perfect Matching  is a matching that matches all vertices of the graph or in other sen

Algorithms, or Mathematics?!

Hi everyone! In my last blog, I spoke about a couple of very interesting algorithmic techniques and how they can be used to solve a variety of very interesting problems. This blog however, is going to be completely different.   When we’re young we begin by learning the steps to add – we’re given the rules and we must learn to repeat them – no questions asked. Why does carry forward work the way it does? Well, no questions asked. To some extent, it is important to know how exactly to do a certain set of things while first learning maths. We may not be able to get anywhere in a subject if we’re unable to learn a few basic rules and know how to use them. However, after a certain point it is important to bring in the spirit of mathematical thinking within each student too – something missing in almost every form of school math education. Mathematical miseducation is so common, we wouldn’t even see it. We practically expect a math class to look like repetition and memorisation of disjointed