# Math Help - Dividing algebraic expressions

1. ## Dividing algebraic expressions

x^3 - 22x + 15 \ x+ 5

When I do this normally it works out but for this one I end up with trying to subtract 5x^2 from 22x.

I get the same type of problem with 2x^3 - x^2 - 12 / x - 2
Do I have to do it a different way than long divison?

2. Originally Posted by zyx.gar
x^3 - 22x + 15 \ x+ 5

When I do this normally it works out but for this one I end up with trying to subtract 5x^2 from 22x.

I get the same type of problem with 2x^3 - x^2 - 12 / x - 2
Do I have to do it a different way than long divison?
you need a place holder ...

Code:
.....-----------------------
x+5 | 2x^3 - x^2 + 0x - 12