The crossed ladders problem is a puzzle of unknown origin that has appeared in various publications and regularly reappears in Web pages and Usenet discussions.
Two ladders of lengths a and b lie oppositely across an alley, as shown in the figure. The ladders cross at a height of h above the alley floor. What is the width of the alley?
Martin Gardner presents and discusses the problem [1] in his book of mathematical puzzles published in 1979 and cites references to it as early as 1895. The crossed ladders problem may appear in various forms, with variations in name, using various lengths and heights, or requesting unusual solutions such as cases where all values are integers. Its charm has been attributed to a seeming simplicity which can quickly devolve into an "algebraic mess" (characterization attributed by Gardner to D. F. Church).
The problem description implies that w > 0, that a > w, and b > w, that h > 0, and that A > h,B > h, where A and B are the heights of the walls where sides of lengths b and a respectively lean (as in the above graph).
Both solution methods below rely on the property that A, B, and h satisfy the optic equation, i.e. , which can be seen as follows:
Two statements of the Pythagorean theorem (see figure above)
and
can be subtracted one from the other to eliminate w, and the result can be combined with with alternately A or B solved out to yield the quartic equations [2]
These can be solved algebraically or numerically for the wall heights A and B, and the Pythagorean theorem on one of the triangles can be used to solve for the width w.
The problem may be reduced to the quartic equation x3(x − c) − 1 = 0, which can be solved by approximation methods, as suggested by Gardner, or the quartic may be solved in closed form by Ferrari's method. Once x is obtained, the width of the alley is readily calculated. A derivation of the quartic is given below, along with the desired width in terms of the quartic solution. Note that the requested unknown w does not appear directly in most of the derivation.
From we get
Using the Pythagorean theorem, we can see that
By isolating on both equations, we see that
which can be rearranged and factored into
Square (Eq. 2) and combine with (Eq. 1):
Rearrange to get
Then
Now, combine with (Eq. 1):
Finally,
Let
Then
The above fourth-power equation can be solved for x using any available method. The width of the alley is then found by using the value found for x: The identity
can be used to find A, and w can finally be found by
A quartic equation has four solutions, and only one solution for this equation matches the problem as presented. Another solution is for a case where one ladder (and wall) is below ground level and the other above ground level. In this case the ladders do not actually cross, but their extensions do so at the specified height. The other two solutions are a pair of conjugate complex numbers. The equation does not have the ladder lengths explicitly defined, only the difference of their squares, so one could take the length as any value that makes them cross, and the wall spacing would be defined as between where the ladders intersect the walls.
As the wall separation approaches zero, the height of the crossing approaches This is because (proven at the start) implies and as w goes to zero, b goes to A and a goes to B according to the top diagram.
As the solutions to the equation involve square roots, negative roots are equally valid. They can be interpreted as both ladders and walls being below ground level and with them in opposing sense, they can be interchanged.
The complex solutions can be interpreted as wall A leaning to the left or right and wall B below ground, so the intersection is between extensions to the ladders as shown for the case a, b, h = 3, 2, 1. The ladders a and b and are not as specified. The base w is a function of A, B, and h, and the complex values of A and B can be found from the alternative quartic
with D being for one wall and for the other (±5 in the example). Note that the imaginary solutions are horizontal and the real ones are vertical. The value D is found in the solution as the real part of the difference in the squares of the complex coordinates of the two walls. The imaginary part = 2XaYa = 2XbYb (walls a and b). The short ladder in the complex solution in the 3, 2, 1 case appears to be tilted at 45 degrees, but actually slightly less with a tangent of 0.993. Other combinations of ladder lengths and crossover height have comparable complex solutions. With combination 105, 87, 35 the short ladder tangent is approximately 0.75.
There are solutions in which all parameters are integers. [3] For example, [2] (a, b, A, B, w1, w2, w, h) = (119, 70, 42, 105, 16, 40, 56, 30). Such solutions involve Pythagorean triples for the two right triangles with sides (A, w, b) and (B, w, a) and integer solutions of the optic equation
The optic equation of the crossed ladders problem can be applied to folding rectangular paper into three equal parts:
One side (left in the illustration) is partially folded in half and pinched to leave a mark. The intersection of a line from this mark to an opposite corner (red) with a diagonal (blue) is exactly one third from the bottom edge. The top edge can then be folded down to meet the intersection. [4]
It is also exactly one third horizontally from the left edge; folding the right edge to meet the intersection lets the paper be folded into thirds lengthwise.
Similarly, folding the left side twice to get quarters lets one fold the sheet into five equal parts:
and folding it thrice to get eights lets one fold the sheet into nine equal parts, etc.:
The crossed ladders theorem was extended to crossed ladders within a triangle. In 2002, Harold Joseph Stengel (1947–2007), an American secondary school teacher of mathematics, proved the extended theorem. [5]
Let AC be the base of a triangle ABC. Let ladder (line) AD have its foot at A and intersect BC at D; likewise, let ladder CE have its foot at C and intersect AB at E. Let AD intersect CE at F. Extend parallel lines from the points E, B, F, and D, intersecting AC at the points I, G, J, and H, respectively. Then
whence it follows that
In mathematics, an ellipse is a plane curve surrounding two focal points, such that for all points on the curve, the sum of the two distances to the focal points is a constant. It generalizes a circle, which is the special type of ellipse in which the two focal points are the same. The elongation of an ellipse is measured by its eccentricity , a number ranging from to .
A Pythagorean triple consists of three positive integers a, b, and c, such that a2 + b2 = c2. Such a triple is commonly written (a, b, c), a well-known example is (3, 4, 5). If (a, b, c) is a Pythagorean triple, then so is (ka, kb, kc) for any positive integer k. A triangle whose side lengths are a Pythagorean triple is a right triangle and called a Pythagorean triangle.
In mathematics, a quadratic equation is an equation that can be rearranged in standard form as
In number theory, the law of quadratic reciprocity is a theorem about modular arithmetic that gives conditions for the solvability of quadratic equations modulo prime numbers. Due to its subtlety, it has many formulations, but the most standard statement is:
In mathematics, a partial differential equation (PDE) is an equation which computes a function between various partial derivatives of a multivariable function.
A Fourier series is an expansion of a periodic function into a sum of trigonometric functions. The Fourier series is an example of a trigonometric series, but not all trigonometric series are Fourier series. By expressing a function as a sum of sines and cosines, many problems involving the function become easier to analyze because trigonometric functions are well understood. For example, Fourier series were first used by Joseph Fourier to find solutions to the heat equation. This application is possible because the derivatives of trigonometric functions fall into simple patterns. Fourier series cannot be used to approximate arbitrary functions, because most functions have infinitely many terms in their Fourier series, and the series do not always converge. Well-behaved functions, for example smooth functions, have Fourier series that converge to the original function. The coefficients of the Fourier series are determined by integrals of the function multiplied by trigonometric functions, described in Common forms of the Fourier series below.
In elementary algebra, the quadratic formula is a closed-form expression describing the solutions of a quadratic equation. Other ways of solving quadratic equations, such as completing the square, yield the same solutions.
In algebra, a cubic equation in one variable is an equation of the form
In mathematics, a quartic equation is one which can be expressed as a quartic function equaling zero. The general form of a quartic equation is
In algebra, a quartic function is a function of the form
In mathematics, the simplest form of the parallelogram law belongs to elementary geometry. It states that the sum of the squares of the lengths of the four sides of a parallelogram equals the sum of the squares of the lengths of the two diagonals. We use these notations for the sides: AB, BC, CD, DA. But since in Euclidean geometry a parallelogram necessarily has opposite sides equal, that is, AB = CD and BC = DA, the law can be stated as
In mathematics, an algebraic equation or polynomial equation is an equation of the form , where P is a polynomial with coefficients in some field, often the field of the rational numbers. For example, is an algebraic equation with integer coefficients and
The Pythagorean trigonometric identity, also called simply the Pythagorean identity, is an identity expressing the Pythagorean theorem in terms of trigonometric functions. Along with the sum-of-angles formulae, it is one of the basic relations between the sine and cosine functions.
In differential calculus, related rates problems involve finding a rate at which a quantity changes by relating that quantity to other quantities whose rates of change are known. The rate of change is usually with respect to time. Because science and engineering often relate quantities to each other, the methods of related rates have broad applications in these fields. Differentiation with respect to time or one of the other variables requires application of the chain rule, since most problems involve several variables.
In algebraic geometry, a quartic plane curve is a plane algebraic curve of the fourth degree. It can be defined by a bivariate quartic equation:
In geometry, the Steiner ellipse of a triangle, also called the Steiner circumellipse to distinguish it from the Steiner inellipse, is the unique circumellipse whose center is the triangle's centroid. Named after Jakob Steiner, it is an example of a circumconic. By comparison the circumcircle of a triangle is another circumconic that touches the triangle at its vertices, but is not centered at the triangle's centroid unless the triangle is equilateral.
In trigonometry, the law of cosines relates the lengths of the sides of a triangle to the cosine of one of its angles. For a triangle with sides and opposite respective angles and , the law of cosines states:
In number theory, the optic equation is an equation that requires the sum of the reciprocals of two positive integers a and b to equal the reciprocal of a third positive integer c:
In fluid dynamics, Green's law, named for 19th-century British mathematician George Green, is a conservation law describing the evolution of non-breaking, surface gravity waves propagating in shallow water of gradually varying depth and width. In its simplest form, for wavefronts and depth contours parallel to each other, it states:
In geometry, the inverse Pythagorean theorem is as follows: