因式分解计算器


说明: 使用这个 因数计算器 对您在下方表单框中提供的任意多项式进行因式分解

输入您想要分解的多项式(例如:p(x) = x^3 + 8/3 x^2 - 5x + 4/3 等)。

在仪表板中打开此计算器 →

多项式因式分解计算器

这个带步骤的因式分解计算器将允许您完全分解给定的多项式,并展示所有步骤。

您提供的多项式必须是有效的,例如简单的 p(x) = x^3 - x + 1,也可以更复杂,系数是分数或任何有效的数值表达式。

一旦您提供了一个有效的多项式,就可以点击"Calculate"按钮,您将获得完全分解该多项式所需的所有逐步过程,这一过程如果手工完成会相当繁琐,特别是当 多项式的次数 很高。

我们无论如何强调因式分解多项式的重要性都不为过,因为它们在代数,微积分,金融和工程的许多应用中处于核心地位。

如何因式分解多项式?

除了二次多项式外,因式分解多项式未必容易,手工操作时可能会带来困难。你应该遵循若干步骤,以提高你至少找到部分因子的机会

因数计算器的步骤

  • 步骤1: 确定您正在处理的表达式,尽可能简化它,并确保它是一个多项式。如果不是多项式,则没有确定的遵循方法。
  • 步骤2: 一旦你有了一个简化后的多项式,注意它的次数。如果是二次的(次数为2),你可以使用 二次公式 找到它的因子
  • 步骤3: 如果多项式的次数为3次或更高,则检查常数项系数,如果它为零,则意味着你可以提取公因式x,并降低剩余待分解多项式的次数
  • 步骤4: 完成第4步后,你需要使用有理零点定理来检验简单根候选。如果找到任何有理根,即形如 (x - a) 的因子(其中 a 为有理根),然后用这些因子去除多项式,从而降低需分解的多项式的次数
  • 步骤 5: 重复前面的步骤,直到得到完整的因式分解,或者无法进一步化简为止

有一件事情虽然很技术性,但需要提及:因式分解是在一个 域 , 它是一种代数结构。通常,我们使用的域是实数域。

如果我们对实数域使用因式计算器,那么并非所有因子都是形如\(x - a\)的形式,因为我们也可能有二次因子,它们在实数域上是不可约的。例如,\(x^2 + x + 10\)不能化为实线性因子,因为 二次方程 \(x^2 + x + 10 = 0\) 有复数根.

因此,在第三步中,当处理一个二次函数时,如果其根是复数,则该因子可能就是它本身。

因式与根

运用因式分解计算过程的方式,本质上是尝试利用某些对称性进行不同类型的因式分解,或者通过求根来实现。寻找对称性并不是一件确定的事情,因为它确实依赖于可以找到的特定规律,而这些规律并非对所有多项式都普遍适用

因式分解中,观察法或分组法是常用的尝试,但它们需要特定的模式,而这些模式并不总是存在。值得检查一个多项式看是否能直接处理,但通过求根进行因式分解的方法更加系统化,并且在更多情况下比观察法更有效。

应避免的常见错误

理解因式分解多项式与找到它的根密切相关至关重要,这一切都包含在 因式定理 . 所以,掌握因式分解的方法依赖于你能否找到多项式的根。

没有公式,除非你处理的是二次函数。对于更高次,你还有其它选择:你可以使用上述的系统化过程,或者你可以尝试猜测并通过观察进行因式分解,或者尝试使用其它方法,比如 分组因式分解 .

因式分解计算器

示例:多项式因式

完全因式分解: \(p(x) = x^5 - 3x^4 + 3x^3 - 3x^2 + 2x\)

解答: 已提供以下多项式:\(\displaystyle p(x) = x^5-3x^4+3x^3-3x^2+2x\),需要在实数范围内进行完全因式分解。

初始步骤: 所提供的多项式表达式是不可约的,所以无法进一步简化。我们可以继续进行因式分解。

注意到给定多项式的次数为\(\displaystyle deg(p) = 5\),其首项系数为\(\displaystyle a_{5} = 1\),常数项系数为\(\displaystyle a_0 = 0\)。

有理根候选 : 由于在\(p(x)\)中第一个非零系数的项是\(x\),我们可以将这个项提取出来得到

\[\displaystyle p(x) = x^5-3x^4+3x^3-3x^2+2x = x \left(x^4-3x^3+3x^2-3x+2 \right) \]

但括号内的项的次数高于2,因此没有初等公式可以对其进行因式分解。我们需要测试可能的有理根。

接下来的任务是找到整除首项系数 \(a_{4}\) 和常数项系数 \(a_0\) 的整数,这些整数将用于构造多项式方程的候选零点。

▹ \(a_{4} = 1\)的除数是:\(\pm 1\)。

▹ \(a_0 = 2\)的除数是:\(\pm 1,\pm 2\)。

因此,将常数项系数 \(a_0 = 2\) 的每个因子除以首项系数 \(a_{4} = 1\) 的每个因子,我们得到以下候选根列表:

\[\pm \frac{ 1}{ 1},\pm \frac{ 2}{ 1}\]

现在,所有候选解都需要被检验,以确定它们是否为解。以下是测试每个候选解所得到的结果。:

\[\begin{array}{ccccclcc} x & = & \displaystyle -1 &:&    & \displaystyle \left(-1\right)^4-3\cdot \left(-1\right)^3+3\cdot \left(-1\right)^2-3\cdot \left(-1\right)+2 & = & \displaystyle 12 \ne 0 \\\\ x & = & \displaystyle 1 &:&    & \displaystyle 1^4-3\cdot 1^3+3\cdot 1^2-3\cdot 1+2 & = & \displaystyle 0 \\\\ x & = & \displaystyle -2 &:&    & \displaystyle \left(-2\right)^4-3\cdot \left(-2\right)^3+3\cdot \left(-2\right)^2-3\cdot \left(-2\right)+2 & = & \displaystyle 60 \ne 0 \\\\ x & = & \displaystyle 2 &:&    & \displaystyle 2^4-3\cdot 2^3+3\cdot 2^2-3\cdot 2+2 & = & \displaystyle 0 \\\\ \end{array}\]

多项式除法 : 由于我们在有理候选根中没有足够的根,我们将 \(\displaystyle x^4-3x^3+3x^2-3x+2\) 除以从有理根推导出的因子的乘积,该乘积为 \(\displaystyle \left(x-1\right)\left(x-2\right) \)。

步骤1: 被除数 \(\displaystyle p(x) = x^4-3x^3+3x^2-3x+2\) 的首项是 \(\displaystyle x^4\),而除数 \(\displaystyle s(x) = x^2-3x+2\) 的首项等于 \(\displaystyle x^2\)

那么,我们需要将 \(x^2\) 乘以 \(\displaystyle \frac{ x^4}{ x^2} = x^2\) 才能得到被除数的首项,因此我们将这一项加到商中。同时,我们将该项乘以除数得到 \(\displaystyle x^2 \cdot \left(x^2-3x+2\right) = x^4-3x^3+2x^2\),我们需要从被除数中减去它。:

\[\def\arraystretch{1.5}\begin{array}{rccccc} &\displaystyle x^2 & \displaystyle & \displaystyle &&\\[0.3em] \hline x^2-3x+2\,) & \displaystyle x^4 & \displaystyle -3x^3 & \displaystyle +3x^2 & \displaystyle -3x & \displaystyle +2\\[0.3em] \displaystyle &\displaystyle -x^4 & \displaystyle +3x^3 & \displaystyle -2x^2 & \displaystyle & \displaystyle \\[0.3em] \hline \displaystyle &\displaystyle & \displaystyle & \displaystyle x^2 & \displaystyle -3x & \displaystyle +2\\[0.3em] \end{array}\]

步骤2: 在这种情况下,当前余式 \(\displaystyle x^2-3x+2\) 的首项是 \(\displaystyle x^2\),并且我们知道除式的首项是 \(\displaystyle x^2\)。

那么,我们需要乘以 \(x^2\) 以得到当前余数的首项的那一项是 \(\displaystyle \frac{ x^2}{ x^2} = 1\),因此我们将此项加到商中。此外,我们将其乘以除数得到 \(\displaystyle 1 \cdot \left(x^2-3x+2\right) = x^2-3x+2\),需要从当前余数中减去它。:

\[\def\arraystretch{1.5}\begin{array}{rccccc} &\displaystyle x^2 & \displaystyle & \displaystyle +1&&\\[0.3em] \hline x^2-3x+2\,) & \displaystyle x^4 & \displaystyle -3x^3 & \displaystyle +3x^2 & \displaystyle -3x & \displaystyle +2\\[0.3em] \displaystyle &\displaystyle -x^4 & \displaystyle +3x^3 & \displaystyle -2x^2 & \displaystyle & \displaystyle \\[0.3em] \hline \displaystyle &\displaystyle & \displaystyle & \displaystyle x^2 & \displaystyle -3x & \displaystyle +2\\[0.3em] \displaystyle &\displaystyle & \displaystyle & \displaystyle -x^2 & \displaystyle +3x & \displaystyle -2\\[0.3em] \hline \displaystyle & & & & & 0\\[0.3em] \end{array}\]

因此,商是\(\displaystyle q(x) = x^2+1\),余数是\(\displaystyle r(x) = 0\)。

因此,在除法之后,我们在因式分解方面取得了进展,用

\[\displaystyle p(x) = x^5-3x^4+3x^3-3x^2+2x = x \left(x-1\right)\left(x-2\right) \left(x^2+1\right)\]

但是现在,由于找到的商\(\displaystyle x^2+1\)是二次的,我们可以求其根,看看是否能在实数域上对其进行因式分解

我们需要解以下给定的二次方程 \(\displaystyle x^2+1=0\)

对于形式为 \(a x^2 + bx + c = 0\) 的二次方程,其根通过以下公式计算:

\[x = \displaystyle \frac{-b \pm \sqrt{b^2-4ac}}{2a}\]

在这种情况下,我们需要求解的方程为\(\displaystyle x^2+1 = 0\),这意味着相应的系数为:

\[a = 1\] \[b = 0\] \[c = 1\]

首先,我们将计算判别式以评估根的性质。判别式的计算方法如下:

\[\Delta = b^2 - 4ac = \displaystyle \left( 0\right)^2 - 4 \cdot \left(1\right)\cdot \left(1\right) = -4\]

由于在这种情况下我们得到判别式为\(\Delta = \displaystyle -4 < 0\),它是负的,我们知道该方程有两个不同的共轭复根。

现在,将这些值代入求根的公式,我们得到:

\[x = \displaystyle \frac{-b \pm \sqrt{b^2-4ac}}{2a} = \displaystyle \frac{0 \pm \sqrt{\left(0\right)^2-4\left(1\right)\left(1\right)}}{2\cdot 1} = \displaystyle \frac{0 \pm \sqrt{-4}}{2}\]

因此,我们发现:

\[\displaystyle x_1 = \frac{0 - i \sqrt{4}}{2} = -i\] \[\displaystyle x_2 = \frac{0 + i \sqrt{4}}{2} = i\]

所以在求出最后一个二次部分的根后,我们得到两个复数根,因此不能在实数域内对项\(x^2+1\)进行因式分解,于是过程以\(\displaystyle p(x) = x^5-3x^4+3x^3-3x^2+2x = x \left(x-1\right)\left(x-2\right) \left(x^2+1\right)\)结束

结论 : 因此,我们得到的最终因式分解是:

\[\displaystyle p(x) = x^5-3x^4+3x^3-3x^2+2x = x\left(x-1\right)\left(x-2\right)\left(x^2+1\right)\]

通过因式分解过程得到的根是 \(0\),\(1\),\(2\),\(-i\) 和 \(i\)。

示例:因子计算

求下列各式的因数:\(p(x) = x^4 - 2x^3 - x^2 + 2x\)

解答: 现在我们需要因式分解:\(\displaystyle p(x) = x^4-2x^3-x^2+x\).

初始步骤: 所提供的多项式表达式不能约简,然后我们可以直接进行因式分解。

有理根候选 : 由于在\(p(x)\)中第一个非零系数的项是\(x\),我们可以将这个项提取出来得到

\[\displaystyle p(x) = x^4-2x^3-x^2+x = x \left(x^3-2x^2-x+1 \right) \]

但括号内的项的次数高于2,因此没有初等公式可以对其进行因式分解。我们需要测试可能的有理根。

接下来的任务是找到整除首项系数 \(a_{3}\) 和常数项系数 \(a_0\) 的整数,这些整数将用于构造多项式方程的候选零点。

▹ \(a_{3} = 1\)的除数是:\(\pm 1\)。

▹ \(a_0 = 1\)的除数是:\(\pm 1\)。

因此,将常数项系数 \(a_0 = 1\) 的每个因子除以首项系数 \(a_{3} = 1\) 的每个因子,我们得到以下候选根列表:

\[\pm \frac{ 1}{ 1}\]

现在,所有候选解都需要被检验,以确定它们是否为解。以下是测试每个候选解所得到的结果。:

\[\begin{array}{ccccclcc} x & = & \displaystyle -1 &:&    & \displaystyle \left(-1\right)^3-2\cdot \left(-1\right)^2-\left(-1\right)+1 & = & \displaystyle -1 \ne 0 \\\\ x & = & \displaystyle 1 &:&    & \displaystyle 1^3-2\cdot 1^2-1+1 & = & \displaystyle -1 \ne 0 \\\\ \end{array}\]

但由于我们通过试探法没有找到任何有理根,因此无法使用初等方法继续进行因式分解,所以过程到此为止。

结论 : 因此,在这种情况下,我们得到:

\[\displaystyle p(x) = x^4-2x^3-x^2+x = x\left(x^3-2x^2-x+1\right)\]

因此,通过因式分解过程找到的唯一根是\(0\)

示例:因式分解计算

完全因式分解\( p(x) = x^3 - \frac{7}{2}x^2 + \frac{7}{2}x - 1\)。这个多项式的根是什么?

解答: 对于这个例子,我们有 \(\displaystyle p(x) = x^3-\frac{7}{2}x^2+\frac{7}{2}x-1\),我们将使用因式分解过程作为工具来计算它的根。

初始步骤: 所提供的多项式表达式是不可约的,所以无法进一步简化。我们可以继续进行因式分解。

我们首先需要尝试找到简单的有理根,这可以通过有理根定理的帮助来实现。

接下来的任务是找到整除首项系数 \(a_{3}\) 和常数项系数 \(a_0\) 的整数,这些整数将用于构造多项式方程的候选零点。

▹ \(a_{3} = 1\) 的整数除数是: \(\pm 1\).

▹ \(a_0 = -1\) 的整数除数是: \(\pm 1\).

因此,我们将常数项\(a_0 = -1\)的每个因数除以首项系数\(a_{3} = 1\)的每个因数,从而得到可能的有理根候选列表:

\[\pm \frac{ 1}{ 1}\]

现在,所有候选解都需要被检验,以确定它们是否为解。以下是测试每个候选解所得到的结果。:

\[\begin{array}{ccccclcc} x & = & \displaystyle -1 &:&    & \displaystyle \left(-1\right)^3-\frac{7}{2}\cdot \left(-1\right)^2+\frac{7}{2}\cdot \left(-1\right)-1 & = & \displaystyle -9 \ne 0 \\\\ x & = & \displaystyle 1 &:&    & \displaystyle 1^3-\frac{7}{2}\cdot 1^2+\frac{7}{2}\cdot 1-1 & = & \displaystyle 0 \\\\ \end{array}\]

多项式除法过程 : 通过有理零点定理找到的候选根中,我们没有足够的有理根,因此我们将\(\displaystyle x^3-\frac{7}{2}x^2+\frac{7}{2}x-1\)除以这些有理根候选推导出的有理因子的乘积,从而得到\(\displaystyle \left(x-1\right) \)。

步骤1: 被除数 \(\displaystyle p(x) = x^3-\frac{7}{2}x^2+\frac{7}{2}x-1\) 的首项是 \(\displaystyle x^3\),而除数 \(\displaystyle s(x) = x-1\) 的首项等于 \(\displaystyle x\)

那么,我们需要将 \(x\) 乘以 \(\displaystyle \frac{ x^3}{ x} = x^2\) 才能得到被除数的首项,因此我们将这一项加到商中。同时,我们将该项乘以除数得到 \(\displaystyle x^2 \cdot \left(x-1\right) = x^3-x^2\),我们需要从被除数中减去它。:

\[\def\arraystretch{1.5}\begin{array}{rcccc} &\displaystyle x^2 & \displaystyle & \displaystyle &\\[0.3em] \hline x-1\,) & \displaystyle x^3 & \displaystyle -\frac{7}{2}x^2 & \displaystyle +\frac{7}{2}x & \displaystyle -1\\[0.3em] \displaystyle &\displaystyle -x^3 & \displaystyle +x^2 & \displaystyle & \displaystyle \\[0.3em] \hline \displaystyle &\displaystyle & \displaystyle -\frac{5}{2}x^2 & \displaystyle +\frac{7}{2}x & \displaystyle -1\\[0.3em] \end{array}\]

步骤2: 现在,当前余式\(\displaystyle -\frac{5}{2}x^2+\frac{7}{2}x-1\)的首项是\(\displaystyle -\frac{5}{2}x^2\),并且我们知道除式的首项是\(\displaystyle x\)。

那么,我们需要乘以 \(x\) 以得到当前余数的首项的那一项是 \(\displaystyle \frac{ -\frac{5}{2}x^2}{ x} = -\frac{5}{2}x\),因此我们将此项加到商中。此外,我们将其乘以除数得到 \(\displaystyle -\frac{5}{2}x \cdot \left(x-1\right) = -\frac{5}{2}x^2+\frac{5}{2}x\),需要从当前余数中减去它。:

\[\def\arraystretch{1.5}\begin{array}{rcccc} &\displaystyle x^2 & \displaystyle -\frac{5}{2}x & \displaystyle &\\[0.3em] \hline x-1\,) & \displaystyle x^3 & \displaystyle -\frac{7}{2}x^2 & \displaystyle +\frac{7}{2}x & \displaystyle -1\\[0.3em] \displaystyle &\displaystyle -x^3 & \displaystyle +x^2 & \displaystyle & \displaystyle \\[0.3em] \hline \displaystyle &\displaystyle & \displaystyle -\frac{5}{2}x^2 & \displaystyle +\frac{7}{2}x & \displaystyle -1\\[0.3em] \displaystyle &\displaystyle & \displaystyle \frac{5}{2}x^2 & \displaystyle -\frac{5}{2}x & \displaystyle \\[0.3em] \hline \displaystyle &\displaystyle & \displaystyle & \displaystyle x & \displaystyle -1\\[0.3em] \end{array}\]

步骤3: 现在,当前余数\(\displaystyle x-1\)的首项是\(\displaystyle x\),并且我们知道除数的首项是\(\displaystyle x\)

那么,我们需要乘以 \(x\) 以得到当前余数的首项的那一项是 \(\displaystyle \frac{ x}{ x} = 1\),因此我们将此项加到商中。此外,我们将其乘以除数得到 \(\displaystyle 1 \cdot \left(x-1\right) = x-1\),需要从当前余数中减去它。:

\[\def\arraystretch{1.5}\begin{array}{rcccc} &\displaystyle x^2 & \displaystyle -\frac{5}{2}x & \displaystyle +1&\\[0.3em] \hline x-1\,) & \displaystyle x^3 & \displaystyle -\frac{7}{2}x^2 & \displaystyle +\frac{7}{2}x & \displaystyle -1\\[0.3em] \displaystyle &\displaystyle -x^3 & \displaystyle +x^2 & \displaystyle & \displaystyle \\[0.3em] \hline \displaystyle &\displaystyle & \displaystyle -\frac{5}{2}x^2 & \displaystyle +\frac{7}{2}x & \displaystyle -1\\[0.3em] \displaystyle &\displaystyle & \displaystyle \frac{5}{2}x^2 & \displaystyle -\frac{5}{2}x & \displaystyle \\[0.3em] \hline \displaystyle &\displaystyle & \displaystyle & \displaystyle x & \displaystyle -1\\[0.3em] \displaystyle &\displaystyle & \displaystyle & \displaystyle -x & \displaystyle +1\\[0.3em] \hline \displaystyle & & & & 0\\[0.3em] \end{array}\]

因此,从除法商中,我们得出结论:\(\displaystyle q(x) = x^2-\frac{5}{2}x+1\),余数为 \(\displaystyle r(x) = 0\)。

所以这个,我们将得到:

\[\displaystyle p(x) = x^3-\frac{7}{2}x^2+\frac{7}{2}x-1 = \left(x-1\right) \left(x^2-\frac{5}{2}x+1\right)\]

但方程 \(\displaystyle x^2-\frac{5}{2}x+1\) 是二次的,因此可以直接计算根。

那么,我们需要计算判别式以了解根的性质。判别式的公式是:

\[\Delta = b^2 - 4ac = \displaystyle \left( -\frac{5}{2}\right)^2 - 4 \cdot \left(1\right)\cdot \left(1\right) = \frac{9}{4}\]

但我们看到判别式为\(\Delta = \displaystyle \frac{9}{4} > 0\),它是正数,因此我们得出结论:该方程有两个不同的实根。

现在,我们代入这些值得到:

\[x = \displaystyle \frac{-b \pm \sqrt{b^2-4ac}}{2a} = \displaystyle \frac{\frac{5}{2} \pm \sqrt{\left(-\frac{5}{2}\right)^2-4\left(1\right)\left(1\right)}}{2\cdot 1} = \displaystyle \frac{\frac{5}{2} \pm \sqrt{\frac{9}{4}}}{2}\]

因此,我们发现:

\[ x_1 = \frac{\frac{5}{2}}{2}-\frac{1}{2}\sqrt{\frac{9}{4}}=\frac{\frac{5}{2}}{2}-\frac{1}{2}\cdot\frac{3}{2}=\frac{5}{4}-\frac{3}{4}=\frac{1}{2} \] \[x_2 = \frac{\frac{5}{2}}{2}+\frac{1}{2}\sqrt{\frac{9}{4}}=\frac{\frac{5}{2}}{2}+\frac{1}{2}\cdot\frac{3}{2}=\frac{5}{4}+\frac{3}{4}=2\]

利用上述二次方程的解(该方程有两个实根),我们进一步将原始多项式分解为:\(\displaystyle p(x) = x^3-\frac{7}{2}x^2+\frac{7}{2}x-1 = \left(x-1\right) \left(x-\frac{1}{2}\right)\left(x-2\right)\)。

结论 : 因此,在这种情况下我们实现了完全简化 :

\[\displaystyle p(x) = x^3-\frac{7}{2}x^2+\frac{7}{2}x-1 = \left(x-1\right)\left(x-\frac{1}{2}\right)\left(x-2\right)\]

根据上述因式分解,求得的根为:\(1\),\(\frac{1}{2}\) 和 \(2\) .

更多多项式计算器

对于多项式,你可以做很多事情,你可以 绘制它们 , 你可以分析它们的末端行为,但这些是更简单的辅助任务,主要任务是 多项式的因式分解 并求其根.

高次的一般问题是复杂的,通常我们将其简化为 二次函数 , 并且可能 三次函数 具有某些对称性,从而可以轻松分解

登录到您的帐户

没有会员帐户?
报名

重设密码

回到
登录

报名

Back to
登录