Enter an equation or problem
Camera input is not recognized!

Solution - Polynomial division

Step-by-step explanation

1. Parse dividend and divisor structure

x2−5x−2

Interpret the input as (x^2-5)/(x-2).

x2−5x−2

Normalized dividend: x^2-5.

x2−5

Normalized divisor: x-2.

x−2

Degree check: dividend degree 2, divisor degree 1.

x2−5x−2

Plan: divide leading terms, multiply the divisor by that quotient term, subtract, and repeat.

x2−5x−2

Missing powers are treated as zero coefficients: dividend has zero x term.

x2−5x−2

Rewrite each polynomial in descending powers so each long-division cycle is clear and traceable.

2. Run divide-multiply-subtract cycles

x2−5x−2

Repeat long-division cycles until the remainder degree is smaller than the divisor degree.

x2−5x−2

Start this cycle by dividing the leading term of the remainder by the leading term of the divisor.

x2−5x−2(cyc≤1)

x2(x)=x

(x−2)⋅(x)=x2−2x

Multiply the full divisor by this quotient term to build the expression to subtract.

x2−2x

x2−5−(x2−2x)=2x−5

Subtract to obtain the next remainder for the next cycle.

2x−5

Start this cycle by dividing the leading term of the remainder by the leading term of the divisor.

x2−5x−2(cyc≤2)

2xx=2

(x−2)⋅(2)=2x−4

Multiply the full divisor by this quotient term to build the expression to subtract.

2x−4

2x−5−(2x−4)=−1

Subtract to obtain the next remainder for the next cycle.

−1

x2−5x−2=x+2+−1x−2

The final remainder is non-zero, so keep it as a rational remainder term.

x+2+−1x−2

The remainder stays non-zero, so write quotient plus remainder over divisor.

3. Conclude with canonical result form

x2−5x−2=x+2+−1x−2

x2−5=(x−2)⋅(x+2)+(−1)

x2−5=(x−2)⋅(x+2)+(−1)

The division has remainder -1, so (x^2-5)/(x-2) = x+2+(-1)/(x-2).

x+2+−1x−2

Remainder theorem check: the divisor equals zero at x=2, and P(2)=-1, matching the remainder -1.

x+2+−1x−2

Study tip: check identity dividend = divisor*quotient + remainder, with remainder degree below divisor degree.

x+2+−1x−2

Because the remainder is non-zero, keep the answer as quotient plus remainder over divisor.

Why learn this

Learn more with Tiger
Polynomial division supports algebra simplification, factor work, and rational expressions.

Terms and topics