padic
rootp
find all roots of a polynomial with rational coefficients in a p-adic number field
Calling Sequence
Parameters
Description
Examples
rootp (pol, p, s) or evalp (RootOf(pol),p, s)
rootp (pol, p) or evalp(RootOf(pol), p)
pol
-
polynomial with rational coefficients
p
prime number or positive integer
s
(optional) positive integer
This function computes all roots in the given p-adic number field of the polynomial pol.
The parameter s sets the size of the resulting expression, where "size" means the number of terms of the p-adic number which will be printed. If omitted, it defaults to the value of the global variable Digitsp, which is initially assigned the value 10.
See padic[evalp] for an explanation of the representation of p-adic numbers in Maple.
The command with(padic,rootp) allows the use of the abbreviated form of this command.
with⁡padic:
rootp⁡x25−1,5
1
rootp⁡x2+1,5
3+3⁢5+2⁢52+3⁢53+54+2⁢56+57+4⁢58+O⁡59,2+5+2⁢52+53+3⁢54+4⁢55+2⁢56+3⁢57+O⁡59
rootp⁡x2+1,3
f≔75⁢x3+3⁢x2+8⁢x+3
evalp⁡RootOf⁡f,5,15
4⁢5−2+4⁢5−1+2⁢5+3⁢52+3⁢54+3⁢55+56+3⁢57+4⁢58+2⁢59+2⁢510+4⁢511
See Also
padic/functions
padic[evalp]
Download Help Document