How to Do Long Division of Polynomials - A Complete Guide

Apr 28, 2025
Long Division of Polynomials

Whether you're just starting to learn about the long division of polynomials in school, getting ready for a standardized math test, or looking to refresh your skills, you’re in the right place. 

Read on to find simple definitions, step-by-step instructions, solved examples, practice exercises, and answers to the most common questions about polynomial division.

Find Top-Rated Math Tutors Near You


Let's Start with Definitions: What Are Polynomials and Long Division?

Long division of polynomials might sound like a mouthful, but don’t worry—it’s not as scary as it seems. 

Since it brings together two separate concepts, let’s break them down and understand each one before we tackle them together.


What Is a Polynomial?

A polynomial is an algebraic expression made up of variable terms like 3x2 or 5x2 and constant terms like 7 or -2, combined using addition and subtraction.

Each variable in a polynomial has a non-negative integer exponent like x3, x1 or x⁰ but never x-1 or x\(\frac{1}{2}\).

For instance: 

4x3 − 2x + 7 is a polynomial because it has:

  • Variable terms: 4x3 and −2x

  • Constant term: 7 

  • Non-negative integer exponents: 3 (in 4x3) and 1 (in −2x) 

Polynomials can have different degrees, which is the highest power of the variable terms. 

For example, in 3x2 + 5x − 2, the degree is 2 because the highest power of x is x2.  This means that the term with x2 has the largest exponent, which determines the degree of the polynomial.  

In 4x3 −7x2 + 2x + 1, the degree is 3 because the highest power of x  is x3.


What Is Long Division?

At its core, division is counting how many of “these” fit into “that.” It’s like asking, “How many groups of 4 can I count inside 20?” 

Building on that, long division is a process, usually for bigger numbers, that breaks division down into simpler steps to follow. This makes it easier to work through problems step by step instead of all at once. 

The long division process consists of four key components: 

  • Dividend: The number we are dividing. 

  • Divisor: The number we are dividing by. 

  • Quotient: The result or answer of the division. 

  • Remainder: Any leftover amount if the division doesn't result in a whole number. 

Each long division task follows the same basic operations: 

  1. Divide: Starting from the left, determine how many times the divisor fits into part or all of the dividend. 

  1. Multiply: Multiply the divisor by the current quotient digit. 

  1. Subtract: Subtract the result from the current portion of the dividend. 

  1. Bring Down: Bring down the next digit from the dividend. 

  1. Repeat: Continue the process until there is nothing left to bring down. 


How to Do Long Division of Polynomials 

The approach to diving polynomials is similar to dividing large numbers, but instead of numbers, we’re working with terms that include variables like x.

The steps, when applied to polynomial long division, become: 

  1. Divide: Determine how many times the leading term of the divisor fits into the leading term of the dividend. 

  1. Multiply: Multiply the entire divisor by this quotient term. 

  1. Subtract: Subtract the result from the dividend to find the new remainder. 

  1. Bring Down: Bring down the next term of the dividend. 

  1. Repeat: Continue the process until there are no terms left to bring down. 

Now, to see how this works in action.  

We will divide \(\Large\frac{x^2 + 4x + 3}{x + 1}\) where x \(\neq\) −1.

Before we start dividing, we’ll write the dividend (x2 + 4x + 3) under the division symbol and the divisor (x + 1) outside the division symbol to the left like so:

Long division of polynomials part 1 set 1


Now, we follow the steps: 

Step 1: Divide 

Look at the leading term of the divisor (x). Determine how many times it goes into the leading term of the dividend (x2). 

x2 ÷ x = x

Write x above the division symbol. 

Long division of polynomials part 2 set 1


Step 2: Multiply & Subtract 

Write the product of the dividend (x + 1) and the quotient (x) below the like terms, lined up by degree. 

x × x + 1 = x2 + x

Use parentheses and subtract the result from the first two terms of the dividend.

Long division of polynomials part 3 set 1


Let’s go term by term: 

  • x2 − x2 = 0

  • 4x − x = 3x

We write 3x below the line. 

Long division of polynomials part 4 set 1


Step 3: Bring Down 

We bring down the next term of the dividend (+3).

Long division of polynomials part 5 set 1


Step 4: Divide Again 

If the degree of the remainder is greater than or equal to the degree of the divisor, divide again.   

Determine how many times the leading term of the divisor (x + 1), goes into the leading term of the dividend (3x + 3).

3x ÷ x = 3

We write +3 above the division symbol, next to x.  

Long division of polynomials part 6 set 1


Step 5: Multiply & Subtract Again  

Write the product of x + 1 and 3 below the like terms, lined up by degree 

3 × (x + 1) = 3x + 3

Use parentheses and subtract it from 3x + 3. 

Long division of polynomials part 7 set 1


Let’s go term by term: 

  • 3x − 3x = 0

  • 3 − 3 = 0

Both terms cancel out. We write 0 below the line.

Long division of polynomials part 8 set 1


Since the remainder is 0, the division is complete.

Our final result is: \(\Large\frac{x^2 + 4x + 3}{x + 1}\) = x + 3

And that’s how we do long division of polynomials when there’s no remainder.  

 

How to Do Long Division of Polynomials with Remainders 

In some cases, when dividing polynomials, the division doesn’t work out evenly.  

This means we’ll have a remainder left over, just like when dividing regular numbers (e.g., 13 ÷ 4 = 3 with a remainder of 1). 

When this happens, we write the remainder as a rational expression—placing it over the divisor—so our final answer accurately represents the division. 

Now, let’s see this in action with an example! 

We’ll divide \(\Large\frac{x^2 − 5x + 7}{x − 1}\) where x \(\neq\) 1. 

Before we start the division, we place the dividend (x2 − 5x + 7) under the division symbol and the divisor (x − 1) outside the division symbol to the left. 

Long division of polynomials with remainders part 1 set 2


Step 1: Divide 

Look at the leading term of the divisor, x, and determine how many times it goes into the leading term of the dividend, x2

x2 ÷ x = x

Write x above the division symbol as the first term of our quotient.

Long division of polynomials with remainders part 2 set 2


Step 2: Multiply & Subtract 

Write the product of x – 1 and x below the appropriate terms, lined up by degree.

x(x − 1) = x2 − x

Use parentheses and subtract the result from the first two terms of the dividend. 

Long division of polynomials with remainders part 3 set 2


Let’s go term by term 

  •  x2 − x2 = 0 

  • −5x − (−x) = −5x + x = −4x 

Since x2 terms cancel each other out, we only write −4x below. 

Long division of polynomials with remainders part 4 set 2


Step 3: Bring Down 

We bring down the remaining term of the dividend. 

Long division of polynomials with remainders part 5 set 2


Step 4: Divide Again  

If the degree of the remainder is greater than or equal to that of the divisor, divide again.   

Determine how many times x goes into –4x. 

−4x ÷ x = −4 

We write –4 above the division symbol, next to x. 

Long division of polynomials with remainders part 6 set 2


Step 5: Multiply & Subtract Again  

Write the product of x – 1 and –4 below the appropriate terms, lined up by degree.   

−4(x − 1) = −4x + 4

Use parenthesis and subtract the result from −4x + 7. 

Long division of polynomials with remainders part 7 set 2


Let’s go term by term: 

  • −4x − (−4x) = −4x + 4x = 0

  • 7 − 4 = 3

Write the result (3) below.

Long division of polynomials with remainders part 8 set 2


Here, x − 4 is our quotient and 3 is our remainder. Since the remainder, 3, has a lower degree (degree of 0) than the divisor x − 1 (degree of 1), we stop here. 

To express the remainder, we write it as a rational expression over the divisor: 

x − 4 + \(\Large\frac{3}{x − 1}\)

So, our final answer is: 

\(\Large\frac{x^2 − 5x + 7}{x − 1}\) = x − 4 + \(\Large\frac{3}{x − 1}\)


Long Division of Polynomials by Missing Terms 

Sometimes, a polynomial is missing one or more powers of the variable when written in standard form.  

When a term is missing, we can write an equivalent polynomial by adding placeholder terms with a coefficient of zero. 

This makes sure that each term lines up correctly in the long division process and helps avoid errors. 

Let’s go through an example to see exactly how we do it! 

We’ll divide \(\Large\frac{x^3 − 14x − 8}{x − 4}\) where x \(\neq\) 4.

Since the dividend x3 − 14x − 8 is missing an x2-term, we insert 0x2

So, we write x3 + 0x2 − 14x − 8 under the division symbol and x − 4 outside to the left like so: 

Long division of polynomials by missing terms pt1


Now, we can divide, step by step. 

Step 1: Divide

Look at the leading term of the divisor, x, and determine how many times it goes into the leading term of the dividend, x3

x3 ÷ x = x2

Write x2 above the division symbol, right over x3

Long division of polynomials by missing terms pt2


Step 2: Multiply & Subtract 

Write the product of x – 4 and x2 below the appropriate terms, lined up by degree.   

x2(x − 4) = x3 − 4x2

Use parentheses and subtract the result from the first two terms of the dividend. 

Long division of polynomials by missing terms pt3


We subtract term by term: 

  • x3 − x3 = 0

  • 0x2 − (−4x2) = 0 + 4x2 = 4x2

Since x3 terms cancel each other out, we write 4x2 as our result.

Long division of polynomials by missing terms pt.4


Step 3: Bring Down 

We can bring down the next term of the dividend, −14x.

This gives us the new expression: 

4x2 − 14x

Long division of polynomials by missing terms pt.5


Step 4: Divide Again 

Determine how many times the leading term of the divisor (x) goes into 4x2:  

4x2 ÷ x = 4x

Above the division symbol, add +4x as the second term of the quotient, to the right of x2

Long division of polynomials by missing terms pt.6


Step 5: Multiply & Subtract Again 

Write the product of x – 4 and 4x below the appropriate terms, lined up by degree.   

4x(x − 4) = 4x2 − 16x

Use parentheses and subtract this result from 4x2 − 14x.

Long division of polynomials by missing terms pt.7

We can go term by term to avoid mistakes: 

  • 4x2 − 4x2 = 0

  • −14x − (−16x) = −14x + 16x = 2x

Since x2 terms cancel each other out, we only write 2x as our result below.

Long division of polynomials by missing terms pt.8


Step 6: Bring Down 

We can bring down the next term of the dividend and place it next to 2x.

Long division of polynomials by missing terms pt.9


Step 7: Divide Again 

Determine how many times the leading term of the divisor (x) goes into −2x:  

2x ÷ x = 2

Write the result (+2) as the third term of the quotient, to the right of 4x. 

Long division of polynomials by missing terms pt.10


Step 8: Multiply & Subtract Again 

Write the product of x – 4 and 2 below the appropriate terms, lined up by degree.   

2(x − 4) = 2x − 8

Use parentheses and subtract this result from 2x − 8. 

Long division of polynomials by missing terms pt.11


Let’s go term by term: 

  • 2x − 2x = 0

  • −8 − (−8) = −8 + 8 = 0

Both terms cancel each other out, so we write 0 below. 

Long division of polynomials by missing terms pt.12


Since there’s no remainder, we stop dividing here. 

So, using long division we found:  

\(\Large\frac{x^2 − 14x − 8}{x − 4}\) = x2 + 4x + 2


Long Division of Polynomials with a Non-Linear Divisor

So far, we’ve divided polynomials by linear divisors (divisors of the form ax+b, where the highest exponent is 1).  

But what if the divisor itself is a polynomial with a higher degree, like x2 + 3x?  

We follow the same long division steps as before—divide, multiply, subtract, bring down, and repeat—until the remainder has a lower degree than the divisor. 

Let’s see how it’s done with an example: 

\(\Large\frac{2x^3 + x^2 − 4x + 16}{x^2 + 3x}\) where x \(\neq\) 0 or 3. 

Since the process mirrors what we did for linear divisors, we’ll show the steps visually to reinforce the concept.

Long Division of Polynomials, Non-Linear Divisor


Since the expression 11x + 16  has a lower degree than the divisor x2 + 3x, we stop here. 

We write the remainder as a rational expression by placing it over the divisor: 

2x − 5 + \(\Large\frac{11x + 16}{x^2 + 3x}\)

Using long division, we found: 

\(\Large\frac{2x^3 + x^2 − 4x + 16}{x^2 + 3x}\) = 2x − 5 + \(\Large\frac{11x + 16}{x^2 + 3x}\)

 

More Solved Examples of Long Division of Polynomials 

Practice makes perfect!  

We've prepared a few more solved examples to show the long division of polynomials in action. 

 

Example 1: Long Division of Polynomials without Remainders 

We’ll divide \(\Large\frac{x^2 − 7x  + 12}{x − 3}\) where x \(\neq\) 3. 

Since we’re already familiar with the steps of polynomial long division, we’ll present the entire solution visually for clarity. 

Long division of polynomials example


So, using long division, we found \(\Large\frac{x^2 − 7x  + 12}{x − 3}\) = x − 4


Example 2: Long Division of Polynomials with Remainders 

To revisit the long division of polynomials with remainders, we’ll divide \(\Large\frac{x^2 + 3x + 5}{x + 2}\).

Here’s how the process unfolds.

Long division of polynomials solved example 2


Here, x + 1 is our quotient and 3 is our remainder. Since the remainder, 3, has a lower degree (degree of 0) than the divisor x + 2 (degree of 1), we stop here. 

We express the result and the remainder as: 

x + 1 + \(\Large\frac{3}{x + 2}\)

In the end, we found that \(\Large\frac{x^2 + 3x + 5}{x + 2}\) = x + 1 + \(\Large\frac{3}{x + 2}\). 


Example 3: Long Division of Polynomials by Missing Terms 

Now, to strengthen our understanding, we’ll practice another example of long division with a missing degree. 

We’ll divide \(\Large\frac{x^3 − 19x − 30}{x − 5}\) where x \(\neq\) 5. 

Since the dividend x3 − 19x − 30 is missing x2 term, we insert 0x2 as a placeholder. 

Next, we’ll go through the long division process and present the solution visually!

Long division of polynomials solved example 3


By applying long division to a polynomial with missing terms, we found: 

\(\Large\frac{x^3 − 19x − 30}{x − 5}\) = x2 + 5x + 6. 


Example 4: Long Division of Polynomials with a Non-Linear Divisor 

 Lastly, we’ll practice long division of polynomials with a non-linear divisor. This time, we’ll divide: 

\(\Large\frac{x^3 + 6x^2 + 4x + 22}{x^2 + 3}\)

Now, let’s go through the solution visually! 

Long division of polynomials solved example 4


Since the remainder x + 4 has a lower degree than the divisor x2 + 3, we stop here. 

We write the remainder as a fraction over the divisor: 

x + 6 + \(\Large\frac{x + 4}{x^2 + 3}\)

The final result is \(\Large\frac{x^3 + 6x^2 + 4x + 22}{x^2 + 3}\) = x + 6 + \(\Large\frac{x + 4}{x^2 + 3}\).


Practice Questions: Long Division of Polynomials   

Now it’s time to test your skills with long division of polynomials!

Try to solve these 4 expressions:  

 Create your own user feedback survey


FAQs About the Long Division of Polynomials 

From the basics to the tricky bits, we’ve gathered the most common questions students have about dividing polynomials.   

 

1) What do I do when there’s no remainder? 

If there is no remainder (meaning the remainder is 0), the final answer is simply the quotient you obtained from the long division process. 

 

2) What if the degree of the divisor is greater than the degree of the dividend? 

Polynomial long division is typically used when the dividend has a degree equal to or greater than the divisor. 

If the divisor has a higher degree, then long division isn’t applied, but that doesn’t mean the expression is fully simplified. 

Instead, the expression remains as a rational expression, and you should check for common factors. 

If the numerator and denominator share a factor, the expression can still be simplified by factoring and reducing. 

 

3) How do I know when to stop dividing? 

You stop dividing when the degree of the remainder is less than the degree of the divisor.  

At this point, further division isn’t possible, and the remainder (if any) is written as a rational expression placed over the divisor.  

If the remainder is 0, the quotient is the final answer. 

 

4) Do I always need to write the remainder as a fraction? 

If you want an exact answer, yes. The remainder is written as a rational expression placed over the divisor.  

For instance, dividing x2 + 5x + 4 by x − 2 might give a quotient of x + 7 with a remainder of 18, so the final answer is x + 7 + \(\Large\frac{18}{x − 2}\). 


Master Long Division of Polynomials with Top-Rated Math Tutors Near You 

Mathnasium is a math-only learning center for K-12 students of all skill levels, including middle schoolers.    

Our specially trained math tutors provide personalized face-to-face instruction in an engaging and supportive group environment to help students master any math topic, including long division of polynomials typically covered in Algebra 2

Explore our approach to high school math tutoring.  

Students begin their Mathnasium journey with a diagnostic assessment that allows us to understand their unique strengths and knowledge gaps. Guided by assessment-based insights, we create customized learning plans that build upon what the student already knows, introducing new concepts in sequence, and enhancing the skills they need to excel in math and beyond. 

Whether your student is looking to catch up, keep up, or get ahead in their math class, find a Mathnasium Learning Center near you, schedule an assessment, and enroll today! 

Find a Math Tutor Near You


SEE HOW MATHNASIUM WORKS FOR YOUR SITUATION

Answer a few questions to see how it works

My Child is:

Cloud
Cloud

OUR METHOD WORKS

Mathnasium meets your child where they are and helps them with the customized program they need, for any level of mathematics.

HELP YOUR CHILD ACHIEVE THEIR FULL MATH POTENTIAL

We have nearly 1,000 neighborhood centers nationwide. Get started now.

  • Find a location
  • Get a math skills assessment for your child
  • Your child will complete a customized learning plan
Get Started by Finding a Local Center
Loading