Partial Fraction Decomposition Solver

Partial Fraction Decomposition Solver

Decompose rational fractions (Px + Q) / (x - r₁)(x - r₂) into partial fractions for calculus integrals via Heaviside method.

Coefficient A
2.667

Numerator for (x - 1)

Coefficient B
0.333

Numerator for (x + 2)

Integral Anti-Derivative
ln|x - r₁| + ln|x - r₂|

Standard logarithmic form

Partial Fraction Expansion

f(x) = 2.67 / (x - 1) + 0.33 / (x + 2)

At a Glance

Category
Calculus
Best For
Students decomposing rational functions before integrating
Privacy
100% in your browser: nothing you enter is uploaded
Time Required
Under a minute
Cost
Free
Updated
November 2026

Quick Overview

What This Tool Does

Finds A and B by evaluating the numerator at each root and dividing by the difference of the roots.

Who Should Use It

Calculus students and teachers.

When to Use It

Integrating rational functions or checking algebra.

Why It Is Useful

Partial fractions turn a hard rational integral into simple logarithms.

Key Features & Capabilities

Cover-up method

Direct formulas for A and B.

Decomposition

Writes A/(x − r₁) + B/(x − r₂).

Antiderivative

Logarithmic form of the integral.

How to Use This Tool

1

Enter the numerator

Type P and Q for Px + Q. Tip: Linear numerator only.

2

Enter the roots

Type the two distinct roots r₁ and r₂. Tip: Roots must be different.

3

Read A and B

The calculator evaluates the cover-up formulas. Tip: Check by recombining.

4

Integrate

Use A ln|x − r₁| + B ln|x − r₂| + C. Tip: Each term is a logarithm.

Worked Real-World Example

(3x + 5) ÷ ((x − 1)(x + 2))

Decompose the fraction with numerator 3x + 5 and roots r₁ = 1 and r₂ = −2.

Sample Inputs
P3
Q5
Root r₁1
Root r₂−2
Decomposition(3x + 5)/((x − 1)(x + 2)) = 2.67/(x − 1) + 0.33/(x + 2)
Calculation Breakdown
A: (3 × 1 + 5) ÷ (1 − (−2)) = 8 ÷ 3 = 2.67
B: (3 × (−2) + 5) ÷ (−2 − 1) = −1 ÷ −3 = 0.33
Decomposition: A/(x − 1) + B/(x + 2) = 2.67/(x − 1) + 0.33/(x + 2)
Check: 2.67(x + 2) + 0.33(x − 1) = 3x + 5 = Matches the numerator
The integral is 2.67 ln|x − 1| + 0.33 ln|x + 2| + C.

How It Works (Math & Calculation Logic)

For (Px + Q) ÷ ((x − r₁)(x − r₂)): A = (P·r₁ + Q) ÷ (r₁ − r₂) and B = (P·r₂ + Q) ÷ (r₂ − r₁). The integral is A·ln|x − r₁| + B·ln|x − r₂| + C. Roots must be distinct.

Formula / AlgorithmA = (P·r₁ + Q) ÷ (r₁ − r₂); B = (P·r₂ + Q) ÷ (r₂ − r₁)
Variable & Logic Definitions
P, QNumerator coefficients - Px + Q (number)
r1, r2Roots - Denominator roots (number)

How to Interpret Your Results

Typical Benchmarks

Roots must be distinct for this simple form.

Evaluating Your Output

Recombining the fractions must return the original.

Recommended Next Action

Check by combining A and B over the common denominator.

Frequently Asked Questions

What is partial fraction decomposition?
Writing a rational function as a sum of simpler fractions.
What is the cover-up method?
Evaluating the rest of the fraction at a root to find its coefficient.
Why do roots need to be distinct?
Repeated roots require a different decomposition.
How do I integrate the result?
Each term integrates to a logarithm.
Can the numerator be quadratic?
Not in this tool; it handles a linear numerator over two linear factors.

Complementary QuickForma Utilities

Mathematics & Statistics

Percentage Calculator

Calculate percentages, percentage values, percentage increases, decreases, and percentage differences easily.

Open Tool
Mathematics & Statistics

Fraction Calculator

Add, subtract, multiply, divide, simplify, convert, and compare fractions with step-by-step mathematical precision.

Open Tool
Mathematics & Statistics

Marks & Percentage Converter

Convert raw test/exam marks into percentage scores, US letter grades, and 4.0 GPA points.

Open Tool
Mathematics & Statistics

Exponent & Logarithm Calculator

Calculate base-10 log (log10), natural log (ln), custom base log (log_b(x)), and power exponentiation.

Open Tool
Mathematics & Statistics

Linear Equation Solver

Solve 1-variable linear equations of the form ax + b = c for x with step-by-step verification.

Open Tool
Mathematics & Statistics

Sequence & Series Calculator

Calculate n-th terms and sum of n terms for Arithmetic and Geometric mathematical sequences.

Open Tool
Mathematics & Statistics

Derivative & Limit Calculator

Calculate polynomial power-rule derivatives d/dx[ax^n] = a * n * x^(n-1) and tangent slopes.

Open Tool
Mathematics & Statistics

Definite & Indefinite Integration Solver

Calculates polynomial, exponential, and trigonometric definite/indefinite integrals with step-by-step logic.

Open Tool
Mathematics & Statistics

Poisson Event Probability & Rate Solver

Online client-side Poisson Event Probability & Rate Solver tool.

Open Tool
Mathematics & Statistics

Continuous Exponential Decay & Reliability

Online client-side Continuous Exponential Decay & Reliability tool.

Open Tool
Mathematics & Statistics

Bayesian Conditional Probability & Prior Solver

Online client-side Bayesian Conditional Probability & Prior Solver tool.

Open Tool