calculus

部分分式分解:完整的工作流程

一份不灌水的部分分式講解——四種情形(相異一次、重複一次、不可約二次、重複二次),附解題範例與積分技巧。
AI-Math Editorial Team

By AI-Math Editorial Team

Published 2026-05-01

部分分式分解是一項代數技能,它能讓你積分這世界上任意一個有理函數。與其和一個醜陋的分數搏鬥,不如把它拆成若干個可以逐項輕鬆積分的部分。本指南會帶你走過你會遇到的每一種情形。

準備工作

有理函數P(x)Q(x)\frac{P(x)}{Q(x)},其中 P,QP, Q 是多項式。部分分式只在 PP 的次數 < QQ 的次數 時才有效。如果不滿足,先做多項式長除法,把多項式部分剝離出來。

做完除法後,把 Q(x)Q(x) 在實數範圍內完全因式分解。每個因式都屬於以下四種類別之一。

四種情形

情形 1:相異一次因式

如果 Q(x)=(xa)(xb)Q(x) = (x - a)(x - b),寫成:

P(x)(xa)(xb)=Axa+Bxb\frac{P(x)}{(x-a)(x-b)} = \frac{A}{x-a} + \frac{B}{x-b}

範例。 分解 5x1(x1)(x+2)\frac{5x - 1}{(x - 1)(x + 2)}

兩邊同乘:5x1=A(x+2)+B(x1)5x - 1 = A(x + 2) + B(x - 1)

代入 x=1x = 14=3AA=4/34 = 3A \Rightarrow A = 4/3
代入 x=2x = -211=3BB=11/3-11 = -3B \Rightarrow B = 11/3

所以 5x1(x1)(x+2)=4/3x1+11/3x+2\frac{5x-1}{(x-1)(x+2)} = \frac{4/3}{x-1} + \frac{11/3}{x+2}

情形 2:重複一次因式

對於 (xa)k(x - a)^k,你需要每個冪次各一項,直到 kk

A1xa+A2(xa)2++Ak(xa)k\frac{A_1}{x-a} + \frac{A_2}{(x-a)^2} + \dots + \frac{A_k}{(x-a)^k}

情形 3:不可約二次因式

對每個不可約的 x2+bx+cx^2 + bx + c,用一個帶兩個未知數的分子:

Bx+Cx2+bx+c\frac{Bx + C}{x^2 + bx + c}

情形 4:重複的不可約二次

與情形 2 思路相同,但每個冪次都取 Bx+CBx + C 的形式。

在積分中的應用

一旦分解完成,就逐項積分:

  • 1xadx=lnxa+C\int \frac{1}{x - a} dx = \ln|x - a| + C
  • 1(xa)kdx=1(k1)(xa)k1+C\int \frac{1}{(x - a)^k} dx = \frac{-1}{(k-1)(x-a)^{k-1}} + C(當 k>1k > 1 時)
  • Bx+Cx2+bx+cdx\int \frac{Bx + C}{x^2 + bx + c} dx 拆成一個 ln\ln 部分和一個 arctan\arctan 部分。

常見錯誤

  • PP 的次數 ≥ QQ 的次數時,忘了先做長除法
  • 跳過重複項——(x1)3(x - 1)^3 需要三個獨立的分式。
  • 試圖因式分解不可約二次式——在硬求實根之前先檢查判別式。

用 AI 積分求解器試一試

積分求解器會在需要時自動進行部分分式分解,並展示每一步。

相關參考:

Frequently Asked Questions

Partial fraction decomposition breaks a rational function into a sum of simpler fractions that are easier to integrate. It is primarily used in integral calculus but also appears in Laplace transforms and solving differential equations.

For each distinct linear factor (ax + b) in the denominator, write a term A/(ax + b). For repeated linear factors (ax + b)ⁿ, write A₁/(ax+b) + A₂/(ax+b)² + ... + Aₙ/(ax+b)ⁿ. Then solve for constants by matching coefficients.

First ensure the rational function is proper — the degree of the numerator must be less than the degree of the denominator. If the function is improper, perform polynomial long division first, then decompose the proper remainder part.

AI-Math Editorial Team

By AI-Math Editorial Team

Published 2026-05-01

A small team of engineers, mathematicians, and educators behind AI-Math, focused on making step-by-step math help accessible to every student.