The Power Rule and Linearity

The graph of a constant is a horizontal line, with slope 00 everywhere. For a whole number n≥2n \ge 2, the power rule comes from the factoring identity
xn−an=(x−a)(xn−1+xn−2a+⋯+xan−2+an−1).\begin{aligned} &x^n - a^n \\ &\quad = (x - a)\big(x^{n-1} + x^{n-2}a \\ &\qquad\quad + \cdots + xa^{n-2} + a^{n-1}\big). \end{aligned}
Divide by x−ax - a and let x→ax \to a. Each of the nn terms in the second factor approaches an−1a^{n-1}, so the derivative of xnx^n at aa is nan−1na^{n-1}. For n=1n = 1, the line y=xy = x has slope 1=1⋅x01 = 1 \cdot x^0.
The rule also covers roots and reciprocals, once they're written as powers. For x5=x1/5\sqrt[5]{x} = x^{1/5} it gives 15x−4/5\frac{1}{5}x^{-4/5}, which is undefined at x=0x = 0. The graph of x5\sqrt[5]{x} has a vertical tangent there.
Both follow from the limit laws. The difference quotient of cfcf is cc times the difference quotient of ff, and the quotient of f+gf + g is the sum of their quotients. Together with the power rule, they differentiate every polynomial term by term.

Rewriting before differentiating

Tangent lines with a given slope

Tangent lines through a point off the curve