Partial Fraction Calculator
Decompose rational functions quickly into partial fractions. This calculator handles proper rational expressions with linear factors and repeated linear factors, such as (2x+3)/((x-1)(x+2)) or (3x+5)/(x-1)^2(x+3).
Enter the rational function
Instead of typing a full expression parser, enter the numerator coefficients and choose denominator factors directly. This makes the calculator stable and lets it solve for the unknown constants accurately.
For linear factors, the calculator rewrites P(x) / [(x-r₁)^{m₁}(x-r₂)^{m₂}…] as a sum such as A/(x-r₁) + B/(x-r₁)^2 + C/(x-r₂) + … and solves for the constants numerically.
Partial fraction decomposition is one of the most essential algebraic techniques in calculus, differential equations, and engineering mathematics. Whether you are simplifying a complex rational expression before integration, applying the Laplace transform to a differential equation, or analyzing a transfer function in control systems, knowing how to break a rational function into its simpler component fractions unlocks an enormous range of problems. This free partial fraction calculator gives students, educators, and working professionals an immediate way to verify results, explore the decomposition process step by step, and handle rational functions that would be tedious to work through by hand.
At WalDev, every tool in the math calculators collection is designed to support genuine understanding rather than simply producing answers. The content below explains the underlying theory, walks through worked examples covering every case type, clarifies the most common mistakes, and provides the context needed to interpret decomposition results with confidence.
What Is Partial Fraction Decomposition?
Partial fraction decomposition is an algebraic technique used to rewrite a rational function — that is, a ratio of two polynomials — as a sum of simpler rational expressions whose denominators are factors of the original denominator. The goal is to transform one complicated fraction into several smaller fractions that are individually easier to work with.
To understand the core intuition, think about how fraction addition works in the forward direction. Given two simple fractions such as 2/(x + 1) and 3/(x − 2), you combine them over a common denominator to produce a single fraction with a quadratic denominator. Partial fraction decomposition runs that process in reverse: you start with the combined fraction and find the original simpler pieces. This reversal is enormously useful in calculus because integrals of simple fractions — particularly those with linear denominators — are straightforward logarithmic antiderivatives, while an integral of the combined form can appear intractable at first encounter.
The technique was formalized as part of the broader development of calculus and algebra in the 17th and 18th centuries and today appears in virtually every undergraduate mathematics curriculum that includes integral calculus. It underpins computational methods used in signal processing, control theory, probability, and physics. According to Wolfram MathWorld’s authoritative reference on partial fraction decomposition, the method applies to any proper rational function and provides a decomposition that is unique once the factored form of the denominator is known.
Formally, any proper rational function P(x)/Q(x) — where the degree of the numerator P is strictly less than the degree of the denominator Q — can be expressed as a finite sum of partial fractions corresponding to the irreducible factors of Q(x) over the real numbers. Those factors are either linear terms of the form (ax + b) or quadratic terms of the form (ax² + bx + c) where the discriminant b² − 4ac is negative, meaning the quadratic has no real roots.
What it rewrites
A proper rational function P(x)/Q(x) is expressed as a sum of simpler fractions, each with a denominator that is a factor or repeated factor of the original Q(x).
Why it is unique
Every polynomial over the real numbers factors into a product of linear and irreducible quadratic terms. The decomposition theorem guarantees exactly one matching set of numerator constants for each factor configuration.
Where it applies
Integration of rational functions, inverse Laplace and Z-transforms, transfer function analysis in engineering, generating function computations in probability, and partial differential equation solution methods.
Why Partial Fraction Decomposition Matters in Calculus and Engineering
It is easy to underestimate this technique when first encountering it as an algebraic exercise. Its real importance becomes clear only in the contexts where it is indispensable. In single-variable calculus, partial fractions are the primary tool for integrating rational functions — a class of integrals that appears constantly in applied problems ranging from population dynamics to circuit analysis to fluid mechanics.
Consider a concrete illustration: to evaluate the integral of (3x + 5) divided by (x² + 3x + 2), the first reaction might be uncertainty about how to proceed. Factor the denominator into (x + 1)(x + 2), decompose the fraction into A/(x + 1) + B/(x + 2), and the integral immediately reduces to two separate logarithmic integrals that can be written down in seconds. The same principle scales upward to integrands with quadratic denominators, repeated linear factors, and combinations of all factor types.
In engineering and applied mathematics, partial fractions are equally central to the Laplace transform method for solving linear differential equations. When you apply the Laplace transform to a differential equation, you obtain an algebraic expression for the output in the s-domain. To recover the time-domain solution, you must apply the inverse Laplace transform, and in most practical cases this first requires decomposing the s-domain expression into partial fractions whose inverse transforms are recognizable standard forms — typically exponential functions, sinusoids, or polynomials multiplied by exponentials. Electrical engineers designing filters, control engineers analyzing stability, and physicists studying wave scattering all encounter this workflow routinely.
Having a reliable decomposition calculator accelerates both learning and applied practice at every level. The free tools at WalDev — including this partial fraction calculator — are built on the principle that a good calculator should help you understand the mathematics rather than simply replace it.
When partial fraction results feed into iterated integrals or multivariable calculus problems, the free Double Integral Calculator on WalDev handles rectangular and variable-bound regions for f(x,y) and complements partial fraction techniques in advanced calculus settings.
Prerequisites and Proper Rational Forms
Before applying partial fraction decomposition, two conditions must be satisfied. Understanding both is critical to using the technique correctly and to interpreting the calculator output with accuracy.
Condition 1 — The Rational Function Must Be Proper
A rational function P(x)/Q(x) is called proper when the degree of the numerator polynomial P(x) is strictly less than the degree of the denominator polynomial Q(x). For example, (2x + 3)/(x² + 5x + 6) is proper because the numerator has degree 1 and the denominator has degree 2. In contrast, (x³ + 2x)/(x² + 1) is improper because the numerator has degree 3, exceeding the denominator’s degree of 2.
If your rational function is improper, you must first perform polynomial long division to write it as the sum of a polynomial quotient and a proper rational remainder. Only the proper remainder fraction is then decomposed into partial fractions. The polynomial quotient remains as-is. Many students skip this step and apply decomposition directly to an improper fraction, producing equations that either have no solution or yield wrong constants. The calculator handles this automatically, but knowing the requirement helps you recognize when long division must precede any other steps.
Condition 2 — The Denominator Must Be Fully Factored
Partial fraction decomposition works by matching each partial fraction term to a specific factor of the denominator. If the denominator is only partially factored, the decomposition template will be missing terms, and the resulting system of equations will produce incorrect constants. This means Q(x) must be factored completely into its irreducible linear and quadratic factors over the real numbers before the template is written.
Factoring the denominator is often the most skill-intensive part of the process. Useful strategies include the Rational Root Theorem for identifying rational roots, the quadratic formula for degree-2 polynomial factors, algebraic grouping, and recognizing special patterns such as the difference of squares or sum and difference of cubes. For higher-degree denominators that resist analytic factoring, numerical root-finding methods or computer algebra systems may be necessary.
Before decomposition, verify:
deg(P) < deg(Q) -- function is proper
Q(x) fully factored over R -- all irreducible factors identified
If deg(P) >= deg(Q), perform long division first:
P(x)/Q(x) = quotient(x) + remainder(x)/Q(x)
Decompose only: remainder(x)/Q(x)
Uniqueness note: The uniqueness theorem guarantees that once the denominator is correctly factored and the function is proper, there is exactly one set of constants that produces a valid decomposition. If your algebra yields a contradictory or underdetermined system, the most likely cause is an incomplete factorization or an improperly handled improper function.
The Four Case Types in Partial Fraction Decomposition
The form of the partial fraction expansion depends entirely on the nature of the factors in the denominator. There are exactly four cases to handle, and mastering each one separately is the clearest path to fluency with the technique. In practice, most rational functions encountered in advanced courses involve combinations of these cases, but each piece of the decomposition always follows one of these four patterns.
Case 1 — Distinct Linear Factors
When the denominator factors into distinct (non-repeating) linear factors, each factor contributes one partial fraction term with a constant numerator. This is the simplest case and the most frequently encountered at the introductory calculus level. Every distinct factor (aₖx + bₖ) gives exactly one term Aₖ/(aₖx + bₖ) where Aₖ is an unknown constant.
P(x) / [(a1 x + b1)(a2 x + b2)] = A/(a1 x + b1) + B/(a2 x + b2)
Each of A and B is a constant to be determined.
Case 2 — Repeated Linear Factors
When a linear factor (ax + b) appears raised to a power n in the denominator, you must include n separate partial fraction terms for that factor, with denominators (ax + b), (ax + b)², up to (ax + b)ⁿ. Each term carries its own constant numerator. Omitting any of these terms is a critical error that produces an underdetermined or contradictory system.
P(x) / (ax + b)^n = A1/(ax+b) + A2/(ax+b)^2 + ... + An/(ax+b)^n
Each Ai is a separate constant to be determined.
Case 3 — Distinct Irreducible Quadratic Factors
When the denominator contains an irreducible quadratic factor — a quadratic ax² + bx + c where b² − 4ac is negative — that factor contributes one partial fraction term with a linear numerator of the form (Ax + B), not just a constant. Writing only a single constant A over a quadratic denominator is one of the most common mistakes in this technique. The rule is that the numerator degree must be one less than the denominator factor degree.
P(x) / [(ax^2 + bx + c)(dx + e)] = (Ax + B)/(ax^2 + bx + c) + C/(dx + e)
Numerator over an irreducible quadratic MUST be linear: (Ax + B), not a constant.
Case 4 — Repeated Irreducible Quadratic Factors
When an irreducible quadratic factor is itself raised to a power n, you need n separate terms with distinct linear numerators. This situation arises less often in introductory calculus but appears regularly in Laplace transform analysis, control system transfer functions, and certain areas of applied mathematics.
P(x) / (ax^2 + bx + c)^n = (A1 x + B1)/(ax^2+bx+c)
+ (A2 x + B2)/(ax^2+bx+c)^2
+ ...
+ (An x + Bn)/(ax^2+bx+c)^n
| Case | Factor Type | Number of Terms Generated | Numerator Form per Term |
|---|---|---|---|
| 1 | Distinct linear (ax + b) | One per distinct factor | Constant: A |
| 2 | Repeated linear (ax + b)ⁿ | n terms per repeated factor | Constant: A₁, A₂, …, Aⁿ |
| 3 | Distinct irreducible quadratic | One per distinct factor | Linear: Ax + B |
| 4 | Repeated irreducible quadratic (ax²+bx+c)ⁿ | n terms per repeated factor | Linear: A₁x+B₁, A₂x+B₂, … |
Step-by-Step Decomposition Process
Regardless of which case types appear in a particular problem, the overall process follows the same logical sequence every time. Working through each stage carefully prevents the errors that most commonly derail students mid-problem, and the same sequence applies whether you are doing the work by hand or checking results against the calculator.
Compare the degree of the numerator to the degree of the denominator. If deg(P) ≥ deg(Q), perform polynomial long division first and isolate the proper remainder. Partial fraction decomposition applies only to the remainder fraction; the quotient polynomial integrates or inverts directly by standard rules.
Factor Q(x) into its irreducible linear and quadratic factors over the real numbers. For each quadratic component, compute the discriminant b² − 4ac to determine whether it is reducible (two real linear factors) or irreducible (no real roots). Account carefully for any repeated factors, noting the multiplicity of each.
Using the factor types identified, write out the complete partial fraction form before doing any algebra. Include one term per distinct linear factor, n terms per repeated linear factor of multiplicity n, one term per distinct irreducible quadratic, and n terms per repeated irreducible quadratic. Assign placeholder constants A, B, C, … and linear placeholders Ax + B, Cx + D, … as appropriate for each term.
Clear all fractions by multiplying both sides of the equation by Q(x). This produces a polynomial identity: the left side becomes the numerator P(x), and the right side becomes a polynomial expression in the unknown constants. At this point there are no fractions left to manage.
Use the substitution method (plug in values of x that are roots of the denominator factors, each of which zeros out one or more terms), the coefficient comparison method (expand the right side fully and equate the coefficients of each power of x on both sides), or a combination of both. Solve the resulting linear system for all unknown constants.
Substitute the computed constants back into the template and write the complete partial fraction expansion. Verify your result by recombining the partial fractions over a common denominator and confirming the sum equals the original rational function. This verification step catches arithmetic and sign errors before they carry forward into integration or transform work.
Fully Worked Examples
The best way to build fluency with partial fraction decomposition is to work through examples that cover each case type systematically. The four examples below progress from the simplest scenario to a mixed-case problem, mirroring the typical progression across a calculus course.
Example 1 — Distinct Linear Factors (Case 1)
Decompose: (3x + 5) / (x² + 3x + 2)
Step 1: Numerator degree 1 < denominator degree 2 — function is proper. ✓
Step 2: x² + 3x + 2 = (x + 1)(x + 2). Both factors are distinct and linear. Case 1 applies to each.
Step 3: Template: (3x + 5) / [(x+1)(x+2)] = A/(x+1) + B/(x+2)
Step 4: Multiply through: 3x + 5 = A(x+2) + B(x+1)
Step 5: Set x = −1: 2 = A(1) → A = 2. Set x = −2: −1 = B(−1) → B = 1.
Result: (3x + 5) / (x² + 3x + 2) = 2/(x+1) + 1/(x+2)
Verify: 2(x+2) + 1(x+1) over (x+1)(x+2) = (2x+4+x+1)/(x+1)(x+2) = (3x+5)/(x²+3x+2). ✓
Example 2 — Repeated Linear Factor (Case 2)
Decompose: (2x + 1) / [(x − 3)(x + 1)²]
Step 1: Degree 1 < degree 3 — proper. ✓
Step 2: (x − 3) is distinct linear (Case 1); (x + 1)² is repeated linear of multiplicity 2 (Case 2), contributing two terms.
Step 3: Template: A/(x−3) + B/(x+1) + C/(x+1)²
Step 4: 2x + 1 = A(x+1)² + B(x−3)(x+1) + C(x−3)
Step 5:
x = 3: 7 = A(16) → A = 7/16.
x = −1: −1 = C(−4) → C = 1/4.
Equate x² coefficients: 0 = A + B → B = −7/16.
Result: (7/16)/(x−3) − (7/16)/(x+1) + (1/4)/(x+1)²
Example 3 — Irreducible Quadratic Factor (Case 3)
Decompose: (x² + 2x + 3) / [(x − 1)(x² + 4)]
Step 1: Degree 2 < degree 3 — proper. ✓
Step 2: (x − 1) is distinct linear. x² + 4 has discriminant −16 < 0, so it is irreducible (Case 3 — linear numerator required).
Step 3: Template: A/(x−1) + (Bx + C)/(x² + 4)
Step 4: x² + 2x + 3 = A(x² + 4) + (Bx + C)(x − 1)
Step 5:
x = 1: 6 = 5A → A = 6/5.
Coefficient of x²: 1 = A + B → B = −1/5.
Constant terms: 3 = 4A − C → C = 24/5 − 15/5 = 9/5.
Result: (6/5)/(x−1) + (−x/5 + 9/5)/(x² + 4)
Example 4 — Mixed Case (Distinct Linear + Repeated Linear)
Decompose: (5x² − 3x + 2) / [x(x − 2)²]
Step 1: Degree 2 < degree 3 — proper. ✓
Step 2: x is a distinct linear factor (Case 1); (x − 2)² is a repeated linear factor of multiplicity 2 (Case 2), contributing two separate terms.
Step 3: Template: A/x + B/(x−2) + C/(x−2)²
Step 4: 5x² − 3x + 2 = A(x−2)² + Bx(x−2) + Cx
Step 5:
x = 0: 2 = 4A → A = 1/2.
x = 2: 20 − 6 + 2 = 2C → C = 8.
Coefficient of x²: 5 = A + B → B = 9/2.
Result: (1/2)/x + (9/2)/(x−2) + 8/(x−2)²
When decomposed fractions appear inside composite functions during subsequent calculus work, the free Chain Rule Calculator on WalDev handles step-by-step derivative computation and works naturally alongside partial fraction results.
Partial Fractions in Integration
The primary motivation for partial fraction decomposition in a standard calculus curriculum is integration. Every introductory calculus course includes integrals of rational functions, and partial fractions are the central tool for evaluating them. Understanding how decomposition results connect to specific integral forms allows efficient movement from algebraic manipulation to a complete antiderivative.
Integrals Arising from Linear Denominators
Partial fractions with linear denominators produce logarithmic antiderivatives. The integral of A/(ax + b) with respect to x equals (A/a) · ln|ax + b| + C. For a factor with a = 1, this simplifies to A · ln|x + k| + C. This is why decomposing a rational function into partial fractions with linear denominators makes integration immediate: one complicated integral becomes several simple logarithms.
INT A/(ax + b) dx = (A/a) * ln|ax + b| + C
Example (from Example 1):
INT (3x+5)/(x^2+3x+2) dx = INT 2/(x+1) dx + INT 1/(x+2) dx
= 2*ln|x+1| + ln|x+2| + C
Integrals Arising from Repeated Linear Denominators
Partial fractions over repeated linear factors produce a combination of logarithmic and power-rule antiderivatives. A term A/(ax + b) integrates logarithmically as before. A term A/(ax + b)ⁿ for n ≥ 2 integrates by the power rule to −A / [(n−1)(ax + b)ⁿ⁻¹] · (1/a) + C. All of these are elementary antiderivatives — the decomposition step is what makes them accessible.
Integrals Arising from Irreducible Quadratic Denominators
Partial fractions over irreducible quadratic denominators require completing the square and produce a combination of a natural logarithm and an arctangent. The numerator (Ax + B) is split into a part proportional to the derivative of the denominator (which integrates to a logarithm) and a remaining constant-numerator part (which, after completing the square in the denominator, integrates to an arctangent). This is more algebraically involved but entirely systematic.
INT (Ax + B)/(x^2 + px + q) dx
Split numerator:
= (A/2) * INT (2x + p)/(x^2+px+q) dx + (B - Ap/2) * INT 1/(x^2+px+q) dx
First part --> (A/2)*ln|x^2+px+q| + C1
Second part --> complete the square, then arctan form
When applying these integration results in probability or statistics problems that involve rational generating functions, numerical tools can help verify intermediate values. The standard deviation calculator and other quantitative aids at WalDev support the numerical side of problems where integral calculus interacts with statistical models.
Partial Fractions and Laplace Transforms
One of the most practically important applications of partial fraction decomposition outside a pure calculus setting is its role in the Laplace transform method for solving linear ordinary differential equations. This is a core technique in engineering mathematics, appearing in courses on differential equations, signals and systems, and control theory.
The Laplace Transform Workflow
The Laplace transform converts a differential equation in the time domain (a function of t) into an algebraic equation in the frequency domain (a function of the complex variable s). Solving the algebraic equation for the transform of the unknown function is relatively straightforward. The challenge comes in recovering the time-domain solution by applying the inverse Laplace transform.
In nearly all practical cases, the Laplace-domain expression for the solution is a rational function of s. Standard inverse Laplace transform tables list results for simple forms: 1/s, 1/(s + a), 1/(s² + ω²), and similar patterns. To apply these tables, you must first decompose the rational function of s into partial fractions that match the table entries. Each partial fraction then corresponds to a known time-domain function, and the full inverse transform is the sum of those individual terms.
Laplace Example: Find the inverse Laplace transform of Y(s) = (2s + 3) / [(s + 1)(s + 2)]
Decompose: Y(s) = A/(s+1) + B/(s+2)
Set s = −1: 2(−1) + 3 = A(1) → A = 1
Set s = −2: 2(−2) + 3 = B(−1) → B = 1
So Y(s) = 1/(s+1) + 1/(s+2)
Apply inverse Laplace transform: y(t) = e−t + e−2t for t ≥ 0
The s-Domain vs. x-Domain: Identical Algebra, Different Context
The independent variable in Laplace-transform partial fractions is s rather than x, but the algebraic process is absolutely identical. The factor types, the template-writing step, the clearing of fractions, and the solution for unknown constants all proceed exactly as described in the case types section above. Skill in partial fraction decomposition for calculus integrals transfers directly and completely to the Laplace transform context. Complex poles — factors of the form s² + ω² — correspond to irreducible quadratic cases and produce sinusoidal time-domain terms involving sin(ωt) and cos(ωt) upon inversion. Repeated poles correspond to repeated linear cases and produce terms multiplied by t in the time domain, a feature with important physical interpretations in resonance and underdamped system analysis.
For students working through differential equations, mastering partial fractions for both Laplace transforms and integration simultaneously consolidates the underlying algebra to the point where the technique becomes automatic. The same decomposition calculator used for calculus integrals applies directly to Laplace problems — simply substitute s for x in your thinking.
Advanced Concepts Connected to Partial Fraction Decomposition
The Heaviside Cover-Up Method
The Heaviside cover-up method is a shortcut for finding constants in partial fraction decompositions that involve only distinct linear factors. Named after the English mathematician and electrical engineer Oliver Heaviside, the method allows determination of each constant by mentally covering the corresponding factor in the original denominator and evaluating the remaining expression at the root of that factor. For a fraction P(x) / [(x − r₁)(x − r₂)…(x − rⁿ)], the constant Aₖ for the factor (x − rₖ) is simply P(rₖ) divided by the product of all other factors evaluated at rₖ.
The cover-up method is fast and elegant for distinct linear cases, but it does not extend cleanly to repeated factors or irreducible quadratic factors. For those cases, the full coefficient-matching method — or a combination of strategic substitution and matching — remains necessary. Many instructors teach the cover-up method first as an efficient tool for the simplest case while emphasizing that coefficient matching is the only approach that works universally.
Complex Partial Fractions
In engineering and mathematical physics contexts, partial fractions are sometimes performed over the complex numbers. In the complex setting, every polynomial factors completely into linear factors (there are no irreducible quadratics, since every quadratic has two complex roots). Complex partial fraction expansions therefore involve only Case 1 and Case 2 patterns, simplifying the template structure at the cost of introducing complex-valued constants. For Laplace transform analysis, the complex approach can be more streamlined for problems with many poles, while the real approach is typically preferred in undergraduate curricula because it keeps all intermediate values real and connects naturally to the arctangent integration forms covered in calculus courses.
Z-Transforms and Digital Signal Processing
The Z-transform is the discrete-time analog of the Laplace transform. It converts difference equations — the recurrence relations governing discrete-time systems — into algebraic equations in the z-domain. The inverse Z-transform relies on partial fraction decomposition of rational functions of z, following exactly the same four case types as in the continuous setting. Students in digital signal processing, digital control, and discrete mathematics encounter this application regularly, and their facility with the technique carries over completely from what they learned in calculus.
Partial Fractions in Probability Theory
In probability theory and stochastic processes, generating functions — probability generating functions, moment generating functions, and characteristic functions — are frequently rational functions. Computing the distribution of sums of independent random variables, extracting moment sequences, or analyzing Markov chain absorption probabilities can all produce rational generating functions whose coefficients encode probability values. Partial fraction decomposition converts these rational generating functions into forms whose coefficients can be read off directly, turning abstract algebraic expressions back into concrete sequences of numbers.
Solving the linear system that arises from equating polynomial coefficients in partial fraction problems is a direct linear algebra task. For decompositions with four or more unknown constants, the free Determinant Calculator on WalDev supports matrices up to 8×8 with fraction inputs, making it practical for the exact arithmetic these problems require.
Common Mistakes to Avoid in Partial Fraction Decomposition
Partial fraction decomposition is a methodical algebraic process, and the errors that arise almost always result from rushing one of the preparatory steps rather than from a fundamental misunderstanding. Awareness of the most frequent pitfalls saves significant time and prevents incorrect results from propagating into downstream work.
Attempting decomposition on an improper fraction
Applying partial fraction decomposition directly to a rational function where the numerator degree equals or exceeds the denominator degree produces a system that either has no solution or yields wrong constants. Always verify degrees first. If the function is improper, long division is a required first step — the decomposition then applies only to the proper remainder.
Incomplete factorization of the denominator
A denominator that is only partially factored leads to an incorrect template with missing terms. Factoring x³ − x as x(x² − 1) but failing to further factor (x² − 1) into (x − 1)(x + 1) is a classic example. Always factor to the fullest extent over the real numbers before writing the template.
Missing terms for repeated factors
If (ax + b)² appears in the denominator, two separate terms — A/(ax + b) and B/(ax + b)² — are both required. Writing only one produces an underdetermined or contradictory system. The number of terms for a factor of multiplicity n is exactly n, one for each power from 1 through n.
Writing a constant numerator over a quadratic denominator
The numerator over an irreducible quadratic factor must be linear (Ax + B), not a single constant. Writing only a constant produces a system with too few degrees of freedom and gives wrong answers. The rule: the numerator degree must be one less than the factor degree. Over a quadratic factor, the numerator is linear.
Arithmetic errors during expansion and coefficient matching
Expanding products like A(x + 2)² or (Bx + C)(x − 1) carelessly is one of the most frequent sources of error. Work through each product one factor at a time, write out every term explicitly, and group like terms systematically before comparing coefficients on both sides.
Confusing sum of squares with difference of squares
The expression x² + c² for any positive real c is irreducible over the real numbers — it does not factor. Only x² − c² factors into (x − c)(x + c). Treating a sum of squares as factorable leads to an entirely wrong template and incorrect decomposition results.
Skipping the verification step
Adding the partial fractions back together over a common denominator and confirming they equal the original function takes only a few moments and catches arithmetic errors, sign mistakes, and coefficient errors before they cause problems in the next step of an integration or transform problem.
Tips for Using the Partial Fraction Calculator Effectively
A partial fraction calculator delivers the most value when used as a learning aid and verification tool rather than a shortcut around understanding. The following practices help you extract maximum benefit from the calculator while continuing to build genuine mathematical skill.
Attempt the problem by hand first
Before entering an expression, work through the decomposition on paper. Then use the calculator to verify. When your answer matches, confidence in the technique grows quickly. When it differs, you have a direct point of comparison to locate your error.
Use it to confirm factor types
If you are unsure whether a quadratic in the denominator is irreducible, the calculator output directly shows which case type applies. Observing this repeatedly across different examples accelerates pattern recognition.
Deliberately try improper functions
Enter an improper rational function and observe how the calculator handles the long division step before decomposing the remainder. Seeing this sequence executed correctly clarifies the preparatory step in a concrete way that abstract description cannot match.
Build examples from known components
Choose your own partial fraction constants, combine the fractions algebraically to produce a single rational function, then enter the combined fraction into the calculator and confirm it recovers the original pieces. This active exercise builds familiarity with the technique more rapidly than passive reading.
Connect decomposition results to integration
After obtaining a decomposition, practice evaluating the integral of each partial fraction term. This connects the algebraic result to its calculus application and reinforces both skills simultaneously rather than treating them as separate topics.
Watch your input format
Enter numerator and denominator as simplified polynomials with coefficients listed in decreasing degree order. Ensure the denominator is written as a single polynomial expression rather than an already-factored product, unless your calculator specifically accepts factored input format.
Frequently Asked Questions About Partial Fraction Decomposition
The questions below address the issues students, instructors, and professionals most frequently encounter when working with partial fraction decomposition and using related calculators.
What exactly is a rational function, and why does partial fraction decomposition only apply to them?
A rational function is any function expressible as the ratio of two polynomial functions, P(x)/Q(x), where Q(x) is not the zero polynomial. Partial fraction decomposition applies specifically to rational functions because the technique relies on the Fundamental Theorem of Algebra — the guarantee that every polynomial factors completely into linear and irreducible quadratic factors over the real numbers. This factorization creates the “slots” that partial fractions fill. Functions that are not ratios of polynomials — trigonometric, exponential, logarithmic, or radical expressions — have no polynomial denominators and therefore require entirely different techniques such as trigonometric substitution, integration by parts, or u-substitution.
What does it mean for a rational function to be “proper” and why does it matter?
A rational function P(x)/Q(x) is proper when the degree of P is strictly less than the degree of Q. For example, (x + 1)/(x² + 3) is proper (degree 1 < degree 2), while (x³ + x)/(x² + 1) is improper (degree 3 is not less than degree 2). Partial fraction decomposition as described only applies to proper rational functions. For improper ones, you must first perform polynomial long division to produce a quotient polynomial plus a proper remainder. The decomposition then applies to the remainder fraction only. Skipping this step for an improper function produces incorrect constants because the algebraic framework of the decomposition theorem assumes properness.
Can I apply partial fraction decomposition if the denominator has complex roots?
Yes, but the approach depends on whether you work over the real or complex numbers. Over the real numbers — the standard for calculus courses — complex roots appear in conjugate pairs, and each conjugate pair corresponds to one irreducible quadratic factor (Case 3). The quadratic is treated as a single unit with a linear numerator. Over the complex numbers, every factor is linear (even former quadratics), but the corresponding constants become complex numbers. Both approaches produce the same final result when converted back to real form; the real approach is typically preferred in undergraduate settings because all intermediate values remain real-valued.
What happens when two roots of the denominator are equal?
Equal roots mean you have a repeated factor. A root r with multiplicity n means (x − r)ⁿ appears in the denominator, which is exactly Case 2 (or Case 4 for irreducible quadratics). You must include n separate partial fraction terms for that factor: A₁/(x−r), A₂/(x−r)², and so on up to Aⁿ/(x−r)ⁿ. Treating a repeated factor as a single factor with one term produces a system that is either contradictory or underdetermined — a direct signal that the template was set up incorrectly.
How do I determine whether a quadratic factor in the denominator is irreducible?
Compute the discriminant of the quadratic ax² + bx + c: Δ = b² − 4ac. If Δ > 0, the quadratic has two distinct real roots and factors into two distinct linear factor
