This is because they are two different functions. The integral of one does not necessarily have anything to do with the integral of the other. Aside from the integrands both being
xn1 for different n's there is nothing connecting them. You might as well be asking about
∫1∞e−x dx.
∫1∞x1 dx=b→∞lim∫1bx1 dx=b→∞limln∣x∣∣∣∣∣∣1b does not converge because
b→∞limln∣b∣ does not exist.
∫1∞x21 dx=b→∞lim∫1bx21 dx=−b→∞limx1∣∣∣∣∣1b converges because
b→∞limb1 exists.
If it helps we know that
x1≥x21 on the region of integration. So it is at least possible that even though the integral of 1/x is infinite the integral of 1/x^2 is not.
-Dan