When circles are tangent to each other and to the sides of a rectangle, the distance between their centers equals the sum of their radii. By drawing horizontal lines from the centers to the rectangle's sides, right triangles are formed where the hypotenuse equals the sum of the radii and one leg equals the difference between the radii. The Pythagorean theorem (a² + b² = c²) can then be applied to find the unknown horizontal distance. For example, with radii of 2 and 3, the hypotenuse is 5 and one leg is 1, so the unknown leg is √(5² - 1²) = √24 = 2√6.
Deep Dive
Prerequisite Knowledge
- No data available.
Where to go next
- No data available.
Deep Dive
This Math Puzzle Went Viral! – Can YOU Solve it?
Added:Hello my lovelies. It's Suzanna, and today I want to show you how to solve this problem.
A rectangle contains three circles. We can see the rectangle here, and inside we have these three circles.
The circles are tangent to the sides of the rectangle and are also tangent to one another.
So, these circles touch the sides of the rectangle here, everywhere, and they also touch each other here and here.
What is the length of segment AB? We have to find this length here.
Okay, we are given the diameters of these circles. I'm not a fan of using the diameters, so let's find the radius here of this circle, which would be half the diameter. So, half of three would be 1.5.
Same here, if the diameter is four, half of it is two for my radius, and the same thing here, my radius, half of six is three.
Usually, when you want to solve problems like this, these touching points here everywhere are really important to find a solution. So, let's start with this touching point here. I want to draw the radius here from the center to this touching point. This is my radius of length two here.
The same thing here, from the center to this touching point, which is my radius of length three.
And now, I have a line here of length 2 + 3, so of length 5.
And the question is, why is this here actually a straight line? Because it consists of this part and of this part, but why does it transition here smoothly into one another?
The reason is because these circles touch each other here.
Because if we take a look at the tangent to this circle here at this point, if I draw the tangent, it would look like this.
Then the radius is always perpendicular to this tangent that touches my circle at this point.
And the same thing for this circle. It is the same tangent here at this touching point, and the radius is always automatically perpendicular to this tangent. And if I have a 90° angle here and here, this here has to be a straight line.
Okay, so we have a straight line of length 5 here.
But we were interested in the length of this horizontal line here, and our line is not horizontal, but we could draw a horizontal line here. So, if we go horizontally from here to here, we also get a right angle here. And now we've created a right triangle.
We know the length of this side. We don't know the length of this side.
Let's just call this part X. This would be actually a part of our segment. So, this would be X what we are trying to find right now.
Uh what about the length of this side here?
We can find it because we know the length of this part, which is three, and we know the length of this part, which is two. So, this is 3 - 2 then, which is equal to 1.
And now, in our right triangle, we can use the Pythagorean theorem to find the length of X.
For the Pythagorean theorem, we first need to know where our hypotenuse is.
That is always the side that lies across the right angle. So, this is our hypotenuse.
And the Pythagorean theorem then says, take one side, the one in our case, and square it, plus take the other side and square it, so X squared, and this is equal to the hypotenuse squared, so 5 squared.
Let's calculate. 1 squared is equal to 1. 5 squared is equal to 25.
And if we want to solve this equation for X now, let's bring the 1 to the other side by subtracting 1 on both sides of the equation.
This is equal to zero. So, we only have X squared left here, and on the other side, 25 - 1 is equal to 24.
To solve for X, we have to get rid of the square. So, let's take the square root on both sides of the equation, so that we get two solutions for our X. The first, X1, a positive solution, and a second x two negative solution.
The positive solution is the square root of 24. We just leave it like this. We cannot really calculate it better right now. And we also get negative the square root of 24.
But our x is the length of a side, so it has to be positive. So, we cannot use this negative solution here.
We just take the square root of 24 for our x. So, we know the length of this part here now, which is the square root of 24 here and here.
Okay, so we found this part already.
Now, we only need to find the length of this part. So, let's go to new page and let's use this touching point now to find this length here.
Because here we can do the same thing.
From the center of the circle to this touching point, this is my radius of length 1.5.
And here from the center to this touching point, this is my radius of length two.
So, this line has a length of 1.5 + 2, which is 3.5 then.
And I'm interested in this horizontal part, so let's draw this horizontal part here so that we get this right triangle this time.
We don't know the length of this part. I call it y, so this will be my y.
And what about the length of this part here?
>> [sighs] >> Well, we know the length of this entire part, which is of length six. And we know the length of this part down here, which is two. And what about the length of this part here?
This is my radius of my small circle here, which is of length 1.5.
So, I have 1.5 here, which means that for this side, I have to take the six, subtract the two, which gives me four, and subtract the 1.5, which gives me 2.5 then for the length of this side.
Now, we have a right triangle, and we can use the Pythagorean theorem again.
The hypotenuse is across my right angle, so this is my hypotenuse, and for the Pythagorean theorem, I take one side then, it's the Y, and I square it, plus the other side, the 2.5, and I square it, and then I get the hypotenuse squared, so 3.5 squared.
If you calculate these numbers, 2.5 squared is 6.25, and this squared is 12.25.
And now we want to solve this equation for Y.
So, let's subtract 6.25 on both sides of the equation, so that we have Y squared here. This is zero.
And on the other side, 12.25 - 6.25 is equal to six.
So, to solve for Y, we have to get rid of the square. So, let's take the square root on both sides and we get two solutions for our Y, a positive and a negative one.
The square root of six is our positive solution and negative the square root of six here as well. Although, Y is the length of a side again, so we are not interested in the negative solution.
We take the square root of six for our Y, so we know this length here now.
And we're almost done. We are interested in this entire length here. So, now we only have to add these two square roots.
So, we take the square root of six and add it to the square root of 24.
Of course, you could use a calculator and get a decimal number as a result, but I want to find the exact value here first.
Um so, let's add these two uh square roots. How's that possible?
Not yet, actually, because we have different numbers here in our square root. We first have to see if there are any similarities between these numbers here.
And the six is a part of the 24. I can write the 24 as 4 * 6, where I have the six in here.
And I also have the six in the first square root.
And now that I have a multiplication here, I am allowed to write this one big square root as two separate square roots that are multiplied by each other then.
I have the four in my first square root and a six in my second.
And the square root of four is something we can calculate because the four is a square number. So, the square root of four is equal to two. So, I'm going to erase this and write down a two.
And now we have one square root of six here and I want to add two of the square root of six here. So, one of them plus two of them is three of the square root of six here. This is my exact value. And now if I want to use the calculator and calculate it, I get a result of 7.354, the length of the is segment. If you liked my video, please give it a thumbs up. It helps me a lot. I wish you wonderful day and I hope to see you in one of my next videos. Take care.
Related Videos

Definition:Bounded variation and if f is monotonic on [a,b] then f is Bounded variation on [a,b]
wingsofmathematicsbytanush2507
4K views•2019-09-05

Prof Chris Holmes | Bayesian fitting and evaluation of complex models arising in...
uclfacultyofpopulationheal9290
564 views•2019-07-03

Patrick Landreman: A Crash Course in Applied Linear Algebra | PyData New York 2019
PyDataTV
9K views•2019-11-30

Approximating the Standard Deviation from Data of a Histogram
donnasmith8529
15K views•2019-09-26

HSC Maths Standard 2 | "At Least One" Probability Rule
ATARNotesHSC
697 views•2019-05-20

Spectral Sequences Live! 17: The Grothendieck spectral sequence
k-theory8604
395 views•2025-11-10

Structural Equation Modeling for Beginners
QuantFish
1K views•2025-09-30

Exploring Practical Applications of Linear and NonLinear Models In Business Research Dr.Jeelan Basha
MallikarjunaDKaggal
258 views•2025-05-26
Trending

Playstation NO DISC/NO BUY Fight Is Over...
DavidJaffeGames
4K views•2026-07-23

Americans Confused in Australia for 17 Minutes Straight
IWrocker
17K views•2026-07-23

Bitcoin Social Interest: Dozens of us Left
benjaminjcowen
12K views•2026-07-23

Tesla Profits Plunge & SpaceX Stock Continues Fall
TheJohnJohnstonLounge
6K views•2026-07-23