Math Atlas

유리식의 연산Rational Expressions

Algebra 2Algebra 2 · 4. 유리함수4. Rational Functions

학습 목표
  • 유리식의 제외 조건을 관리하며 약분한다 — 약분 후에도 조건은 남는다.
  • 유리식의 사칙연산을 분수의 문법 그대로, 다항 분모까지 확장한다.
  • 번분수를 정리하고, 부분분수의 첫걸음을 뗀다.

다항식의 분수

정수에서 분수를 만들었듯, 다항식에서 유리식 P(x)Q(x)\dfrac{P(x)}{Q(x)}을 만든다 — 연산 규칙도 분수의 문법 그대로다. 다항식에 없던 한 가지가 따라온다: 분모를 00으로 만드는 xx는 제외된다는 조건이다.

조건은 약분보다 오래 산다:

x21x1=(x1)(x+1)x1=x+1(x1)\frac{x^2 - 1}{x - 1} = \frac{(x-1)(x+1)}{x - 1} = x + 1 \qquad (x \ne 1)

— 약분된 식 x+1x + 1x=1x = 1에서 멀쩡하지만, 원래 식은 거기서 정의되지 않았다. 두 식은 x=1x = 1 한 점만 빼고 같은 함수다(이 한 점의 정체 — 그래프의 "구멍" — 는 다음 차시에서 눈으로 본다).

약분: 인수분해가 먼저

약분은 분자·분모의 공통 인수를 지우는 것 — 그러니 지울 인수가 보이려면 인수분해가 먼저다.

예제

x2+3x+2x24=(x+1)(x+2)(x2)(x+2)=x+1x2(x2).\frac{x^2 + 3x + 2}{x^2 - 4} = \frac{(x+1)(x+2)}{(x-2)(x+2)} = \frac{x+1}{x-2} \qquad (x \ne -2).

주의

지울 수 있는 것은 곱의 인수뿐이다 — x+2x+3\dfrac{x + 2}{x + 3}에서 xx끼리 지우면 23\dfrac23이 되는데, x=1x = 1을 넣어 보면 3423\dfrac34 \ne \dfrac23 — 틀렸다. 덧셈으로 붙은 항은 약분 대상이 아니다. "지우기 전에 곱인지 확인"이 유리식 제일 규칙이다.

곱셈과 나눗셈

분수 그대로 — 곱셈은 분자끼리·분모끼리, 나눗셈은 역수를 곱한다. 인수분해해 두면 약분이 연산 중에 일어난다.

예제

x24x+1×x+1x2=(x2)(x+2)(x+1)(x+1)(x2)=x+2(x1,2).\frac{x^2 - 4}{x + 1} \times \frac{x + 1}{x - 2} = \frac{(x-2)(x+2)(x+1)}{(x+1)(x-2)} = x + 2 \qquad (x \ne -1, 2).

덧셈과 뺄셈: 최소공통분모

통분이 필요하다 — 최소공통분모(LCD)는 등장하는 각 인수를 최고 지수만큼 모은 것이다(최소공배수의 다항식 판).

예제

2x24+1x+2\frac{2}{x^2 - 4} + \frac{1}{x + 2}

분모를 인수분해하면 (x2)(x+2)(x-2)(x+2)(x+2)(x+2) — LCD는 (x2)(x+2)(x-2)(x+2)다:

2(x2)(x+2)+x2(x2)(x+2)=x(x2)(x+2).\frac{2}{(x-2)(x+2)} + \frac{x - 2}{(x-2)(x+2)} = \frac{x}{(x-2)(x+2)}.

검산 — x=3x = 3: 좌변 25+15=35\frac25 + \frac15 = \frac35, 우변 35\frac{3}{5} ✓. 수치 대입 검산은 유리식 연산의 안전벨트다.

뺄셈에서는 빼는 분자 전체에 괄호(x+1)-\,(x+1)의 부호 분배 누락이 유리식 오답의 절반이다.

번분수: 겹친 분수 정리하기

분수 속에 분수가 든 번분수는 두 방법으로 편다: 분자·분모를 각각 정리해 나누거나, 안쪽 분모들의 LCD를 위아래에 한 번에 곱하거나.

예제

1+1x11x    ×xx    x+1x1(x0,1).\frac{1 + \dfrac1x}{1 - \dfrac1x} \;\xrightarrow{\;\times \frac xx\;}\; \frac{x + 1}{x - 1} \qquad (x \ne 0, 1).

한 번의 곱으로 층이 사라졌다 — LCD 일괄 곱이 대개 빠르다. (x0x \ne 0 조건이 정리된 식에는 안 보이지만 살아 있다는 것 — 제외 조건의 관리가 여기서도 핵심이다.)

Goals
  • Simplify rational expressions while managing exclusions — the conditions outlive the cancellation.
  • Extend the four operations to polynomial denominators, by the grammar of fractions.
  • Simplify complex fractions, and take the first step of partial fractions.

Fractions of polynomials

As fractions were built from integers, rational expressions P(x)Q(x)\dfrac{P(x)}{Q(x)} are built from polynomials — and the rules are the fraction grammar verbatim. One companion polynomials never had: any xx zeroing the denominator is excluded.

The condition outlives cancellation:

x21x1=(x1)(x+1)x1=x+1(x1)\frac{x^2 - 1}{x - 1} = \frac{(x-1)(x+1)}{x - 1} = x + 1 \qquad (x \ne 1)

— the reduced x+1x + 1 is fine at x=1x = 1, but the original was undefined there. The two agree everywhere except that single point (whose identity — a "hole" in the graph — becomes visible next lesson).

Cancelling: factor first

Cancellation removes common factors of top and bottom — so factoring comes first, to make the factors visible.

Example

x2+3x+2x24=(x+1)(x+2)(x2)(x+2)=x+1x2(x2).\frac{x^2 + 3x + 2}{x^2 - 4} = \frac{(x+1)(x+2)}{(x-2)(x+2)} = \frac{x+1}{x-2} \qquad (x \ne -2).

Watch out

Only multiplicative factors cancel — strike the xx's in x+2x+3\dfrac{x + 2}{x + 3} to get 23\dfrac23, then test x=1x = 1: 3423\dfrac34 \ne \dfrac23 — wrong. Terms joined by addition are not candidates. "Confirm it's a factor before cancelling" is rational expressions' first law.

Multiplication and division

Straight fraction grammar — multiply across; to divide, multiply by the reciprocal. Keep things factored and the cancelling happens mid-operation.

Example

x24x+1×x+1x2=(x2)(x+2)(x+1)(x+1)(x2)=x+2(x1,2).\frac{x^2 - 4}{x + 1} \times \frac{x + 1}{x - 2} = \frac{(x-2)(x+2)(x+1)}{(x+1)(x-2)} = x + 2 \qquad (x \ne -1, 2).

Addition and subtraction: the LCD

Common denominators are required — the least common denominator collects every factor to its highest power (the polynomial edition of the LCM).

Example

2x24+1x+2\frac{2}{x^2 - 4} + \frac{1}{x + 2}

Factoring gives denominators (x2)(x+2)(x-2)(x+2) and (x+2)(x+2) — LCD (x2)(x+2)(x-2)(x+2):

2(x2)(x+2)+x2(x2)(x+2)=x(x2)(x+2).\frac{2}{(x-2)(x+2)} + \frac{x - 2}{(x-2)(x+2)} = \frac{x}{(x-2)(x+2)}.

Check at x=3x = 3: left 25+15=35\frac25 + \frac15 = \frac35, right 35\frac{3}{5} ✓. Numeric spot-checks are the seatbelt of rational arithmetic.

In subtraction, parenthesize the entire subtracted numerator — a dropped sign on (x+1)-(x+1) accounts for half of all rational-expression errors.

Complex fractions: flattening the layers

A fraction containing fractions flattens two ways: simplify top and bottom separately and divide, or multiply top and bottom at once by the LCD of the inner denominators.

Example

1+1x11x    ×xx    x+1x1(x0,1).\frac{1 + \dfrac1x}{1 - \dfrac1x} \;\xrightarrow{\;\times \frac xx\;}\; \frac{x + 1}{x - 1} \qquad (x \ne 0, 1).

One multiplication collapses the layers — the bulk-LCD route is usually faster. (The condition x0x \ne 0 is invisible in the result yet alive — exclusion management, again, is the heart of it.)