Modern Pythagorean Theorem, Part 2

The Binomial Theorem

If you hold one of the edges of the right triangle fixed as constant, the form of the hypotenuse then is a function $f$ in a single variable function which is the side orthogonal. This form is also a binomial, and is expandable as the series described by the Binomial Theorem. The series representation of the binomial with fractional exponent is an infinite series, while a binomial with Natural Number powers is a finite series—the subject of this section.

$$\begin{equation} \label{f_h} c=f_h(x)=\sqrt{(x^2 + a^2)}=(x^2 + a^2)^\frac{1}{2} \end{equation}$$

Where the $x$ was substituted for $b$ in the right-triangle formula, $a$ is set/fixed as a constant, and the subscript on $f$, stands for hypotenuse.

The Binomial Theorem was first published by Bhāskara II in 1150, along with the factorial concept, independently in a different part of the world, Henry Briggs discovered a series solution for the binomial with natural-number exponent (1620). And it was 1665 when Isaac Newton advanced the formula to the general rational exponent, like we found here. [1]

The generalized binomial theorem starts with the binomial theorem, which states that the result of multiplying out the binomial raised to the $n$th power is given by the following summation:

$$ (x + y)^n=\sum\_{i=0}^n{\binom{n}{i}x^i y^{n-i}} $$

Where $\binom{n}{i}= \frac{n!}{i!(n-i)!}$ is the Binomial Coefficient, a convention for the symbolizing the function of the two pieces of information in argument, and is also read as n choose i, for the combinatorial relationship of finding the coefficient of the $i$'th powered term, $x^i$. The factorial notation ($!$) was introduced in 1808 and is a shorthand for the number which is a multiplicative sequence $\prod\limits_1^n q$ (where $ab=ba$ is the commutative property of integers and reals, and is used $(1)(2)\cdots(n)=(n)(n-1)\cdots(1)$):

$$ q!=(q)(q-1)(q-2)\cdots(q-(q-1)) $$

Where the last term can also be written $(q-(q-1))=1$, being useful for organization.

And, normalizing the binomial:

$$ \begin{equation}\label{BinomialTheorem} (1+x)^n=\sum_{i=0}^n{\binom{n}{i}1^{n-i}x^i} = \sum_{i=0}^\infty \frac{n(n-1)\cdots (n-i+1)}{i!} x^i \end{equation} $$

With the generalization being to advance the exponent to arbitrary size, which is justified by the fact that the series terms, $i\ge n+1$, have a factor of zero in them, for $i=n+1$ (if there is a solution of such with the required integral $i$). The last term, $(\dots (n-(n+1)+1)\dots)$, in the numerator of the coefficient is zero for $n$-choose-$(n+1)$ as an intrinsic delimiter (choosing two out of one, for instance, makes no sense). So the next step of innovation was to extend the domain of the exponents to the quotients, and reals, by allowing the chosen index to increment the numerator terms into the negative space in an infinite, alternating series.

$$ (1+x)^n=\sum_{i=0}^\infty{\binom{n}{i}x^i} = \sum_{i=0}^\infty \frac{n(n-1)\cdots (n-i+1)}{i!} x^i $$

For $n=0.5$, the first few terms are as follows:

$$ \binom{1/2}{0} \equiv 1 $$

$$ \binom{1/2}{1} = \frac{\frac{1}{2}}{1!} = \frac{1}{2} $$

$$ \binom{1/2}{2} = \frac{\frac{1}{2}(\frac{1}{2}-1)}{2!} = -\frac{1}{8} $$

$$ \binom{1/2}{3} = \frac{\frac{1}{2}(\frac{1}{2}-1)(\frac{1}{2}-2)}{3!} = \frac{1}{16} $$

$$ \binom{1/2}{4} = \frac{\frac{1}{2}(\frac{1}{2}-1)(\frac{1}{2}-2)(\frac{1}{2}-3)}{4!} = -\frac{5}{128} $$

Solving for the first five terms of square-root of the binomial:

$$ (1+x)^{1/2}=1 + \frac{1}{2}x -\frac{1}{8}x^2 + \frac{1}{16}x^3 -\frac{5}{128}x^4 + ... $$

For $x=1$, we have for square-root of two using the first four terms of the series (overshooting):

$$ \sqrt{2} \approx 1 + \frac{1}{2} -\frac{1}{8} + \frac{1}{16} = 1.4375 $$

And one more term makes it a little undershot:

$$ \sqrt{2} \approx 1 + \frac{1}{2} -\frac{1}{8} + \frac{1}{16} -\frac{5}{128} = 1.3984375 $$

Which can be compared to the calculator result:

$$\sqrt{2}=1.41421356$$

This demonstrates the success of the generalized binomial theorem, because with this alternating pattern of over/under valuing the series is convergent with the previously accepted methods of calculation.

A note on the $n$-choose-$0$'th coefficient value of unity: it's not an arbitrary definition—the principle is that the numerator and denominator of the binomial coefficient are structured as products of terms starting with one because multiplicatively one is what must remain when the exponent of the binomial is zero, $n=0\to \binom{0}{0}=1$ since $x^0=1$.

Binomial Approximation

Based on the binomial formula, we can make a linear approximation when the quantity added to unity is small which is to say that the power of one term will be greater than all higher powers of the small quantity.

$$ \lim_{x\ll 1}(1+x)^n\approx 1 + nx $$

From eq. \eqref{BinomialTheorem}, the Binomial Theorem, we know this approximation error goes like the third term in the expansion, which is $\frac{n(n-1)}{2}x^2$ for $x\ll n$.

$$ f_{err}=\frac{-n(n-1)}{2}x^2 $$

Figure 1. Graph of the normalized binomial with power two, $(1+r)^2$, (in red dotted), versus the Binomial (Linear) Approximation, $1+2r$, (in blue dashed).
Figure 2. Graph of the error deviation of Figure 1 (above) between the approximation to the power of two binomial and itself, being $-r^2$, (in green dashed).

For a higher order binomial than two, the error using the approximation introduces is more than just second order powers of $x$, but the binomial coefficients are zero for terms higher than two, or less than one, and so the second order term entails all of the error for the second degree binomial in Figure 1 (above).

Figure 3. Graph of the normalized binomial with power one half, $(1+r)^1/2$, (in red dotted), versus the Binomial (Linear) Approximation, $1+r/2$, (in blue dashed).
Figure 4. Graph of the error in Figure 3 (above), which is the normalized binomial with power one half minus its approximation, $(1+r)^{1/2} - 1+r/2 \approx r^2/8$, (in green dashed).

The second order term in the power of one half binomial expansion doesn't entail all of the error, so the error function in Figure 4 (above) is dominated by the smallest of the infinite set of higher order terms, which translates to a big-o of second order in $x$, $\Delta_{err}\sim \mathcal{O}(x^2)$.

Monomials

To aid intuition for the monomial factors in the normalized binomial series, here is a plot of the first five powers of $x$:

Figure 5. Monomials of the first five natural number exponent powers (skipping 0): $f_1(x)=x$ is the red one, $f_2(x)=x^2$ is a little curve (cobalt), and $f_3(x)=x^3$ is next most curved (pale green), with two more of the monomials showing progressively more curve.

The plotting of monomials is most dramatic around 1—simply because $1^n=1$, for all $n\in \mathbb{N}$, and from studying their behavior around 1 one understands the two sides of these single variable functions—an exercise. Just as the monomials are found in the generalized binomial formula, they are naturally occurring in the Taylor Series, as well.

A web search for "history of the square root" has a high quality return (Quora, Mathforum, Stackexchange, Wikipedia), where one can learn that n'th roots were studied and written about in the early 1600s, mostly referred to as radix (since math was written about in Latin) and radix means root. The related term radical also means root. So, naming convention has legacy even when translated.

Physics is generally concerned with the slope of a function (e.g. speed), such as the slope of a car's track, or the change in potential energy for a change in position of an action-at-a-distance field. We're working our way up to calculating the slope (or tangent) at arbitrary points on a curve.

A Simple Function

If we work with a simple, well-known function, of which we have an intuitive grasp, and we carry it through as a test for our tools, then we'll have something to look at, and remember.

Such a simple function is the binomial-to-one-half-power, $f_h(x)$ has a domain of $x$ equal to zero on up, of which there are graphs below. Not all single variable functions stay finite for finite $x$, as a proper function, the hyperbola, being one-over-x ($1/x$), can't be plotted for very small $|x|$, anything close to zero. In order to graph $f_h$ we consider the values of this function at every point along the interval of interest in $x$, from $x_A$ to $x_B\gt x_A$, or using interval notation the domain is, $X=[x_A, x_B]$.

A single variable function is the most fundamental of graphs. The graph of a function from one argument to one dimension (scalar, not vector) lies naturally in two-dimensions (the plane of a screen or page), without any slicing or projection, and to inspect an aspect of a multivariable function's behavior, we can usually reduce the problem to a function on some interval, contained in a ball of space, such as the reduction of a 3-dimensional, central-force problem such as the Earth-Sun in isolative 2-body approximation, to a planar elliptic orbit.

Figure 6. Plot of the hypotenuse, $c=f_h(x=b)$, with edge $x$ on the abscissa, and fixed edge $a=1.5$, versus the identity function (dashed line).

This curve always has a small amount of curvature, never a straight line, but the difference between it and the straight line drawn, $f_h - f_{id}$, is decreasing with $x$.

So there is not really a line with slope one and $y$-intercept between zero and the fixed side length, which won't be crossed at some point. Which just means the swinging door needs a little space around it, no matter how thin you make the door.

Asymptotic Behavior

So, for $x\gg a$ (much greater than) $a$, the slope of the curve is increasing from close to a constant (horizontal line, for $x\ll a$), approaching the slope of the asymptote of the identity.

Figure 7. Plot of $f_h(x)$, with fixed edge $a=1.5$, and variable edge on the interval $[2,5]$, versus $x$ (dashed line).

From $x=2$ on up, plotting the hypotenuse as a function of the varying edge demonstrates getting even closer to the asymptote $f(x)=x$, with the slope getting closer and closer, but never acquiring a value of one, except at the improper point, Infinity.

It took 1,800 years to get from the Pythagorean theorem to the generalized binomial series, so it is informative to our perspective that we know Binomials were studied for a very long time, with a global history of what the formula is for $(a+b)^n$ for arbitrary n.

The Swinging Door Analogy

The plot also explains a feature of the swinging door — that you only have to make the clearance in its frame a small fraction of the thickness of the door. If you had a very thick door, and didn't want to leave a big space around the closed door and its frame, you would have to radius the door, or bevel it so that the inner edge of the door didn't obstruct the opening motion. So it is instructive to demonstrate the narrow gap around 1.5" thick, household doors corresponds to a linear, one-to-one asymptote over the domain of $x\gg$(a=1.5) by looking at the hypotenuse function over the configuration of a swinging door in a tight frame, or about $x=33 \textrm{in.}$ :

Figure 8. The hypotenuse function at x=32 inches to x=34 inches, for a fixed edge of 1.5 inches, is 32.03513 and 34.03307 inches respectively (ordinate), and has very subtle curvature (meaning the clearance is reduced by 0.2% of an inch by widening it from 32" to 34").

This plot has curvature that is imperceptable to the eye, but means something to someone who ever wondered how swinging doors didn't hit the frame when the closed-door clearance is so tight, which is convergence to . A convergent function is when some complicated function looks like a constant, or a monomial (like the diminishing factor times the identity monomial), at significant parts of the domain, such as while tending towards infinity. We measure the difference between the $f_{h,a+}$ function and $x$, at the width-to-thickness ratio of doors, and we see a frame minimal clearance of much less than the thickness.

The hypotenuse function looks like an asymptotic monomial, written explicitly with the exponent, as $x^1$ (x to the first power), not to be confused with how many numbers there are inside the outermost exponent (that's what the mono and bi refer to in the nomials). The linear asymptote with slope one ($f(x)\approx x$) as $x>>a$ ($x$ is much larger than $a$, the other edge of the triangle), where we changed the variable $x=b$ (or $b\to x$, from $b$ to $x$) because $a$ and $b$ are associated with constants of the configuration, in equation (\ref{Pythagorean}).

$f(x)|_{a=1.5}$ $f_{\textrm{id}}$ $(f-f_{\textrm{id}})$
32.0351 32 0.0351
33.0341 33 0.0341
34.0331 34 0.0331
Table 1. Table of values for the hypotenuse function, $f(x)$, with fixed edge $a=1.5$, versus the identity function, $f_{id}(x)=x$, and the difference between them, over the interval [32,34].

Numerical Convergence

So by inspection of this table we can see that the variance of $f(x)$ from $x$ (the asymptote) is still decreasing, but it's in the third decimal place (thousandths, not very much). If we take the difference between $f(x)$ and $x$, you can see that difference is decreasing, which means that the wider we make the door (distance from the hinge axle), the closer the hypotenuse is to the breadth, so the tighter we can make the frame. As expected, the data is consistent with and supports the expected behavior from inspecting $f_h$.

In this plot of the hypotenuse as a function of x, for real ratios of door width to door thickness, we see that the variance of the hypotenuse, at x= 32" and x=34" (normal door widths, as measured left to right standing behind one) is very close to an f(x) value (ie, the "$y=mx+b$" slope is getting closer to 1 with increasing x).

Vector Applications

One important change to all this, becoming apparent shortly is that the hypotenuse function becomes the radius of a polar-angle coordinate system, which is decomposed into orthogonal components of position measurement. You already know orthogonal, it's what the two non-hypotenuse edges of a right triangle are to eachother—two lines (along which we measure position) intersecting at a 90° angle. In three dimensions, the third component is simply super-positioned with the plane we know and love!

The Pythagorean theorem lets us solve problems like calculating how much time it takes to “motor” straight across a river with uniform flow, and parallel banks. We go straight across a river by knowing the speed of our boat in still water, then angling it so that the centerline from the point of the bow through the middle of the stern is along the line of a hypotenuse, with one edge of the right-triangle parallel to the bank—with this component being equal and opposite the flow rate of the river, and the other parallel with the line going straight across is whatever remains of the motor power.

There is a Physics Stackexchange problem on a river and a swimmer focusing on a landmark on the other side, asking about the path across a river where the motor boat is always pointed at a fixed point on the bank, directly across the river from the starting point, but the question has not dismissed because it is an uncommon exercise: swimmer with a focal direction.

Let's say the swimmer swims twice as fast as the river flow, but the river is three times as wide as the bank-wise distance up from the start point to the focal point, then the swimmer will be taken downstream from the start point for a good portion of the journey. In general, a newtonian equation of motion can be written for the components of the right-triangle directions, which may be as hard to solve as the catenary solution of the rope suspended at two ends, but there's always numerical solution of differential equations through integration.


About Contact Sitemap Privacy
© 2026 Gabe Fernandez. All rights reserved.