In my high school, the Pythagorean theorem and the "distance formula" to find the distance between points in $\mathbb{R}^2$ were presented as disjoint concepts, both to be rote-memorized. Ridiculous.
More examples:
Can't remember the quadratic formula? No problem. Just start with $ax^2 + bx + c = 0$, divide by $a$, and solve for $x$ by completing the square. The technique of "completing the square" is taught in high school algebra, so this shouldn't be a problem. Instead, they invent mnemonic devices for rote-memorization, and students end up thinking this is "the only way".
Trig identities. A lot of them can be derived from manipulating $\sin^2 + \cos^2 = 1$ (itself derivable from the Pythagorean theorem) together with $\displaystyle \tan(x) = \frac{\sin(x)}{\cos(x)}$. There's no need to independently memorize $\tan^2(x) + 1 = \sec^2(x)$, e.g.
The "formula" for carrying out integration by parts. If one needs this, it can be re-derived from knowledge of the product rule. That is, suppose we have a product of functions $u(x)v(x)$, taking a derivative yields $\Big( u(x) v(x) \Big)' = u'(x)v(x) + u(x)v'(x)$. Rearranging gives $u(x)v'(x) = \Big( u(x) v(x) \Big)' - u'(x)v(x)$, and integrating both sides gives you want you want.
Absolutely no need to memorize the formula for inverse trig function derivatives. For example, suppose we want to know the derivative of $f(x) = \arcsin(x)$. Recall that we have $\sin(f(x)) = x$. An application of the chain rule gives $\cos(f(x))f'(x) = 1$, so we have $\displaystyle f'(x) = \frac{1}{\cos(f(x))}$. Drawing a right triangle and figuring out the sides with the Pythagorean theorem will show $\cos(f(x)) = \sqrt{1-x^2}$.
Unfortunately, math education these days, at least in lower-level courses, is primarily memorization-oriented instead of understanding-oriented. It's incredibly inefficient; it makes people hate math, and it makes students work unnecessarily hard to be successful in their courses.