# Thread: how to do a long division for this cube expression

1. ## how to do a long division for this cube expression

(4x^3 + x^2 + 8x + 4) / (x^2 + 2)

The long division as follows:

4x
_______________________
(4x^3 + x^2 + 8x + 4)
4x^3 + 8x
________
??

Due to truncation of text, the (x^2 + 2) is not shown in the long division diagram.

The workings:
4x (x^2 + 2) = 4x^3 + 8x

I'm stuck with the second step. What about the ^2 exponent?

The answer key given is 4x + 1 Remainder 2

2. Let me try this:

For:
4x (x^2 + 2) = 4x^3 + 8x

Is it ok to append a zero to get the answer?

As follows:

4x^3 + x^2 + 8x + 4
4x^3 + 0 + 8x
__________________
x^2 + 4

Next Step:

1 (x^2 + 2) = x^2 + 2

x^2 + 4
x^2 + 2
_______
2

This approach of adding a zero to the long division allows me to get 4x+1 remainder 2. Is that right?

3. Originally Posted by shenton
Let me try this:

For:
4x (x^2 + 2) = 4x^3 + 8x

Is it ok to append a zero to get the answer?

As follows:

4x^3 + x^2 + 8x + 4
4x^3 + 0 + 8x
__________________
x^2 + 4

Next Step:

1 (x^2 + 2) = x^2 + 2

x^2 + 4
x^2 + 2
_______
2

This approach of adding a zero to the long division allows me to get 4x+1 remainder 2. Is that right?

Looks OK to me. You could of course check that

4x^3 + x^2 + 8x + 4= (4x+1)(x^2+2)+2

RonL

4. Hello, shenton!

Let me give it a try . . .

(4x³ + x² + 8x + 4) ÷ (x² + 2)
Code:
                 4x    +   1
--------------------
x² + 2 ) 4x³ + x² + 8x + 4
4x³   +    8x
---------------
x²   +    4
x²   +    2
-------------
2

5. Thanks, Soroban for showing the workings.