Step - 1 : 1. Divide the first term of the dividend by the first term of the divisor : `(x^2)/(x)=color{green}{x}`
2. Write down the calculated result `color{green}{x}` in the upper part of the table.
3. Multiply it by the divisor `color{green}{x} xx (color{blue}{x-5})=color{red}{x^2-5x}`
4. Subtract this result from the dividend
`(x^2-10x+25)-(color{red}{x^2-5x})=color{Magenta}{-5x+25}`
| `` | `x` | | | | | | |
`color{blue}{x-5}` | `` | `x^2` | `-` | `10x` | `+` | `25` | | |
| `` | −`x^2` | `-` | +`5x` | | | | `color{green}{x} xx (color{blue}{x-5})` |
| | | `-` | `5x` | `+` | `25` | | |
Step - 2 : 1. Divide the first term of the dividend by the first term of the divisor : `(-5x)/(x)=color{green}{-5}`
2. Write down the calculated result `color{green}{-5}` in the upper part of the table.
3. Multiply it by the divisor `color{green}{-5} xx (color{blue}{x-5})=color{red}{-5x+25}`
4. Subtract this result from the remainder
`(-5x+25)-(color{red}{-5x+25})=color{Magenta}{0}`
| `` | `x` | `-` | `5` | | | | |
`color{blue}{x-5}` | `` | `x^2` | `-` | `10x` | `+` | `25` | | |
| `` | −`x^2` | `-` | +`5x` | | | | `x xx (color{blue}{x-5})` |
| | | `-` | `5x` | `+` | `25` | | |
| | | `-` | +`5x` | `+` | −`25` | | `color{green}{-5} xx (color{blue}{x-5})` |
| | | | | `` | `0` | | |