Back when I was in school, this concept was really hard for me to grasp my head around, and I must say, this was a compelling way to understand the function of multiplying with negative numbers!
Thanks!
By virtue of everyday usage, the fact that (-1) x (-1) = 1 has been engraved onto our heads. But, only recently did I actually sit down to explore why, in general negative times negative yields a positive number !
Let’s play a game called “continue the pattern”. You would be surprised, how intuitive the results are:
2 x 3 = 6
2 x 2 = 4
2 x 1 = 2
2 x 0 = 0
2 x (-1) = ?? (Answer : -2 )
2 x (-2 ) = ?? (Answer : -4 )
2 x ( -3) = ?? (Answer : -6 )
The number on the right-hand side keeps decreasing by 2 !
Therefore positive x negative = negative.
2 x -3 = -6
1 x -3 = -3
0 x -3 = 0
-1 x -3 = ?? (Answer : 3)
-2 x -3 = ?? (Answer : 6)
The number on the right-hand side keeps increasing by 3.
Therefore negative x negative = positive.
Pretty Awesome, right? But, let’s up the ante and compliment our intuition.
Imagine a number line on which you walk. Multiplying x*y is taking x steps, each of size y.
Negative steps require you to face the negative end of the line before you start walking and negative step sizes are backward (i.e., heel first) steps.
So, -x*-y means to stand on zero, face in the negative direction, and then take x backward steps, each of size y.
Ergo, -1 x -1 means to stand on 0, face in the negative direction, and then take 1 backward step. This lands us smack right on +1 !
The “i” in a complex number is an Instruction! An instruction to turn 90 degrees in the counterclockwise direction. Then i * i would be an instruction to turn 180 degrees. ( i x i = -1 ). where i = √-1
Similarly ( -1 ) x i x i = (- 1 ) x ( -1 )= 1. A complete revolution renders you back to +1.
We can snug in conveniently with the knowledge of complex numbers. But, complex numbers were established only in the 16th century and the fact that negative time negative yields a positive number was well established before that.
Hope you enjoyed the post and Pardon me if you found this to be rudimentary for your taste. This post was inspired by Joseph H. Silverman’s Book - A friendly Introduction to Number Theory. If you are passionate about numbers or math, in general it is a must read.
There are several other arithmetic methods that prove the same, if you are interested feel free to explore.
Have a Good Day!
PC: mathisfun
Just the ruler missing. Love to draw with those tools!
Neet way to learn matrixmultiplication!
An interactive matrix multiplication calculator for educational purposes
matrixmultiplication.xyz
“One day it just snapped in my mind how the number of rows of the first matrix has to match the number of columns in the second matrix, which means they must perfectly align when the second matrix is rotated by 90°. From there, the second matrix trickles down, “combing” the values in the first matrix. The values are multiplied and added together. In my head, I called this the “waterfall method”, and used it to perform my calculations in the university courses. It worked.”
Wow, “ For a photon, its entire existence is instantaneous. “ , that put things in perspective!
Ask Ethan #109: How do photons experience time?
“[L]ight takes about 8 minutes to travel from the sun to earth. Light travels at the speed of light. If you do that relativity kicks in. So my question is, how much time passes for the photons traveling? In other words, how much have the photons aged when the reach the earth? Thanks for considering this.”
Travel at any constant speed, at rest, slowly, or near the speed of light, and you’ll experience time passing at the same rate it always does: one second per second. If someone else is moving relative to you, they’ll see your clock run slow (and you’ll see theirs run slow) depending on how quickly you move relative to one another. But what about a photon, which moves at the speed of light? From your point of view, no matter what your motion is, you won’t see time pass for it at all, and it won’t even experience time! For a photon, its entire existence is instantaneous.
This slide is really something! :)
Video of my talk last week at ICERM, where I discussed a bit of my process for making GIFs. You can also access my slides here.
Down the rabbithole. :)
/|\ / \ hello it is I, twocubes
I just love nerds like this! Wow, you amaze me!
Here’s a time-lapse I took of my friend and I wrapping copper wire around our radio telescope antenna.
If any of the other stages of the build process would make for interesting videos, I will try to post them as well.
Beautiful!
This sketch was made by rotating point 1 around a circle, rotating point 2 around point 1, and then joining a line between point 1 and point 2. In the gif point 2 is traveling in the same direction as point 1. Point 1 is traveling at 1x, and point 2 is traveling at 2x. Following the gif are some of my favorite combinations of the periods:
Rotating same direction:
1x and 1x
1x and 2x
1x and 5x
2x and 1x
2x and 5x
5x and 8x
The last image is an array of all the varieties from 1x to 9x for each point.
code: http://p5js.sketchpad.cc/sp/pad/view/jLceHatXid/latest
Three of my favorite tumblrs in one post, keep it up boys. :)
I saw Regolo Bizzi’s wonderful drawings on twitter, and I had to try and make them in processing. I recognized it as a version of the dog chase problem (where dogs at each corner of a square are chasing the dog to their left), but now they switch from the left dog to the right dog every 100 frames. Also made a hexagon version (6 dogs), because why not?
Square code: http://openprocessing.org/sketch/292065
Polygon code: http://www.openprocessing.org/sketch/292076
Like your piece. With flowers and everything! :)
http://autolyses.tumblr.com/tagged/autou
some photos I’ve taken or things I’ve made, just for fun
I wounder what the gif community could do with such a simple code! :)