TH

พหุนาม (Polynomial) คือ นิพจน์ที่สร้างจากตัวแปรและค่าคงตัว โดยใช้การบวก การลบ และการคูณ รวมกัน โดยเลขชี้กำลังของตัวแปรต้องเป็น จำนวนเต็มบวกหรือศูนย์ เท่านั้น การศึกษาโครงสร้างของพหุนาม นำไปสู่การแก้สมการและการหาคำตอบ (ราก) ของสมการนั้น

EN

A Polynomial is an expression consisting of variables and coefficients, that involves only the operations of addition, subtraction, and multiplication. The exponents of the variables must be non-negative integers. Studying polynomial structures leads to solving equations and finding their roots.

1

นิยามและส่วนประกอบ Definition & Components

TH

รูปทั่วไปของพหุนามตัวแปรเดียว $x$ ดีกรี $n$ เขียนได้ดังนี้:

EN

The general form of a single variable polynomial in $x$ of degree $n$ is written as:

$$ P(x) = a_n x^n + a_{n-1} x^{n-1} + \dots + a_1 x + a_0 $$

โดยที่ $a_n, a_{n-1}, \dots, a_0$ เป็นจำนวนจริง (เรียกว่า สัมประสิทธิ์) และ $a_n \neq 0$

  • ดีกรี (Degree): เลขชี้กำลังสูงสุดของตัวแปรในพหุนาม (คือ $n$)
  • สัมประสิทธิ์นำ (Leading Coefficient): สัมประสิทธิ์ของพจน์ที่มีดีกรีสูงสุด (คือ $a_n$)
  • พจน์คงตัว (Constant Term): พจน์ที่ไม่มีตัวแปรปรากฏอยู่ (คือ $a_0$)

Where $a_n, a_{n-1}, \dots, a_0$ are real numbers (called coefficients) and $a_n \neq 0$

  • Degree: The highest exponent of the variable in the polynomial ($n$).
  • Leading Coefficient: The coefficient of the term with the highest degree ($a_n$).
  • Constant Term: The term without a variable ($a_0$).
Example 1.1

พิจารณาพหุนาม: $P(x) = 4x^3 - 2x^2 + 5x - 7$

$$ \begin{aligned} \text{ดีกรี} &= 3 \\ \text{สัมประสิทธิ์นำ} &= 4 \\ \text{พจน์คงตัว} &= -7 \end{aligned} $$

Consider the polynomial: $P(x) = 4x^3 - 2x^2 + 5x - 7$

$$ \begin{aligned} \text{Degree} &= 3 \\ \text{Leading Coeff.} &= 4 \\ \text{Constant Term} &= -7 \end{aligned} $$
Example 1.2

พหุนามที่ไม่ได้เรียงดีกรี: $Q(x) = 8 - x^5 + 3x^2$

$$ \begin{aligned} \text{จัดรูปใหม่: } Q(x) &= -x^5 + 3x^2 + 8 \\ \text{ดีกรี} &= 5 \\ \text{สัมประสิทธิ์นำ} &= -1 \end{aligned} $$

Unordered polynomial: $Q(x) = 8 - x^5 + 3x^2$

$$ \begin{aligned} \text{Rearranged: } Q(x) &= -x^5 + 3x^2 + 8 \\ \text{Degree} &= 5 \\ \text{Leading Coeff.} &= -1 \end{aligned} $$
Example 1.3

เอกนาม (พจน์เดียว): $R(x) = 15x^4$

$$ \begin{aligned} \text{ดีกรี} &= 4 \\ \text{สัมประสิทธิ์นำ} &= 15 \\ \text{พจน์คงตัว} &= 0 \end{aligned} $$

Monomial (Single term): $R(x) = 15x^4$

$$ \begin{aligned} \text{Degree} &= 4 \\ \text{Leading Coeff.} &= 15 \\ \text{Constant Term} &= 0 \end{aligned} $$
Example 1.4

พหุนามคงตัว: $S(x) = -12$

$$ \begin{aligned} \text{ดีกรี} &= 0 \\ \text{สัมประสิทธิ์นำ} &= -12 \\ \text{พจน์คงตัว} &= -12 \end{aligned} $$

Constant polynomial: $S(x) = -12$

$$ \begin{aligned} \text{Degree} &= 0 \\ \text{Leading Coeff.} &= -12 \\ \text{Constant Term} &= -12 \end{aligned} $$
Example 1.5

นิพจน์ที่ ไม่เป็นพหุนาม

$$ f(x) = 2x^{-2} + 3x \quad \text{และ} \quad g(x) = \sqrt{x} + 1 $$

เพราะเลขชี้กำลังเป็นลบ ($-2$) และเป็นเศษส่วน ($\frac{1}{2}$) ตามลำดับ

Expressions that are NOT polynomials

$$ f(x) = 2x^{-2} + 3x \quad \text{and} \quad g(x) = \sqrt{x} + 1 $$

because the exponents are negative ($-2$) and fractional ($\frac{1}{2}$) respectively

2

การบวก ลบ และคูณ Polynomial Operations

TH

การดำเนินการของพหุนามอาศัยสมบัติพื้นฐานของจำนวนจริง:

  • การบวก/ลบ: นำสัมประสิทธิ์ของ พจน์ที่คล้ายกัน (ตัวแปรและดีกรีเหมือนกัน) มาบวกหรือลบกัน
  • การคูณ: ใช้สมบัติการแจกแจง (Distribution) นำทุกพจน์ของพหุนามแรกคูณกับทุกพจน์ของพหุนามหลัง แล้วนำเลขชี้กำลังมาบวกกัน
EN

Polynomial operations rely on basic real number properties:

  • Addition/Subtraction: Add or subtract the coefficients of like terms (same variable and exponent).
  • Multiplication: Use the distributive property to multiply each term, adding the exponents.
Example 2.1

จงหาผลบวกของ $(3x^2 + 5x - 2)$ และ $(x^2 - 4x + 6)$

$$ \begin{aligned} (3x^2 + 5x - 2) + (x^2 - 4x + 6) &= (3x^2 + x^2) + (5x - 4x) + (-2 + 6) \\ &= 4x^2 + x + 4 \end{aligned} $$

Find the sum of $(3x^2 + 5x - 2)$ and $(x^2 - 4x + 6)$

$$ \begin{aligned} (3x^2 + 5x - 2) + (x^2 - 4x + 6) &= (3x^2 + x^2) + (5x - 4x) + (-2 + 6) \\ &= 4x^2 + x + 4 \end{aligned} $$
Example 2.2

จงหาผลลบ $(5x^3 - 2x^2 + 4) - (2x^3 + 3x^2 - x)$

$$ \begin{aligned} \text{ผลลัพธ์} &= (5x^3 - 2x^2 + 4) - (2x^3 + 3x^2 - x) \\ &= 5x^3 - 2x^2 + 4 - 2x^3 - 3x^2 + x \\ &= 3x^3 - 5x^2 + x + 4 \end{aligned} $$

Find the difference $(5x^3 - 2x^2 + 4) - (2x^3 + 3x^2 - x)$

$$ \begin{aligned} \text{Result} &= (5x^3 - 2x^2 + 4) - (2x^3 + 3x^2 - x) \\ &= 5x^3 - 2x^2 + 4 - 2x^3 - 3x^2 + x \\ &= 3x^3 - 5x^2 + x + 4 \end{aligned} $$
Example 2.3

กระจายค่าคงตัว: $-3(2x^2 - 4x + 1)$

$$ \begin{aligned} -3(2x^2 - 4x + 1) &= (-3)(2x^2) - (-3)(4x) + (-3)(1) \\ &= -6x^2 + 12x - 3 \end{aligned} $$

Scalar distribution: $-3(2x^2 - 4x + 1)$

$$ \begin{aligned} -3(2x^2 - 4x + 1) &= (-3)(2x^2) - (-3)(4x) + (-3)(1) \\ &= -6x^2 + 12x - 3 \end{aligned} $$
Example 2.4

จงหาผลคูณ $(x + 3)(2x - 5)$

$$ \begin{aligned} (x + 3)(2x - 5) &= x(2x) + x(-5) + 3(2x) + 3(-5) \\ &= 2x^2 - 5x + 6x - 15 \\ &= 2x^2 + x - 15 \end{aligned} $$

Find the product $(x + 3)(2x - 5)$

$$ \begin{aligned} (x + 3)(2x - 5) &= x(2x) + x(-5) + 3(2x) + 3(-5) \\ &= 2x^2 - 5x + 6x - 15 \\ &= 2x^2 + x - 15 \end{aligned} $$
Example 2.5

จงหาผลคูณ $(x - 2)(x^2 + 2x + 4)$

$$ \begin{aligned} (x - 2)(x^2 + 2x + 4) &= x(x^2 + 2x + 4) - 2(x^2 + 2x + 4) \\ &= (x^3 + 2x^2 + 4x) - (2x^2 + 4x + 8) \\ &= x^3 - 8 \end{aligned} $$

Find the product $(x - 2)(x^2 + 2x + 4)$

$$ \begin{aligned} (x - 2)(x^2 + 2x + 4) &= x(x^2 + 2x + 4) - 2(x^2 + 2x + 4) \\ &= (x^3 + 2x^2 + 4x) - (2x^2 + 4x + 8) \\ &= x^3 - 8 \end{aligned} $$
3

การหารพหุนาม Polynomial Division

TH

การหารยาวพหุนาม (Polynomial Long Division) มีขั้นตอนวิธีคล้ายกับการหารยาวของตัวเลข โดยตั้งตัวตั้ง $P(x)$ ไว้ด้านใน และตัวหาร $D(x)$ ไว้ด้านนอก อาศัยขั้นตอนวิธีการหาร (Division Algorithm):

$P(x) = D(x) \cdot Q(x) + R(x)$

โดยที่ $Q(x)$ คือ ผลหาร (Quotient) และ $R(x)$ คือ เศษเหลือ (Remainder)

* จะหยุดหารเมื่อดีกรีของเศษ $R(x)$ น้อยกว่าดีกรีของตัวหาร $D(x)$ เสมอ หรือเมื่อ $R(x) = 0$ (หารลงตัว)

EN

Polynomial Long Division is similar to the long division of numbers. We place the dividend $P(x)$ inside and the divisor $D(x)$ outside, using the Division Algorithm:

$P(x) = D(x) \cdot Q(x) + R(x)$

Where $Q(x)$ is the Quotient, and $R(x)$ is the Remainder.

* The division stops when the degree of $R(x)$ is less than the degree of $D(x)$, or $R(x) = 0$ (divides evenly).

Example 3.1

จงหาร $x^2 + 5x + 6$ ด้วย $x + 2$ โดยใช้วิธีการหารยาว

$$ \begin{array}{r} x + 3 \phantom{000000} \\ x + 2 \overline{) x^2 + 5x + 6} \\ \underline{-(x^2 + 2x)} \phantom{000} \\ 3x + 6 \phantom{0} \\ \underline{-(3x + 6)} \\ 0 \phantom{0} \end{array} $$
$$ \begin{aligned} \text{ผลหาร} &= x + 3 \\ \text{เศษเหลือ} &= 0 \end{aligned} $$

Divide $x^2 + 5x + 6$ by $x + 2$ using long division.

$$ \begin{array}{r} x + 3 \phantom{000000} \\ x + 2 \overline{) x^2 + 5x + 6} \\ \underline{-(x^2 + 2x)} \phantom{000} \\ 3x + 6 \phantom{0} \\ \underline{-(3x + 6)} \\ 0 \phantom{0} \end{array} $$
$$ \begin{aligned} \text{Quotient} &= x + 3 \\ \text{Remainder} &= 0 \end{aligned} $$
Example 3.2

จงหาร $2x^3 - 3x^2 + 4x - 5$ ด้วย $x - 1$

$$ \begin{array}{r} 2x^2 - x + 3 \phantom{000000} \\ x - 1 \overline{) 2x^3 - 3x^2 + 4x - 5} \\ \underline{-(2x^3 - 2x^2)} \phantom{0000000} \\ -x^2 + 4x \phantom{0000} \\ \underline{-(-x^2 + x)} \phantom{0000} \\ 3x - 5 \phantom{0} \\ \underline{-(3x - 3)} \\ -2 \phantom{0} \end{array} $$
$$ \begin{aligned} \text{ผลหาร} &= 2x^2 - x + 3 \\ \text{เศษเหลือ} &= -2 \end{aligned} $$

Divide $2x^3 - 3x^2 + 4x - 5$ by $x - 1$.

$$ \begin{array}{r} 2x^2 - x + 3 \phantom{000000} \\ x - 1 \overline{) 2x^3 - 3x^2 + 4x - 5} \\ \underline{-(2x^3 - 2x^2)} \phantom{0000000} \\ -x^2 + 4x \phantom{0000} \\ \underline{-(-x^2 + x)} \phantom{0000} \\ 3x - 5 \phantom{0} \\ \underline{-(3x - 3)} \\ -2 \phantom{0} \end{array} $$
$$ \begin{aligned} \text{Quotient} &= 2x^2 - x + 3 \\ \text{Remainder} &= -2 \end{aligned} $$
Example 3.3

จงหาผลหารและเศษเมื่อหาร $x^3 - 8$ ด้วย $x - 2$

* ต้องเติมพจน์ที่หายไปด้วยสัมประสิทธิ์ 0 ($0x^2$ และ $0x$)

$$ \begin{array}{r} x^2 + 2x + 4 \phantom{0000000} \\ x - 2 \overline{) x^3 + 0x^2 + 0x - 8} \\ \underline{-(x^3 - 2x^2)} \phantom{00000000} \\ 2x^2 + 0x \phantom{00000} \\ \underline{-(2x^2 - 4x)} \phantom{00000} \\ 4x - 8 \phantom{0} \\ \underline{-(4x - 8)} \\ 0 \phantom{0} \end{array} $$
$$ \begin{aligned} \text{ผลหาร} &= x^2 + 2x + 4 \\ \text{เศษเหลือ} &= 0 \end{aligned} $$

Find the quotient and remainder when $x^3 - 8$ is divided by $x - 2$.

* Insert missing terms with 0 coefficients ($0x^2, 0x$).

$$ \begin{array}{r} x^2 + 2x + 4 \phantom{0000000} \\ x - 2 \overline{) x^3 + 0x^2 + 0x - 8} \\ \underline{-(x^3 - 2x^2)} \phantom{00000000} \\ 2x^2 + 0x \phantom{00000} \\ \underline{-(2x^2 - 4x)} \phantom{00000} \\ 4x - 8 \phantom{0} \\ \underline{-(4x - 8)} \\ 0 \phantom{0} \end{array} $$
$$ \begin{aligned} \text{Quotient} &= x^2 + 2x + 4 \\ \text{Remainder} &= 0 \end{aligned} $$
Example 3.4

จงหาร $x^3 + 3x^2 - 2x + 5$ ด้วยพหุนามดีกรีสอง $x^2 + x - 1$

$$ \begin{array}{r} x + 2 \phantom{- 2x + 5} \\ x^2 + x - 1 \overline{) x^3 + 3x^2 - 2x + 5} \\ \underline{-(x^3 + x^2 - x)} \phantom{{}+ 5} \\ 2x^2 - x + 5 \\ \underline{-(2x^2 + 2x - 2)} \\ -3x + 7 \end{array} $$
$$ \begin{aligned} \text{ผลหาร} &= x + 2 \\ \text{เศษเหลือ} &= -3x + 7 \end{aligned} $$

Divide $x^3 + 3x^2 - 2x + 5$ by a degree-2 polynomial $x^2 + x - 1$.

$$ \begin{array}{r} x + 2 \phantom{- 2x + 5} \\ x^2 + x - 1 \overline{) x^3 + 3x^2 - 2x + 5} \\ \underline{-(x^3 + x^2 - x)} \phantom{{}+ 5} \\ 2x^2 - x + 5 \\ \underline{-(2x^2 + 2x - 2)} \\ -3x + 7 \end{array} $$
$$ \begin{aligned} \text{Quotient} &= x + 2 \\ \text{Remainder} &= -3x + 7 \end{aligned} $$
Example 3.5

จงตรวจสอบว่า $2x + 3$ หาร $2x^3 + 5x^2 - x - 6$ ลงตัวหรือไม่

(หากหารลงตัว เศษเหลือจะเป็น 0)

$$ \begin{array}{r} x^2 + x - 2 \phantom{00000000} \\ 2x + 3 \overline{) 2x^3 + 5x^2 - x - 6} \\ \underline{-(2x^3 + 3x^2)} \phantom{00000000} \\ 2x^2 - x \phantom{00000} \\ \underline{-(2x^2 + 3x)} \phantom{00000} \\ -4x - 6 \phantom{0} \\ \underline{-(-4x - 6)} \\ 0 \phantom{0} \end{array} $$
$$ \begin{aligned} \text{ผลหาร} &= x^2 + x - 2 \\ \text{เศษเหลือ} &= 0 \end{aligned} $$

หารได้ลงตัวพอดี (เศษเหลือเป็น 0)

Verify if $2x^3 + 5x^2 - x - 6$ is exactly divisible by $2x + 3$.

(If divisible, the remainder will be 0.)

$$ \begin{array}{r} x^2 + x - 2 \phantom{00000000} \\ 2x + 3 \overline{) 2x^3 + 5x^2 - x - 6} \\ \underline{-(2x^3 + 3x^2)} \phantom{00000000} \\ 2x^2 - x \phantom{00000} \\ \underline{-(2x^2 + 3x)} \phantom{00000} \\ -4x - 6 \phantom{0} \\ \underline{-(-4x - 6)} \\ 0 \phantom{0} \end{array} $$
$$ \begin{aligned} \text{Quotient} &= x^2 + x - 2 \\ \text{Remainder} &= 0 \end{aligned} $$

Exactly divisible (Remainder is 0)

4

ทฤษฎีบทเศษเหลือ Remainder Theorem

TH

ทฤษฎีบทเศษเหลือ กล่าวว่า: ถ้าหารพหุนาม $P(x)$ ด้วยพหุนามเชิงเส้น $x - c$ แล้ว เศษของการหารจะเท่ากับ $P(c)$

* หมายความว่า เราไม่จำเป็นต้องตั้งหารยาวเพื่อหาเศษ แค่แทนค่า $x = c$ ลงในพหุนามก็จะได้เศษทันที!

EN

The Remainder Theorem states: If a polynomial $P(x)$ is divided by a linear polynomial $x - c$, then the remainder is $P(c)$.

* This means we don't need to do long division to find the remainder. Just substitute $x = c$ into the polynomial!

Example 4.1

จงหาเศษเมื่อหาร $P(x) = x^2 - 5x + 8$ ด้วย $x - 3$

$$ \begin{aligned} \text{จากตัวหาร } x - 3 \text{ จะได้ } c &= 3 \\ \text{เศษ } &= P(3) \\ &= (3)^2 - 5(3) + 8 \\ &= 9 - 15 + 8 \\ &= 2 \end{aligned} $$

Find the remainder when $P(x) = x^2 - 5x + 8$ is divided by $x - 3$

$$ \begin{aligned} \text{From divisor } x - 3 \text{ we get } c &= 3 \\ \text{Remainder} &= P(3) \\ &= (3)^2 - 5(3) + 8 \\ &= 9 - 15 + 8 \\ &= 2 \end{aligned} $$
Example 4.2

จงหาเศษเมื่อหาร $P(x) = 2x^3 - x^2 - x + 4$ ด้วย $x + 2$

$$ \begin{aligned} \text{ตัวหารอยู่ในรูป } x - c \implies x + 2 &= x - (-2) \implies c = -2 \\ \text{เศษ } &= P(-2) \\ &= 2(-2)^3 - (-2)^2 - (-2) + 4 \\ &= 2(-8) - 4 + 2 + 4 \\ &= -14 \end{aligned} $$

Find the remainder when $P(x) = 2x^3 - x^2 - x + 4$ is divided by $x + 2$

$$ \begin{aligned} \text{Divisor is in the form } x - c \implies x + 2 &= x - (-2) \implies c = -2 \\ \text{Remainder} &= P(-2) \\ &= 2(-2)^3 - (-2)^2 - (-2) + 4 \\ &= 2(-8) - 4 + 2 + 4 \\ &= -14 \end{aligned} $$
Example 4.3

จงหาเศษเมื่อหาร $x^4 - 16$ ด้วย $x - 2$

$$ \begin{aligned} \text{ให้ } P(x) &= x^4 - 16 \\ \text{เศษ } &= P(2) \\ &= (2)^4 - 16 \\ &= 0 \end{aligned} $$

* เศษเป็น 0 แสดงว่า $x-2$ หารลงตัว (เป็นตัวประกอบ)

Find the remainder when $x^4 - 16$ is divided by $x - 2$

$$ \begin{aligned} \text{Let } P(x) &= x^4 - 16 \\ \text{Remainder} &= P(2) \\ &= (2)^4 - 16 \\ &= 0 \end{aligned} $$

* Since the remainder is 0, $x-2$ is a factor (divisible)

Example 4.4

ถ้าหาร $P(x) = x^3 + kx^2 - 5x + 6$ ด้วย $x - 1$ แล้วเหลือเศษ $4$ จงหาค่า $k$

$$ \begin{aligned} \text{จากทฤษฎีบท } P(1) &= 4 \\ (1)^3 + k(1)^2 - 5(1) + 6 &= 4 \\ 1 + k - 5 + 6 &= 4 \\ k + 2 &= 4 \\ k &= 2 \end{aligned} $$

If $P(x) = x^3 + kx^2 - 5x + 6$ divided by $x - 1$ leaves a remainder of $4$, find $k$.

$$ \begin{aligned} \text{From the theorem } P(1) &= 4 \\ (1)^3 + k(1)^2 - 5(1) + 6 &= 4 \\ 1 + k - 5 + 6 &= 4 \\ k + 2 &= 4 \\ k &= 2 \end{aligned} $$
Example 4.5

ถ้าตัวหารอยู่ในรูป $ax - b$ จะได้ $c = \displaystyle \frac{b}{a}$

จงหาเศษเมื่อหาร $3x^2 + 5x - 2$ ด้วย $3x - 1$

$$ \begin{aligned} \text{ตัวหาร } 3x - 1 = 0 \implies x &= \frac{1}{3} \\ \text{เศษ } &= P\left(\frac{1}{3}\right) \\ &= 3\left(\frac{1}{3}\right)^2 + 5\left(\frac{1}{3}\right) - 2 \\ &= 3\left(\frac{1}{9}\right) + \frac{5}{3} - 2 \\ &= 0 \end{aligned} $$

If the divisor is $ax - b$, then $c = \displaystyle \frac{b}{a}$

Find the remainder when $3x^2 + 5x - 2$ is divided by $3x - 1$

$$ \begin{aligned} \text{Divisor } 3x - 1 = 0 \implies x &= \frac{1}{3} \\ \text{Remainder} &= P\left(\frac{1}{3}\right) \\ &= 3\left(\frac{1}{3}\right)^2 + 5\left(\frac{1}{3}\right) - 2 \\ &= 3\left(\frac{1}{9}\right) + \frac{5}{3} - 2 \\ &= 0 \end{aligned} $$
5

การหารสังเคราะห์ Synthetic Division

TH

การหารสังเคราะห์ เป็นวิธีลัดในการหารพหุนามด้วย $x - c$ โดยใช้เฉพาะสัมประสิทธิ์มาคำนวณ ช่วยให้หา ผลหาร และ เศษ ได้รวดเร็วกว่าการตั้งหารยาวมาก

* หากตัวตั้งมีพจน์ของดีกรีใดหายไป ต้องเติมสัมประสิทธิ์เป็น 0 ในตำแหน่งนั้นเสมอ!

EN

Synthetic Division is a shortcut method for dividing a polynomial by $x - c$ using only the coefficients. It helps find the quotient and remainder much faster than long division.

* If a degree term is missing in the dividend, you must insert a 0 for its coefficient!

Example 5.1

จงหาร $x^2 - 5x + 6$ ด้วย $x - 2$ โดยใช้การหารสังเคราะห์

2 1 -5 6 2 -6 1 -3 0 ×2 ×2
$$ \begin{aligned} \text{ผลหาร } Q(x) &= 1x - 3 \\ \text{เศษ } R(x) &= 0 \end{aligned} $$

Divide $x^2 - 5x + 6$ by $x - 2$ using synthetic division.

2 1 -5 6 2 -6 1 -3 0 ×2 ×2
$$ \begin{aligned} \text{Quotient } Q(x) &= 1x - 3 \\ \text{Remainder } R(x) &= 0 \end{aligned} $$
Example 5.2

จงหาร $x^3 - 7x + 6$ ด้วย $x + 3$

* พจน์ $x^2$ หายไป ต้องใส่สัมประสิทธิ์เป็น 0 และตัวหารคือ $x - (-3) \implies c = -3$

-3 1 0 -7 6 -3 9 -6 1 -3 2 0 ×(-3) ×(-3) ×(-3)
$$ \begin{aligned} \text{ผลหาร } Q(x) &= x^2 - 3x + 2 \\ \text{เศษ } R(x) &= 0 \end{aligned} $$

Divide $x^3 - 7x + 6$ by $x + 3$.

* The $x^2$ term is missing, so we must insert a coefficient of 0. The divisor is $x - (-3) \implies c = -3$

-3 1 0 -7 6 -3 9 -6 1 -3 2 0 ×(-3) ×(-3) ×(-3)
$$ \begin{aligned} \text{Quotient } Q(x) &= x^2 - 3x + 2 \\ \text{Remainder } R(x) &= 0 \end{aligned} $$
Example 5.3

จงหาร $2x^3 - x^2 + 3$ ด้วย $x - 1$

1 2 -1 0 3 2 1 1 2 1 1 4 ×1 ×1 ×1
$$ \begin{aligned} \text{ผลหาร } Q(x) &= 2x^2 + x + 1 \\ \text{เศษ } R(x) &= 4 \end{aligned} $$

Divide $2x^3 - x^2 + 3$ by $x - 1$.

1 2 -1 0 3 2 1 1 2 1 1 4 ×1 ×1 ×1
$$ \begin{aligned} \text{Quotient } Q(x) &= 2x^2 + x + 1 \\ \text{Remainder } R(x) &= 4 \end{aligned} $$
Example 5.4

ให้ $P(x) = x^4 - 2x^3 - 5x + 1$ จงหา $P(2)$ โดยใช้การหารสังเคราะห์

2 1 -2 0 -5 1 2 0 0 -10 1 0 0 -5 -9 ×2 ×2 ×2 ×2

* ตัวสุดท้ายคือเศษ ซึ่งสอดคล้องกับทฤษฎีบทเศษเหลือ ดังนั้น $P(2) = -9$

Let $P(x) = x^4 - 2x^3 - 5x + 1$. Find $P(2)$ using synthetic division.

2 1 -2 0 -5 1 2 0 0 -10 1 0 0 -5 -9 ×2 ×2 ×2 ×2

* The last term is the remainder, which corresponds to the Remainder Theorem. Therefore, $P(2) = -9$

Example 5.5

จงหาร $2x^2 + 5x - 3$ ด้วย $2x - 1$

* เมื่อหารด้วย $ax - b$ ต้องนำผลหารที่ได้ในบรรทัดสุดท้ายไปหารด้วย $a$ เสมอ!

1/2 2 5 -3 1 3 2 6 0 ×1/2 ×1/2
$$ \begin{aligned} \text{สัมประสิทธิ์ผลหารดิบ} &= (2, 6) \\ \text{นำผลหารมาหารด้วย 2} &= (1, 3) \\ \text{ดังนั้น } Q(x) &= x + 3, \quad \text{เศษ } R(x) = 0 \end{aligned} $$

Divide $2x^2 + 5x - 3$ by $2x - 1$.

* When dividing by $ax - b$, you must always divide the coefficients in the last line by $a$!

1/2 2 5 -3 1 3 2 6 0 ×1/2 ×1/2
$$ \begin{aligned} \text{Raw quotient coefficients} &= (2, 6) \\ \text{Divide the quotient by 2} &= (1, 3) \\ \text{Therefore, } Q(x) &= x + 3, \quad \text{Remainder } R(x) = 0 \end{aligned} $$
6

ทฤษฎีบทตัวประกอบ Factor Theorem

TH

ทฤษฎีบทตัวประกอบ ต่อเนื่องมาจากทฤษฎีบทเศษเหลือ โดยกล่าวว่า:
พหุนาม $x - c$ เป็น ตัวประกอบ (Factor) ของพหุนาม $P(x)$ ก็ต่อเมื่อ $P(c) = 0$

* หากเราหา $c$ ที่ทำให้เศษเป็น $0$ ได้ แสดงว่าเราเจอตัวประกอบ 1 วงเล็บของพหุนามนั้นแล้ว ซึ่งมีประโยชน์มากในการแยกตัวประกอบพหุนามดีกรีสูงๆ

EN

The Factor Theorem follows from the remainder theorem, stating:
A polynomial $x - c$ is a factor of the polynomial $P(x)$ if and only if $P(c) = 0$.

* Finding a $c$ that yields a remainder of $0$ means we've found one factor bracket, which is highly useful for factoring high-degree polynomials.

Example 6.1

จงตรวจสอบว่า $x - 2$ เป็นตัวประกอบของ $P(x) = x^3 - 4x^2 + x + 6$ หรือไม่

$$ \begin{aligned} \text{หา } P(2): \quad P(2) &= (2)^3 - 4(2)^2 + (2) + 6 \\ &= 8 - 16 + 2 + 6 \\ &= 0 \end{aligned} $$

$\text{เนื่องจาก } P(2) = 0 \text{ ดังนั้น } x - 2 \text{ เป็นตัวประกอบ}$

Verify if $x - 2$ is a factor of $P(x) = x^3 - 4x^2 + x + 6$.

$$ \begin{aligned} \text{Find } P(2): \quad P(2) &= (2)^3 - 4(2)^2 + (2) + 6 \\ &= 8 - 16 + 2 + 6 \\ &= 0 \end{aligned} $$

$\text{Since } P(2) = 0\text{, therefore } x - 2 \text{ is a factor.}$

Example 6.2

จงตรวจสอบว่า $x + 1$ เป็นตัวประกอบของ $P(x) = x^3 + 2x^2 - x + 5$ หรือไม่

$$ \begin{aligned} \text{หา } P(-1): \quad P(-1) &= (-1)^3 + 2(-1)^2 - (-1) + 5 \\ &= -1 + 2 + 1 + 5 \\ &= 7 \end{aligned} $$

$\text{เนื่องจาก } P(-1) \neq 0 \text{ ดังนั้น } x + 1 \text{ ไม่เป็นตัวประกอบ}$

Verify if $x + 1$ is a factor of $P(x) = x^3 + 2x^2 - x + 5$.

$$ \begin{aligned} \text{Find } P(-1): \quad P(-1) &= (-1)^3 + 2(-1)^2 - (-1) + 5 \\ &= -1 + 2 + 1 + 5 \\ &= 7 \end{aligned} $$

$\text{Since } P(-1) \neq 0\text{, therefore } x + 1 \text{ is not a factor.}$

Example 6.3

กำหนดให้ $x - 3$ เป็นตัวประกอบของ $x^3 - kx^2 + 2x - 3$ จงหาค่า $k$

$$ \begin{aligned} \text{ให้ } P(x) &= x^3 - kx^2 + 2x - 3 \\ \text{จากทฤษฎีบท: } P(3) &= 0 \\ (3)^3 - k(3)^2 + 2(3) - 3 &= 0 \\ 27 - 9k + 6 - 3 &= 0 \\ 30 - 9k &= 0 \\ 9k &= 30 \\ k &= \frac{10}{3} \end{aligned} $$

Given that $x - 3$ is a factor of $x^3 - kx^2 + 2x - 3$, find the value of $k$.

$$ \begin{aligned} \text{Let } P(x) &= x^3 - kx^2 + 2x - 3 \\ \text{By the theorem: } P(3) &= 0 \\ (3)^3 - k(3)^2 + 2(3) - 3 &= 0 \\ 27 - 9k + 6 - 3 &= 0 \\ 30 - 9k &= 0 \\ 9k &= 30 \\ k &= \frac{10}{3} \end{aligned} $$
Example 6.4

กำหนดให้ $x - 1$ เป็นตัวประกอบของ $P(x) = x^3 - 6x^2 + 11x - 6$ จงแยกตัวประกอบ $P(x)$ ให้สมบูรณ์

$\text{1. นำ } x - 1 \text{ ไปหารสังเคราะห์เพื่อหาผลหาร}$

$$ \begin{array}{c|rrrr} 1 & 1 & -6 & 11 & -6 \\ & & 1 & -5 & 6 \\ \hline & 1 & -5 & 6 & 0 \end{array} $$
$$ \begin{aligned} \text{ได้ผลหาร } Q(x) &= x^2 - 5x + 6 \\ \text{2. แยกตัวประกอบผลหาร: } x^2 - 5x + 6 &= (x - 2)(x - 3) \\ \text{3. สรุป: } P(x) &= (x - 1)(x - 2)(x - 3) \end{aligned} $$

Given that $x - 1$ is a factor of $P(x) = x^3 - 6x^2 + 11x - 6$, factor $P(x)$ completely.

$\text{1. Divide } P(x) \text{ by } x - 1 \text{ using synthetic division to find the quotient.}$

$$ \begin{array}{c|rrrr} 1 & 1 & -6 & 11 & -6 \\ & & 1 & -5 & 6 \\ \hline & 1 & -5 & 6 & 0 \end{array} $$
$$ \begin{aligned} \text{Quotient } Q(x) &= x^2 - 5x + 6 \\ \text{2. Factor the quotient: } x^2 - 5x + 6 &= (x - 2)(x - 3) \\ \text{3. Conclusion: } P(x) &= (x - 1)(x - 2)(x - 3) \end{aligned} $$
Example 6.5

ถ้า $x-1$ และ $x+2$ ต่างก็เป็นตัวประกอบของ $x^3 + ax^2 + bx - 4$ จงหา $a$ และ $b$

$$ \begin{aligned} \text{เงื่อนไขแรก } P(1) &= 0 \\ (1)^3 + a(1)^2 + b(1) - 4 &= 0 \\ a + b - 3 &= 0 \\ \text{ } a + b &= 3 \quad \text{--- (1)} \\ \\ \text{เงื่อนไขสอง } P(-2) &= 0 \\ (-2)^3 + a(-2)^2 + b(-2) - 4 &= 0 \\ -8 + 4a - 2b - 4 &= 0 \\ \text{ } 4a - 2b &= 12 \\ \text{ } 2a - b &= 6 \quad \text{--- (2)} \\ \end{aligned} $$
$$ \begin{aligned} \text{นำสมการ (1) + (2): } (a+b) + (2a-b) &= 3 + 6 \\ 3a &= 9 \\ & a = 3 \\ \text{แทน } a=3 \text{ ใน (1): } 3 + b &= 3 \\ & b = 0 \end{aligned} $$

If both $x-1$ and $x+2$ are factors of $x^3 + ax^2 + bx - 4$, find $a$ and $b$.

$$ \begin{aligned} \text{First condition: } P(1) &= 0 \\ (1)^3 + a(1)^2 + b(1) - 4 &= 0 \\ a + b - 3 &= 0 \\ & a + b = 3 \quad \text{--- (1)} \\ \\ \text{Second condition: } P(-2) &= 0 \\ (-2)^3 + a(-2)^2 + b(-2) - 4 &= 0 \\ -8 + 4a - 2b - 4 &= 0 \\ & 4a - 2b = 12 \\ & 2a - b = 6 \quad \text{--- (2)} \\ \end{aligned} $$
$$ \begin{aligned} \text{Add (1) + (2): } (a+b) + (2a-b) &= 3 + 6 \\ 3a &= 9 \\ & a = 3 \\ \text{Substitute } a=3 \text{ in (1): } 3 + b &= 3 \\ & b = 0 \end{aligned} $$

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

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

คำศัพท์ รากศัพท์ / Root ความหมาย / Meaning
Polynomial poly- (many) + nomen (name/term) พหุนาม · นิพจน์ที่เกิดจากการบวก ลบ คูณ ของตัวแปรและค่าคงตัว โดยมีเลขชี้กำลังเป็นจำนวนเต็มบวกหรือศูนย์
Variable variabilis (changeable) ตัวแปร · สัญลักษณ์ที่ใช้แทนจำนวนที่เปลี่ยนค่าได้หรือไม่ทราบค่า มักใช้อักษรภาษาอังกฤษ
Coefficient co- (together) + efficere (accomplish) สัมประสิทธิ์ · ค่าคงตัว (ตัวเลข) ที่คูณอยู่กับตัวแปรในแต่ละพจน์ของพหุนาม
Degree degre (step, rank) ดีกรี · เลขชี้กำลังที่สูงที่สุดของตัวแปรที่ปรากฏในพหุนามนั้นๆ
Quotient quotiens (how many times) ผลหาร · พหุนามผลลัพธ์ที่ได้จากการกระทำการหาร
Remainder remanere (to stay behind) เศษเหลือ · ส่วนที่เหลืออยู่จากการหารพหุนาม ซึ่งจะมีดีกรีน้อยกว่าตัวหารเสมอ
Factor factor (maker, doer) ตัวประกอบ · พหุนามย่อยที่นำไปหารพหุนามตั้งต้นได้ลงตัวพอดี (เศษเป็นศูนย์)