Theorem: The set of all polynomials of degree less than or equal to n is closed under addition. Proof: Let f(x) and g(x) be two polynomials of degree less than or equal to n. Then, let f(x)=akxk+ak−1xk−1+⋯+a0 g(x)=blxl+bl−1xl−1+⋯+b0
then sum of two polinomial f(x) and g(x) has the degree ≤max{k,l}. As, k,l≤n, so max{k,l}≤n. Hence, f(x)+g(x) is a polynomial of degree less than or equal to n. Therefore, the set of all polynomials of degree less than or equal to n is closed under addition.■
Note: You might think why not degree of f+g=?max{k,l}. The answer for this is consider f(x)=x2 and g(x)=−x2. Then, f(x)+g(x)=0 which is a polynomial of degree 0 but max{2,2}=2. Hence, f(x)+g(x) is a polynomial of degree less than or equal to n.
So, leading term might cancel out in the sum of two polynomials. Hence it is safe to say that the sum of two polynomials of degree less than or equal to n is a polynomial of degree less than or equal to maximun of the degree of two polinomials.