This question is part of a question on Pade approximants, but I can't see why this is true:

the rational function where p is a poly in x of degree at most k and q is a poly in x of degree at most m, then

, does this not say r has degree k+m? I thought the degree of r is the greater of k & m? This is incorrect?