Sliding Squares

Calculus Level 1

There are 2 2 squares of side length 1 1 that begin in opposite corners of a larger 2 × 2 2 \times 2 square. Both squares slide diagonally towards each other (at the same speed) until they are in the corners opposite to those they started in. This process is then repeated in the opposite direction.

What is the average area of overlap between the two squares?

1 4 \frac{1}{4} 1 3 \frac{1}{3} 3 8 \frac{3}{8} 2 5 \frac{2}{5}

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

9 solutions

Uros Stojkovic
Sep 24, 2018

Instead of the case when both squares are moving, consider the case when only one is moving twice faster and the other is stationary. Since the square is moving along the diagonal, we have Δ x = Δ y \Delta x = \Delta y .

The average area of overlap is then:

0 1 x 2 d x = x 3 3 0 1 = 1 3 \int_{0}^{1}x^{2}\,dx = \left.\dfrac{x^{3}}{3}\right|_{0}^{1} = \dfrac{1}{3}

Does the fact that dy=dx get us to the x^2 term? Also, why is the integral from 0 to 1. Thanks! :)

matthew WESSLER - 2 years, 8 months ago

Log in to reply

Yes. The overlapping area equals Δ x Δ y \Delta x \cdot \Delta y and since Δ x = Δ y \Delta x = \Delta y we've got the x 2 x^{2} term. Since 0 Δ x 1 0\leq \Delta x \leq 1 , we integrate from 0 to 1. Hope that answers your question.

Uros Stojkovic - 2 years, 8 months ago

I think it's because we are talking about the area of the square, and if y=x, then the area of the square is y*x or x^2. Its the way I thought about it. The overlapping area is changing only inside the red square, which has a base of 1, thus it's only moving between 0 and 1, and it gives us the integration limits.

Diego Salcedo Tolosa - 2 years, 8 months ago

Why x^2 dx?

unite perry - 2 years, 8 months ago

Log in to reply

The overlapping area equals Δ x Δ y \Delta x \cdot \Delta y and since Δ x = Δ y \Delta x = \Delta y we've got the x 2 x^{2} term. Maybe it would've been clearer if I had used Δ x 2 \Delta x^{2} , but that's just a sign denoting variable so it's not that important.

Uros Stojkovic - 2 years, 8 months ago

why this integral and why the bounds of 0 and 1 on the integral?

Matthew Agona - 2 years, 8 months ago

Log in to reply

See my reply to previous comments.

Uros Stojkovic - 2 years, 8 months ago

Isn't x^2dx a volume element as X has the dimensions of length. And here how is the average area of overlap defined? Isn't it ∫Adt/∫dt where A is tye area overlaped

Ved Mahajan - 2 years, 8 months ago

Log in to reply

You can get from your expression to mine by applying chain rule: d t = 1 v d x dt = \dfrac{1}{v}dx .

Uros Stojkovic - 2 years, 8 months ago
David Vreken
Sep 22, 2018

Let x x be the distance between the left side of the left unit square (and by symmetry, the right side of the right unit square) and let s s be the length of the overlapped square formed in the center.

Then comparing horizontal segments, we have 2 = 2 x + ( 1 s ) + s + ( 1 s ) 2 = 2x + (1 - s) + s + (1 - s) , which simplifies to s = 2 x s = 2x , for an overlapping area of A = 4 x 2 A = 4x^2 for 0 x 1 2 0 \leq x \leq \frac{1}{2} . Since the process is symmetrical, we only need to consider this interval.

The average area is then 0 1 2 4 x 2 d x 1 2 0 = 1 3 \frac{\int_{0}^{\frac{1}{2}} 4x^2 dx}{\frac{1}{2} - 0} = \boxed{\frac{1}{3}} .

Can't this be done without integration??

Mr. India - 2 years, 8 months ago

Log in to reply

I suppose you could use that the area under the parabola is 1/3 of the area of the rectangle it encloses instead of integrating.

David Vreken - 2 years, 8 months ago

Log in to reply

How do we prove this??

Mr. India - 2 years, 8 months ago

Log in to reply

@Mr. India The parabola y = 4 x 2 y = 4x^2 goes through ( 0 , 0 ) (0, 0) and ( 1 2 , 1 ) (\frac{1}{2}, 1) . The area under the curve for this interval [ 0 , 1 2 ] [0, \frac{1}{2}] is 1 3 ( 1 2 1 ) = 1 6 \frac{1}{3}(\frac{1}{2} \cdot 1) = \frac{1}{6} . The average height in this interval [ 0 , 1 2 ] [0, \frac{1}{2}] is therefore 1 6 1 2 = 1 3 \frac{\frac{1}{6}}{\frac{1}{2}} = \frac{1}{3} .

David Vreken - 2 years, 8 months ago

why are the bounds for x between 0 and 1/2?

Matthew Agona - 2 years, 8 months ago

Log in to reply

The smallest x can be is 0 (when the red and blue squares are in the corners of the big square) and the biggest x can be is 1/2 (when the red and blue squares completely overlap), so x is between 0 and 1/2.

David Vreken - 2 years, 8 months ago
Jeremy Galvagni
Sep 22, 2018

Let's introduce a time variable t and a(t)=the area at time t. Set t=0 when the red is at its lowest position and t=4 when the animation has completed a cycle. a(0)=0, a(1)=1. The second second t=1 to t=2 is just the reverse of the first second as the red reaches the upper corner and the final two seconds are the same as the first two. Each of the four seconds is symmetrical in terms of overlap, so we can just consider the overlap from t=0 to t=1.

The overlap area a ( t ) = t 2 a(t)=t^{2} . Integrating this from 0 to 1 gives the solution 1 3 \boxed{\frac{1}{3}}

Jacopo Piccione
Sep 26, 2018

Let x x be the lenght of the overlapped square's side. Area changes with a function g ( x ) g(x) such that:

g ( x ) = { x 2 i f 0 x < 1 ( x 2 ) 2 i f 1 x 2 } g(x)= \begin{Bmatrix} x^2 \; \; \; \; \; \; \; \; \; \; if \;\; 0 \leq x < 1 \\ (x-2)^2 \; if \; \; 1 \leq x \leq 2 \end{Bmatrix}

It's clear that 0 2 g ( x ) d x = 0 2 ( x 1 ) 2 d x \int_0^2g(x)dx=\int_0^2(x-1)^2dx :

Now, what the problem is asking is to find f ( c ) f(c) where f ( x ) = ( x 1 ) 2 f(x)=(x-1)^2 such that 0 2 f ( x ) d x = ( 2 0 ) f ( c ) = 2 f ( c ) \int_0^2f(x)dx=(2-0)f(c)=2f(c) . (If you don't understand this, you may check Mean Value Theorem for Integrals , which states that if f ( x ) f(x) is a continuous function on [ a , b ] [a,b] there exists c [ a , b ] c \in [a,b] such that 1 b a a b f ( x ) d x = f ( c ) \frac{1}{b-a} \int_a^bf(x)dx=f(c) ). Therefore,

f ( c ) = 1 2 0 2 ( x 1 ) 2 d x = 1 2 2 3 = 1 3 f(c)=\frac{1}{2}\int_0^2(x-1)^2dx=\frac{1}{2} \cdot \frac{2}{3}=\boxed{\frac{1}{3}}

Angus Walker
Sep 26, 2018

Is it overly simplistic to see it like this: at the beginning of each movement the overlap is 0%, at the middle 100% and at the end 0%. The overlap varies smoothly between these three, which are equally spaced, so the average overlap is the average of 0%, 100% and 0%, i.e. 33. 333...% Looks logical to me but am I oversimplifying the problem?

It happened also to me. Now I was looking towards the community comments and I freak out a bit because I just faced the problem with intuition (I don't know how to compute integrals)

Diego González - 2 years, 8 months ago

At 1/4 and 3/4, the overlap is 25%. This yields a sequence of 0%, 25%, 100%, 25%, 0%, and its average is not 33.333...%. It's 30%. So this doesn't work.

Ser Bolky McBoluface - 2 years, 8 months ago

Log in to reply

The sequence can also be 0%, 100%, 0%, and the average is 1/3. That was my reasoning, but maybe it was pure randomness. Thank you for replying anyways.

Diego González - 2 years, 8 months ago
Vinod Kumar
Sep 24, 2018

Simply taking <x^2> from 0 to 1, gives us the required Answer=(1/3)

Michael Brozinsky
Sep 30, 2018

It suffices to find the average until the squares coincide. If the corner of each square has moved a distance t along the diagonal, the overlapped area is one half times the product of the diagonals ( which have length 2t) which is 2 times t squared. If we integrate this from 0 to the square root of 2 divided by 2 and divide by the square root of 2 divided by 2 we get one third

Akul Saxena
Sep 29, 2018

At the beginning of the animation, the red square is in the top right corner. At this specific time, the area of overlap between the two squares is 0. Halfway along its path, the red square and blue square completely overlap. 100% of the red square is on the blue square, so 1 1 \frac{1}{1} , or 1 of the square overlaps. Lastly, when the red squares reaches the bottom left, the area of overlap between the two squares is 0. Taking the average of 0, 1, and 0 across these three time interveals yeilds 1 3 \frac{1}{3}

Bart Meijer
Sep 25, 2018

I cheated, just a little. First I assumed that the squares move at constant speed. Now, the integrand is obviously the square of something, and integrating it will yield a third of something else. There was just one answer that had a 3 in the denominator.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...