🧮 Instant Step-by-Step Algebra

Partial Fraction Decomposition Calculator

Decompose any proper rational expression into partial fractions instantly — with full step-by-step working, coefficient solving, LaTeX output, and downloadable results.

Enter Your Rational Expression

÷
Examples:

Calculation Settings

Share this Tool

The Complete Guide to Partial Fraction Decomposition

Everything you need to master partial fraction decomposition — the theory, the algebra, step-by-step techniques for every case, real-world applications in calculus and engineering, and how to use our free online calculator to check your work instantly.

What is Partial Fraction Decomposition?

Partial fraction decomposition is an algebraic technique for breaking down a complex rational expression — a fraction whose numerator and denominator are both polynomials — into a sum of simpler fractions, each with a lower-degree denominator. Think of it as the reverse of adding fractions with different denominators: instead of combining separate fractions into one, you split one complicated fraction back into its natural component parts. This process transforms otherwise intractable integrals, inverse Laplace transforms, and algebraic simplifications into straightforward, manageable calculations.

The technique is rooted in the Fundamental Theorem of Algebra, which guarantees that any polynomial with real coefficients can be factored into linear and irreducible quadratic factors over the real numbers. Partial fraction decomposition exploits this structure systematically. Every rational function P(x)/Q(x) — provided that the degree of P is less than the degree of Q — has a unique partial fraction decomposition that can be found by solving a system of linear equations for the unknown coefficients.

Core Concept: Partial fraction decomposition converts a single rational expression into a sum of simpler rational terms. For example, (3x + 5) / ((x−1)(x+2)) = 8/3 · 1/(x−1) + 1/3 · 1/(x+2) — a form that is immediately integrable and far easier to manipulate in differential equations and Laplace analysis.

How Partial Fraction Decomposition Works — Step-by-Step

The process follows a precise, repeatable algorithm regardless of the specific rational expression. Our calculator performs every step automatically, but understanding each stage deepens your algebraic intuition and helps you verify results confidently.

Step 1: Check Properness

Before decomposing, verify that the rational expression is proper — the degree of the numerator must be strictly less than the degree of the denominator. If the expression is improper (degree of numerator ≥ degree of denominator), perform polynomial long division first to extract a polynomial quotient, then decompose the remaining proper fraction.

Step 2: Factor the Denominator

Completely factor the denominator into its irreducible components over the real numbers — a combination of linear factors (x − r) and irreducible quadratic factors (x² + bx + c with negative discriminant). The factored form determines the structure of the partial fraction template that follows.

Step 3: Write the Template

Assign an unknown constant to each factor in the denominator. For a linear factor (x − r), write A/(x − r). For a repeated linear factor (x − r)², write A/(x−r) + B/(x−r)². For an irreducible quadratic (x² + bx + c), write (Ax + B)/(x² + bx + c). The numerators mirror the degree of each denominator factor minus one.

Step 4: Solve for Coefficients

Multiply both sides by the full denominator to clear all fractions, then solve for the unknown constants either by strategic substitution (the cover-up method for linear factors) or by equating coefficients of like powers of x on both sides. The result is the explicit partial fraction decomposition.

Who Benefits from a Partial Fraction Decomposition Calculator?

Partial fraction decomposition sits at the intersection of algebra, calculus, and applied mathematics. Whether you are a first-year calculus student encountering integration techniques for the first time or a seasoned control systems engineer working with transfer functions, an accurate, step-by-step decomposition tool saves time, eliminates arithmetic errors, and provides a reliable check against manual calculations.

Calculus Students

Integration by partial fractions is a core technique in Calculus II. Students can use this tool to check their manual decompositions, understand where they made errors, and see each algebraic step clearly explained before exams — building genuine understanding rather than just copying answers.

Engineers & Scientists

Control systems engineers, electrical engineers analyzing circuits, and applied physicists use partial fractions constantly in Laplace transform inversion. A reliable calculator with LaTeX output integrates directly into technical reports, MATLAB verification workflows, and engineering documentation.

Mathematics Teachers

Teachers can use this tool to generate worked examples instantly, verify textbook problems, create step-by-step worked solutions for student handouts, and demonstrate the decomposition process in real time during live instruction with the rendered MathJax output projected on screen.

Researchers & Graduate Students

Graduate-level mathematics and physics research frequently involves rational functions arising from Green's functions, generating functions in combinatorics, and z-transform analysis in digital signal processing. Our tool handles all standard decomposition cases and outputs publication-ready LaTeX.

The Four Cases of Partial Fraction Decomposition

Every partial fraction decomposition falls into one or more of four fundamental cases, determined by the nature of the denominator's factors. Understanding these cases is the key to setting up the correct decomposition template every time.

Case 1: Distinct Linear Factors

When the denominator factors into distinct (non-repeated) linear factors — for example, (x−1)(x+2)(x−3) — each factor contributes one fraction term with a constant numerator: A/(x−1) + B/(x+2) + C/(x−3). The cover-up method provides an elegant shortcut for finding each constant individually by substituting the root of each factor.

Case 2: Repeated Linear Factors

A repeated linear factor (x−r)ⁿ generates n fraction terms: A₁/(x−r) + A₂/(x−r)² + … + Aₙ/(x−r)ⁿ. The cover-up method finds the coefficient of the highest power directly, but the remaining coefficients require either differentiation or equating coefficients after clearing denominators. Our calculator handles both approaches.

Case 3: Irreducible Quadratic Factors

An irreducible quadratic factor x² + bx + c (where b² − 4c < 0) cannot be factored over the reals. It contributes a term with a linear numerator: (Ax + B)/(x² + bx + c). This case arises naturally in Laplace transform inversions involving oscillatory components and generates arctangent terms when integrated.

Case 4: Repeated Quadratic Factors

A repeated irreducible quadratic (x² + bx + c)ⁿ generates n terms each with a linear numerator: (A₁x+B₁)/(x²+bx+c) + (A₂x+B₂)/(x²+bx+c)² + …. This is the most algebraically complex case, requiring a full system of linear equations to solve for all coefficients simultaneously.

Why Partial Fractions Are Essential in Mathematics

Partial fractions are not merely an academic exercise. 📐 They are the bridge between complex rational expressions and forms that can be integrated, inverted, or simplified analytically. Without partial fractions, vast categories of integrals would be inaccessible in closed form.

Who Needs Partial Fraction Decomposition Daily?

  • Calculus Students (Integration): Integration by partial fractions is the standard technique for integrating rational functions. Without it, expressions like ∫(3x+5)/((x−1)(x+2)) dx cannot be evaluated in a simple closed form using elementary methods.
  • Control Engineers (Inverse Laplace): The inverse Laplace transform of a transfer function expressed as a rational function in s is computed by first decomposing it into partial fractions, then reading off each term using the standard transform table. This workflow is fundamental to control system design.
  • Signal Processing (Z-Transforms): Digital filter design and discrete-time system analysis rely on the z-transform, whose inverse is computed via partial fractions in z⁻¹. Engineers designing DSP algorithms perform this decomposition routinely.
  • Combinatorists (Generating Functions): In combinatorics and number theory, partial fraction decomposition of generating functions reveals recurrence relation solutions and closed-form expressions for sequences like Fibonacci numbers and Catalan numbers.

The Algebraic Identity at the Core

The mathematical foundation of partial fractions is the identity:

P(x) / Q(x) = A₁/(x−r₁) + A₂/(x−r₂) + … + Aₙ/(x−rₙ)

This identity holds when Q(x) has distinct linear factors and deg(P) < deg(Q). The uniqueness of the decomposition is guaranteed by the uniqueness of polynomial representations.

Real-World Applications of Partial Fraction Decomposition

The technique extends far beyond the calculus classroom into practical engineering, physics, and computer science applications that affect technology you use every day.

Electrical Circuit Analysis

In circuit analysis using Laplace methods, the current or voltage transfer function of an RLC circuit is a rational function in s. Partial fractions decompose this into simple poles and complex conjugate pairs — each corresponding to a natural frequency of the circuit — enabling direct reading of the transient response terms.

Differential Equations

Solving linear constant-coefficient ODEs with the Laplace transform produces rational expressions in s that must be inverted. Partial fraction decomposition converts these into a sum of standard forms (exponentials, sinusoids, polynomials) whose inverse Laplace transforms are immediately known from the standard table.

Computer Algebra Systems

Symbolic computation software like Mathematica, Maple, and MATLAB's Symbolic Toolbox implement partial fraction decomposition as a fundamental operation. Understanding the algorithm helps users interpret outputs, debug edge cases involving repeated roots, and work productively with CAS tools at an expert level.

Probability & Statistics

Moment generating functions and probability generating functions for discrete distributions often take rational form. Partial fractions reveal the individual exponential components of the distribution, enabling closed-form expressions for moments, factorial moments, and cumulative probability calculations in actuarial mathematics.

  • Key Features of Our Advanced Partial Fraction Calculator

    A complete step-by-step decomposition engine built for students, educators, and engineers — with rendered math output, LaTeX export, and full working shown at every stage.

    01

    All Four Decomposition Cases

    Handles all standard cases: distinct linear factors, repeated linear factors, irreducible quadratic factors, and combinations thereof. The engine automatically identifies the correct template structure from the denominator's factored form and sets up the appropriate system of equations.

    02

    Beautiful MathJax Rendering

    Every equation — input, intermediate steps, and final answer — is rendered using MathJax, the industry standard for mathematical typography on the web. Results look exactly like what you would see in a printed textbook or academic paper, making them suitable for educational presentations and reports.

    03

    100% Secure & Private

    Every calculation runs entirely in your browser using JavaScript. No expressions, no intermediate steps, and no results are ever sent to a server. Your homework problems, exam preparation work, and proprietary engineering expressions remain completely private and confidential at all times.

    04

    LaTeX Export & Download

    Copy the complete result as publication-ready LaTeX with one click, or download a full working document including all steps as a text file. This integrates directly into LaTeX documents, Overleaf projects, Markdown files, and any platform that renders LaTeX — saving significant typesetting time.

    Pro Tips for Using the Partial Fraction Calculator Effectively

    💡
    Always factor the denominator completely before entering it

    Enter the denominator in fully factored form where possible — e.g., (x-1)(x+2) rather than x^2+x-2. This prevents ambiguity in root identification and ensures the calculator correctly identifies the type of each factor (distinct, repeated, or quadratic).

    🔍
    Use the verification step to check your manual decompositions

    Enable "Verify result" in the settings to see the partial fractions recombined back into the original rational expression. If the verification matches your original input, your decomposition is correct. This is the fastest and most reliable way to check homework answers before submission.

    📋
    Use the LaTeX output directly in your Overleaf or LaTeX documents

    Click "Copy LaTeX" and paste directly into any LaTeX editor. The output is formatted with \frac{}{} commands and proper notation. For Overleaf documents or typeset assignment submissions, this saves significant manual typesetting time while guaranteeing typographic accuracy.

    📐
    For Laplace transforms, switch the variable to 's'

    Control engineers and applied mathematicians working with Laplace transforms should select 's' from the variable dropdown. This changes all display notation to match the standard s-domain convention, producing output that reads naturally alongside Laplace transform tables and control systems textbooks.

    Frequently Asked Questions

    Conclusion

    Partial fraction decomposition is one of the most elegant and practically powerful techniques in mathematics — it turns an intractable rational expression into a sum of simple, workable pieces that unlock integrals, inverse transforms, and algebraic simplifications across calculus, engineering, and applied science. Mastering it requires understanding the four decomposition cases, the two solving methods (substitution and coefficient equating), and the conditions under which the technique applies.

    Our free Partial Fraction Decomposition Calculator at KKJTech Tools delivers everything you need: automatic factoring and template construction, both solving methods with full step-by-step display, MathJax-rendered output that looks like a printed textbook, LaTeX export for academic documents, verification by recombination, and optional integral evaluation — all running privately in your browser with no usage limits and no server involvement.

    Ready to Decompose Your Rational Expression?

    Use our advanced, free, browser-based Partial Fraction Calculator now — instant step-by-step results with LaTeX export and full verification!