Modular arithmetic question about functions

In summary: e. is the same as [a+bx] modulo p.this is the complex numbers, which are really just a special case of the more general field of polynomial functions.
  • #1
elegysix
406
15
Hello, I'm new to modular arithmetic, but I was wondering -

Given that
b = R mod(n) where b,R, and n are all integers

Is it plausible to consider
G(x) = R(x) mod(f(x)) with G,R,f all functions of x?

Has this been done or does this not even make sense?
If its been done, what is it called?
If it doesn't work, could you explain a little?

thanks :D
 
Physics news on Phys.org
  • #2
Yes, it does make sense. Have you studied abstract algebra yet? Modular arithmetic is a special case of quotient objects, in this case a quotient ring. On http://en.wikipedia.org/wiki/Quotient_ring" they have some good examples involving polynomials and smooth functions.

For another example, let [itex] R := \{f \in C[0,1] : f \quad \text{is continuous} \} [/itex] be the ring of continuous real-valued functions defined on [0,1]. Given [itex] f \in R [/itex] we can define an equivalence relation by g~h iff [itex]g(x) - h(x) =a(x)f(x) [/itex] for some function [itex] a(x) \in R [/itex]. Another way to write this would be g(x) = h(x) mod (f(x))
 
Last edited by a moderator:
  • #3
not only is it possible, but in fact, it's one of the ways in which finite fields are created.

normally, what one does, is first create the integers mod p, where p is a prime.

then one considers Zp[x], the set of all polynomials with coefficients in Zp (integers mod p).

and THEN, one picks an "irreducible" polynomial (for our purposes, this just means "no factoring possible"), say g(x), and considers the polynomials "mod g(x)".

doing that, gives a finite field, which is surprising, because it's not immediately intuitive that identifying a certain subset of the infinite number of polynomials, gives you such a small (finite) set of "remainders".

one surprisingly familar example of a set of functions (mod f(x)) is the complex numbers. first, you take the set of all real polynomials, R[x].

then, you "mod x2 + 1". that is, you declare p(x) to be equivalent to q(x) if and only if:

p(x) = q(x) + (x2+1)k(x)

we can write [p(x)] for the equivalence class of p(x). now look what happens with [x]:

[x]2 + [1] = [x2+ 1] = [0]

(since x2+1 = 0 + (x2+1)(1), here "q(x)" is 0, and "k(x)" is 1).

this means that [x]2 = -[1] = [-1].

this means that ("mod x2 + 1") [x] is a square root of [-1].

so we have (there's some technical details I'm glossing over) the bijection:

a+bi <---> [a+bx] = [a][1] + [x], that is [x] acts "just like" i.
 

What is modular arithmetic?

Modular arithmetic is a branch of mathematics that deals with the remainder after dividing two numbers. It is used to solve problems involving cyclical patterns and is often used in cryptography and computer science.

How is modular arithmetic used in functions?

Modular arithmetic can be used in functions to restrict the output to a specific range of numbers. This is especially useful in computer programming, where the output needs to be within a certain range for the program to function correctly.

How do you perform modular arithmetic?

To perform modular arithmetic, you first divide the numbers and find the remainder. Then, you can add, subtract, multiply, or divide the remainders to get the final result. The remainder is always a smaller number than the divisor.

What is the difference between modular arithmetic and regular arithmetic?

The main difference between modular arithmetic and regular arithmetic is that in modular arithmetic, the operations are performed on the remainder after dividing two numbers. In regular arithmetic, the operations are performed on the whole numbers.

Why is modular arithmetic important?

Modular arithmetic is important because it has many real-world applications, such as in cryptography, computer science, and music theory. It also helps in solving complex problems involving cyclical patterns and can provide a more efficient way of performing calculations.

Similar threads

Replies
5
Views
595
Replies
35
Views
2K
  • Linear and Abstract Algebra
Replies
5
Views
1K
  • Linear and Abstract Algebra
Replies
1
Views
921
  • Quantum Physics
Replies
3
Views
948
Replies
5
Views
2K
  • Linear and Abstract Algebra
Replies
1
Views
1K
Replies
5
Views
845
  • Precalculus Mathematics Homework Help
Replies
1
Views
893
  • Linear and Abstract Algebra
Replies
1
Views
928
Back
Top