Professional-grade partial fraction decomposition with real-time validation, step-by-step solutions, and support for all factor types. Better than WolframAlpha, Symbolab, and eMathHelp combined.
Enter an expression to get started
Try one of the quick examples or enter your own
Master the essential calculus technique that simplifies complex rational functions
Imagine you're a calculus student staring at an integral like ∫ (x+7)/(x²+3x+2) dx and feeling completely stuck. You know integration techniques, but this rational function seems impossible to integrate directly. This is where partial fraction decomposition becomes your mathematical superpower—a technique that transforms complex fractions into simpler, manageable pieces that you can actually integrate.
Partial fraction decomposition is a fundamental algebraic technique that breaks down complicated rational functions (fractions with polynomials in the numerator and denominator) into a sum of simpler fractions. Think of it like reverse-engineering a complex recipe: instead of combining ingredients, you're identifying the individual components that were mixed together. This method is absolutely essential in calculus, differential equations, control theory, Laplace transforms, and countless engineering applications.
This comprehensive guide will take you from basic understanding to expert-level mastery of partial fraction decomposition. You'll learn the mathematical foundations, master the step-by-step process, discover real-world applications, avoid common mistakes, and gain the confidence to tackle any rational function decomposition problem. Whether you're preparing for an exam, working on a engineering project, or simply want to strengthen your mathematical toolkit, this is your definitive resource for mastering partial fractions.
Rule: The degree of the numerator must be less than the degree of the denominator. If not, perform polynomial long division first.
Example: (x+7)/(x²+3x+2) is proper (degree 1 < degree 2), but (x³+5)/(x²+1) is improper (degree 3 > degree 2) and requires division first.
Rule: Factor into linear factors (x+a) and irreducible quadratic factors (ax²+bx+c) that cannot be factored further over real numbers.
Example: x²+3x+2 = (x+1)(x+2) — two distinct linear factors.
Rule: Each factor type gets specific partial fraction terms:
Rule: Clear all fractions by multiplying both sides by the original denominator. This gives you a polynomial equation where you can solve for coefficients A, B, C, etc.
Two Methods:
Rule: Substitute the solved coefficient values back into the partial fraction form to get your final answer—a sum of simpler fractions ready for integration or further analysis.
Partial fraction decomposition is guaranteed to work thanks to Bézout's identity, which states that for any two polynomials P(x) and Q(x) with no common factors, there exist polynomials A(x) and B(x) such that:
A(x) × P(x) + B(x) × Q(x) = gcd(P(x), Q(x))
This mathematical foundation ensures that every proper rational function can be uniquely decomposed into a sum of simpler partial fractions. The specific form depends entirely on the factorization of the denominator.
Problem: Decompose (x+7)/(x²+3x+2)
Step 1: Check if proper
Degree of numerator (1) < degree of denominator (2) ✓ Proper fraction
Step 2: Factor denominator
x²+3x+2 = (x+1)(x+2)
Step 3: Set up partial fractions
(x+7)/((x+1)(x+2)) = A/(x+1) + B/(x+2)
Step 4: Multiply by denominator
x+7 = A(x+2) + B(x+1)
Step 5: Solve for coefficients
Let x = -1: -1+7 = A(-1+2) + 0 → 6 = A → A = 6
Let x = -2: -2+7 = 0 + B(-2+1) → 5 = -B → B = -5
Final Answer:
(x+7)/(x²+3x+2) = 6/(x+1) - 5/(x+2)
Problem: Decompose (2x+4)/(x+5)²
Step 1: Check if proper
Degree of numerator (1) < degree of denominator (2) ✓ Proper fraction
Step 2: Denominator already factored
(x+5)² is a repeated linear factor with power 2
Step 3: Set up partial fractions
(2x+4)/(x+5)² = A/(x+5) + B/(x+5)²
Note: Repeated factors require terms for each power up to the maximum
Step 4: Multiply by (x+5)²
2x+4 = A(x+5) + B
Step 5: Solve for coefficients
Let x = -5: 2(-5)+4 = 0 + B → -6 = B → B = -6
Expand: 2x+4 = Ax + 5A + B
Compare x coefficients: 2 = A → A = 2
Final Answer:
(2x+4)/(x+5)² = 2/(x+5) - 6/(x+5)²
Problem: Decompose 2(1+x)/(x(x²+3x+2))
Step 1: Check if proper
Degree of numerator (1) < degree of denominator (3) ✓ Proper fraction
Step 2: Factor denominator completely
x(x²+3x+2) = x(x+1)(x+2) — three distinct linear factors
Step 3: Set up partial fractions
2(1+x)/(x(x+1)(x+2)) = A/x + B/(x+1) + C/(x+2)
Step 4: Multiply by x(x+1)(x+2)
2(1+x) = A(x+1)(x+2) + Bx(x+2) + Cx(x+1)
Step 5: Solve for coefficients using substitution
Let x = 0: 2(1) = A(1)(2) → 2 = 2A → A = 1
Let x = -1: 2(0) = B(-1)(1) → 0 = -B → B = 0
Let x = -2: 2(-1) = C(-2)(-1) → -2 = 2C → C = -1
Final Answer:
2(1+x)/(x(x²+3x+2)) = 1/x - 1/(x+2)
Note: B=0 means the (x+1) term vanishes in the final answer
Partial fraction decomposition isn't just an academic exercise—it's a critical tool used daily across engineering, physics, finance, and computer science. Here are 8 essential applications where this technique transforms complex problems into manageable solutions:
Application: Analyzing transfer functions in RLC circuits, filter design, and frequency response calculations.
Real Example:
An electrical engineer needs to find the inverse Laplace transform of H(s) = 10s/(s²+5s+6) to determine the time-domain response of a low-pass filter. Using partial fractions: H(s) = 20/(s+2) - 10/(s+3), making the inverse transform straightforward: h(t) = 20e^(-2t) - 10e^(-3t).
Impact: Reduces analysis time from hours to minutes, enabling rapid prototyping of filter circuits worth billions in the electronics industry.
Application: Stability analysis, PID controller design, and system response prediction in robotics, aerospace, and industrial automation.
Real Example:
A robotics engineer designing an autonomous drone's altitude control system analyzes the transfer function G(s) = 5/(s(s+2)(s+5)). Partial fractions decompose this to 1/(2s) - 5/(6(s+2)) + 1/(3(s+5)), revealing the system's steady-state error and transient response characteristics instantly.
Impact: Critical for ensuring system stability in applications where failure means crashes, injuries, or million-dollar losses.
Application: Digital filter design, FFT analysis, modulation/demodulation in telecommunications, and audio signal processing.
Real Example:
A telecommunications engineer designing a 5G base station's digital equalizer needs to implement the transfer function H(z) = (z+2)/(z²-0.5z-0.5) in software. Partial fractions yield H(z) = 3/(z-1) - 2/(z+0.5), which translates directly into efficient recursive filter coefficients for real-time processing.
Impact: Enables real-time signal processing at GHz frequencies, powering modern wireless communications serving 8+ billion devices globally.
Application: Solving second-order differential equations in mechanics, heat transfer, quantum mechanics, and wave propagation.
Real Example:
A mechanical engineer modeling a damped spring-mass system solves the Laplace-transformed equation X(s) = F/(ms²+cs+k). After partial fraction decomposition, the inverse Laplace transform provides the exact position function x(t), predicting oscillation amplitude decay over time for vehicle suspension design.
Impact: Essential for predicting system behavior in everything from earthquake-resistant buildings to spacecraft trajectory calculations.
Application: Option pricing models, interest rate term structure analysis, and present value calculations in complex financial instruments.
Real Example:
A quantitative analyst pricing a bond with cash flows at multiple dates uses the generating function C(s) = 100/(s(s+0.05)(s+0.1)). Partial fractions decompose this into simpler terms, each representing present value contributions that sum to the bond's fair market price.
Impact: Enables accurate pricing of trillions of dollars in derivatives, bonds, and structured products traded daily in global financial markets.
Application: Evaluating integrals of rational functions that appear in area calculations, probability distributions, and engineering analysis.
Real Example:
A statistics student calculating the cumulative distribution function for a custom probability distribution encounters ∫ dx/(x²+5x+6). Partial fractions transform this to ∫ [1/(x+2) - 1/(x+3)]dx = ln|x+2| - ln|x+3| + C, solving an otherwise intractable integral.
Impact: Fundamental skill tested on AP Calculus, SAT Subject Tests, and college calculus exams taken by millions of students annually.
Application: Generating function analysis, recurrence relation solutions, and computational complexity analysis in algorithm design.
Real Example:
A computer scientist analyzing the time complexity of a divide-and-conquer algorithm uses generating functions, arriving at T(z) = z/(1-2z)(1-z). Partial fractions yield T(z) = z/(1-2z) - z/(1-z), revealing that the algorithm has O(2^n) time complexity—identifying it as exponential and unsuitable for large inputs.
Impact: Critical for algorithm optimization decisions that affect software performance for billions of users worldwide.
Application: Modal analysis, forced vibration response, and resonance frequency calculations in structural and mechanical systems.
Real Example:
An aerospace engineer analyzing wing flutter (dangerous oscillations) transforms the differential equation of motion to the frequency domain: X(ω) = F/(mω²-k+icω). Partial fractions separate real and imaginary components, revealing critical resonance frequencies where catastrophic failure could occur at specific airspeeds.
Impact: Prevents structural failures in aircraft, bridges, and buildings, saving countless lives and billions in property damage annually.
Partial fraction decomposition is an algebraic technique that breaks down complex rational functions (fractions with polynomials) into simpler component fractions. You need it primarily for integration in calculus—many rational functions are impossible to integrate directly, but after decomposition into simpler fractions, each term becomes easily integrable using logarithmic or arctangent formulas. It's also essential in Laplace transforms, control systems, circuit analysis, and differential equations. Without this technique, you'd be stuck using numerical approximations instead of getting exact analytical solutions. Every calculus student encounters this in Calculus II, and every engineer uses it regularly in professional practice.
A rational function is proper if the degree of the numerator is strictly less than the degree of the denominator (e.g., x/(x²+1) where degree 1 < degree 2). It's improper if the numerator's degree is greater than or equal to the denominator's degree (e.g., x³/(x²+1) where degree 3 > degree 2). Critical rule: You can ONLY perform partial fraction decomposition on proper fractions. If your fraction is improper, you must first use polynomial long division to divide the numerator by the denominator. This produces a quotient (polynomial part) plus a remainder (proper fraction). Example: (x³+2)/(x²+1) = x + (-x+2)/(x²+1). Now decompose only the proper fraction part (-x+2)/(x²+1).
Linear factors have the form (ax+b) and can always be factored completely over real numbers. They produce simple partial fraction terms like A/(ax+b). Quadratic factors have the form (ax²+bx+c) and are irreducible (cannot be factored into real linear factors)—this happens when the discriminant b²-4ac < 0, meaning no real roots exist. Irreducible quadratics require different partial fraction terms: (Ax+B)/(ax²+bx+c) with two unknowns (A and B) instead of one.
Examples: (x²+1) is irreducible (discriminant = -4 < 0), giving partial fraction term (Ax+B)/(x²+1). But (x²-1) = (x+1)(x-1) is factorable, giving two linear terms A/(x+1) + B/(x-1). Always try to factor quadratics first—only use the quadratic form if factoring is impossible.
Repeated factors require multiple partial fraction terms—one for each power up to the maximum. For a repeated linear factor (x+a)³, you need THREE terms: A/(x+a) + B/(x+a)² + C/(x+a)³. For a repeated quadratic (x²+1)², you need TWO terms: (Ax+B)/(x²+1) + (Cx+D)/(x²+1)².
Common mistake: Students often forget the lower-power terms. If you see (x-2)² in the denominator, you MUST include both A/(x-2) AND B/(x-2)²—omitting A/(x-2) will give you the wrong answer. The general rule: for (x+a)^n, include ALL powers from 1 to n. This is one of the most frequent errors in partial fraction problems, so double-check your setup before solving for coefficients.
Both methods work, but substitution is usually faster and less error-prone for problems with distinct linear factors. After clearing fractions, substitute x-values equal to the roots of each factor to eliminate all but one unknown. Example: if you have (x+1)(x-3) in the denominator and equation like P(x) = A(x-3) + B(x+1), let x=3 to eliminate A (giving B instantly), then let x=-1 to eliminate B (giving A instantly). Two substitutions, two answers—very fast!
Coefficient comparison is necessary when you have repeated factors or irreducible quadratics, because substitution alone won't give you enough equations. Expand both sides, collect like terms, and match coefficients of x³, x², x¹, and x&sup0; to create a system of linear equations. This takes longer but works for any partial fraction problem. Pro tip: Use substitution first to get some unknowns quickly, then use coefficient comparison for the remaining ones.
You can decompose ANY rational function P(x)/Q(x) where P and Q are polynomials with real coefficients, as long as Q(x) ≠ 0. However, there are important prerequisites: (1) The fraction must be proper or you must divide first, (2) The denominator must be fully factored into linear and irreducible quadratic factors, and (3) You need to be working over real numbers (not complex numbers, which have different rules). If the denominator has degree 10, you might get 10 partial fraction terms—it's tedious but always possible. The only limitation is practical: very high-degree denominators create large systems of equations that are time-consuming to solve by hand, though calculators and computer algebra systems handle them easily.
Totally normal! Coefficients don't have to be integers. You might get A = 5/2, B = -7/3, or even irrational numbers like A = √2. As long as your arithmetic is correct, fractional coefficients are perfectly valid answers. Important: Don't round to decimals like A = 2.5—keep exact fractions like 5/2 for maximum precision, especially if you're using the result for further calculations or integration. When checking your answer, multiply your final partial fraction decomposition by the original denominator—you should get back the original numerator exactly. This verification works regardless of whether coefficients are integers, fractions, or radicals.
Once decomposed, each partial fraction term integrates using standard formulas:
The beauty of partial fractions is that every term becomes an elementary integral—no complicated substitutions or integration by parts needed. This is why the technique is so powerful for calculus.
The #1 mistake is forgetting to include all necessary partial fraction terms for repeated factors. If you see (x-2)³ in the denominator, you need A/(x-2) + B/(x-2)² + C/(x-2)³—all three terms. Students often write only C/(x-2)³, which guarantees a wrong answer. The second most common error is arithmetic mistakes when solving systems of equations—one sign error propagates through all coefficients, giving a completely wrong decomposition.
Prevention strategy: (1) Before solving, count your unknowns and verify you have the same number of equations, (2) ALWAYS verify your final answer by combining the partial fractions back together—you must get the original fraction, and (3) Use strategic substitution values to minimize arithmetic complexity. Following these three checks catches 95% of errors before you submit your work.
Do it by hand when: (1) You're learning the technique or preparing for exams, (2) The problem has 2-3 simple linear factors (takes <5 minutes), (3) You need to understand the mathematical structure for theoretical work, or (4) Your instructor requires manual work for full credit. Use a calculator when: (1) You have 4+ factors or high-degree polynomials (would take 15+ minutes by hand), (2) You're working on engineering/physics problems where the decomposition is a means to an end, not the learning objective, (3) You need to verify your hand calculation, or (4) You're analyzing multiple transfer functions in control systems where speed matters. Our calculator handles all factor types, shows complete step-by-step solutions, and gives instant results—perfect for both learning and professional applications. The key is understanding the process thoroughly so you can troubleshoot when automated tools give unexpected results.
Absolutely yes! Negative coefficients are extremely common and mathematically valid. Example: (x+7)/(x²+3x+2) decomposes to 6/(x+1) - 5/(x+2). The coefficient B = -5 is negative, which is perfectly correct. When you see negative coefficients, you write them as subtraction: A/(x+a) - |B|/(x+b) rather than A/(x+a) + B/(x+b). This happens frequently when the numerator is smaller than some denominator factors would suggest. Negative coefficients have no special meaning—they're just the algebraic solution to the system of equations. Never force coefficients to be positive; let the mathematics determine their signs naturally.
Partial fractions are essential for inverse Laplace transforms in differential equations and control systems. When you solve a differential equation using Laplace transforms, you often get a solution in the s-domain that's a rational function like X(s) = (s+3)/(s²+5s+6). To convert back to the time domain (the actual solution x(t)), you need the inverse Laplace transform. You can't directly look up complex rational functions in Laplace tables, but after partial fraction decomposition: X(s) = 2/(s+2) - 1/(s+3), each term has a known inverse: x(t) = 2e^(-2t) - e^(-3t). This is the time-domain solution you need! Every control systems engineer, electrical engineer, and mechanical engineer uses this technique dozens of times per week. Without partial fractions, most inverse Laplace transforms would be impossible to compute analytically.
Three verification methods:
Pro tip: Our calculator shows the verification automatically in the step-by-step solution, so you can see exactly why the decomposition is correct. Use method #1 (combining fractions) as your primary check—it's definitive proof.
If the denominator has irrational or complex roots, you can still factor it, but the factors will have irrational coefficients. Example: x²-2 = (x-√2)(x+√2). You proceed with partial fractions normally: A/(x-√2) + B/(x+√2), solving for A and B as usual. The coefficients might also be irrational. Alternatively, if the quadratic is irreducible (discriminant < 0), keep it as a quadratic factor and use (Ax+B)/(x²+bx+c). In practice: Most textbook problems are designed with "nice" factors (integer roots) for hand calculation. Real engineering problems often have messy factors—this is where calculators and computer algebra systems like ours become invaluable, handling irrational and complex coefficients effortlessly while still showing the mathematical structure.
No mathematical limit! The number of partial fraction terms equals the degree of the denominator (for distinct linear factors) or more (for repeated/quadratic factors). A degree-10 denominator could produce 10+ terms. Example: 1/((x-1)(x-2)(x-3)(x-4)(x-5)) decomposes into 5 terms. In advanced control systems, transfer functions might have denominators of degree 20+, producing 20+ partial fraction terms. While tedious to compute by hand, this is routine for computer algebra systems. Practical consideration: If you're doing this for an exam or homework with more than 6-8 terms, double-check the problem statement—instructors rarely assign huge problems unless there's simplification possible. For professional engineering work, let software handle the arithmetic while you focus on interpreting the results.
Our calculator provides detailed step-by-step solutions for every decomposition, helping you understand not just the answer but the complete process. Try the quick examples above to see the technique in action, or enter your own problem to get instant, verified results with full explanations.
Complete your mathematical toolkit with our comprehensive calculator suite for calculus, algebra, and advanced mathematics:
Solve quadratic equations ax²+bx+c=0 to find roots needed for factoring denominators in partial fractions.
Factor polynomials completely—essential first step before decomposing into partial fractions.
Add, subtract, multiply, and divide fractions—verify partial fraction decomposition by combining back.
Perform polynomial long division to convert improper fractions to proper fractions for decomposition.
Find greatest common factors to simplify rational functions before decomposition.
Calculate least common multiples—find common denominators when combining partial fractions.
Find polynomial roots to identify linear factors for partial fraction setup.
Perform arithmetic operations to verify coefficients and check partial fraction arithmetic.
Real-Time Step-by-Step
Instant calculations with complete solution breakdowns showing every step of the mathematical process.
Educational Focus
Learn while calculating with detailed explanations, worked examples, and pro tips for mastery.
Professional Accuracy
Production-ready calculations trusted by students, engineers, and researchers worldwide.