Divide p(x) = x⁴-3x²+4x+5 by g(x) = x²+1-x

hard CBSE JEE-MAIN 5 min read

Question

Divide p(x)=x43x2+4x+5p(x) = x^4 - 3x^2 + 4x + 5 by g(x)=x2+1xg(x) = x^2 + 1 - x.

Find the quotient q(x)q(x) and remainder r(x)r(x), and verify using the division algorithm.

Solution — Step by Step

Before dividing, we write both polynomials with terms in descending order of degree:

  • Dividend: p(x)=x4+0x33x2+4x+5p(x) = x^4 + 0 \cdot x^3 - 3x^2 + 4x + 5
  • Divisor: g(x)=x2x+1g(x) = x^2 - x + 1

Note that we re-ordered g(x)=x2+1xg(x) = x^2 + 1 - x as x2x+1x^2 - x + 1. Also, p(x)p(x) has no x3x^3 term, so we insert 0x30 \cdot x^3 as a placeholder — this prevents alignment errors during long division.

Divide the leading term of the dividend by the leading term of the divisor:

x4x2=x2\frac{x^4}{x^2} = x^2

Multiply x2x^2 by the entire divisor (x2x+1)(x^2 - x + 1):

x2(x2x+1)=x4x3+x2x^2 \cdot (x^2 - x + 1) = x^4 - x^3 + x^2

Subtract from the dividend:

(x4+0x33x2+4x+5)(x4x3+x2)=x34x2+4x+5(x^4 + 0 \cdot x^3 - 3x^2 + 4x + 5) - (x^4 - x^3 + x^2) = x^3 - 4x^2 + 4x + 5

Bring down the next term (already done). Divide the new leading term:

x3x2=x\frac{x^3}{x^2} = x

Multiply xx by (x2x+1)(x^2 - x + 1):

x(x2x+1)=x3x2+xx \cdot (x^2 - x + 1) = x^3 - x^2 + x

Subtract:

(x34x2+4x+5)(x3x2+x)=3x2+3x+5(x^3 - 4x^2 + 4x + 5) - (x^3 - x^2 + x) = -3x^2 + 3x + 5

Divide the new leading term:

3x2x2=3\frac{-3x^2}{x^2} = -3

Multiply 3-3 by (x2x+1)(x^2 - x + 1):

3(x2x+1)=3x2+3x3-3 \cdot (x^2 - x + 1) = -3x^2 + 3x - 3

Subtract:

(3x2+3x+5)(3x2+3x3)=8(-3x^2 + 3x + 5) - (-3x^2 + 3x - 3) = 8

The degree of the remainder (0) is less than the degree of the divisor (2), so we stop.

Quotient: q(x)=x2+x3\text{Quotient: } q(x) = x^2 + x - 3 Remainder: r(x)=8\text{Remainder: } r(x) = 8

Verification using Division Algorithm: p(x)=g(x)q(x)+r(x)p(x) = g(x) \cdot q(x) + r(x)

(x2x+1)(x2+x3)+8(x^2 - x + 1)(x^2 + x - 3) + 8

=x4+x33x2x3x2+3x+x2+x3+8= x^4 + x^3 - 3x^2 - x^3 - x^2 + 3x + x^2 + x - 3 + 8

=x4+(x3x3)+(3x2x2+x2)+(3x+x)+(3+8)= x^4 + (x^3 - x^3) + (-3x^2 - x^2 + x^2) + (3x + x) + (-3 + 8)

=x43x2+4x+5= x^4 - 3x^2 + 4x + 5

Why This Works

Polynomial long division mirrors the long division you learned for integers. The key principle: at each step, we eliminate the highest degree term of the current remainder by choosing the right multiplier for the divisor.

The Division Algorithm for polynomials states: for any polynomial p(x)p(x) and non-zero polynomial g(x)g(x), there exist unique polynomials q(x)q(x) (quotient) and r(x)r(x) (remainder) such that:

p(x)=g(x)q(x)+r(x)p(x) = g(x) \cdot q(x) + r(x)

where the degree of r(x)r(x) is strictly less than the degree of g(x)g(x), or r(x)=0r(x) = 0.

This is analogous to: dividend = divisor × quotient + remainder for integers.

Alternative Method

We can verify the remainder using the Remainder Theorem — but only when dividing by a linear factor (xa)(x - a). Since g(x)g(x) is quadratic, the Remainder Theorem doesn’t directly apply here. Long division is the correct method for quadratic or higher-degree divisors.

For checking work quickly: substitute any convenient value of xx into both sides of p(x)=g(x)q(x)+r(x)p(x) = g(x) \cdot q(x) + r(x).

Try x=0x = 0: LHS = p(0)=5p(0) = 5. RHS = g(0)q(0)+8=1(3)+8=5g(0) \cdot q(0) + 8 = 1 \cdot (-3) + 8 = 5. ✓

Try x=1x = 1: LHS = 13+4+5=71 - 3 + 4 + 5 = 7. RHS = (11+1)(1+13)+8=1×(1)+8=7(1-1+1)(1+1-3) + 8 = 1 \times (-1) + 8 = 7. ✓

In CBSE Class 10 exams, polynomial division questions almost always ask you to verify using the division algorithm. Even if you’re confident your answer is right, write out the verification — it typically earns 1-2 marks on its own. The substitution check (trying x=0x = 0 and x=1x = 1) is a 30-second sanity check before writing the final answer.

Common Mistake

The most common error is forgetting to insert the missing x3x^3 term in p(x)p(x). If you write p(x)=x43x2+4x+5p(x) = x^4 - 3x^2 + 4x + 5 and jump into division without the placeholder, you’ll misalign terms in the subtraction step and get completely wrong coefficients in the quotient. Always write polynomial dividends with all terms from the highest degree down to the constant, inserting 0xk0 \cdot x^k for any missing degree kk.

Want to master this topic?

Read the complete guide with more examples and exam tips.

Go to full topic guide →

Try These Next