MHB Expression isn't shown entirely

  • Thread starter Thread starter evinda
  • Start date Start date
  • Tags Tags
    Expression
AI Thread Summary
The discussion revolves around formatting issues in a LATEX document, specifically regarding the display of mathematical expressions that are being cut off due to long lines. The user is trying to present a function related to p-adic integers, denoted as εp, which maps integers to their modular representations. Suggestions are made to improve clarity, such as using \bmod instead of \pmod and incorporating the equivalence symbol (≡) for better notation. The context of the discussion indicates a focus on mathematical formatting and notation within LATEX, particularly for expressions involving modular arithmetic.
evinda
Gold Member
MHB
Messages
3,741
Reaction score
0
Hello! (Wave)

I am writing a text in LATEX and I wrote this:

Code:
\begin{align*} 
\epsilon_p(a+b)&=((a+b)\pmod p, (a+b)\pmod{p^2}, (a+b)\pmod{p^3}, \dots )\\ 
&=(a\pmod p+b\pmod p, a\pmod{p^2}+b\pmod{p^2}, a\pmod{p^3}+ b \pmod{p^3}, \dots) \\ 
&=(a\pmod p, a\pmod{p^2},a\pmod{p^3}, \dots)+(b\pmod p, b\pmod{p^2}, b\pmod{p^3}, \dots) \\ 
&=\epsilon_p(a)+\epsilon_p(b) 
\end{align*}

but the expression is cut off and isn't shown entirely... Why does this happen? :( What could I do?
 
Physics news on Phys.org
Apparently it is cut off because the lines are too long. By the way, your notation does not make much sense to me. The only context I saw where [m]\pmod[/m] is used is $a\equiv b\pmod{p}$. Of course, I don't know your context, so maybe it's OK.
 
Hey! ;)

\begin{align*}
\epsilon_p(a+b)&=((a+b)\pmod p, (a+b)\pmod{p^2}, (a+b)\pmod{p^3}, \dots )\\
&=(a\pmod p+b\pmod p, a\pmod{p^2}+b\pmod{p^2}, a\pmod{p^3}+ b \pmod{p^3}, \dots) \\
&=(a\pmod p, a\pmod{p^2},a\pmod{p^3}, \dots)+(b\pmod p, b\pmod{p^2}, b\pmod{p^3}, \dots) \\
&=\epsilon_p(a)+\epsilon_p(b)
\end{align*}

No problem here, in mathjax, apparently.
So presumably you have indeed a context that sets a paper size or some such.
 
Evgeny.Makarov said:
The only context I saw where [m]\pmod[/m] is used is $a\equiv b\pmod{p}$. Of course, I don't know your context, so maybe it's OK.

It is a property of $p$-adic integers.
$\epsilon_p: \mathbb{Z} \to \mathbb{Z}_p$ is the function :

$$\epsilon_p(x)=(x \mod p, x \mod{p^2}, x \mod{p^3}, \dots)$$
 
evinda said:
It is a property of $p$-adic integers.
$\epsilon_p: \mathbb{Z} \to \mathbb{Z}_p$ is the function :

$$\epsilon_p(x)=(x \mod p, x \mod{p^2}, x \mod{p^3}, \dots)$$

I suggest using \bmod (bare mod).
Oh, and perhaps using $\equiv$.
$$\epsilon_p(x)\equiv(x \bmod p,\ x \bmod{p^2},\ x \bmod{p^3}, \dots)$$
(Thinking)
 
I like Serena said:
I suggest using \bmod (bare mod).
Oh, and perhaps using $\equiv$.
$$\epsilon_p(x)\equiv(x \bmod p,\ x \bmod{p^2},\ x \bmod{p^3}, \dots)$$
(Thinking)

Ok... (Nod) Thank you! (Smile)
 
Back
Top