Can logarithms be applied to Modular arithmetic

Click For Summary

Discussion Overview

The discussion centers around the applicability of logarithms within the framework of modular arithmetic. Participants explore the theoretical implications and definitions related to this topic, including the concept of discrete logarithms.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • Some participants express skepticism about the applicability of logarithms in modular arithmetic, suggesting that consistent definitions may not be achievable.
  • One participant illustrates the concept of equivalence in modular arithmetic using examples, emphasizing the need for well-defined operations.
  • Another participant references Fermat’s Little Theorem to propose a relationship involving logarithms and modular arithmetic, leading to a seemingly paradoxical conclusion.
  • A participant introduces the concept of discrete logarithms, noting that while they exist in modular arithmetic, their calculation is complex.
  • A link to an external article is provided as a resource for further exploration of the topic.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the applicability of logarithms in modular arithmetic, with multiple competing views and uncertainties expressed throughout the discussion.

Contextual Notes

Participants highlight the need for careful definitions and the potential inconsistencies that may arise when attempting to apply logarithmic concepts within modular systems.

l-1j-cho
Messages
104
Reaction score
0
I was just curious. I believe the answer would be no, but I don;t know why
 
Mathematics news on Phys.org
l-1j-cho said:
I was just curious. I believe the answer would be no, but I don;t know why

I'm not sure of your background with modular arithmetic, so I'll just start small...
We consider all numbers with the same remainder after dividing by n to be EQUIVALENT.
For example, 2 = 5 = 8 = 11 = 300000000000002 = -1 mod 3. (Here, the "triple" bar sign would be better than the double bar equality, but I'm avoiding markup)

So in the case of n = 3, there are 3 classes: [0], [1], and [2].
We define addition by [x] + [y] = [x + y].
BUT, we have to check that this really is a function (i.e. that it is well-defined).

Similarly, we would have to check for such a definition including logarithms, but I think you'll find that we can't get anything consistent to work.

0 = ln[1] = ln[4] = 2ln[2] = 2*.6931... ?
 
If that assumption were true...

Fermat’s Little Theorem states that
n^p ≡ n (mod p)
where n is an integer and p is a prime number
This implies
log (base n) n^p ≡ log (base n) n (mod p)
Therefore
p ≡ 1 (mod p)
In conclusion
0 ≡ 1 (mod p)

ha...
 
Last edited:
l-1j-cho said:
I was just curious. I believe the answer would be no, but I don;t know why

There's a thing called the discrete logarithm, that's been defined for modular arithmetic.
Calculating it is non-trivial.

From wikipedia: http://en.wikipedia.org/wiki/Discrete_logarithm

"a solution x of the equation gx = h is called a discrete logarithm to the base g of h"
 

Similar threads

  • · Replies 13 ·
Replies
13
Views
3K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 35 ·
2
Replies
35
Views
4K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 81 ·
3
Replies
81
Views
11K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 2 ·
Replies
2
Views
16K