找回密码
 快速注册
搜索
查看: 2408|回复: 7

代数数化为方程的根RootReduce

[复制链接]

730

主题

1万

回帖

9万

积分

积分
93593
QQ

显示全部楼层

kuing 发表于 2013-7-27 20:09 |阅读模式
In[1]:= RootReduce[Sqrt[2] + Sqrt[3]]
Out[1]= Root[1 - 10 #1^2 + #1^4 &, 4]

反过来可以用 ToRadicals

413

主题

1558

回帖

1万

积分

积分
11498

显示全部楼层

abababa 发表于 2014-6-21 08:16
回复 1# kuing
这里的#1就相当于x的意思吧,后面那个&,还有4表示的是什么呢?

730

主题

1万

回帖

9万

积分

积分
93593
QQ

显示全部楼层

 楼主| kuing 发表于 2014-6-21 12:24
回复 2# abababa

4好像表示第4个根……至于根按什么规则来排列我也不清楚……有空查查帮助看看有没有

413

主题

1558

回帖

1万

积分

积分
11498

显示全部楼层

abababa 发表于 2014-6-21 17:13
回复 3# kuing
谢谢,试了几个确实都表示根的次序。

471

主题

945

回帖

9837

积分

积分
9837

显示全部楼层

青青子衿 发表于 2014-6-26 20:19
回复 1# kuing
In[1]:= RootReduce[Sqrt[2] + Sqrt[3]]
Out[1]= Root[1 - 10 #1^2 + #1^4 &, 4]
反过来可以用 ToRadicals ...
kuing 发表于 2013-7-27 20:09

In[1]:=MinimalPolynomial[Sqrt[2] + Sqrt[3], x]
Out[1]:=1 - 10 x^2 + x^4

830

主题

4862

回帖

3万

积分

积分
36159

显示全部楼层

isee 发表于 2017-10-12 14:28
本帖最后由 isee 于 2017-10-12 14:34 编辑 回复 5# 青青子衿


    太强大了!如何按降幂排列?即 MinimalPolynomial[Sqrt[2] + 1, x] // TraditionalForm

3149

主题

8386

回帖

6万

积分

$\style{scale:11;fill:#eff}꩜$

积分
65391
QQ

显示全部楼层

hbghlyj 发表于 2023-4-29 19:34
青青子衿 发表于 2014-6-26 13:19
In[1]:=MinimalPolynomial[Sqrt[2] + Sqrt[3], x]
Out[1]:=1 - 10 x^2 + x^4


西西的10道题第9道:
若 $p$ 和 $q$ 是不同的素数, 证: $[\mathbb Q(\sqrt{p}, \sqrt{q}):\mathbb Q]=4$, 并且 $\mathbb Q(\sqrt{p}, \sqrt{q})=\mathbb Q(\sqrt{p}+\sqrt{q})$

3149

主题

8386

回帖

6万

积分

$\style{scale:11;fill:#eff}꩜$

积分
65391
QQ

显示全部楼层

hbghlyj 发表于 2023-4-29 23:13
kuing 发表于 2014-6-21 05:24
4好像表示第4个根……至于根按什么规则来排列我也不清楚……
查查帮助看看


$\tt Root[f,k]$ represents the exact kth root of the polynomial equation $\tt f[x]==0$.
Image_15.gif
The root indexing representation $\tt Root[f,k]$ applies to polynomial functions $\tt f$ only. The indexing of roots takes the real roots first, in increasing order. For polynomials with rational coefficients, the complex conjugate pairs of roots have consecutive indices.

手机版|悠闲数学娱乐论坛(第3版)

GMT+8, 2025-3-4 12:26

Powered by Discuz!

× 快速回复 返回顶部 返回列表