# Partial Fraction Decomposer (Rational Functions)

Decompose N(x)/D(x) into A/(x−r)^j + (Bx + C)/((x−α)² + β²) with long division for improper fractions and numeric residual verification.

> Canonical page: https://elysiatools.com/en/tools/partial-fraction-decomposer

- **Category:** Math & Numbers

- **Keywords:** partial fractions, partial fraction decomposition, rational function, polynomial long division, durand-kerner, complex roots, repeated roots, conjugate pairs, algebra, integral calculus

## Overview

The Partial Fraction Decomposer breaks down rational functions N(x)/D(x) into sums of simpler terms, including distinct linear factors, repeated roots, and irreducible quadratic expressions. It automatically executes polynomial long division for improper fractions, determines denominator roots, solves the linear system for coefficients, and verifies numerical residuals at test probe points.

## Inputs

- **Numerator Coefficients N(x) (constant first)** (text): Comma-separated numerator coefficients, constant term first, degree ≤ 8, e.g. 5,3 → 3x + 5.
- **Denominator Coefficients D(x) (constant first)** (text): Comma-separated denominator coefficients, constant term first, degree 1–6, e.g. 2,3,1 → x² + 3x + 2.
- **Decimal Places** (number)

## When to use

- Preparing rational expressions for term-by-term symbolic integration in calculus.
- Deriving time-domain responses by computing inverse Laplace transforms of transfer functions in engineering.
- Simplifying higher-degree rational algebraic fractions into sums of linear and quadratic components.

## How it works

- Enter polynomial coefficients for numerator N(x) and denominator D(x) as comma-separated values, starting with the constant term.
- If the numerator degree equals or exceeds the denominator degree, the tool applies polynomial long division to separate the polynomial quotient from the strictly proper remainder.
- The solver computes denominator roots and classifies them into distinct real roots, repeated factors, or complex conjugate pairs.
- A linear system is solved to find decomposition coefficients for terms of the form A/(x-r)^j and (Bx+C)/((x-α)²+β²), followed by residual verification at sample points.

## Use cases

- Calculus integration: Converting rational functions into standard logarithmic and arctangent integrands.
- Control systems engineering: Splitting s-domain transfer functions into standard forms for table-based inverse Laplace transformations.
- Algebraic simplification: Expanding rational expressions with distinct, repeated, or complex factors into elementary components.

## Frequently asked questions

### How should polynomial coefficients be formatted?

Enter comma-separated numbers in ascending order of power, starting with the constant term (e.g., 5,3 represents 3x + 5).

### What polynomial degree limits apply to the inputs?

The numerator N(x) supports degrees up to 8, and the denominator D(x) supports degrees from 1 to 6.

### How does the tool handle improper rational functions?

Polynomial long division runs automatically to isolate the polynomial quotient Q(x) before decomposing the remaining proper fraction R(x)/D(x).

### Are complex and repeated roots supported?

Yes, repeated roots produce powers A/(x-r)^j and complex conjugate roots produce real irreducible quadratic terms (Bx+C)/((x-α)²+β²).

### What is the residual verification step?

It computes the numerical difference between the original fraction and the decomposed form at algebraic test points to verify mathematical equivalence.

## Related tools

- [Fraction Decimal Converter](https://elysiatools.com/en/tools/fraction-decimal-converter): Convert between fractions and decimals with support for mixed numbers, improper fractions, and various decimal formats
- [Inverse Laplace Transform Calculator (Partial Fractions)](https://elysiatools.com/en/tools/inverse-laplace-calculator): Partial-fraction inverse Laplace transform for proper rational functions: root factorization (real + conjugate pairs), exact coefficient system, term-by-term inversion.
- [Laplace Transform Calculator (Table Lookup)](https://elysiatools.com/en/tools/laplace-transform-calculator): Table lookup of L{f(t)} for 14 standard pairs, with parameter substitution, region of convergence, derivation note, and optional numeric F(s₀) evaluation.
- [Second-Order ODE Solver (Characteristic Equation)](https://elysiatools.com/en/tools/second-order-ode-solver): Solve a·y'' + b·y' + c·y = f(x): characteristic roots, three homogeneous cases, undetermined coefficients with resonance, and C1/C2 from initial conditions.
- [Z-Transform Calculator (Table Lookup)](https://elysiatools.com/en/tools/z-transform-calculator): Table lookup of the unilateral Z-transform for 11 standard pairs, with parameter substitution, region of convergence, derivation note, and optional numeric X(z₀) evaluation.
- [Air Changes per Hour (ACH, n = Q/V)](https://elysiatools.com/en/tools/air-changes-per-hour): Compute the air change rate (ACH / n) of a room from the outdoor supply airflow Q and the room volume V: n = Q/V (1/h). Three modes: solve ACH (given Q and V), solve airflow (given n and V), or solve volume (given n and Q). Flow in m³/s/m³/h/CFM, volume in m³/ft³/L. Also reports the well-mixed single-zone purge time to reach a target residual fraction ε (default 1%): t = −ln(ε)/n hours.
- [Bearing Life L10 Calculator](https://elysiatools.com/en/tools/bearing-life-l10): Calculate the basic rating life of a rolling bearing: L10 = (C/P)^p, with p = 3 for ball bearings and p = 10/3 for roller bearings. When a speed is provided, converts to L10h in operating hours.
- [Bolt Torque Clamp Force Calculator](https://elysiatools.com/en/tools/bolt-torque-clamp-force): Convert between bolt tightening torque and axial clamp force. T = K·F·d, where K is the nut factor (~0.20 for dry steel). Solve torque from force, or force from torque.

## Samples

- [Netlify Edge Functions Samples](https://elysiatools.com/en/samples/netlify-edge-functions-samples): Comprehensive Netlify Edge Functions examples covering middleware, authentication, A/B testing, geolocation, and advanced edge computing patterns
- [Web Image Processing Python Samples](https://elysiatools.com/en/samples/web-image-processing-python): Web Python image processing examples using PIL/Pillow including reading, saving, resizing, and format conversion
- [Azure Functions Samples](https://elysiatools.com/en/samples/azure-functions): Azure Functions serverless compute examples with HTTP triggers, timers, and integrations
- [Android Image Processing Java Samples](https://elysiatools.com/en/samples/android-image-processing-java): Android Java image processing examples including reading/saving images, scaling, and format conversion

## Related content

- [Audio Encoding and Format Conversion Tools](https://elysiatools.com/en/hubs/audio-convert): Compare audio format conversion, bitrate changes, sample-rate conversion, codec swaps, and export tools in one hub for delivery and archive workflows.
- [Image Format Conversion and Animated Export Tools](https://elysiatools.com/en/hubs/image-convert): Compare image format converters for JPG, PNG, GIF, AVIF, WebP, TIFF, ICO, base64, and animation-friendly exports in one hub.
- [JSON Interchange and Format Translation Tools](https://elysiatools.com/en/hubs/json-convert): Compare JSON conversion tools for CSV, YAML, TOML, GraphQL, XML, Markdown, Excel, BSON, EDN, and related structured formats in one hub.
- [Color Space Conversion Tools for Web and Print](https://elysiatools.com/en/hubs/design-convert): Curated tools for web-to-print color space conversion in one hub.
