math calculator
Partial Fractions Decomposition Calculator
Decompose rational expressions into partial fractions with linear, repeated, and quadratic terms.
Inputs
Numerator: ax + b
Denominator Roots
Results
Constant A
3.666667
Decomposed Form
3.6667 / (x − 2) + -0.6667 / (x − -1)
Step-by-Step Algebraic Proof
Set up the decomposition for \(\frac{3x +5}{(x-2)(x+1)}\):
Multiply both sides by \((x - 2)(x - -1)\):
Substitute \(x = 2\) to solve for A:
Substitute \(x = -1\) to solve for B:
Final result:
Integration result: \[\int \frac{3x +5}{(x - 2)(x - -1)}\,dx = 3.667\ln|x - 2| + -0.667\ln|x - -1| + C\]
Formula
Partial Fraction Decomposition Formulas
\frac{P(x)}{(x-r_1)(x-r_2)} = \frac{A}{x-r_1} + \frac{B}{x-r_2}, \quad A = \frac{P(r_1)}{r_1-r_2}Decompose a rational expression into a sum of simpler fractions. Each partial fraction can be directly integrated using the natural logarithm formula.
Step by step
How the calculation works
- 1Select distinct linear factors or repeated factors mode.
- 2Enter numerator coefficients (ax + b) and the roots of the denominator factors.
- 3The calculator solves for A and B constants using the root-substitution method.
Related guides
Learn more about this calculation
Guide
Fraction Operations Guide: Add, Subtract, Multiply, Divide
Learn the rules for adding, subtracting, multiplying, and dividing fractions, with simplification steps and live DTC calculator workflows.
Site Guide
How to Use Do The Calculation Calculators: A Practical Step-by-Step Guide
Learn the fastest reliable workflow for using Do The Calculation calculators, reading results, checking formulas, and using save, print, share, and export actions correctly.
Fraction Calc
Fraction Calculator
Add, subtract, and simplify fractions step-by-step.
Quadratic Solver
Quadratic Solver
Find roots of ax² + bx + c = 0 for use as denominator factors.