PRODUCTS
Products Overview
Mathematica
Mathematica Student Edition
Mathematica Home Edition
Wolfram
CDF Player
(free download)
Computable Document Format (CDF)
web
Mathematica
grid
Mathematica
Wolfram
Workbench
Wolfram
SystemModeler
Wolfram
Finance Platform
Mathematica
Add-Ons
Wolfram|Alpha Products
SOLUTIONS
Solutions Overview
Engineering
Aerospace Engineering & Defense
Chemical Engineering
Control Systems
Electrical Engineering
Image Processing
Industrial Engineering
Materials Science
Mechanical Engineering
Operations Research
Optics
Petroleum Engineering
Biotechnology & Medicine
Bioinformatics
Medical Imaging
Finance, Statistics & Business Analysis
Actuarial Sciences
Data Analysis & Mining
Econometrics
Economics
Financial Engineering & Mathematics
Financial Risk Management
Statistics
Software Engineering & Content Delivery
Authoring & Publishing
Interface Development
Software Engineering
Web Development
Science
Astronomy
Biological Sciences
Chemistry
Environmental Sciences
Geosciences
Social & Behavioral Sciences
Design, Arts & Entertainment
Game Design, Special Effects & Generative Art
Education
STEM Education Initiative
Higher Education
Community & Technical College Education
Primary & Secondary Education
Students
Technology
Computable Document Format (CDF)
High-Performance & Parallel Computing (HPC)
See Also: Technology Guide
PURCHASE
Online Store
Other Ways to Buy
Volume & Site Licensing
Contact Sales
Software
Service
Upgrades
Training
Books
Merchandise
SUPPORT
Support Overview
Mathematica
Documentation
Knowledge Base
Learning Center
Technical Services
Community & Forums
Training
Does My Site Have a License?
Wolfram User Portal
COMPANY
About Wolfram Research
News
Events
Wolfram Blog
Partnerships
Employment Opportunities
History of
Mathematica
Stephen Wolfram's Home Page
Contact Us
OUR SITES
All Sites
Wolfram|Alpha
Demonstrations Project
MathWorld
Integrator
Wolfram Functions Site
Mathematica Journal
Wolfram Media
Wolfram
Tones
Wolfram Science
Stephen Wolfram
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE
DOCUMENTATION CENTER
FOR THE LATEST INFORMATION.
DOCUMENTATION CENTER SEARCH
New to
Mathematica
?
Find your learning path
»
Mathematica
>
Mathematics and Algorithms
>
Number Theory
>
Algebraic Number Theory
>
ToNumberField
>
Mathematica
>
Mathematics and Algorithms
>
Mathematical Functions
>
Number Theoretic Functions
>
Algebraic Number Theory
>
ToNumberField
>
BUILT-IN MATHEMATICA SYMBOL
Algebraic Number Fields
Tutorials »
|
AlgebraicNumber
AlgebraicNumberPolynomial
MinimalPolynomial
Extension
RootReduce
See Also »
|
Algebraic Numbers
Algebraic Number Theory
Number Theory
New in 6.0: Mathematics & Algorithms
New in 6.0: Number Theory & Integer Functions
More About »
ToNumberField
ToNumberField
expresses the algebraic number
a
in the number field generated by
.
ToNumberField
expresses the
in the field generated by
.
ToNumberField
expresses the
in a common extension field generated by a single algebraic number.
MORE INFORMATION
ToNumberField
gives
AlgebraicNumber
objects corresponding to elements of the rational extension
.
ToNumberField
remains unevaluated if
a
does not exist in
.
The
and
can be given in terms of
Root
or
AlgebraicNumber
objects, or ordinary rationals and radicals.
If
is an algebraic integer the results will always be given in terms of
AlgebraicNumber
.
ToNumberField
gives a representation of the
in terms of a primitive element of the field
.
ToNumberField
is equivalent to
ToNumberField
[{
a
1
,
a
2
,
...
},
Automatic
]
, and does not necessarily use the smallest common field extension.
ToNumberField
[{
a
1
,
a
2
,
...
},
All
]
always uses the smallest common field extension.
ToNumberField
[
x
]
converts any form of algebraic number to an explicit
AlgebraicNumber
object.
EXAMPLES
CLOSE ALL
Basic Examples
(1)
Express
in the number field generated by
:
Express
in the number field generated by
:
In[1]:=
Out[1]=
Scope
(6)
The generator
of the number field will autoreduce to an algebraic integer:
Radical expressions:
Root
objects:
AlgebraicNumber
objects:
Express
and
in a common extension field:
Express algebraic numbers in the smallest common extension field:
Applications
(1)
Find a primitive element for
over
:
Properties & Relations
(1)
Convert an algebraic number to an explicit
AlgebraicNumber
object:
SEE ALSO
AlgebraicNumber
AlgebraicNumberPolynomial
MinimalPolynomial
Extension
RootReduce
TUTORIALS
Algebraic Number Fields
MORE ABOUT
Algebraic Numbers
Algebraic Number Theory
Number Theory
New in 6.0: Mathematics & Algorithms
New in 6.0: Number Theory & Integer Functions
New in 6