Using the Partial Fraction Calculator
The Partial Fraction Calculator splits a rational expression over two distinct linear factors. The numerator is mx + n. The denominator is (x − p)(x − q). Coefficient m begins at 3. Constant n begins at 5. Root p begins at 1. Root q begins at 4. Choose Split the fraction. The label above the headline reads Partial fractions. The headline is the split itself: -2.666666666667/(x - 1) + 5.666666666667/(x - 4).
The sentence says 3x + 5 over (x - 1)(x - 4) splits into -2.666666666667/(x - 1) + 5.666666666667/(x - 4). A is -2.666666666667. B is 5.666666666667. The A and B lines repeat those numbers. The steps name A = (m·p + n) / (p − q) and B = (m·q + n) / (q − p), then show the split again. Read the headline and the sentence before you treat A or B as roots. p and q live in the fields. A and B are the constants on the simpler fractions.
The roots must be different. If p equals q, the headline reads The roots must be different and the split lines are cleared. This page only splits two distinct linear factors. It does not handle repeated roots, a cubic denominator, or a numerator degree above one. m, n, p, and q each must be a plain number inside the stated bounds. A blank or a word is rejected as required before the range check runs.
Copy result copies the sentence with the fraction, the split, and A and B. Reset returns m, n, p, and q to 3, 5, 1, and 4 and the headline to Enter the numerator and two roots. The same four numbers always rebuild the same split. Split the fraction on the sample twice and the headline stays the same long decimal string. The page does not factor a polynomial for you, draw a graph, or accept factors you type as text. The four fields are the whole input.
What the Split Measures
The headline is the partial-fraction form of (mx + n) / ((x − p)(x − q)). For m 3, n 5, p 1, and q 4, that original fraction is 3x + 5 over (x − 1)(x − 4). The split writes the same rational function as a sum of two simple fractions with denominators x − 1 and x − 4. The numerators of those simple pieces are A and B, which the page prints on separate lines.
The page does not return the original combined fraction as the headline. You already know the numerator coefficients and the roots from the fields. It returns the decomposition. A is -2.666666666667 and B is 5.666666666667 for the sample. If you add those terms with a common denominator mentally, you should recover 3x + 5 over (x − 1)(x − 4), apart from the decimal display. The sentence ties the before and after in one line.
How A and B Are Computed
The page reads m, n, p, and q as signed decimals within their bounds. A is (m·p + n) / (p − q). B is (m·q + n) / (q − p). For the sample, m·p + n is 3 times 1 plus 5, which is 8. p − q is 1 minus 4, which is -3. Eight divided by -3 is -2.666666666667, which is A. For B, m·q + n is 17, q − p is 3, and 17 divided by 3 is 5.666666666667.
Covering a new x between two known points is a different task. The Linear Interpolation Calculator estimates y from two endpoints and an x between them. This page does not interpolate. It rewrites one rational expression over two linear factors into two simpler rational pieces. Use interpolation when you have two points and an unknown coordinate. Use this page when the denominator is already (x − p)(x − q) and you want A and B.
What the Four Fields Do Not Assume
The page does not know whether x is time, distance, or a generic symbol. It does not attach a unit. The sentence names m, n, p, q, the split, A, and B in algebraic form. If your application uses units, write them beside the copied sentence. The page also does not apply the split to a second numerator in the same run without new field values.
From 3x + 5 to the Sample Split
Leave m at 3, n at 5, p at 1, and q at 4. Choose Split the fraction. The headline is -2.666666666667/(x - 1) + 5.666666666667/(x - 4). The sentence quotes the same split and names A and B. Calculate again. The figures match. Change n to 2 while keeping 3, 1, and 4. A becomes 5 divided by -3 and B becomes 14 divided by 3. The headline updates to new decimals. Restore n to 5 and confirm the sample sentence returns.
A combined list average is a different summary. The Weighted Average Calculator blends values with weights you supply. That page does not split fractions. Use it when the input is a weighted mean. Use this page when the input is mx + n over two distinct linear factors and you need A and B for the sample 3x + 5 over (x − 1)(x − 4).
Roots That Must Differ
p and q must each be at least -1000000 and at most 1000000. m uses the same bound. n must be at least -100000000000 and at most 100000000000. A number outside a bound triggers the range message for that label. The lines are cleared when a field fails.
Splits People Try to Force
A common miss is to enter the same root twice hoping for a repeated factor split. The roots must be different. Another miss is to swap the formulas for A and B. A always uses p in the numerator bundle m·p + n and p − q in the denominator. B always uses q and q − p. Reversing those roles changes the headline in a way that does not match the standard cover-up constants.
Comparing two unrelated numbers as a percent of their average is a different page. The Percentage Difference Calculator measures relative spread between two values. It does not decompose rational functions. Use it when you compare two measurements. Use this page when 3x + 5 over (x − 1)(x − 4) should split into -2.666666666667/(x - 1) plus 5.666666666667/(x - 4).
Sample, New Roots, and a Rejected Pair
Enter m 3, n 5, p 1, and q 4. Split the fraction. The sentence should name A and B as in the locked sample. Enter p 2 and q 2. The headline reads The roots must be different. Restore 1 and 4. Enter m 1, n 0, p 0, and q 3. A is 0 divided by -3, which is 0. B is 3 divided by 3, which is 1. Enter m -1, n 7, p 5, and q -2. Work the formulas on paper and compare with the headline.
Keeping the Fraction and the Split
Copy the sentence. It already holds the original fraction, the split headline, and the labels A is and B is with their decimals. For the sample, that block is the record that keeps roles apart. A note that says only -2.666666666667 without context could be misread as a root or a slope. The sentence prevents that. Copy it before you reset.
Reset returns m, n, p, and q to 3, 5, 1, and 4 and clears the split lines. Choose Split the fraction again when you want the default headline on the page. Two data points that define a segment belong on a different tool. The Interpolation Calculator estimates a value between known points. This page starts with a rational function already written over (x − p)(x − q). Use interpolation for coordinate pairs. Use this page for the partial fraction constants.
A Sum That Matches the Original
The headline answers how to write (mx + n) / ((x − p)(x − q)) as A/(x − p) plus B/(x − q). From 3, 5, 1, and 4 the answer is the long decimal split on the headline. From 0, 6, 2, and 5 the answer uses small integers -2 and 2. From 1, 0, 0, and 3 the answer uses 0 and 1. Those figures come from the four fields. Equal roots are always rejected.
Checking A and B on Paper
Compute m·p + n and divide by p − q. Compare with the A line. Compute m·q + n and divide by q − p. Compare with the B line. For 3, 5, 1, and 4, the checks are 8 over -3 and 17 over 3. If either ratio does not match its line, the fields changed between the run and the check.
A list of absolute deviations from a mean is another kind of summary. The Mean Absolute Deviation Calculator works on a set of numbers. It does not output partial fractions. Use it when the input is a list. Use this page when the input is 3x + 5 over (x − 1)(x − 4) and you need the split and the constants A and B.