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
Finds A and B by evaluating the numerator at each root and dividing by the difference of the roots.
Calculus students and teachers.
Integrating rational functions or checking algebra.
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
Enter the numerator
Type P and Q for Px + Q. Tip: Linear numerator only.
Enter the roots
Type the two distinct roots r₁ and r₂. Tip: Roots must be different.
Read A and B
The calculator evaluates the cover-up formulas. Tip: Check by recombining.
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.
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.
How to Interpret Your Results
Roots must be distinct for this simple form.
Recombining the fractions must return the original.
Check by combining A and B over the common denominator.
Frequently Asked Questions
What is partial fraction decomposition?
What is the cover-up method?
Why do roots need to be distinct?
How do I integrate the result?
Can the numerator be quadratic?
Complementary QuickForma Utilities
Percentage Calculator
Calculate percentages, percentage values, percentage increases, decreases, and percentage differences easily.
Fraction Calculator
Add, subtract, multiply, divide, simplify, convert, and compare fractions with step-by-step mathematical precision.
Marks & Percentage Converter
Convert raw test/exam marks into percentage scores, US letter grades, and 4.0 GPA points.
Exponent & Logarithm Calculator
Calculate base-10 log (log10), natural log (ln), custom base log (log_b(x)), and power exponentiation.
Linear Equation Solver
Solve 1-variable linear equations of the form ax + b = c for x with step-by-step verification.
Sequence & Series Calculator
Calculate n-th terms and sum of n terms for Arithmetic and Geometric mathematical sequences.
Derivative & Limit Calculator
Calculate polynomial power-rule derivatives d/dx[ax^n] = a * n * x^(n-1) and tangent slopes.
Definite & Indefinite Integration Solver
Calculates polynomial, exponential, and trigonometric definite/indefinite integrals with step-by-step logic.
Poisson Event Probability & Rate Solver
Online client-side Poisson Event Probability & Rate Solver tool.
Continuous Exponential Decay & Reliability
Online client-side Continuous Exponential Decay & Reliability tool.
Bayesian Conditional Probability & Prior Solver
Online client-side Bayesian Conditional Probability & Prior Solver tool.