📢 Advertisement — 728×90
📢 Advertisement

This partial fraction decomposition calculator is provided by Hesapstan for users who need to break a proper rational function into partial fractions with a visible coefficient template, solved coefficients, and numeric verification.

What does this calculator decompose?

This calculator decomposes a proper rational function into a sum of partial fractions. It shows the decomposition template, solves the unknown coefficients, and then verifies the result numerically at sample x-values away from denominator roots.

  • It supports distinct linear factors such as (x-1)(x+2).
  • It supports repeated linear factors such as (x-1)^2 or (x+3)^3.
  • It supports irreducible quadratic factors such as x²+1 or x²+2x+5.
  • It does not auto-factor an arbitrary denominator typed as one free-text polynomial.
  • It rejects improper fractions and points the user toward polynomial division first.
The denominator is not auto-factored

This is not a general computer algebra system that factors any denominator string. The denominator is entered as structured factor cards to avoid silent or misleading factorization failures.

What is partial fraction decomposition?

Partial fraction decomposition rewrites a rational function as a sum of simpler rational terms. It is commonly used in integration, inverse Laplace transforms, algebraic manipulation, and rational-function analysis.

A single fraction with a factored denominator may be hard to work with. After decomposition, each part has a simpler denominator and a predictable numerator form.

The goal is structure, not always shorter text

A partial fraction result may look longer than the original fraction. The purpose is to expose simpler pieces, not necessarily to make the expression visually shorter.

Why does the denominator use factor cards?

The denominator uses factor cards because automatic factorization of any user-typed polynomial is outside the safe scope of this calculator. The user supplies the factor structure, and the calculator builds the partial fraction system from that structure.

This is a deliberate product choice. It lets the calculator cover the core classroom and competitor cases while avoiding a fragile parser or CAS promise that could fail on non-nice polynomials.

  • A linear factor card represents a factor of the form x-r.
  • An irreducible quadratic card represents x²+bx+c with negative discriminant.
  • Repeated factors are entered through multiplicity, not by duplicating factor cards.
  • The factor and degree limits keep the system readable for users.
📢 Advertisement

Which templates are used?

The partial fraction template depends on the denominator factor type. Linear factors receive constant numerators; irreducible quadratic factors receive linear numerators.

  • Distinct linear factor: A/(x-r).
  • Repeated linear factor: A1/(x-r) + A2/(x-r)² + ... with one term for each power.
  • Irreducible quadratic factor: (Ax+B)/(x²+bx+c).
  • Repeated irreducible quadratic factor: one linear-numerator term for each supported power.
Why Ax+B for a quadratic factor?

For an irreducible quadratic denominator, a constant numerator is not general enough. The standard numerator form is linear, Ax+B.

How are the coefficients found?

The coefficients are found by combining the partial fraction template over the common denominator and matching polynomial coefficients degree by degree. This produces a square linear system for the unknowns.

  1. Build the full denominator D(x) from all entered factors.
  2. For each unknown coefficient, compute its contribution using D(x) divided by the relevant factor power.
  3. For quadratic terms, include both the x-part and the constant part of the numerator.
  4. Match the resulting polynomial coefficients against the original numerator.
  5. Solve the resulting linear system and substitute the coefficient values into the template.

The calculator is not just fitting sample points. It solves the coefficient identity, then uses numeric verification as an additional check for the displayed result.

Example: distinct linear factors

For distinct linear factors, each factor receives one constant numerator. For example, (5x+3)/((x-1)(x+2)) is decomposed as A/(x-1) + B/(x+2).

  1. Clear denominators: A(x+2) + B(x-1) = 5x + 3.
  2. Match coefficients: A+B = 5 and 2A-B = 3.
  3. Solve the system: A = 8/3 and B = 7/3.
  4. Result: (8/3)/(x-1) + (7/3)/(x+2).
This matches the supported runtime

The fraction is proper and the denominator is entered as two distinct linear factors, which is one of the calculator's core cases.

Example: repeated linear factor

A repeated linear factor needs one term for each power. For (3x+5)/(x-1)², the correct template is A/(x-1) + B/(x-1)².

  1. Clear denominators: A(x-1) + B = 3x + 5.
  2. From the x coefficient, A = 3.
  3. From the constant term, -A + B = 5, so B = 8.
  4. Result: 3/(x-1) + 8/(x-1)².
Use multiplicity for repeated factors

Do not add the same factor as separate duplicate cards. Use the multiplicity control on the factor card to represent repetition.

Example: irreducible quadratic factor

An irreducible quadratic denominator uses a linear numerator. For example, (2x²+3x+5)/((x-1)(x²+1)) is decomposed as A/(x-1) + (Bx+C)/(x²+1).

  1. Clear denominators: A(x²+1) + (Bx+C)(x-1) = 2x² + 3x + 5.
  2. Match coefficients: A+B = 2, C-B = 3, and A-C = 5.
  3. Solve the system: A = 5, B = -3, C = 0.
  4. Result: 5/(x-1) - 3x/(x²+1).
Irreducible means negative discriminant here

A factor like x²+1 is accepted because it has no real linear factors. If a quadratic has zero or positive discriminant, the calculator asks you to enter it as linear factors instead.

How to read the verification badge

The verification badge means the decomposed expression matched the original rational function at several sample x-values that do not make the denominator zero.

This is a useful cross-check for the displayed result. The main solution still comes from coefficient matching and solving the linear system; the badge is not a replacement for the symbolic identity.

Common mistakes

The most common mistakes are entering the denominator structure incorrectly or trying to decompose an improper rational function directly.

  • Trying partial fractions before polynomial division when the numerator degree is at least the denominator degree.
  • Entering a reducible quadratic such as x²-5x+6 as an irreducible quadratic.
  • Duplicating a factor card instead of using multiplicity.
  • Forgetting that repeated factors require terms for each power.
  • Treating numeric verification as the whole proof rather than a cross-check.

Limitations of this calculator

This calculator works with structured denominator factors; it does not auto-factor arbitrary denominator polynomials. That limitation is intentional because safe general factorization would require a broader symbolic algebra system.

  • The total denominator degree is limited to 6.
  • The factor list is limited to 4 cards.
  • Linear factor multiplicity is supported up to 3.
  • Irreducible quadratic multiplicity is supported up to 2.
  • Improper fractions are rejected until polynomial division is performed first.
  • The calculator is not a full symbolic algebra system or automatic polynomial factorization tool.
The result depends on the factors you enter

If the denominator factor list is wrong, the calculator solves the wrong decomposition problem. If you only have the raw denominator, find its factors first.

Frequently Asked Questions

What is partial fraction decomposition used for?

It rewrites a rational function as a sum of simpler fractions. It is commonly used in integration, inverse Laplace transforms, and rational-function algebra.

Does this calculator factor the denominator automatically?

No. The denominator is entered as structured factor cards. This avoids the risk of unreliable free-text factorization.

Why is an improper fraction rejected?

Partial fraction decomposition is applied to the proper remainder after polynomial division. If the numerator degree is at least the denominator degree, divide first.

What counts as an irreducible quadratic factor?

In this calculator, it is a quadratic factor x²+bx+c with negative discriminant, so it does not split into real linear factors.

Is the verification badge the full proof?

No. It is a numeric cross-check. The real decomposition comes from matching polynomial coefficients and solving the coefficient system.

📢 Advertisement

Related Calculators

Polynomial Division Calculatorp/qRational Zeros Calculatorx²=Quadratic Formula Calculator