Тёмный

Only 1% of people can solve. How many squares? 

MindYourDecisions
Подписаться 3,1 млн
Просмотров 303 тыс.
50% 1

Опубликовано:

 

15 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 573   
@globalincident694
@globalincident694 3 месяца назад
You don't need to check every set of four points. Since every square is uniquely defined by two opposing corners, you only need to check pairs of points. And you can also use the symmetries of the shape to save you some time.
@onradioactivewaves
@onradioactivewaves 3 месяца назад
That's how I did it, it was pretty easy that way.
@teambellavsteamalice
@teambellavsteamalice 3 месяца назад
Exactly
@vinching926
@vinching926 3 месяца назад
He just brute force every point combos for the sake of it
@qc1okay
@qc1okay 3 месяца назад
Correct, just check all sets of two points, and keep a list of all squares already found so that when you get to the other diag of a square you've found the first diag of, you don't recount it. This video's idea of checking zillions of sets of four points, and then saying it's surprising no one ever did that, is silly. To check two points, simply see whether a 3rd point exists at the corresponding corner location, and if so, same for 4th point.
@gafjr
@gafjr 3 месяца назад
Also, there's 4 quadrants. Whatever you get for one, multiply by 4. The only square that seems to repeat itself is dead center of the original 9. At least that's how I got it, (3*4) + 9. Of course it may have been a lucky guess.
@shoot_game718
@shoot_game718 3 месяца назад
I found all 9, of course, and also the 4 that are at odd angles. Somehow, I managed to find those ones while forgetting to check for the 45-degree rotated squares.
@jeremyashford2145
@jeremyashford2145 3 месяца назад
ditto
@MrDreugh
@MrDreugh 3 месяца назад
Same here
@lucario5748
@lucario5748 3 месяца назад
I found the same ones you did, then played the video, and realized I missed the 45 degree ones about the same time he got to them.
@aukword6255
@aukword6255 3 месяца назад
Yup, me 2.
@the4spaceconstantstetraqua886
@the4spaceconstantstetraqua886 3 месяца назад
I missed the 4:3 triangles
@opinionhaver574
@opinionhaver574 3 месяца назад
I'm sure you named your algorithm animation "The Square Dance."
@staircase72
@staircase72 3 месяца назад
There is a more efficient brute force method than trying every single combination of 4 points. Once you have two ordered points, the other two points that would make up a clockwise oriented square. Assuming you take all ordered pairs of points and then check if the other points are valid, you will find all edges of all squares, or 4 times the number of squares with only n^2 tries (where n is the number of points we have). If you have a rule that lets you only try one side of each square, then you can do it in n^2/4 attempts.
@DigDug_The1975
@DigDug_The1975 3 месяца назад
Grrrrr. I paused this for almost 3 minutes and came up with 22. Soooo close. Great puzzle. Keep em coming with your brilliance on HOW to solve complex problems!
@ThePowerfulOne07
@ThePowerfulOne07 3 месяца назад
How does the 22th square look??? Which points did you use?
@nicknike
@nicknike 3 месяца назад
22? I came up with 21 and I'm now playing the rest of the video. 😶
@The_Cali_Dude_88
@The_Cali_Dude_88 3 месяца назад
I got 20... rectangles aren't 'squares' and I told them that. True squares are equal all sides period🎉
@siliconslice
@siliconslice 3 месяца назад
@@The_Cali_Dude_88 yes
@nicknike
@nicknike 3 месяца назад
@@The_Cali_Dude_88 You can get 21 squares. Which one of them do you consider a rectangle?
@mortoopz
@mortoopz 3 месяца назад
So, only 1% of people consider rotated squares?... I find that hard to believe. [I'm not a crazy person, when posted this video was titled "Only 1% can solve" blah blah"]
@vetinaris1297
@vetinaris1297 3 месяца назад
Presumably 99% think rotated sqaures are diamonds or another shape so the brain doesn't look for it. That's my excuse anyway. At least this one doesn't feel like cheating 😂
@zlac
@zlac 3 месяца назад
or they find 17 because they only search for 45° rotated squares
@jetx_47
@jetx_47 3 месяца назад
I’m in the 99% crowd.
@abhishankpaul
@abhishankpaul 3 месяца назад
Me too dude. Tis hard to believe
@migssdz7287
@migssdz7287 3 месяца назад
​@@zlacyeah I got 17. I actually thought of other rotations but for.some reason it seemed obvious to me that there couldn't be any square like this I am in the 99% :`(
@sidkemp4672
@sidkemp4672 3 месяца назад
Nicely done. Most often, you show a known solution or say you learned part of the solution from someone else. Clearly, this time, you found all 21 squares yourself and then validated it with a computational method. And, as always, excellent presentation. And your approach to both finding and explaining squares by creating right triangles and identifying side lengths to test was brilliant. Kudos! I did think of diagonal squares, but only found four of them. So I found 13 boxes in all. I thought my way out of the smallest box, but not out of the next box up.
@jucom756
@jucom756 3 месяца назад
You can mathematically prove there are only 21 squares by looking at the possible center points for the squares and using rotational symmetry to only have to check 8 center points, an then multiply the ones that aren't the very center by 4 to account for symmetry and you get 9 out of the under 40 center-vertex combinations that work and 5 of those with the epicenter so we have 5+4*4=21
@rorygilmoreNZ
@rorygilmoreNZ 3 месяца назад
well I’m surprised anyone would need to make a calculation at all. To me that seems ridiculously over worked. I got the the 9 square answer in about 5 seconds and the 21 square answer in about 30 just by looking at it and tilting my head. Just as a graphic artist might break down the elements of something you want to draw. It’s not a mathematical problem as much as a creative one. It’s just a question of visualisation surely… not intelligence.
@HopUpOutDaBed
@HopUpOutDaBed 3 месяца назад
then there's me counting all the rotated squares, but then forgetting to count all of the 9 obvious cross squares other than the center.
@wiseoldfool
@wiseoldfool 3 месяца назад
Don't you hate it when you over think things? I don't.
@DrCeeVee
@DrCeeVee 3 месяца назад
I did the same as in the video, and came up with 21 squares, but also wanted to brute-force it, just in case. I wrote a simple MATLAB code that tests all 4845 combinations. For each combination, all squared distances are computed, and then sorted and duplicates removed, thus forming a "set" of distances. Those sets with a cardinality of 2, whose largest element is twice the smallest (i.e., the square's side and diagonal lengths squared) correspond to perfect squares. The answer was 21 squares. MATLAB code below. At the end of execution, variable n contains the answer. clear variables P = [2,0;3,0;2,1;3,1;0,2;1,2;2,2;3,2;4,2;5,2;0,3;1,3;2,3;3,3;4,3;5,3;2,4;3,4;2,5;3,5]; C = nchoosek(1:size(P,1),4); n = 0; for i = 1:size(C,1) d = []; for j = 1:4 for k = j+1:4 d = [d;(P(C(i,j),1)-P(C(i,k),1))^2+(P(C(i,j),2)-P(C(i,k),2))^2]; end end d = unique(d); if length(d) == 2 && d(2) == 2*d(1), n = n+1; end end Edit: Updated description and code, to include the condition d(2) == 2*d(1).
@DNByaBIGROOM
@DNByaBIGROOM 23 дня назад
Hiii I have no experience in coding but I’d love to understand how u actually figured out the code for this it’s bizarre to me tbh But great work man
@DrCeeVee
@DrCeeVee 7 дней назад
@@DNByaBIGROOM Many thanks for the comment. While preparing an answer for you, I realized that I had not included an important condition, namely that the largest of the two unique squared distances must be twice the smallest. I've updated the description and code accordingly. The result is still the same (21 squares). The key idea behind the code is to recognize that all perfect squares, regardless of their orientation (upright or rotated) have precisely two (2) distinct squared distances between their corners, and the largest is twice the smallest (twice, and not sqrt(2), because we square the distances, in order to avoid round-off errors due to fractional parts generated by computing square roots). First we form all combinations of the 20 points taken 4 at a time (4845 point quadruples). Then we evaluate each candidate quadruple by computing all squared distances between its points (that's 6 distances = 4 sides + 2 diagonals). Then we sort these 6 squared distances and remove any duplicates. If we end up with exactly 2 numbers and also the largest number is twice the smallest, then we know the candidate quadruple corresponds to a perfect square, so we increment variable n by one. At the end of execution, n will contain the number of perfect squares found (in our case, 21 squares). MATLAB allows us to do the above very quickly and efficiently, because it's designed to work with vectors/matrices, and has special functions to find the combinations and do the sorting and duplicate removal, and that's probably why the code may appear cryptic and difficult to read. I hope my description above helps you and other readers understand how it works.
@krzysztof_jablonski
@krzysztof_jablonski 3 месяца назад
My initial guess is 21, but instead of lengths like you do in the video I select a vector which is the first side of a square (select a point as 1st vertex, add the vector to get a 2nd vertex, add the vector rotated 90° to get the 3rd vertex, then add the vector rotated 180° to get the 4th vertex; all 4 form a square, you get the idea). Since the dots can be placed on discrete two dimensional grid of size 6x6 there's only a handful of vectors to choose from. Since the square has a rotational symmetry of order 4 we can consider only vectors with both coordinates being non-negative integers (Quadrant I) and still miss no cases. Here's my dissection of possible first square side vectors along with the number of dots that would form a square with all 4 vertices lying on the dots: (0,1) - 9 (1,1) - 4 (2,2) - 4 (1,2) - 1 (2,1) - 1 (2,3) - 1 (3,2) - 1 I believe it could be easier to program with this approach, as you wouldn't have to check if the 4 points combination forms a square, but instead given a square verify if all it's vertices belongs to a set of points provided as input. Also it would decrease the computational complexity, because there's only 35 such vectors possible in a 6x6 grid (plus a trivial (0,0) vector but those squares don't count) and check all of them against every one of the 20 points you only have 700 cases to run. That's already significantly lower than C(20,4). The number can be further shaved down if discard the vectors that are available in a full 6x6 grid but not in the input set. It can be easily proved visually, that for first coordinate of [number on the left] the second coordinate can only go as high as [number on the right]: 0, 5 1, 5 2, 3 3, 3 4, 1 5, 1 Considering only vectors of (0,1) through (0,5) // skipping the trivial (0,0) for the total of 5 (1,0) through (1,5) // 6 (2,0) through (2,3) // 4 (3,0) through (3,3) // 4 (4,0) through (4,1) // 2 (5,0) through (5,1) // 2 we get the grand total of 23 vectors to check against 20 points for 460 combinations. Over 10x less than C(20,4).
@strangebird5974
@strangebird5974 3 месяца назад
The more interesting question would be how to form a concise proof that there are only 21 possible squares to construct. I would start by noting that, apart from repeating pattern and mirroring, there are only 3 distinct "kinds" of dots in the pattern (the dot closest to the middle, the dot one out from the middle and the dot furthest away from the middle). Thus, we would only need to show the exhaustive number of kinds of squares with each of these 3 dots as a corner. That is pretty doable.
@MichaelRothwell1
@MichaelRothwell1 3 месяца назад
That is my question too. Someone already pointed out that a square is defined by its opposite corners, so you only have to consider pairs of points, then simplify further using the symmetry of the shape.
@purplealarmclocker
@purplealarmclocker 3 месяца назад
That animation was remarkably satisfying
@marvhollingworth663
@marvhollingworth663 3 месяца назад
Nice, I got it right! I was about to declare 9 as my answer, but then thought "Hang on, what about diagonals?" Went for 21 but expected him to keep going beyond 21 with some I missed. Was really pleased when he didn't.
@johnlawrence7386
@johnlawrence7386 3 месяца назад
I was listening to an audiobook and using another tab to see what was on YT, I came across this video and thought it was interesting. Surprisingly I came up with the answer.
@JaneAustenAteMyCat
@JaneAustenAteMyCat 3 месяца назад
I love the fact you wrote a program to affirm what you already figured out! I used to draw dots in various sized grids and join them in as many different ways as possible when I was a child. I think that was probably my first foray into probability.
@Delsto5
@Delsto5 2 месяца назад
The answer I got was 17, didn't see those tricky angled ones, great puzzle!
@WhiteGandalfs
@WhiteGandalfs 3 месяца назад
That was one of the first computer games we made ourselves on a "home computer" at college, using a version that accepted only straight squares as template and generalizing it to arbitrarily positioned squares - 40 years ago. Was a nice exercise for the introduction into 2D vectors. Nostalgie :D
@dylan9013
@dylan9013 3 месяца назад
I haven't done a problem like this since I've been in college (I graduated seven years ago), so I'm pleasantly surprised I solved this one with ease. I found the 1 squares first, followed by the root 2 squares, then the root 13 squares, then the root 5 squares, and lastly the 2 root 2 squares. I had no math behind it. I just visualized it!
@RobiBue
@RobiBue 3 месяца назад
I love to do these problems. This one didn’t take math but noting which squares were already counted. Got all 21 but did it on paper with 3 patterns for the different angles.
@Tiqerboy
@Tiqerboy 3 месяца назад
I could NOT visualize ALL the tilted squares without tracing them out. My mind was going numb trying to trace them out on the grid and then keep track of them. I had to methodically draw them all out to get the right answer. This is true for problem solving in general. I have to put pen to paper. I run into trouble if I try to do anything complex like this in my head.
@dylan9013
@dylan9013 3 месяца назад
@@Tiqerboy But you still got the right answer! That's what matters!
@dylan9013
@dylan9013 3 месяца назад
@@RobiBue Very nice!
@OneTrueBadShoe
@OneTrueBadShoe 3 месяца назад
I made use of the symmetry. I graphed them and put the origin of the cartesian plane in the center. I only check to see if there is a side between (1,y) quadrant 1 and points within (-y,y) if that makes sense. I check (1,1) to (-1,1) is the side of a square. The diagonal passes through the center, so I count 1 square (1,2) to (-1,1) is a side. The diagonal does not cross through the center, I count 4 (1,2) to (-2,1) is a side. The diagonal crosses through the center. I count 2 (1,2) to (-1,2) is a side. The diagonal does not cross through the center. I count 4. (1,3) to (-1,1) is not a side (1,3) to (-2,1) is a side. The diagonal does not cross through the center, I count 4 (1,3) to (-3,1) is a side, The diagonal crosses through the center, I count 2 (1,3) to (-1,2) is not a side (1,3) to (-1,3) is a side. The diagonal does not cross through the center. I count 4 Total of 21
@RobShawGB
@RobShawGB 3 месяца назад
It would be interesting to know if there is a general rule here for shaped like this. If this was considered of order 2, an order of 3 equivalent would be made up of five 3x3 squares. Or even look at cubes in a 3d version?!
@akaRicoSanchez
@akaRicoSanchez 15 дней назад
A simple technique to make it less likely to miss squares is to notice that there are only 3 types of points in the figure due to symmetry: the tip of the cross, the middle of the cross and the heart of the cross. So if you take a point of one of the type and check how many squares go through that one point, you know the same will be true for all the other points of the same type. You do this trivial exercise three times (once for each type of point) and you get that 3 squares go through a tip point, 5 through a middle point and 5 through a heart point. In the whole figure there are 8 tip points, 8 middle points and 4 heart points, so 8x3 + 8x5 + 4x5 = 84. But we counted each square four times as they have 4 corners so the final answer is 84/4 = 21.
@davfree9732
@davfree9732 4 дня назад
0. They are circles. And while they are arranged in 'square' formations squares possess sides which these do not. Hence we are looking at square formations, and not squares as the question asks. "But they are squares." Technically a square is defined as a quadrilateral with all four angles right angles and all four sides of the same length... But there are no sides visibly drawn. Only points. These only count as squares if they connected as described above. Hence they are square formations... Basically... when you stop mentally adding the lines, you see them for what they are.
@chandranisahanone
@chandranisahanone 3 месяца назад
I am following u since 3years , and I am totally obsessed by your ability of solving any problem, U are great 👑👑👑👑
@douglaswolfen7820
@douglaswolfen7820 3 месяца назад
Ah, but you've got a logical fallacy there. We don't know that he can solve every problem For all we know, he only solves one out of every ten problems he finds. He just doesn't make videos about the other nine
@chandranisahanone
@chandranisahanone 3 месяца назад
@@douglaswolfen7820 No matter what he does but he is the goat!
@hippophile
@hippophile 3 месяца назад
I got this. So I am in the putative 1%. Really it just requires care and probably helps to have seen something vaguely similar to find the skew ones. I find it hard to believe it is only 1% of us though, there wasn't anything really surprising there. Double counting was the main thing I found I needed to avoid... book-keeping skill...
@r.j.d3923
@r.j.d3923 3 месяца назад
I think it is at least 30 squares: Look at @2:14 and @2:54; both solutions you made use of the dots as cornerpoints, but 4 additional small squares occur when you draw the 4 squares. So by drawing 21 squares you get 30 squares. Maybe I overlooked some more?
@s3m527
@s3m527 3 месяца назад
Yeah, but those small squares are not connected to a point on each corner 🤓
@blackquintet
@blackquintet 14 дней назад
@@s3m527 So what? The question is "How many squares can be drawn using any 4 points as corners?" 4 points are supposed to be used to draw each figure. It's not said anywhere that each drawn square must be erased before drawing a new one, and by the way, the video does not enforce this non existing rule. So in some cases, using 4 points as corners may produce several squares. As usual, the problem is ambiguous. At best one can say that 30 squares is a valid answer to a different problem, but in such case one can as well say that 21 squares is the right solution to a different problem.
@s3m527
@s3m527 14 дней назад
@@blackquintet cry about it
@KenseiShiro
@KenseiShiro День назад
​@@blackquintetthese squares can't be drawn using any 4 points. It's not that complicated.
@cmuller1441
@cmuller1441 3 месяца назад
Instead of trying all 4 points, you can just test all pairs with the first point being higher or more left than the second and test if the 2 remaining points for a square (clockwise travel) are in the set.
@pieffe8
@pieffe8 3 месяца назад
In the automated counting of the squares, instead of considering each choice of 4 points, I'd have selected only 2 as two consecutive vertices of a square in clockwise order. At this point you can compute the coordinates of the other two vertices and see if they are valid. (You can find the third and fourth vertices by taking the vector between the two first vertices, rotate it 90 degrees clockwise, and apply it to the first and second vertices.) You can remove duplicates by only considering vectors going "right" (increasing x), and whose y coordinate doesn't decrease.
@peterlively8269
@peterlively8269 Месяц назад
You don't have to create a non-intersecting shape from the 4 points. 4 points will have 6 lengths that describe it (4 choose 2). For the result to be a square the lengths have to be [1 1 1 1 sqrt(2) sqrt(2)]*length. If you have 4 non-coincident points, all the lengths will be >1, so if you divide the 6 lengths by the shortest, you normalize the square. Then just look to see if the lengths add up to 4+sqrt(2)*2, since any other shape will not.
@pierreardouin6441
@pierreardouin6441 3 месяца назад
There are fundamentally 3 different types of points. Type A (8 points) belong to 3 squares, Type B (8 points) belong to 5 squares and type C (4 points) to 5. So thz number of squares is (8×3 + 8×5 + 4×5)÷4 = 21.
@hrk992
@hrk992 2 месяца назад
To solve the problem computationally, I think you can avoid ordering the points to form a non-intersecting polygon by computing the distances between every possible pair of points and storing the values that are unique, if the shape form a square there should only be two unique distances (side and hypotenuse) otherwise that won't be the case
@noelwest8234
@noelwest8234 3 месяца назад
My first count was 10, but I had a feeling there were more. I just could not see them. Thanks for the early morning headache.
@Thorsten.Youtube
@Thorsten.Youtube 3 месяца назад
Yeah, took me some thinking but paused the video at 0:20 and found 21 without difficulty, seriously I found it pretty easy, albeit interesting.
@johngaltline9933
@johngaltline9933 Месяц назад
I think to brute force check every possibility I would have gone with taking each point in half of a line (3 dots) and measured distance to all other dots from them, then only checked with squares with sides from that list of possible lengths. Maybe not worth the time to code it any differently here, but I think eliminating tests that can not possibly give a positive result would save time for similar things.
@ricks7469
@ricks7469 3 месяца назад
There are 21. If you number the dots from top to bottom, left to right; there are 9 like 1:3:4:2, 4 like 4:7:14:9, 4 like 3:12:18:9, 2 like 2:6:18:10, and 2 like 1:9:20:8.
@warny1978
@warny1978 3 месяца назад
There's an optimisation for your algorithm. Once you have choosen 2 points, which can't be horizontally aligned, you can consider it is the side of the square abd that you'll only search far squares that are on right and bottom of your 2 points. If the square missing vertices matches two points, you have found a new square. You'll find all squares with less tests.
@sintaxera
@sintaxera 3 месяца назад
I found them in about 15 seconds, thought I was missing something. I didnt even watch the video, just from the thumbnail 😂
@The_Commandblock
@The_Commandblock 3 месяца назад
Thank you for making me feel smart lol
@romain.guillaume
@romain.guillaume 3 месяца назад
I got it. I just search for every possible side lengths : 9 of 1 Sqrt(2) and 2sqrt(2) (45°) are basically the same at a scale factor with 4 squares each Same for sqrt(5) and sqrt(13) with only 2 each
@JamesWanders
@JamesWanders 3 месяца назад
With your code, you could also tally rectangles, kites, rhombi, trapezoids, parallelograms etc... be interesting to see how they compare.
@daboffey
@daboffey 3 месяца назад
A more efficient way of counting would be choosing two points at a time and checking whether a square with them as opposite corners is on the grid. Then divide by two, as the squares would be double counted.
@ToBeUs_ToniBeranger
@ToBeUs_ToniBeranger 3 месяца назад
Maybe the first time I was able to figure out the correct answer of one of your problems without any help! I'm pretty good in mathematics and also help students with that, but nevertheless I can still learn very much from your videos, thx therefore! :D
@Anti_Woke
@Anti_Woke 3 месяца назад
Programing always turns out to be harder than expected. Good job.
@Inspirator_AG112
@Inspirator_AG112 3 месяца назад
I counted 21, after looking for all possible ways to create squares connect-the-dots-style with the points given.
@mattc3581
@mattc3581 3 месяца назад
Indeed takes about 30 secs at most to count them all, so anything more than counting is a little overkill unless you don't feel confident in picking out all the different types.
@MichaelPaoli
@MichaelPaoli 3 месяца назад
How many squares using any four points? Would be sum of all the squares using any four points. So, let's sum them up. We'll only count each square once for any given set of four points. Let's start with smallest integral side length squares and go up from there. For reference, let's label each point, we'll use a Cartesian-like reference, similar to (x,y), but for brevity we'll omit all but xy, so instead of, e.g. (2,1) we'll just use 21. We'll label the points as follows, with x ranging from 0 through 5, all integers, and likewise for y, so, these are the labels for our points, shown graphically to correlate to their positions (and - for unfilled space/points): ------52-53------ ------42-43------ 30-31-32-33-34-35 20-21-22-23-24-25 ------12-13------ ------02-03------ So, smallest squares have side 1, and there are 9 of those. We have no squares of integral side lengths of 2 through 5 nor larger, nor smaller than 1, so what about other sizes between? Sides of (square) root 2 ... we have 4 of those (may be easier to visualize by rotating image 90 degrees). Sides of (square) root 5? ... again, rotating may aid visualization, and we have ... 2 of those (don't forget both non-redundant rotation sets). Sides of 2 root 2? ... 4 of those (think of these, squares having adjacent corners 02 and 20 x 4 for symmetry = 4, each consumes a pair of the most extreme horizontal (x) and vertical (y) points, and there are only 8 of those to consume, so that gives us our 4 squares of 2 root 2 sides. ) Next side size we can consider is root(2*2+3*3)=root 13 ... 2 of those only and exactly, due to what fits + symmetry/rotation Next we have side size 3 root 2, ... and we don't have anything that size or larger that fits all four square sides. So, add 'em up, 9+4+2+4+2= 21 squares.
@EugeneMayevski
@EugeneMayevski 3 месяца назад
I found all the squares easily, but to me, the text is a bit vague. When a square must use four points at corners, does this mean that it may or may not have other points on its sides? I read the text the way that it may not (and then some of the found squares must be excluded).
@panlomito
@panlomito 3 месяца назад
I first did it on paper but opened AutoCad that will provide distances between points. That was much easier and probably the 1% having the right tools to solve this challenge.
@davebashford3753
@davebashford3753 3 месяца назад
I'm curious how you tested for or sorted for "non-intersecting polygons" [3:56] and is that the same as convex polygons? Some 20+ years ago, we had regular terrain data points that required 2 triangles for each 4 points to render. I tried to optimize the terrain into fewer points, but got stuck on the test/sort that you solved. A short description or pointer would be appreciated.
@timetraveller6643
@timetraveller6643 3 месяца назад
I want a measuring rod 100 cm long with every integer distance marked, but with the minimum number of marks. I can do this with a six cm rod (A,D) in only two marks, one cm from the bottom (B) and two cm from the top (C). This gives all six integer lengths in total. AB =1, CD=2, BC=3, AC=4, BD=5, AD=6. What is the minimum number of pencil marks on any rod that includes every integer measurement? How are the marks arranged? As the increments are increased, do we approach a well known geometric series?
@richard_zeller
@richard_zeller 10 дней назад
I had 20. I'm going to assume I just lost track of 1 as I was doing it all in my head. But I do love these videos.....
@WRSomsky
@WRSomsky 3 месяца назад
I would have left the 2*Sqrt(2) as the "improper" Sqrt(8) Makes the progression more evident.
@kylaxial
@kylaxial 3 месяца назад
I came up with 9, then paused the video shortly after the explanation started, because I had remembered diagonal squares. I counted 21, but I miscounted 2 more odd angle ones and missed 2 45 degree angle ones.
@paulrandig
@paulrandig 3 месяца назад
It is kind of satisfying but also an overkill to check ALL combinations. It would be simpler to have two points and add a third point. IF the distance 1-2 is not equal to the distance 2-3, there cannot be a square. IF the distance 1-2 is equal but the lines do not form a right angle, there cannot be a square. Only if those two conditions do apply, you have to check a 4th point at all. BUT: It would be very interesting what the average area of all those polygons is and other statistics like the lenghth of all lines and so on.
@smylesg
@smylesg 3 месяца назад
4:51 I wish when the music started, he played a different tone for each point touched. He found enhance it by leaving the initial points playing while looking for the other possibilities.
@MateusMuila
@MateusMuila 3 месяца назад
Only 1% could solve it indeed , thanks for sharing your knowledge Sir.
@eliechaya9690
@eliechaya9690 3 месяца назад
I like that your title is so different of the actual question discussed
@Pocketfarmer1
@Pocketfarmer1 3 месяца назад
It could be argued that the four 2√2 are not legitimate for the problem because their side pass through another of the given points. None of the other squares do this. If the problem is to make squares from one point to a second ,then the 2√2 lines stop before completing the square . So 17 would be the right answer.
@leoc.9341
@leoc.9341 3 месяца назад
That is the answer I got for the very same reason.
@gwiyomikim5988
@gwiyomikim5988 3 месяца назад
In 1893 they found only 17 because they had other problems to solve like where they’d get their next meal, or how to survive the latest cholera, smallpox, typhus, or yellow fever outbreak.😉
@FirasFaleh-oj2ex
@FirasFaleh-oj2ex 3 месяца назад
Can you make a video about this problem: Let ABC be a triangle and M be a point inside it 1) let a, b and c be three strictly positive real numbers we put: x=(a+b)/c, y=(b+c)/a, z=(c+a)/b check that xyz=x+y+z+2 2) the lines (AM), (BM) and (CM) intersect respectively at A', B' and C': to show that: (MA/MA') • (MB/MB') • (MC/MC') = MA/MA' + MB/MB' + MC/MC' + 2
@richcolour
@richcolour 3 месяца назад
Wooo I'm in the 1% club! Where's my £100,000?
@TheChamp1971
@TheChamp1971 3 месяца назад
I found all 21 also, so you're going to have to share it with me!! 🤪
@DoomRutabaga
@DoomRutabaga 3 месяца назад
Hey I found all 21 as well, I want some of that money!!
@rojer9542
@rojer9542 3 месяца назад
I’m sure the check is in the mail. 😁
@DoomRutabaga
@DoomRutabaga 3 месяца назад
@@rojer9542 real :D
@robinlindgren6429
@robinlindgren6429 3 месяца назад
name the points by letters, in reading order, so that: the top 2 points are A and B. the next row is C and D. the next row is E, F, G, H, I and J. the next row is K, L, M, N, O and P. the next row is Q and R. the last row is S and T. lets start with the easy ones: how many regular squares do we have aligned with the grid and with side lengths equal to the unit length of the grid? 9: ABCD, CDGH, EFKL, FGLM, GHMN, HINO, IJOP, MNQR, QRST. there are no larger squares aligned with the grid so lets proceed to the next section. next up, how many are tilted? lets take the tilted squares in order of their side lengths. shortest first. the shortest possible side length on a unit grid greater than 1 is sqrt(2), which is diagonal. how many squares can be constructed diagonally with side length sqrt(2) on this grid? 4: CFHM, DGIN, GLNQ, HMOR. can we make other 45 degree tilted squares? how about with side lengths 2sqrt(2)? yes, 4 of them: AEIQ, BFJR, CKOS, DLPT. what about squares that are not at 45 degree angles? how about where the points are connected by knights jump (from chess)? there are 2 such squares: CILR, DFOQ. and if we look at squares where the side is 2 knights jumps we find AJKT and BEPS. what about other angles than those? turns out there are no more squares to be found. an exhaustive search is not complicated to make but I leave as an exercise for the reader to: calculate the perimeter of the convex shape produced by connecting the outermost points. reach the conclusion that any valid square must have a perimeter smaller than the maximum perimeter we found in the previous step. make an exhaustive list of all possible angles that connect 2 points in the unit grid with a distance between them smaller than or equal to a quarter of the maximum perimeter (there are not many). find that all angles other than the listed ones would require points outside our given grid. in conclusion: there are 9+4+4+2+2=21 squares
@hafez591
@hafez591 3 месяца назад
Great that you could computationally check all of the possibilities!👍
@wiseoldfool
@wiseoldfool 3 месяца назад
I love the animation and the music, but I'm going to say (for fun) that there are only 9 squares, the other 4-corner shapes are diamonds.
@keeplearning6
@keeplearning6 3 месяца назад
Thank you for making this video. Just wanted to know which language/tool you used to program the possibilities. It would be great if you can share the code as well.
@antoinedragnir142
@antoinedragnir142 3 месяца назад
I didn't see the last two squares. Nice problem ! I guess we could also consider more points to create an harder question.
@bledlbledlbledl
@bledlbledlbledl 3 месяца назад
screenshotted the dots, scribbled some squares on them, and found 21 pretty quickly ... and then spent way more time than that looking for more squares because of what it said on the thumbnail-pic
@alexharkler
@alexharkler 3 месяца назад
guessing before watching. I got 21. 9 trivial small. 4 small at 45deg, 4 large at 45deg, and 4 centered using the outer 4 dots with radial symmetry
@GarryDumblowski
@GarryDumblowski 2 месяца назад
Personally counted 21. Nine are 1 by 1, four are root2 by root2, two are root5 by root5, four are 2*root2 by 2*root2, and two are... Root 13 by root 13? I cant do math right now but theyre the outermost points.
@rustybarrel516
@rustybarrel516 3 месяца назад
I GOT ONE!!! I don’t BELIEVE it! This is better than the day the new phone book arrived! (But not as good as the day I discovered my special purpose).
@Kyanzes
@Kyanzes 2 месяца назад
I was unsure if the ones where more than four points are touched would be acceptable but I was able to see the valid squares.
@Shirazmatas
@Shirazmatas 3 месяца назад
How would you solve it if the question asked for how many rectangles rather than squares, is there a way without just computing?
@sweepingpage1845
@sweepingpage1845 3 месяца назад
If you don't restrict it to requiring the points be the corners, you can draw 9 more squares that form from intersecting lines.
@former-time-trio_fan
@former-time-trio_fan 3 месяца назад
before watching i tried solve this by myself, and got the right answer
@rapid13
@rapid13 3 месяца назад
As soon as you used the magic word "any" I knew there'd be way more than 9 lol!
@doranchak
@doranchak 3 месяца назад
What do you use to make these animations? (You probably get asked this a lot - sorry!)
@TuSkoFskY
@TuSkoFskY 3 месяца назад
Hi Presh! I was wondering if you gave a thoutgh about the numbers in which correct combinations are occuring? Are they forming any pattern? For sure it depends on the shape of points on the lattice. But maybe there is some regularity behind that? Would be nice to make another use of that algorithm :)
@aleksandersaski5387
@aleksandersaski5387 3 месяца назад
Nailed it!
@perekman3570
@perekman3570 3 месяца назад
May i ask what software/library was used to do the animation and render the video?
@cheweh842
@cheweh842 3 месяца назад
Looks like 3b1b/manim
@turbodog99
@turbodog99 2 месяца назад
21 squares! Now you just need a little thunder when you say that and you’ll be the count
@kmktruthserum9328
@kmktruthserum9328 3 месяца назад
23 squares? I counted this is my guess. (Counted 4 where there were 2... Hard to do in your head but I found them all) I used to do these as a kid with different boxes using lines and not dots and you would have to count the squares. And it's actually funny because I made this exact puzzle with dots when I was younger and I remember erasing it because I only counted nine! Crazy I got 23 this time lol. I wonder if my IQ went up or down since then😅
@abdulmateen1250
@abdulmateen1250 3 месяца назад
I counted exactly 21! 🎉 All this sharpness of mind related to maths is beacause of this channel I use to watch your every video. Thank you sir, so soo much. This type of content is very necessary for daily life and especially for students
@CubeEarthTheory
@CubeEarthTheory 3 месяца назад
Well, there are 20 dots, and it takes 4 to make a square. 20/4=5. 5 "squared" is 25, subtract 4 for what makes a square: 25-4=21.
@greenisnotacreativecolour
@greenisnotacreativecolour 3 месяца назад
By your reasoning any arrangement of twenty dots would also produce 21 squares, even twenty in a straight line.
@blackquintet
@blackquintet 14 дней назад
The question is "How many squares can be drawn using any 4 points as corners?" 4 points are supposed to be used to draw each figure. It's not said anywhere that each drawn square must be erased before drawing a new one, and by the way, the video does not enforce this non existing rule. So in some cases, using 4 points as corners may produce several squares, for a total higher than 21.
@verkuilb
@verkuilb 3 месяца назад
There are more. For example-let’s assume the very lower left corner (which doesn’t have a point) is coordinate (0,0). The bottom two points are thus at (2,0) and (3,0). Start at (3,0). Draw a line up to (3,2). Then diagonally downward to (2,1). Finally, right to (3,1). You’ve now drawn a number 4-which is a square, drawn using four points. There are many other positions, rotations, and sizes of this solution available via the available points.
@JimRFF
@JimRFF 3 месяца назад
It took me far longer than I want to admit to realize the punchline here...
@samueldeandrade8535
@samueldeandrade8535 3 месяца назад
Hehehehehehehehehehehehehehehehe. That's smart.
@Vienticus
@Vienticus 3 месяца назад
You could've just made a complete grid and exclude 16 points from the list. That would allow you to put a value between points, then do math to figure out if they're squares.
@aukword6255
@aukword6255 3 месяца назад
Arguably, there are actually 84 possible squares. As humans, we just naturally tend to collapse the 4 different starting points for each square down to a single solution. A machine would consider them distinct.
@adamperdue3178
@adamperdue3178 3 месяца назад
Just because a machine would say so, doesn't make the machine correct. If I look at my house from a different angle, it isn't a new house.
@aukword6255
@aukword6255 3 месяца назад
@@adamperdue3178 Reasonable, it's just a matter of definition. It's not a new house, but it is a new VIEW of a house. Every entity must operate on what IT considers an important instance. There are also cases in human endeavour where the starting corner is important.
@bigolbearthejammydodger6527
@bigolbearthejammydodger6527 3 месяца назад
FIRST QUICK PASS before video( I missed the 1 x 2 angle and 1 x 3 angle...DAMN MY OLD SLOW BRAIN!) however.... If you assume a isometric(non perspective) 3d space - you can make a 3d view of a cube.. which has 6 squares, with 3 of them hidden!(+replicate for view angles) I think you can even connect lines to form a hypercube.. Im still trying that. Your algorithm help me work this out so credit where its due. Not sure if this has broken the puzzle record with this as I suspect its outside of the intended (but not stated) parameters. If I'm right - follow up vid Presh? Did I break the record? (with your help) Edit: Thinking on this idea further... if you allow for perspective ratios of 1/1, 1/2 and 1/3 and 1/infinite you can make many many more cubes - each with 2 or 3 visible faces and the rest hidden. perhaps this is a rabbit hole best avoided?
@ShawnF6FHellcat
@ShawnF6FHellcat 13 дней назад
Well then, I'm apparently a "1 percenter"... and that's still after not having slept in 25 hours... I don't know what to do with that information, so I guess I'll just leave it here to slowly die out... ever so- *yawn... slowly... *yawn... slowly... sloooo-...........
@sonicwaveinfinitymiddwelle8555
@sonicwaveinfinitymiddwelle8555 3 месяца назад
I can't be the only one who counted all 13 rotated squares and forgot to count in also the 9 simple squares.
@thesushifiend
@thesushifiend 3 месяца назад
You don’t need computational power when you have logic.
@androart1817
@androart1817 2 месяца назад
I got the 1st and 5th type of square before clicking the video and then the 2nd before the explanation. Probably could’ve got the rest with time and a pen
@Patrik6920
@Patrik6920 3 месяца назад
actually, thers atleast 23 as the question is asked, if u draw lines trom the outer most points nr 22: L upper point- down to R 45 deg edge point R upper point- down to L 45 deg edge point L lower point - upp to R 45 deq edge point R lower point -to- upp L 45 deg edge point ..the resulting squere will have a side of 2(√2) units, and a starting point 0.5 units from the edges nr 23: a smaller one one step in with the side √2 ..cant atm see any more...
@mistyking627
@mistyking627 3 месяца назад
Solved it in 30 secs :). Finnaly a problem I got right.
@richardnel-boland7070
@richardnel-boland7070 3 месяца назад
I wrote the code to find all 4 points that have an equal distance from each other at the same time. Got 21.
@kangacrew540
@kangacrew540 3 месяца назад
The clue is only 1 percent get this. So i look and find 9 and think its more because most people would stay in the square, excuse the pun. Iq test s have these kinda questions.
@rogerlie4176
@rogerlie4176 3 месяца назад
Using symmetries I got n = 9 + 2*2 + 2*3 + 2*1 = 21
@JKenny44
@JKenny44 3 месяца назад
I got 25 ... I found all 21 and counted all of the root5 ones twice. Probably if I had pen and paper I wouldn't overcount.
@gm2407
@gm2407 3 месяца назад
Finally, one I got the answer first time.
@user-km1cf1gs8x
@user-km1cf1gs8x 3 месяца назад
I fell short at 19 !?!? I’ll forever be haunted by those 2 Squares Short 😮
@veteran501
@veteran501 3 месяца назад
hehe a good one! i counted 17 but got sloppy and didnt count the sqrt(5) and sqrt(13)... nice one :)
Далее
A legendary question from the toughest exam
15:04
Просмотров 137 тыс.
# funny#daily#vlog#family#prank
00:12
Просмотров 6 млн
Pure Comedy #ti13
00:38
Просмотров 194 тыс.
Какой звук фальшивый?
00:32
Просмотров 154 тыс.
Impossible Logic Puzzle from Indonesia!
13:46
Просмотров 105 тыс.
How to solve Google's clock hands interview riddle
15:33
Solving a legendary puzzle
22:40
Просмотров 111 тыс.
Why is πr² the formula for a circle's area?
11:05
Просмотров 164 тыс.
7 Mystery Riddles Only the Smartest 5% Can Solve
9:12
Can you solve the missing square puzzle?
8:47
Просмотров 172 тыс.
Internet is going wild over this problem
9:12
Просмотров 583 тыс.
The Game You Can't Win
11:16
Просмотров 2,3 млн
# funny#daily#vlog#family#prank
00:12
Просмотров 6 млн