ronaldchenk12
New member
- Joined
- May 7, 2023
- Messages
- 2
Show that 1−x−x^n+x^(n+1) is exactly divisible by 1−2x+x^2
1−x−x^n+x^(n+1) = (1-x)-x^n(1-x) = (1-x)(1-x^n)
1-2x+x^2 = (1-x)(1-x)
(1-x)(1-x^n)/(1-x)(1-x) = (1-x^n)/(1-x)
So is this acceptable as the proof? Because I don't know if it will work for all values of n. Or how do I formally prove that. Thanks for the help.
1−x−x^n+x^(n+1) = (1-x)-x^n(1-x) = (1-x)(1-x^n)
1-2x+x^2 = (1-x)(1-x)
(1-x)(1-x^n)/(1-x)(1-x) = (1-x^n)/(1-x)
So is this acceptable as the proof? Because I don't know if it will work for all values of n. Or how do I formally prove that. Thanks for the help.