Introduction
MathNote is a website exclusively developed for intrepreting and explaining some of the mathematical concepts. Though there are many websites which can explain and cover most of the mathematical concepts in a breif manner, here at MathNote we try to deliver the basics out of it. We are also commited to post unique content in our website such that it is not redundant and in a way much helpful to the learners. The things which you learn here will make you really interested in mathematics and in the related field. The website is still under development and you can expect more interesting updates to the site. We also appreciate your valueful feedback. This website also lists some of the funny facts alongside with mathematical basics.
All the shortcuts defined here applies for only 2-digit multiplication
Let us start with multiplication of two numbers that ends with 5. If the tens(first) digit of both the numbers add up to give an even number then the end result would have 25 as the last two digits and in case if addition gives an odd number then the result would have 75 as the last two digits.Let us define both the cases with an example. Consider two two digit numbers.
Here the two digits in the tens(first) position sre 3 and 4. They sum upto make 7. So the last two digits for the answer would be 75. To make it much simple, if the tens(first) digit of both the numbers are either odd or even, then the first two digits of the result would be 25 or else it would be 75.
Now let us move on to find the first two digits of the answer.
This step is a little bit complex but can be done in mind without a pen and paper. Multiply the numbers in the tens(first) position and add the result with its average. If the average has a decimal point then ignore it. Let us demonstrate it with an example. Let us consider an instance with numbers 25 and 45
Hurray! Finally we have learnt a simple method for the multiplication of two numbers ending with 5. Let us dive in a little deeper.
The following section will illustrate a method for multiplication of any two numbers.
The tens digit of the first number is multiplied with the ones digit of the second and the ones digit of the first number is multiplied with the tens digit of the second number. Then add their products. Inorder to remember, keep the ones of the sum in the right hand and remaining number in the left hand. then multiply the ones of the first number with the ones of the second number. Then add the ones digit of the product with the number in right hand. If there is a 1 carry add it to the number in left hand. And then multiply the tens of the first number with the ones of the second number and finally add it to the number in the left hand. This sequence of process will eventually fetch the output. And this process may be a little tough but may be much easier when compared to the traditional method of multiplication.
We will verify the above steps with a demonstration. Consider two numbers 45 and 36. In normal multiplication the result would be 1620.
Again I suggest that repeated practice could help you master it.
Next, We will look at a simple method for finding the slope between two points in a quadratic function. The slope is nothing but the sum of the two numbers. Comparision between the traditional method and the new method is involved as follows.
These are some of the techniques which we have spent hours on cracking our heads to get the shortcuts. Thanks for reading. Looking forward to see you again.
Learners should have a prior basic understanding about neural networks.
Backpropagation is a learning algorithm primarily used for the learning of neural networks. Backprop was used for the calculation of gradients for applying it to optimization algorithms. It was successfully implemented by Geoffrey Hinton et.al on neural networks. The learning of neural networks is an highly iterative process involving the backpropagation of error term and calculation of gradients. We will here demonstrate the derivation of backpropagation of single and multi layer neural networks. I have refered many websites but I could not get a clear picture about the Backprop algorithm. Before directing towards the core of backpropagation algorithm let us have intution about the correct implementation of BackProp. The effective way of understanding the BackProp algorithm is by implementing it with a computational graph.
In the above equation s is the output and a,b and c are inputs. The relation between a,b and c are linear. In order to predict the output varible, it is essential to gain the knowledge of how the output variable changes with respect to the input variables. So we have to find how b changes with respect to a,b and c. If we account the changes of a on s, a do not have a direct relationship with respect to s and their relationship is established with a intermediate variable u. So we have to find the variation of s with respect to u and then find the variation of u with respect to a. This method is called the Chain Rule in calculus. This is same with the variable b. Since c is directly related with the output s, we can find the variation quite easily. This is in a similar way to the function of BackProp in Neural Nework except the case here we assumed the weights as inputs.
Consider a three layer neural network with two neurons in each layer. Consider we use sigmoid activation function for all the neurons. We have two inputs and one output. Let us here employ cross entropy loss. The terminologies are defined below.
Input layer is considered as the 0th layer as it does not perform any computation.
As we told earlier we have to find the gradients for every weight vector, but we will here illustrate only one of the gradiemts. This idea can be expanded to any such gradients.
Thus the calculated gradient can be used in Gradient Descent for updation of weight w11. The other such gradients are also calculated using the similar methods. But today there are many libraries available to perform the gradient calculation using a technique called automatic differentiation, which employs chain rule repeatedly for calculation of gradients thus avoid writing hardcoded formulas.
We shall see the interesting facts about personalities and countries all around the world.
1. The UAE is longest name of a country to have alternate vowels and consonants.(UNITED ARAB EMIRATES)
2. The crows are rare in New Zealand because people there are licensed to kill crows as they fear that crows can act as carrier for contagious disease.
3. France's high sanitation quality ensured mosquitos to be one of the rarest flies in the mainland.
4. The New England, New France and the New Netherlands are the colony established in present USA by the English, French and the Dutch people.
5. One Hundred Trillion Dollar $ currency note by the Reserve Bank of Zimbabwe is most valuable note printed by any country though a pencil in Zimbabwe would cost around a billion dollar $ during Hyperinflation