Skip to main content

Squaring of the Triangle

Have you ever had your mind blown by some sort of obstacle illusion? Where, when you look at some object one way, you see one shape and by slightly changing your point of view you see something completely different? This idea of constructing what feels to be an impossible shape was our task for this week! The goal is that by having two observers looking down at the object at different spots, they will see two completely different shapes. Below you will find an example of an ambiguous object so you can begin to get some sort of familiarity of what all is going on throughout the rest of this post!


As you can see, when looking directly at the object from one direction you see one shape, but when changing your point of view, you see something else. While the concept of funny shapes that appear to be different may seem simple, since we are able to see many examples of them on the internet, they are fairly difficult to construct. I will begin by showing you the shape I created, and then walk through the math behind it, as it may be easier to see the model while reading the behind the scenes. Here, I constructed an object where if you stare at it one way then you see a square, while someone on the opposite side will see a triangle instead. I thought it was nice to see what the change between the basic four sided shape to the three sided shape. Here is the shape, and the two different views.


So now that you can see what the goal is to obtained, lets talk about how you generally do it and the math for this example. You first by finding the curves you want the observer to see, or some way to create it. In particular, the curves need to be hidden, more like blended in, on one part so that we see a flat side. In order to do this, you take the curves you want to show and create some vectors such that the viewers will see their respective shapes. How do you do this? Well, lets say you want Viewer 1 to see the curve $f(x)$ and Viewer 2 to see the curve $g(x)$. Then, we want to parameterize some vector $\overline{r}$ so that Viewer 1 looks along the curve to see $(x, f(x), 0)$ and Viewer 2 looks down and see $(x, g(x), 0)$. By parametizing our functions for $\overline{r}(t)$, we can arrive at this vector.

Lets continue by fixing $t$ and then solving for the intersection of the line passing through the point $(t,f(t),0)$, where the line is parallel to $<0,1,1>$, and the line passing through the point $(t,g(t),0)$ which is parallel to $<0,-1,1>$ (this is to make sure the observers are on different sides of the shape). By solving through the intersection, you see you arrive at $\overline{r}= < t, .5*(f(t) + g(t), .5(g(t) - f(t)))>$. From there, you plug back in you original equations and you end with two vectors, where you split it between positive and negative y's if having two curves.

For my example, I split the shape into the four quadrants and built the shape from there. The big thing to note is that I just used $x$ as the parameter for each function throughout. Moreover, each function was defined for a total interval length of $1$ for $x$, with steps of $.5$, as this is enough to make the curvature appear with the functions but keep certain sides straight. For my first two equations wanting to be shown, I chose $f(x) = \sin{x} * (.5-|x+.5|)$ and $g(x) = (1-x^2)^2$. I chose these two because from different angles, they straighten out ($g(x)$), and curve slightly enough so that we a more of a bending on a side ($f(x)$). The $\sin{x}$ part really came in handy in order to actually make the side curve enough so that it disappears from one direction but look straight from another. The second equation was identical, besides $f(x) = \sin{x} + (.5-|x-.5|)$, just to get the same curve but going a bit opposite from the first.

Following from this discussion, the third and fourth parts were similar to each other. The third quadrant was fined by the functions $f(x) = -.5*(1-|x|)$ and $g(x) = -(1-x^2)^2$. Notice, no sine function was added here since we wanted these sides to be a bit more straight. Finally, the fourth part of the overall shape was created with the functions from the third quadrant, exactly the same. With the even power of functions we chose as well as making the function go between the positive values of $x$, we replicate the exact side made in the third quadrant. Putting these four together made the overall shape from above!

Now, to discuss a little bit more about why I chose these speific shapes. I wanted to have something that is very familar to anyone looking at the object, leaving little up to the imagnation of the mind to see a shape. It also shows off how one can use some simple equations in order to get this curvature of one side and the sharpness on the other, thus changing the perspective of one observer and another.

Comments

Popular posts from this blog

Do Over: Integration Over a Region in a Plane

Throughout the semester we have covered a variety of topics and how their mathematical orientation applies to real world scenarios. One topic we discussed, and I would like to revisit, is integration over a region in a plane which involves calculating a double integral. Integrating functions of two variables allows us to calculate the volume under the function in a 3D space. You can see a more in depth description and my previous example in my blog post, https://ukyma391.blogspot.com/2021/09/integration-for-over-regions-in-plane_27.html . I want to revisit this topic because in my previous attempt my volume calculations were incorrect, and my print lacked structural stability. I believed this print and calculation was the topic I could most improve on and wanted to give it another chance. What needed Improvement? The function used previously was f(x) = cos(xy) bounded on [-3,3] x [-1,3]. After solving for the estimated and actual volume, it was difficult to represent in a print...

Knot 9-31

Knot 9-31 A knot is mathematics is defined as a closed, non-self-intersecting curve that is placed in three dimensions and cannot be the "unknot". The main difference between a knot in the real world and a known in mathematics is that a knot in mathematics does not contain any extra strands. The example following will help visualize this. Today, I have specifically chosen knot 9-31 from the Knot Atlas. This knot is very unique and contains some very interesting properties that we are going to look into. The Crossing Number For my knot today, I chose knot 9-31 from the Knot Atlas. This knot contains 9 crossings! The Unknotting Number The unknotting number is exactly what is sounds like. This is the minimum number of times the knot must be passed through itself to untie it. Luckily, the Knot Atlas is super useful and provides the unknotting number for us, but I still...

Do Over: Integration for Over Regions in the Plane

Introduction Earlier in the semester, we visited the topic of integration for over region regions in the plane. This was our first experience with taking integration in the third dimension. To do this, we had to use double integrals to calculate the volume of a region between two surfaces. This topic seems relatively straightforward and anyone who has taken a higher calculus class knows of double integrals. Today, we are going to revisit this topic for a couple of reasons. Why Double Integrals Again? As mentioned before, I am revisiting this topic for a couple of reasons. One of the main reasons is due to how the 3D print turned out. Due to the function, I chose, the final rectangular prism was stand alone. When printing, this resulted in a sloppy prism that lacked structural integrity. The image below is a reference to my original design that includes the prism that had the issue. The main cause of ...