Math Atlas

나머지정리와 인수정리Remainder & Factor Theorems

Algebra 2Algebra 2 · 3. 다항함수3. Polynomial Functions

학습 목표
  • 나머지정리 R=f(a)R = f(a)를 증명하고 즉산 도구로 쓴다.
  • 인수정리(f(a)=0    xaf(a) = 0 \iff x - a가 인수)로 "근 == 인수"의 다리를 완성한다.
  • 삼차 이상의 인수분해와 "근은 차수 이하" 정리에 적용한다.

나머지정리: 이름을 얻는 수법

지난 차시 내내 "제수를 00으로 만드는 값을 대입"해 왔다 — 그 수법이 정리로 승격될 차례다.

정리 (나머지정리) — 다항식 f(x)f(x)xax - a로 나눈 나머지는 f(a)f(a)다.

증명. 나눗셈 정리로 f(x)=(xa)Q(x)+Rf(x) = (x - a)Q(x) + R (RR는 상수). 이 등식은 모든 xx에서 성립하므로 x=ax = a를 대입하면

f(a)=0Q(a)+R=R.f(a) = 0 \cdot Q(a) + R = R. \qquad \blacksquare

두 줄이 전부다 — 대입 한 번이 나눗셈 전체를 대신한다.

예제

f(x)=x203x+5f(x) = x^{20} - 3x + 5x1x - 1로 나눈 나머지: 장제법으로는 스무 단계, 나머지정리로는

f(1)=13+5=3.f(1) = 1 - 3 + 5 = 3.

차수가 클수록 정리의 위력이 커진다 — 나머지는 몫을 몰라도 알 수 있는 정보다.

인수정리: 근과 인수의 다리

나머지가 특별히 00인 경우가 가장 중요하다.

정리 (인수정리) — f(a)=0    xaf(a) = 0 \iff x - af(x)f(x)의 인수다.

증명. 나머지정리로 f(x)=(xa)Q(x)+f(a)f(x) = (x - a)Q(x) + f(a). f(a)=0f(a) = 0이면 f=(xa)Qf = (x - a)Q — 인수다. 거꾸로 xax - a가 인수면 f=(xa)Qf = (x - a)Q 꼴이므로 f(a)=0f(a) = 0. \blacksquare

"aa가 근이다"와 "xax - a로 나누어떨어진다"가 같은 문장임이 확정됐다 — 방정식의 언어와 인수분해의 언어를 잇는 다리이고, 이 다리가 삼차 이상의 세계를 연다.

실전: 삼차를 인수분해하다

이차까지의 인수분해 기술로 안 잡히는 x32x25x+6x^3 - 2x^2 - 5x + 6을 분해하자. 전략: 근 하나를 찾아 인수 하나를 뜯어낸다.

정수근이 있다면 어디서 찾나 — 최고차계수가 11일 때, 정수근은 상수항의 약수여야 한다(정수근 aa를 대입하면 상수항을 제외한 모든 항이 aa의 배수이므로, 상수항도 aa의 배수일 수밖에 없다). 후보는 ±1,±2,±3,±6\pm 1, \pm 2, \pm 3, \pm 6:

f(1)=125+6=0  f(1) = 1 - 2 - 5 + 6 = 0 \; ✓

x1x - 1이 인수다. 조립제법으로 몫을 꺼내면 x2x6=(x3)(x+2)x^2 - x - 6 = (x - 3)(x + 2):

x32x25x+6=(x1)(x3)(x+2).x^3 - 2x^2 - 5x + 6 = (x - 1)(x - 3)(x + 2).

검산 — 상수항: (1)(3)(2)=6(-1)(-3)(2) = 6 ✓. 절차를 요약하면: 후보 대입 → 인수정리 → 조립제법 → 남은 이차는 기존 기술. 고차 인수분해의 표준 조업이다.

근은 차수를 넘지 못한다

인수정리는 그래프 차시에서 예고만 했던 정리를 증명해 준다.

정리 — nn차 다항식은 서로 다른 근을 최대 nn개 갖는다.

증명.a1a_1이 있으면 인수정리로 f=(xa1)Q1f = (x - a_1)Q_1Q1Q_1n1n-1차. Q1Q_1의 근 a2a_2가 있으면 또 뜯어내고 … 근 하나마다 차수가 11씩 줄어드니, 일차 인수를 nn개 뜯어내면 남는 것은 상수 — 더는 근이 나올 자리가 없다. \blacksquare

따름정리 하나가 값지다: nn차 이하 다항식 둘이 n+1n + 1개 점에서 일치하면 두 다항식은 같다 — 차가 n+1n+1개의 근을 가진 nn차 이하 다항식이 되므로, 영다항식일 수밖에 없다. "점 몇 개가 다항식을 결정하는가"의 대답이다(두 점이 직선을, 세 점이 포물선을 정하던 경험의 일반판).

주의

나머지정리는 일차식 xax - a로 나눌 때의 나머지만 말한다 — 이차식으로 나눈 나머지는 f(a)f(a) 하나로 안 정해지고, 지난 차시처럼 ax+bax + b를 세워 두 값을 써야 한다. 그리고 x+3x + 3으로 나눈 나머지는 f(3)f(3)이 아니라 f(3)f(-3) — 부호는 언제나 "제수를 00으로 만드는 값"으로 확인하라.

Goals
  • Prove the remainder theorem R=f(a)R = f(a) and use it for instant remainders.
  • Complete the root-factor bridge with the factor theorem (f(a)=0    xaf(a) = 0 \iff x - a is a factor).
  • Apply both to factoring cubics and beyond, and to "roots never exceed the degree."

The remainder theorem: a move earns its name

All last lesson we "substituted the value that zeroes the divisor" — time to promote the move to a theorem.

Theorem (remainder theorem) — The remainder of f(x)f(x) divided by xax - a is f(a)f(a).

Proof. By the division theorem, f(x)=(xa)Q(x)+Rf(x) = (x - a)Q(x) + R with RR constant. The identity holds for every xx, so at x=ax = a:

f(a)=0Q(a)+R=R.f(a) = 0 \cdot Q(a) + R = R. \qquad \blacksquare

Two lines — one substitution replaces the entire division.

Example

The remainder of f(x)=x203x+5f(x) = x^{20} - 3x + 5 upon division by x1x - 1: twenty steps of long division, or

f(1)=13+5=3.f(1) = 1 - 3 + 5 = 3.

The theorem's power grows with the degree — the remainder is knowable without the quotient.

The factor theorem: the root-factor bridge

The case of remainder exactly 00 matters most.

Theorem (factor theorem) — f(a)=0    xaf(a) = 0 \iff x - a is a factor of f(x)f(x).

Proof. By the remainder theorem, f(x)=(xa)Q(x)+f(a)f(x) = (x - a)Q(x) + f(a). If f(a)=0f(a) = 0, then f=(xa)Qf = (x - a)Q — a factor. Conversely, if xax - a is a factor, f=(xa)Qf = (x - a)Q gives f(a)=0f(a) = 0. \blacksquare

"aa is a root" and "xax - a divides ff" are now the same sentence — the bridge between the language of equations and the language of factoring, and the bridge that opens the world beyond quadratics.

In the field: factoring a cubic

Factor x32x25x+6x^3 - 2x^2 - 5x + 6, which quadratic-era techniques cannot touch. Strategy: find one root, tear off one factor.

Where to hunt integer roots — with leading coefficient 11, an integer root must divide the constant term (substitute an integer root aa: every term except the constant is a multiple of aa, so the constant must be too). Candidates: ±1,±2,±3,±6\pm 1, \pm 2, \pm 3, \pm 6:

f(1)=125+6=0  f(1) = 1 - 2 - 5 + 6 = 0 \; ✓

So x1x - 1 is a factor. Synthetic division extracts the quotient x2x6=(x3)(x+2)x^2 - x - 6 = (x - 3)(x + 2):

x32x25x+6=(x1)(x3)(x+2).x^3 - 2x^2 - 5x + 6 = (x - 1)(x - 3)(x + 2).

Check the constant: (1)(3)(2)=6(-1)(-3)(2) = 6 ✓. The procedure in one line: try candidates → factor theorem → synthetic division → finish the quadratic with old tools. The standard operation for higher-degree factoring.

Roots cannot outnumber the degree

The factor theorem proves what the graphs lesson only promised.

Theorem — A degree-nn polynomial has at most nn distinct roots.

Proof. A root a1a_1 gives f=(xa1)Q1f = (x - a_1)Q_1 with Q1Q_1 of degree n1n-1. A root of Q1Q_1 tears off another factor… each root costs one degree, so after nn linear factors only a constant remains — no room for more roots. \blacksquare

One corollary is precious: two polynomials of degree at most nn agreeing at n+1n + 1 points are identical — their difference would be a degree-n\le n polynomial with n+1n+1 roots, hence the zero polynomial. This answers "how many points determine a polynomial" (the general edition of two points fixing a line, three a parabola).

Watch out

The remainder theorem speaks only of linear divisors xax - a — a quadratic divisor's remainder is not determined by one value; set up ax+bax + b with two values, as last lesson. And the remainder upon dividing by x+3x + 3 is f(3)f(-3), not f(3)f(3) — always confirm the sign by "the value that zeroes the divisor."