How do you divide #(x^3+3x^2-2x+5) div(x+1)# and identify any restrictions on the variable?

2 Answers
Oct 25, 2017

Long division

#x^2+2x-4+9/(x+1), x!= -1#

Explanation:

(I am using the square root function to format it as close as possible to a long division sign, but it is not a square root.)

We cannot divide by #0#, so the divisor must not equal #0#. Thus, our variable is restricted to:

#x+1!=0#
#x!=-1#

The first step to long division is to fill in any terms of #x# missing in the dividend, but in this case #x^3+3x^2-2x+5# is not missing any terms of #x#.

Next, you divide the first term in the dividend by the first term in the divisor, in this case #x+1#.

#x^3/x = x^2#

#color(white)(xoxoxo)color(red)(x^2)#
#x+1 sqrt(x^3+3x^2-2x+5)#

The quotient of this division is multiplied by all terms in divisor, and this product is then subtracted from original dividend. Then drop down the rest of the original function.

#color(white)(xoxoxo)x^2#
#x+1 sqrt(x^3+3x^2-2x+5)#
#color(white)(xoi)color(red)(-ul((x^3+x^2)))color(white)(xo)color(red)(darr)color(white)(xo)color(red)(darr)#
#color(white)(xoxoxoxi)color(red)(2x^2-2x+5)#

The first term of the new function #(2x^2)# is divided by first term of dividend, similar to the first division. The quotient is again multiplied by all terms of dividend and subtracted from the new function. The remaining terms are again dropped down.

#color(white)(xoxoxo)x^2color(red)(+2x)#
#x+1 sqrt(x^3+3x^2-2x+5)#
#color(white)(xoi)-ul((x^3+x^2))color(white)(xo)darrcolor(white)(xo)darr#
#color(white)(xoxoxoxi)2x^2-2x+5#
#color(white)(xoxoii)color(red)(-ul((2x^2+2x)))color(white)(i)color(red)(darr)#
#color(white)(xoxoxoxoxo)color(red)(-4x+5)#

One more division, in the same fashion as the 2 previous ones.

#color(white)(xoxoxo)x^2+2xcolor(red)(-4)#
#x+1 sqrt(x^3+3x^2-2x+5)#
#color(white)(xoi)-ul((x^3+x^2))color(white)(xo)darrcolor(white)(xo)darr#
#color(white)(xoxoxoxi)2x^2-2x+5#
#color(white)(xoxoii)-ul((2x^2+2x))color(white)(i)darr#
#color(white)(xoxoxoxoxo)-4x+5#
#color(white)(xoxoxox)color(red)(-ul((-4x-4)))#
#color(white)(xoxoxoxoxoxoxox)color(red)(9)#

When the remaining difference is a term with no #x# term, you perform the final step, which is to write this number divided by the divisor, and to append it to the existing quotient. This is the remainder.

#x^2+2x-4+color(red)(9/(x+1)),x!=-1#

This is the final answer.

Oct 25, 2017

#x^2+2x-4+9/(x+1)#

Explanation:

#"one way is to use the divisor as a factor in the numerator"#

#"consider the numerator"#

#color(red)(x^2)(x+1)color(magenta)(-x^2)+3x^2-2x+5#

#=color(red)(x^2)(x+1)color(red)(+2x)(x+1)color(magenta)(-2x)-2x+5#

#=color(red)(x^2)(x+1)color(red)(+2x)(x+1)color(red)(-4)(x+1)color(magenta)(+4)+5#

#=color(red)(x^2)(x+1)color(red)(+2x)(x+1)color(red)(-4)(x+1)+9#

#"quotient "=color(red)(x^2+2x-4)," remainder "=+9#

#rArr(x^3+3x^2-2x+5)/(x+1)#

#=x^2+2x-4+9/(x+1)to(x!=-1)#