TH

ในระบบจำนวนจริง สมการพหุนามบางสมการ เช่น $x^2 + 1 = 0$ ไม่มีคำตอบ แต่เมื่อขยายขอบเขตสู่ ระบบจำนวนเชิงซ้อน ($\mathbb{C}$) นักคณิตศาสตร์พบความจริงอันน่าทึ่งว่า สมการพหุนามดีกรี $n$ ทุกสมการจะมีคำตอบครบ $n$ คำตอบเสมอ โดยมีทฤษฎีบทมูลฐานของพีชคณิตและทฤษฎีบทตัวประกอบสังยุคเป็นเครื่องมือสำคัญในการวิเคราะห์และค้นหาคำตอบทั้งหมดของสมการ

EN

In the real number system, some polynomial equations like $x^2 + 1 = 0$ have no solutions. However, when extended to the Complex Number System ($\mathbb{C}$), every polynomial equation of degree $n$ always has exactly $n$ roots (counting multiplicities). The Fundamental Theorem of Algebra and the Conjugate Root Theorem serve as essential pillars for finding all roots of any polynomial equation.

1

🏛️ ทฤษฎีบทมูลฐานของพีชคณิต 🏛️ Fundamental Theorem of Algebra

TH

ทฤษฎีบทมูลฐานของพีชคณิต: กำหนดให้ ${\color{#1565c0}P(x)}$ เป็นพหุนามดีกรี ${\color{#e65100}n}$ (เมื่อ ${\color{#e65100}n \ge 1}$) ที่มีสัมประสิทธิ์เป็นจำนวนเชิงซ้อน สมการ ${\color{#1565c0}P(x) = 0}$ จะมีราก (คำตอบ) ในระบบจำนวนเชิงซ้อน อย่างน้อย $1$ คำตอบเสมอ

$$ {\color{#1565c0}P(x)} = a_n x^{\color{#e65100}n} + a_{n-1} x^{n-1} + \dots + a_1 x + a_0 = a_n(x - {\color{#2e7d32}c_1})(x - {\color{#2e7d32}c_2})\cdots(x - {\color{#2e7d32}c_{\color{#e65100}n}}) $$

ผลสืบเนื่องที่สำคัญ (Corollary):

  • พหุนามดีกรี ${\color{#e65100}n}$ สามารถแยกตัวประกอบเชิงเส้นในระบบจำนวนเชิงซ้อนได้ครบ ${\color{#e65100}n}$ วงเล็บเสมอ
  • สมการพหุนามดีกรี ${\color{#e65100}n}$ จะมีรากในระบบจำนวนเชิงซ้อนทั้งหมด ${\color{#e65100}n}$ คำตอบเสมอ (เมื่อนับคำตอบที่ซ้ำกันด้วย)
EN

Fundamental Theorem of Algebra: Every polynomial ${\color{#1565c0}P(x)}$ of degree ${\color{#e65100}n}$ (where ${\color{#e65100}n \ge 1}$) with complex coefficients has at least $1$ root in the complex number system.

$$ {\color{#1565c0}P(x)} = a_n x^{\color{#e65100}n} + a_{n-1} x^{n-1} + \dots + a_1 x + a_0 = a_n(x - {\color{#2e7d32}c_1})(x - {\color{#2e7d32}c_2})\cdots(x - {\color{#2e7d32}c_{\color{#e65100}n}}) $$

Important Corollary:

  • A polynomial of degree ${\color{#e65100}n}$ can always be factored completely into ${\color{#e65100}n}$ linear factors over $\mathbb{C}$.
  • A polynomial equation of degree ${\color{#e65100}n}$ always has exactly ${\color{#e65100}n}$ complex roots (counting multiplicities).
Example 1.1

จงระบุจำนวนคำตอบทั้งหมดและหาคำตอบในระบบจำนวนเชิงซ้อนของสมการ $x^3 + 9x = 0$

พหุนามมีดีกรีสูงสุดคือ $n = 3$ ดังนั้นมีคำตอบในระบบจำนวนเชิงซ้อนทั้งหมด $3$ คำตอบ

$$ \begin{aligned} x^3 + 9x &= 0 \\ x(x^2 + 9) &= 0 \\ x(x - 3i)(x + 3i) &= 0 \\ x &= 0, \, 3i, \, -3i \end{aligned} $$

State the total number of roots and solve $x^3 + 9x = 0$ over $\mathbb{C}$.

Since the degree is $n = 3$, there are $3$ complex roots in total.

$$ \begin{aligned} x^3 + 9x &= 0 \\ x(x^2 + 9) &= 0 \\ x(x - 3i)(x + 3i) &= 0 \\ x &= 0, \, 3i, \, -3i \end{aligned} $$
Example 1.2

จงหาคำตอบทั้งหมดในระบบจำนวนเชิงซ้อนพร้อมระบุคำตอบซ้ำของ $(x - 2)^2(x^2 + 4) = 0$

ดีกรีรวมของพหุนามคือ $2 + 2 = 4$ จึงมีคำตอบทั้งหมด $4$ คำตอบ (เมื่อนับคำตอบซ้ำ)

$$ \begin{aligned} (x - 2)^2(x^2 + 4) &= 0 \\ (x - 2)(x - 2)(x - 2i)(x + 2i) &= 0 \\ x &= 2, \, 2, \, 2i, \, -2i \end{aligned} $$

คำตอบคือ $2$ (ซ้ำ $2$ ครั้ง), $2i$ และ $-2i$ รวมครบ $4$ คำตอบ

Find all complex roots and their multiplicities for $(x - 2)^2(x^2 + 4) = 0$.

The total degree is $2 + 2 = 4$, so there are $4$ roots counting multiplicities.

$$ \begin{aligned} (x - 2)^2(x^2 + 4) &= 0 \\ (x - 2)(x - 2)(x - 2i)(x + 2i) &= 0 \\ x &= 2, \, 2, \, 2i, \, -2i \end{aligned} $$

The roots are $2$ (multiplicity $2$), $2i$, and $-2i$ ($4$ roots in total).

Example 1.3

จงแยกตัวประกอบเชิงเส้นในระบบจำนวนเชิงซ้อนและหาคำตอบของ $x^4 - 16 = 0$

ใช้สูตรผลต่างกำลังสองซ้อนกันเพื่อแยกเป็นตัวประกอบเชิงเส้นทั้ง $4$ วงเล็บ

$$ \begin{aligned} x^4 - 16 &= 0 \\ (x^2 - 4)(x^2 + 4) &= 0 \\ (x - 2)(x + 2)(x - 2i)(x + 2i) &= 0 \\ x &= 2, \, -2, \, 2i, \, -2i \end{aligned} $$

Factor into linear factors over $\mathbb{C}$ and solve $x^4 - 16 = 0$.

Apply the difference of squares repeatedly to obtain $4$ linear factors.

$$ \begin{aligned} x^4 - 16 &= 0 \\ (x^2 - 4)(x^2 + 4) &= 0 \\ (x - 2)(x + 2)(x - 2i)(x + 2i) &= 0 \\ x &= 2, \, -2, \, 2i, \, -2i \end{aligned} $$
Example 1.4

จงหาคำตอบทั้งหมดในระบบจำนวนเชิงซ้อนของสมการ $(x^2 + 1)^2 = 0$

พหุนามดีกรี $4$ แยกตัวประกอบของ $x^2 + 1 = (x - i)(x + i)$ ได้ดังนี้

$$ \begin{aligned} (x^2 + 1)^2 &= 0 \\ \left((x - i)(x + i)\right)^2 &= 0 \\ (x - i)^2(x + i)^2 &= 0 \\ x &= i, \, i, \, -i, \, -i \end{aligned} $$

มีคำตอบคือ $i$ (ซ้ำ $2$ ครั้ง) และ $-i$ (ซ้ำ $2$ ครั้ง) รวมทั้งหมด $4$ คำตอบ

Find all complex roots of the equation $(x^2 + 1)^2 = 0$.

This degree $4$ polynomial factors via $x^2 + 1 = (x - i)(x + i)$.

$$ \begin{aligned} (x^2 + 1)^2 &= 0 \\ \left((x - i)(x + i)\right)^2 &= 0 \\ (x - i)^2(x + i)^2 &= 0 \\ x &= i, \, i, \, -i, \, -i \end{aligned} $$

The roots are $i$ (multiplicity $2$) and $-i$ (multiplicity $2$), totaling $4$ roots.

Example 1.5

จงสร้างพหุนาม $P(x)$ ดีกรี $3$ ที่มีสัมประสิทธิ์นำเป็น $2$ และมีรากคือ $1, \, i, \, -i$

แทนค่ารากทั้ง $3$ ตัวลงในรูปแยกตัวประกอบ $P(x) = a_n(x - c_1)(x - c_2)(x - c_3)$

$$ \begin{aligned} P(x) &= 2(x - 1)(x - i)(x + i) \\ &= 2(x - 1)(x^2 - i^2) \\ &= 2(x - 1)(x^2 + 1) \\ &= 2(x^3 - x^2 + x - 1) \\ &= 2x^3 - 2x^2 + 2x - 2 \end{aligned} $$

Construct a degree $3$ polynomial $P(x)$ with leading coefficient $2$ and roots $1, \, i, \, -i$.

Substitute the roots into the factored form $P(x) = a_n(x - c_1)(x - c_2)(x - c_3)$.

$$ \begin{aligned} P(x) &= 2(x - 1)(x - i)(x + i) \\ &= 2(x - 1)(x^2 - i^2) \\ &= 2(x - 1)(x^2 + 1) \\ &= 2(x^3 - x^2 + x - 1) \\ &= 2x^3 - 2x^2 + 2x - 2 \end{aligned} $$
Example 1.6

จงแก้สมการพหุนามสัมประสิทธิ์เชิงซ้อน $x^2 - (2 + i)x + 2i = 0$

ทฤษฎีบทมูลฐานของพีชคณิตใช้ได้กับพหุนามที่มีสัมประสิทธิ์เป็นจำนวนเชิงซ้อนทุกชนิด

$$ \begin{aligned} x^2 - (2 + i)x + 2i &= 0 \\ x^2 - 2x - ix + 2i &= 0 \\ x(x - 2) - i(x - 2) &= 0 \\ (x - 2)(x - i) &= 0 \\ x &= 2, \, i \end{aligned} $$

Solve the complex-coefficient polynomial equation $x^2 - (2 + i)x + 2i = 0$.

The Fundamental Theorem of Algebra guarantees $2$ roots even when coefficients are non-real.

$$ \begin{aligned} x^2 - (2 + i)x + 2i &= 0 \\ x^2 - 2x - ix + 2i &= 0 \\ x(x - 2) - i(x - 2) &= 0 \\ (x - 2)(x - i) &= 0 \\ x &= 2, \, i \end{aligned} $$
Example 1.7

จงหาคำตอบทั้ง $5$ คำตอบของสมการดีกรีห้า $x^5 - x^3 - 8x^2 + 8 = 0$

แยกตัวประกอบโดยการจัดกลุ่มพจน์และใช้สูตรผลต่างกำลังสาม

$$ \begin{aligned} x^5 - x^3 - 8x^2 + 8 &= 0 \\ x^3(x^2 - 1) - 8(x^2 - 1) &= 0 \\ (x^3 - 8)(x^2 - 1) &= 0 \\ (x - 2)(x^2 + 2x + 4)(x - 1)(x + 1) &= 0 \\ x &= 1, \, -1, \, 2, \, -1 + \sqrt{3}i, \, -1 - \sqrt{3}i \end{aligned} $$

Find all $5$ roots of the quintic equation $x^5 - x^3 - 8x^2 + 8 = 0$.

Factor by grouping and apply the difference of cubes formula.

$$ \begin{aligned} x^5 - x^3 - 8x^2 + 8 &= 0 \\ x^3(x^2 - 1) - 8(x^2 - 1) &= 0 \\ (x^3 - 8)(x^2 - 1) &= 0 \\ (x - 2)(x^2 + 2x + 4)(x - 1)(x + 1) &= 0 \\ x &= 1, \, -1, \, 2, \, -1 + \sqrt{3}i, \, -1 - \sqrt{3}i \end{aligned} $$
2

🪞 ทฤษฎีบทตัวประกอบสังยุค 🪞 Conjugate Root Theorem

TH

ทฤษฎีบทตัวประกอบสังยุค: ถ้า ${\color{#1565c0}P(x)}$ เป็นพหุนามที่มี สัมประสิทธิ์ทุกตัวเป็นจำนวนจริง และ ${\color{#8e24aa}a + bi}$ (เมื่อ $a, b \in \mathbb{R}$ และ $b \neq 0$) เป็นคำตอบของสมการ ${\color{#1565c0}P(x) = 0}$ แล้วสังยุคของมันคือ ${\color{#2e7d32}a - bi}$ จะต้องเป็นคำตอบของสมการ ${\color{#1565c0}P(x) = 0}$ ด้วยเสมอ

$$ \left(x - ({\color{#8e24aa}a + bi})\right)\left(x - ({\color{#2e7d32}a - bi})\right) = x^2 - 2ax + (a^2 + b^2) $$

ผลสืบเนื่องและเทคนิคลัด:

  • คำตอบเชิงซ้อนที่ไม่ใช่จำนวนจริงของพหุนามสัมประสิทธิ์จริงจะเกิดเป็น คู่สังยุค (Conjugate Pairs) เสมอ
  • สมการกำลังสองที่มีรากเป็น ${\color{#1565c0}a} \pm {\color{#e65100}b}i$ คือ $x^2 - ({\color{#8e24aa}\text{ผลบวกราก}})x + ({\color{#2e7d32}\text{ผลคูณราก}}) = x^2 - 2{\color{#1565c0}a}x + ({\color{#1565c0}a}^2 + {\color{#e65100}b}^2) = 0$
  • พหุนามสัมประสิทธิ์จริงที่มี ดีกรีเป็นจำนวนคี่ จะต้องมีคำตอบเป็นจำนวนจริงอย่างน้อย $1$ คำตอบเสมอ
EN

Conjugate Root Theorem: If ${\color{#1565c0}P(x)}$ is a polynomial with all real coefficients, and ${\color{#8e24aa}a + bi}$ ($a, b \in \mathbb{R}, \, b \neq 0$) is a root of ${\color{#1565c0}P(x) = 0}$, then its complex conjugate ${\color{#2e7d32}a - bi}$ is also a root of ${\color{#1565c0}P(x) = 0}$.

$$ \left(x - ({\color{#8e24aa}a + bi})\right)\left(x - ({\color{#2e7d32}a - bi})\right) = x^2 - 2ax + (a^2 + b^2) $$

Corollaries & Shortcuts:

  • Non-real roots of a polynomial with real coefficients always occur in conjugate pairs.
  • The quadratic factor for roots ${\color{#1565c0}a} \pm {\color{#e65100}b}i$ is $x^2 - ({\color{#8e24aa}\text{sum}})x + ({\color{#2e7d32}\text{product}}) = x^2 - 2{\color{#1565c0}a}x + ({\color{#1565c0}a}^2 + {\color{#e65100}b}^2) = 0$.
  • Any real-coefficient polynomial of odd degree must have at least $1$ real root.
Re Im a bi -bi z = a + bi (รากเชิงซ้อน) (Complex Root) z̄ = a - bi (คู่สังยุค) (Conjugate Root) r (รากจริง) (Real Root)
Example 2.1

พหุนาม $P(x)$ ดีกรี $3$ มีสัมประสิทธิ์เป็นจำนวนจริง ถ้า $-2$ และ $3 - 4i$ เป็นราก จงหารากที่เหลือ

เนื่องจากสัมประสิทธิ์ทุกตัวเป็นจำนวนจริง สังยุคของ $3 - 4i$ จึงต้องเป็นรากของสมการด้วย

$$ \begin{aligned} z &= 3 - 4i \\ \bar{z} &= \overline{3 - 4i} \\ &= 3 + 4i \end{aligned} $$

ดังนั้นรากทั้ง $3$ ตัวของพหุนามคือ $-2, \, 3 - 4i$ และ $3 + 4i$

A real cubic polynomial $P(x)$ has roots $-2$ and $3 - 4i$. Find the remaining root.

By the Conjugate Root Theorem, the conjugate of $3 - 4i$ must also be a root.

$$ \begin{aligned} z &= 3 - 4i \\ \bar{z} &= \overline{3 - 4i} \\ &= 3 + 4i \end{aligned} $$

Thus, the $3$ roots are $-2, \, 3 - 4i$, and $3 + 4i$.

Example 2.2

จงหาสมการพหุนามดีกรีต่ำสุดที่มีสัมประสิทธิ์เป็นจำนวนจริง สัมประสิทธิ์นำเป็น $1$ และมี $2 + 3i$ เป็นคำตอบ

เมื่อ $2 + 3i$ เป็นคำตอบ จะได้ $2 - 3i$ เป็นคำตอบด้วย

$$ \begin{aligned} (x - (2 + 3i))(x - (2 - 3i)) &= 0 \\ ((x - 2) - 3i)((x - 2) + 3i) &= 0 \\ (x - 2)^2 - (3i)^2 &= 0 \\ (x^2 - 4x + 4) + 9 &= 0 \\ x^2 - 4x + 13 &= 0 \end{aligned} $$

Find the monic real polynomial equation of lowest degree having $2 + 3i$ as a root.

Since $2 + 3i$ is a root, its conjugate $2 - 3i$ is also a root.

$$ \begin{aligned} (x - (2 + 3i))(x - (2 - 3i)) &= 0 \\ ((x - 2) - 3i)((x - 2) + 3i) &= 0 \\ (x - 2)^2 - (3i)^2 &= 0 \\ (x^2 - 4x + 4) + 9 &= 0 \\ x^2 - 4x + 13 &= 0 \end{aligned} $$
Example 2.3

จงหาพหุนาม $P(x)$ ดีกรี $3$ สัมประสิทธิ์เป็นจำนวนจริง สัมประสิทธิ์นำเป็น $1$ ที่มี $4$ และ $1 - \sqrt{2}i$ เป็นราก

รากทั้งหมดคือ $4, \, 1 - \sqrt{2}i$ และ $1 + \sqrt{2}i$

$$ \begin{aligned} P(x) &= (x - 4)\left(x - (1 - \sqrt{2}i)\right)\left(x - (1 + \sqrt{2}i)\right) \\ &= (x - 4)\left((x - 1)^2 + (\sqrt{2})^2\right) \\ &= (x - 4)(x^2 - 2x + 3) \\ &= x^3 - 6x^2 + 11x - 12 \end{aligned} $$

Find the monic cubic polynomial $P(x)$ with real coefficients having roots $4$ and $1 - \sqrt{2}i$.

The roots are $4, \, 1 - \sqrt{2}i$, and $1 + \sqrt{2}i$.

$$ \begin{aligned} P(x) &= (x - 4)\left(x - (1 - \sqrt{2}i)\right)\left(x - (1 + \sqrt{2}i)\right) \\ &= (x - 4)\left((x - 1)^2 + (\sqrt{2})^2\right) \\ &= (x - 4)(x^2 - 2x + 3) \\ &= x^3 - 6x^2 + 11x - 12 \end{aligned} $$
Example 2.4

จงหาพหุนาม $P(x)$ ดีกรี $4$ สัมประสิทธิ์จริง สัมประสิทธิ์นำเป็น $1$ ที่มี $2i$ และ $1 + i$ เป็นราก

รากทั้ง $4$ ตัวคือ $2i, \, -2i, \, 1 + i$ และ $1 - i$

$$ \begin{aligned} P(x) &= (x - 2i)(x + 2i)\left(x - (1 + i)\right)\left(x - (1 - i)\right) \\ &= (x^2 + 4)\left((x - 1)^2 + 1^2\right) \\ &= (x^2 + 4)(x^2 - 2x + 2) \\ &= x^4 - 2x^3 + 6x^2 - 8x + 8 \end{aligned} $$

Find the monic quartic real polynomial $P(x)$ with roots $2i$ and $1 + i$.

The $4$ roots are $2i, \, -2i, \, 1 + i$, and $1 - i$.

$$ \begin{aligned} P(x) &= (x - 2i)(x + 2i)\left(x - (1 + i)\right)\left(x - (1 - i)\right) \\ &= (x^2 + 4)\left((x - 1)^2 + 1^2\right) \\ &= (x^2 + 4)(x^2 - 2x + 2) \\ &= x^4 - 2x^3 + 6x^2 - 8x + 8 \end{aligned} $$
Example 2.5

ถ้า $1 + 2i$ เป็นคำตอบของ $x^2 + ax + b = 0$ เมื่อ $a, b \in \mathbb{R}$ จงหาค่าของ $a + b$

เนื่องจาก $a, b \in \mathbb{R}$ ดังนั้น $1 - 2i$ เป็นอีกคำตอบหนึ่ง เทียบสัมประสิทธิ์จากผลบวกและผลคูณของราก

$$ \begin{aligned} a &= -\left((1 + 2i) + (1 - 2i)\right) \\ &= -2 \\ b &= (1 + 2i)(1 - 2i) \\ &= 1^2 + 2^2 \\ &= 5 \\ a + b &= -2 + 5 \\ &= 3 \end{aligned} $$

If $1 + 2i$ is a root of $x^2 + ax + b = 0$ where $a, b \in \mathbb{R}$, find $a + b$.

Since $a, b \in \mathbb{R}$, $1 - 2i$ is the other root. Use Vieta's formulas for sum and product of roots.

$$ \begin{aligned} a &= -\left((1 + 2i) + (1 - 2i)\right) \\ &= -2 \\ b &= (1 + 2i)(1 - 2i) \\ &= 1^2 + 2^2 \\ &= 5 \\ a + b &= -2 + 5 \\ &= 3 \end{aligned} $$
Example 2.6

กำหนดให้ $3i$ เป็นคำตอบของ $x^3 - 2x^2 + ax + b = 0$ เมื่อ $a, b \in \mathbb{R}$ จงหาค่า $a$ และ $b$

จะได้ $-3i$ เป็นคำตอบด้วย และผลบวกของรากทั้งสามเท่ากับ $2$ จึงหารากจริงตัวที่สามได้เป็น $2$

$$ \begin{aligned} P(x) &= (x - 2)(x - 3i)(x + 3i) \\ &= (x - 2)(x^2 + 9) \\ &= x^3 - 2x^2 + 9x - 18 \end{aligned} $$

เทียบสัมประสิทธิ์จะได้ $a = 9$ และ $b = -18$

Given $3i$ is a root of $x^3 - 2x^2 + ax + b = 0 \, (a, b \in \mathbb{R})$, find $a$ and $b$.

Since $-3i$ is also a root and the sum of all three roots is $2$, the third root is $2$.

$$ \begin{aligned} P(x) &= (x - 2)(x - 3i)(x + 3i) \\ &= (x - 2)(x^2 + 9) \\ &= x^3 - 2x^2 + 9x - 18 \end{aligned} $$

Comparing coefficients gives $a = 9$ and $b = -18$.

Example 2.7

จงหาพหุนามสัมประสิทธิ์จริงดีกรี $3$ ที่มี $P(0) = -20$ และมี $-1$ กับ $2 - i$ เป็นราก

รากของพหุนามคือ $-1, \, 2 - i, \, 2 + i$ กำหนดสัมประสิทธิ์นำเป็น $k$ แล้วหาค่าจาก $P(0) = -20$

$$ \begin{aligned} P(x) &= k(x + 1)\left((x - 2)^2 + 1^2\right) \\ &= k(x + 1)(x^2 - 4x + 5) \\ P(0) &= k(1)(5) \\ -20 &= 5k \\ k &= -4 \\ P(x) &= -4(x^3 - 3x^2 + x + 5) \\ &= -4x^3 + 12x^2 - 4x - 20 \end{aligned} $$

Find the real cubic polynomial $P(x)$ with $P(0) = -20$ and roots $-1$ and $2 - i$.

The roots are $-1, \, 2 - i, \, 2 + i$. Let the leading coefficient be $k$ and use $P(0) = -20$.

$$ \begin{aligned} P(x) &= k(x + 1)\left((x - 2)^2 + 1^2\right) \\ &= k(x + 1)(x^2 - 4x + 5) \\ P(0) &= k(1)(5) \\ -20 &= 5k \\ k &= -4 \\ P(x) &= -4(x^3 - 3x^2 + x + 5) \\ &= -4x^3 + 12x^2 - 4x - 20 \end{aligned} $$
3

📐 การแก้สมการพหุนามกำลังสอง ($ax^2 + bx + c = 0$) 📐 Solving Quadratic Equations ($ax^2 + bx + c = 0$)

TH

สำหรับสมการพหุนามกำลังสอง ${\color{#1565c0}ax^2 + bx + c = 0}$ เมื่อ $a, b, c \in \mathbb{R}$ และ $a \neq 0$ เราสามารถหาคำตอบได้จากสูตรสมการกำลังสอง:

$$ x = \frac{-b \pm \sqrt{{\color{#e65100}b^2 - 4ac}}}{2a} $$

เรียกค่า ${\color{#e65100}\Delta = b^2 - 4ac}$ ว่า ดิสคริมิแนนต์ (Discriminant):

  • กรณี ${\color{#2e7d32}b^2 - 4ac \ge 0}$: คำตอบทั้งสองเป็นจำนวนจริง
  • กรณี ${\color{#c62828}b^2 - 4ac < 0}$ (ดิสคริมิแนนต์ติดลบ): คำตอบจะเป็นจำนวนเชิงซ้อนสังยุคซึ่งกันและกัน โดยจัดรูปได้เป็น:
$$ x = \frac{-b \pm {\color{#8e24aa}i}\sqrt{{\color{#c62828}4ac - b^2}}}{2a} $$
EN

For any quadratic equation ${\color{#1565c0}ax^2 + bx + c = 0}$ with real coefficients $a, b, c$ ($a \neq 0$), the solutions are given by the Quadratic Formula:

$$ x = \frac{-b \pm \sqrt{{\color{#e65100}b^2 - 4ac}}}{2a} $$

The expression ${\color{#e65100}\Delta = b^2 - 4ac}$ is called the Discriminant:

  • If ${\color{#2e7d32}b^2 - 4ac \ge 0}$: Both roots are real numbers.
  • If ${\color{#c62828}b^2 - 4ac < 0}$ (Negative Discriminant): The roots are complex conjugates of each other, given by:
$$ x = \frac{-b \pm {\color{#8e24aa}i}\sqrt{{\color{#c62828}4ac - b^2}}}{2a} $$
Example 3.1

จงแก้สมการ $x^2 + 25 = 0$ ในระบบจำนวนเชิงซ้อน

$$ \begin{aligned} x^2 + 25 &= 0 \\ x^2 &= -25 \\ x &= \pm\sqrt{-25} \\ &= \pm 5i \end{aligned} $$

Solve the equation $x^2 + 25 = 0$ in the complex number system.

$$ \begin{aligned} x^2 + 25 &= 0 \\ x^2 &= -25 \\ x &= \pm\sqrt{-25} \\ &= \pm 5i \end{aligned} $$
Example 3.2

จงแก้สมการ $x^2 - 4x + 13 = 0$ โดยใช้สูตรคำตอบของสมการกำลังสอง

จากสมการจะได้ $a = 1, \, b = -4, \, c = 13$ จึงมีค่า $4ac - b^2 = 4(1)(13) - (-4)^2 = 36$

$$ \begin{aligned} x &= \frac{-(-4) \pm i\sqrt{4(1)(13) - (-4)^2}}{2(1)} \\ &= \frac{4 \pm i\sqrt{52 - 16}}{2} \\ &= \frac{4 \pm i\sqrt{36}}{2} \\ &= \frac{4 \pm 6i}{2} \\ &= 2 \pm 3i \end{aligned} $$

Solve $x^2 - 4x + 13 = 0$ using the quadratic formula.

Here $a = 1, \, b = -4, \, c = 13$, so $4ac - b^2 = 4(1)(13) - (-4)^2 = 36$.

$$ \begin{aligned} x &= \frac{-(-4) \pm i\sqrt{4(1)(13) - (-4)^2}}{2(1)} \\ &= \frac{4 \pm i\sqrt{52 - 16}}{2} \\ &= \frac{4 \pm i\sqrt{36}}{2} \\ &= \frac{4 \pm 6i}{2} \\ &= 2 \pm 3i \end{aligned} $$
Example 3.3

จงแก้สมการ $2x^2 + 2x + 5 = 0$ ในระบบจำนวนเชิงซ้อน

จากสมการจะได้ $a = 2, \, b = 2, \, c = 5$

$$ \begin{aligned} x &= \frac{-2 \pm i\sqrt{4(2)(5) - 2^2}}{2(2)} \\ &= \frac{-2 \pm i\sqrt{40 - 4}}{4} \\ &= \frac{-2 \pm 6i}{4} \\ &= -\frac{1}{2} \pm \frac{3}{2}i \end{aligned} $$

Solve $2x^2 + 2x + 5 = 0$ over the complex numbers.

Here $a = 2, \, b = 2, \, c = 5$.

$$ \begin{aligned} x &= \frac{-2 \pm i\sqrt{4(2)(5) - 2^2}}{2(2)} \\ &= \frac{-2 \pm i\sqrt{40 - 4}}{4} \\ &= \frac{-2 \pm 6i}{4} \\ &= -\frac{1}{2} \pm \frac{3}{2}i \end{aligned} $$
Example 3.4

จงแก้สมการ $3x^2 - 6x + 5 = 0$ ในระบบจำนวนเชิงซ้อน

จากสมการจะได้ $a = 3, \, b = -6, \, c = 5$

$$ \begin{aligned} x &= \frac{-(-6) \pm i\sqrt{4(3)(5) - (-6)^2}}{2(3)} \\ &= \frac{6 \pm i\sqrt{60 - 36}}{6} \\ &= \frac{6 \pm i\sqrt{24}}{6} \\ &= \frac{6 \pm 2\sqrt{6}i}{6} \\ &= 1 \pm \frac{\sqrt{6}}{3}i \end{aligned} $$

Solve $3x^2 - 6x + 5 = 0$ in the complex number system.

Here $a = 3, \, b = -6, \, c = 5$.

$$ \begin{aligned} x &= \frac{-(-6) \pm i\sqrt{4(3)(5) - (-6)^2}}{2(3)} \\ &= \frac{6 \pm i\sqrt{60 - 36}}{6} \\ &= \frac{6 \pm i\sqrt{24}}{6} \\ &= \frac{6 \pm 2\sqrt{6}i}{6} \\ &= 1 \pm \frac{\sqrt{6}}{3}i \end{aligned} $$
Example 3.5

จงแก้สมการ $\displaystyle \frac{1}{2}x^2 - x + \frac{5}{2} = 0$ ในระบบจำนวนเชิงซ้อน

คูณด้วย $2$ ตลอดสมการเพื่อให้สัมประสิทธิ์เป็นจำนวนเต็มก่อนใช้สูตร

$$ \begin{aligned} x^2 - 2x + 5 &= 0 \\ x &= \frac{-(-2) \pm i\sqrt{4(1)(5) - (-2)^2}}{2(1)} \\ &= \frac{2 \pm i\sqrt{16}}{2} \\ &= \frac{2 \pm 4i}{2} \\ &= 1 \pm 2i \end{aligned} $$

Solve $\displaystyle \frac{1}{2}x^2 - x + \frac{5}{2} = 0$ over $\mathbb{C}$.

Multiply through by $2$ to clear fractions before applying the formula.

$$ \begin{aligned} x^2 - 2x + 5 &= 0 \\ x &= \frac{-(-2) \pm i\sqrt{4(1)(5) - (-2)^2}}{2(1)} \\ &= \frac{2 \pm i\sqrt{16}}{2} \\ &= \frac{2 \pm 4i}{2} \\ &= 1 \pm 2i \end{aligned} $$
Example 3.6

จงแก้สมการ $x^2 + 6x + 11 = 0$ โดยการจัดรูปกำลังสองสมบูรณ์

จัดพจน์หน้าให้เป็น $(x + 3)^2$ แล้วถอดรากที่สองในระบบจำนวนเชิงซ้อน

$$ \begin{aligned} x^2 + 6x + 11 &= 0 \\ (x^2 + 6x + 9) + 2 &= 0 \\ (x + 3)^2 &= -2 \\ x + 3 &= \pm\sqrt{2}i \\ x &= -3 \pm \sqrt{2}i \end{aligned} $$

Solve $x^2 + 6x + 11 = 0$ by completing the square.

Rewrite the left side using $(x + 3)^2$ and take complex square roots.

$$ \begin{aligned} x^2 + 6x + 11 &= 0 \\ (x^2 + 6x + 9) + 2 &= 0 \\ (x + 3)^2 &= -2 \\ x + 3 &= \pm\sqrt{2}i \\ x &= -3 \pm \sqrt{2}i \end{aligned} $$
Example 3.7

จงหาค่า $k \in \mathbb{R}$ ที่ทำให้ $x^2 - 2kx + (k^2 + k - 3) = 0$ มีคำตอบเป็นจำนวนเชิงซ้อนที่ไม่ใช่จำนวนจริง

สมการจะมีคำตอบเป็นจำนวนเชิงซ้อนที่ไม่ใช่จำนวนจริงเมื่อดิสคริมิแนนต์ติดลบ ($b^2 - 4ac < 0$)

$$ \begin{aligned} b^2 - 4ac &< 0 \\ (-2k)^2 - 4(1)(k^2 + k - 3) &< 0 \\ 4k^2 - 4k^2 - 4k + 12 &< 0 \\ -4k + 12 &< 0 \\ k &> 3 \end{aligned} $$

Find all $k \in \mathbb{R}$ for which $x^2 - 2kx + (k^2 + k - 3) = 0$ has non-real complex roots.

Non-real complex conjugate roots occur when the discriminant is strictly negative ($b^2 - 4ac < 0$).

$$ \begin{aligned} b^2 - 4ac &< 0 \\ (-2k)^2 - 4(1)(k^2 + k - 3) &< 0 \\ 4k^2 - 4k^2 - 4k + 12 &< 0 \\ -4k + 12 &< 0 \\ k &> 3 \end{aligned} $$
4

🧮 การแก้สมการพหุนามดีกรีสูงกว่าสอง 🧮 Solving Higher-Degree Polynomial Equations

TH

ในการแก้สมการพหุนามดีกรี ${\color{#8e24aa}n} \ge 3$ เรานิยมลดทอนดีกรีของพหุนามลงจนเหลือสมการกำลังสอง โดยอาศัยทฤษฎีบทและเครื่องมือสำคัญ $3$ ประการ:

  • 1. ทฤษฎีบทเศษเหลือ (Remainder Theorem): เมื่อหารพหุนาม ${\color{#1565c0}P(x)}$ ด้วย $x - {\color{#e65100}c}$ เศษเหลือจากการหารคือ ${\color{#1565c0}P({\color{#e65100}c})}$
  • 2. ทฤษฎีบทตัวประกอบ (Factor Theorem): พหุนาม $x - {\color{#e65100}c}$ เป็นตัวประกอบของ ${\color{#1565c0}P(x)}$ ก็ต่อเมื่อ ${\color{#2e7d32}P(c) = 0}$
  • 3. การหารสังเคราะห์ (Synthetic Division): ใช้สัมประสิทธิ์ของพหุนามตั้งหารด้วยค่า ${\color{#e65100}c}$ ที่ทำให้ $P(c) = 0$ เพื่อหาสัมประสิทธิ์ของพหุนามผลหารที่มีดีกรีลดลง $1$ ขั้นอย่างรวดเร็ว
EN

To solve polynomial equations of degree ${\color{#8e24aa}n} \ge 3$, we systematically reduce the degree until a quadratic equation remains, using three core tools:

  • 1. Remainder Theorem: When a polynomial ${\color{#1565c0}P(x)}$ is divided by $x - {\color{#e65100}c}$, the remainder is ${\color{#1565c0}P({\color{#e65100}c})}$.
  • 2. Factor Theorem: $x - {\color{#e65100}c}$ is a factor of ${\color{#1565c0}P(x)}$ if and only if ${\color{#2e7d32}P(c) = 0}$.
  • 3. Synthetic Division: A streamlined method of dividing ${\color{#1565c0}P(x)}$ by $x - {\color{#e65100}c}$ using only coefficients to depress the polynomial degree by $1$.
Example 4.1

กำหนด $P(x) = x^3 - 2x^2 + 4x - 8$ จงหาเศษเมื่อหารด้วย $x + 1$ และตรวจสอบว่า $x - 2$ เป็นตัวประกอบหรือไม่

ใช้ทฤษฎีบทเศษเหลือแทนค่า $x = -1$ และใช้ทฤษฎีบทตัวประกอบแทนค่า $x = 2$

$$ \begin{aligned} P(-1) &= (-1)^3 - 2(-1)^2 + 4(-1) - 8 \\ &= -1 - 2 - 4 - 8 \\ &= -15 \\ P(2) &= (2)^3 - 2(2)^2 + 4(2) - 8 \\ &= 8 - 8 + 8 - 8 \\ &= 0 \end{aligned} $$

เศษจากการหารด้วย $x + 1$ คือ $-15$ และเนื่องจาก $P(2) = 0$ ดังนั้น $x - 2$ เป็นตัวประกอบของ $P(x)$

Let $P(x) = x^3 - 2x^2 + 4x - 8$. Find the remainder when divided by $x + 1$ and check if $x - 2$ is a factor.

Evaluate $P(-1)$ by the Remainder Theorem and $P(2)$ by the Factor Theorem.

$$ \begin{aligned} P(-1) &= (-1)^3 - 2(-1)^2 + 4(-1) - 8 \\ &= -1 - 2 - 4 - 8 \\ &= -15 \\ P(2) &= (2)^3 - 2(2)^2 + 4(2) - 8 \\ &= 8 - 8 + 8 - 8 \\ &= 0 \end{aligned} $$

The remainder is $-15$, and since $P(2) = 0$, $x - 2$ is a factor of $P(x)$.

Example 4.2

จงแก้สมการพหุนามดีกรีสาม $x^3 - 3x^2 + 4x - 12 = 0$ ในระบบจำนวนเชิงซ้อน

ทดสอบ $P(3) = 27 - 27 + 12 - 12 = 0$ แล้วหารสังเคราะห์ด้วย $c = 3$ ได้ผลหารคือ $x^2 + 4$

$$ \begin{aligned} x^3 - 3x^2 + 4x - 12 &= 0 \\ (x - 3)(x^2 + 4) &= 0 \\ (x - 3)(x - 2i)(x + 2i) &= 0 \\ x &= 3, \, 2i, \, -2i \end{aligned} $$

Solve the cubic equation $x^3 - 3x^2 + 4x - 12 = 0$ over $\mathbb{C}$.

Testing $c = 3$ gives $P(3) = 0$. Synthetic division yields the quotient $x^2 + 4$.

$$ \begin{aligned} x^3 - 3x^2 + 4x - 12 &= 0 \\ (x - 3)(x^2 + 4) &= 0 \\ (x - 3)(x - 2i)(x + 2i) &= 0 \\ x &= 3, \, 2i, \, -2i \end{aligned} $$
Example 4.3

จงแก้สมการ $x^3 - x^2 + x + 3 = 0$ โดยใช้ทฤษฎีบทตัวประกอบและการหารสังเคราะห์

เนื่องจาก $P(-1) = (-1)^3 - (-1)^2 + (-1) + 3 = 0$ เมื่อหารสังเคราะห์ด้วย $c = -1$ จะได้ผลหารคือ $x^2 - 2x + 3$

$$ \begin{aligned} x^3 - x^2 + x + 3 &= 0 \\ (x + 1)(x^2 - 2x + 3) &= 0 \\ x &= -1, \, \frac{2 \pm i\sqrt{4(1)(3) - (-2)^2}}{2(1)} \\ &= -1, \, \frac{2 \pm 2\sqrt{2}i}{2} \\ &= -1, \, 1 + \sqrt{2}i, \, 1 - \sqrt{2}i \end{aligned} $$

Solve $x^3 - x^2 + x + 3 = 0$ using the Factor Theorem and Synthetic Division.

Since $P(-1) = 0$, synthetic division by $c = -1$ gives the depressed quadratic $x^2 - 2x + 3$.

$$ \begin{aligned} x^3 - x^2 + x + 3 &= 0 \\ (x + 1)(x^2 - 2x + 3) &= 0 \\ x &= -1, \, \frac{2 \pm i\sqrt{4(1)(3) - (-2)^2}}{2(1)} \\ &= -1, \, \frac{2 \pm 2\sqrt{2}i}{2} \\ &= -1, \, 1 + \sqrt{2}i, \, 1 - \sqrt{2}i \end{aligned} $$
Example 4.4

จงแก้สมการ $2x^3 - 3x^2 + 8x - 12 = 0$ ในระบบจำนวนเชิงซ้อน

ทดสอบรากตรรกยะ $c = \frac{3}{2}$ พบว่า $P(\frac{3}{2}) = 0$ จึงแยกตัวประกอบได้ดังนี้

$$ \begin{aligned} 2x^3 - 3x^2 + 8x - 12 &= 0 \\ (2x - 3)(x^2 + 4) &= 0 \\ (2x - 3)(x - 2i)(x + 2i) &= 0 \\ x &= \frac{3}{2}, \, 2i, \, -2i \end{aligned} $$

Solve $2x^3 - 3x^2 + 8x - 12 = 0$ in the complex number system.

Testing the rational root $c = \frac{3}{2}$ yields $P(\frac{3}{2}) = 0$, allowing us to factor completely.

$$ \begin{aligned} 2x^3 - 3x^2 + 8x - 12 &= 0 \\ (2x - 3)(x^2 + 4) &= 0 \\ (2x - 3)(x - 2i)(x + 2i) &= 0 \\ x &= \frac{3}{2}, \, 2i, \, -2i \end{aligned} $$
Example 4.5

จงแก้สมการพหุนามดีกรีสี่ $x^4 - 2x^3 + 5x^2 - 8x + 4 = 0$ ในระบบจำนวนเชิงซ้อน

หารสังเคราะห์ต่อเนื่อง $2$ ครั้งด้วย $c = 1$ เพื่อลดดีกรีจาก $4$ เหลือสมการกำลังสอง

$$ \begin{aligned} x^4 - 2x^3 + 5x^2 - 8x + 4 &= 0 \\ (x - 1)(x^3 - x^2 + 4x - 4) &= 0 \\ (x - 1)^2(x^2 + 4) &= 0 \\ (x - 1)^2(x - 2i)(x + 2i) &= 0 \\ x &= 1, \, 1, \, 2i, \, -2i \end{aligned} $$

Solve the quartic equation $x^4 - 2x^3 + 5x^2 - 8x + 4 = 0$ over $\mathbb{C}$.

Apply synthetic division twice with $c = 1$ to reduce the quartic to a quadratic.

$$ \begin{aligned} x^4 - 2x^3 + 5x^2 - 8x + 4 &= 0 \\ (x - 1)(x^3 - x^2 + 4x - 4) &= 0 \\ (x - 1)^2(x^2 + 4) &= 0 \\ (x - 1)^2(x - 2i)(x + 2i) &= 0 \\ x &= 1, \, 1, \, 2i, \, -2i \end{aligned} $$
Example 4.6

จงแก้สมการพหุนามดีกรีสี่รูปกำลังสอง $x^4 + 3x^2 - 4 = 0$ ในระบบจำนวนเชิงซ้อน

มอง $x^4 = (x^2)^2$ แล้วแยกตัวประกอบของพหุนามกำลังสองในตัวแปร $x^2$

$$ \begin{aligned} x^4 + 3x^2 - 4 &= 0 \\ (x^2 + 4)(x^2 - 1) &= 0 \\ (x - 2i)(x + 2i)(x - 1)(x + 1) &= 0 \\ x &= 1, \, -1, \, 2i, \, -2i \end{aligned} $$

Solve the biquadratic equation $x^4 + 3x^2 - 4 = 0$ over $\mathbb{C}$.

Treat $x^4$ as $(x^2)^2$ and factor as a quadratic in $x^2$.

$$ \begin{aligned} x^4 + 3x^2 - 4 &= 0 \\ (x^2 + 4)(x^2 - 1) &= 0 \\ (x - 2i)(x + 2i)(x - 1)(x + 1) &= 0 \\ x &= 1, \, -1, \, 2i, \, -2i \end{aligned} $$
Example 4.7

กำหนดให้ $1 - i$ เป็นคำตอบหนึ่งของ $x^4 - 2x^3 + 3x^2 - 2x + 2 = 0$ จงหาคำตอบทั้งหมด

จากทฤษฎีบทตัวประกอบสังยุค $1 + i$ เป็นคำตอบด้วย ซึ่งสร้างเป็นตัวประกอบกำลังสองได้คือ $(x - 1)^2 + 1 = x^2 - 2x + 2$

$$ \begin{aligned} x^4 - 2x^3 + 3x^2 - 2x + 2 &= 0 \\ x^2(x^2 - 2x + 2) + 1(x^2 - 2x + 2) &= 0 \\ (x^2 - 2x + 2)(x^2 + 1) &= 0 \\ x &= 1 - i, \, 1 + i, \, i, \, -i \end{aligned} $$

Given that $1 - i$ is a root of $x^4 - 2x^3 + 3x^2 - 2x + 2 = 0$, find all roots.

By the Conjugate Root Theorem, $1 + i$ is also a root, forming the quadratic factor $(x - 1)^2 + 1 = x^2 - 2x + 2$.

$$ \begin{aligned} x^4 - 2x^3 + 3x^2 - 2x + 2 &= 0 \\ x^2(x^2 - 2x + 2) + 1(x^2 - 2x + 2) &= 0 \\ (x^2 - 2x + 2)(x^2 + 1) &= 0 \\ x &= 1 - i, \, 1 + i, \, i, \, -i \end{aligned} $$

คำศัพท์ที่น่าสนใจ Key Vocabulary

คำศัพท์คณิตศาสตร์ภาษาอังกฤษ พร้อมรากศัพท์

คำศัพท์ รากศัพท์ / Root ความหมาย / Meaning
Polynomial poly- (many) + nomen (name, term) พหุนาม · นิพจน์พีชคณิตที่ประกอบด้วยผลบวกของเอกนามหลายพจน์
Fundamental fundamentum (foundation) มูลฐาน / พื้นฐานสำคัญ · ทฤษฎีบทที่เป็นรากฐานหลักของพีชคณิต
Degree de- (down) + gradus (step, grade) ดีกรี / ระดับขั้น · เลขชี้กำลังสูงสุดของตัวแปรในพหุนาม ซึ่งบอกจำนวนรากทั้งหมดในระบบจำนวนเชิงซ้อน
Root / Zero radix (root) / cifra (empty) รากของพหุนาม / คำตอบของสมการ · ค่า $c$ ที่ทำให้ $P(c) = 0$
Multiplicity multus (many) + plicare (to fold) ภาวะซ้ำ · จำนวนครั้งที่ตัวประกอบเชิงเส้น $(x - c)$ ซ้ำกันในพหุนาม
Conjugate com- (together) + jugare (to yoke) สังยุค · คู่จำนวนเชิงซ้อน $a + bi$ และ $a - bi$ ที่มีส่วนจินตภาพเป็นจำนวนตรงข้ามกัน
Coefficient co- (together) + efficere (to accomplish) สัมประสิทธิ์ · ตัวเลขที่คูณอยู่หน้าตัวแปรในแต่ละพจน์ของพหุนาม
Discriminant discriminare (to distinguish, separate) ดิสคริมิแนนต์ · ค่า $b^2 - 4ac$ ที่ใช้จำแนกประเภทของคำตอบสมการกำลังสอง
Remainder re- (back) + manere (to stay, remain) เศษเหลือ · ค่าที่เหลือจากการหารพหุนาม ซึ่งเท่ากับ $P(c)$ เมื่อหารด้วย $x - c$
Synthetic Division syn- (together) + tithenai (to place) การหารสังเคราะห์ · วิธีลัดในการหารพหุนามด้วยตัวประกอบเชิงเส้นโดยเขียนเฉพาะสัมประสิทธิ์
Quotient quotiens (how many times) ผลหาร · พหุนามผลลัพธ์ที่ได้หลังการหารสังเคราะห์ซึ่งมีดีกรีลดลง $1$ ขั้น
Corollary corollarium (deduction, garland) ผลสืบเนื่อง / บทแทรก · ข้อสรุปที่ตามมาโดยตรงจากทฤษฎีบทหลัก