Area of Overlapping Squares

  • Level: High School 
  • Thread starter Thread starter bob012345
  • Start date Start date
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
10 replies · 8K views · last reply
bob012345
Gold Member
Messages
2,474
Reaction score
1,135
TL;DR
Two squares overlap in a given configuration. Find the area of overlap.
Here is a little puzzle from the book 100 Geometric Games by
Pierre Berloquin.

The side of a small square is one meter long and the side of
a larger square one and a half meters long. One vertex of the
large square is at the center of the small square. The side of
the large square cuts two sides of the small square into one-
third parts and two-thirds parts.

What is the area where the squares overlap?
 
  • Like
Likes   Reactions: Greg Bernhardt
Mathematics news on Phys.org
A figure sure helps.
Diagram of three overlapping squares: a 2a square at upper left, a 3a square at lower right, and a shaded a by a overlap square at their intersection, with side lengths labelled.
Let ##a=0.5~##m. The area of the overlap is ##0.25~\text{m}^2.##
 
bob012345 said:
TL;DR: Two squares overlap in a given configuration. Find the area of overlap.

The side of
the large square cuts two sides of the small square into one-
third parts and two-thirds parts.
It seems not necessary. For any angle configuration we get the same result.
 
  • Like
Likes   Reactions: bob012345 and Ibix
anuttarasammyak said:
It seems not necessary. For any angle configuration we get the same result.
The next level is if we let the length ##s## of the larger square vary, what range of values of ##s## will your statement not be true?
 
$$s=\sqrt{2}/2$$is the minimum value satisfying it though not larger any more. And also $$s=\frac{1}{2\sqrt{2}} $$is the maximum.
 
Last edited:
anuttarasammyak said:
$$s=\sqrt{2}/2$$is the minimum value satisfying it though not larger any more.
Agreed. Now the larger square is the 1m square. The overlap depends on the relative orientation until ##s## shrinks to ##\frac{1}{2\sqrt{2}}## then it just becomes ##s^2##.

Now it would be interesting to see for ##s## in that range what the overlap vs. angle function is.
 
Last edited:
  • Like
Likes   Reactions: anuttarasammyak
This is my interpretation of the problem statement in the original post.
Geometry diagram of square ABCD of side a overlapping square BEFG of side 3a/2 at vertex B, with shaded quadrilateral ABHI region; labels a/3, 2a/3, 2a/3 and a/3 mark segment lengths and 3a/2 marks sides EF and FG.
 
I worked out the overlap of the two squares as a function of angle. Given ##a## is the half edge length of the original square and ##s## is the full edge length of the second square with one corner at the center of the first ;

Desmos graph of an axis-aligned square with corners at (-5, -5) and (5, 5) and a rotated square with one corner at the origin, sharing that corner with the first square.

The area function goes as;

$$
A_{\text{overlap}} =
\begin{cases}
\mathbf{\text{For } s \ge \sqrt{2}a:} \\[10pt]
\quad \begin{cases}
a^2 &
\end{cases}
\\[20pt]
\mathbf{\text{For } a \le s \le \sqrt{2}a:} \text{ where } \theta_{\text{crit}} = \sin^{-1}\left(\frac{s}{a\sqrt{2}}\right) - \frac{\pi}{4}: \\[10pt]
\quad \begin{cases}
s^2 - \frac{\left(a - \sqrt{2}s \sin\left(\theta + \frac{\pi}{4}\right)\right)^2}{\sin(2\theta)} & \text{if } \theta_{\text{crit}} \le \theta \le \frac{\pi}{2} - \theta_{\text{crit}} \\[10pt]
a^2 & \text{otherwise}
\end{cases}
\\[20pt]
\mathbf{\text{For } a/\sqrt{2} \le s \le a:} \text{ where } \theta_{\text{crit}} = \sin^{-1}\left(\frac{a}{s\sqrt{2}}\right) - \frac{\pi}{4}: \\[10pt]
\quad \begin{cases}
s^2 - \frac{\left(a - \sqrt{2}s \sin\left(\theta + \frac{\pi}{4}\right)\right)^2}{\sin(2\theta)} & \text{if } \theta_{\text{crit}} \le \theta \le \frac{\pi}{2} - \theta_{\text{crit}} \\[10pt]
s^2 & \text{otherwise}
\end{cases}
\\[20pt]
\mathbf{\text{For } s \le a/\sqrt{2}:} \\[10pt]
\quad \begin{cases}
s^2 &
\end{cases}
\end{cases}
$$
Here is my Desmos page. This is set for ##a=5## and a range of ##s## values. Note the case when ##s=a## where the critical angle is 0 meaning the function covers the entire range of angles.

 
Last edited:
  • Like
Likes   Reactions: Gavran and anuttarasammyak
The answers for the first case and the 4th case are symmetric for exchange of s and a. May we expect the same for the 2nd and the 3rd cases?
 
Last edited:
anuttarasammyak said:
The answers for the first case and the 4th case are symmetric for exchange of s and a. May we expect the same for the 2nd and the 3rd cases?
Interesting observation! It appears so if both values are within the range of the functions. Looking at ##(a,s)## being (4,5) vs, (5,4), the area of overlap is the same over the angles but they are different situations. Here are screen shots;

Desmos graph titled Intersecting Squares showing an axis-aligned square with sides at x = ±4 and y = ±4 overlapping a rotated square with vertices near (0,0), (4,4), (7,0) and (4,-4), with sliders for a = 4 and s = 5 and the equations y = a, x = a and x^2 + y^2 = s^2.
Desmos graph of an axis-aligned square with vertices at (5,5), (-5,5), (-5,-5) and (5,-5) overlapping a rotated square with vertices at (0,0), (2.5,3.5), (5,0) and (2.5,-3.5); sliders a = 5 and s = 4 shown in the expression list.
Desmos graph of overlap area against angle x from 0 to 90, with a = 4 and s = 5; horizontal line at 16 with a dip to about 15.57 at x = 45, labelled points (0, 16), (17.11443, 16), (45, 15.56854) and (72.88557, 16).
Desmos graph titled Intersecting Squares Graph with sliders a = 5 and s = 4, showing a red curve from (0, 16) dipping to a minimum at (45, 15.56854) and returning to 16 near x = 73, over an x-axis from 0 to 90.
 
The formula for the 2nd and the 3rd case is written as
$$\frac{a^2+s^2-as(\sin\theta + \cos\theta)}{2 \sin\theta \cos\theta}$$
which is obviously symmetric between s and a, and also between sin and cos, i.e. symmetric wrt y=x axis.. Thus we observe that the 3rd case solution comes from the 2nd case solution just by exchanging s and a.
 
Last edited: