Differential calculus

Differential calculus, a branch of calculus, is the study of finding out the rate of change of a variable compared to another variable, by using functions. It is a way to find out how a shape changes from one point to the next, without needing to divide the shape into an infinite number of pieces. Differential calculus is the opposite of integral calculus. It was developed in the 1670s and 1680s by Sir Isaac Newton and Gottfried Leibniz.
Background
Unlike a number such as 5 or 200, a variable can change its value. For example, distance and time are variables. At an Olympic running race, as the person runs, their distance from the starting line goes up. Meanwhile, a stopwatch or clock measures the time as it goes up. We can measure the average speed of the runner, if we divide the distance they travelled by the time it took. But this does not say what speed the person was running at exactly 1.5 seconds into the race. If we had the distance at 1 second and the distance at 2 seconds, we would still only have an average, although it would probably be more correct than the average for the whole race.
Until calculus was invented, the only way to work this out was to cut the time into smaller and smaller pieces, so the average speed over the smaller time would get closer and closer to the actual speed at exactly 1.5 seconds. This was a very long and hard process, and had to be done each time people wanted to work something out. Certainly it is much more difficult for a driver to figure out a car's speed by using only its odometer (distance meter) and clock--without a speedometer.
A very similar problem is to find the slope (how steep it is) at any point on a curve. The slope of a straight line is easy to work out--it is simply how much it goes up (y or vertical) divided by how much it goes across (x or horizontal). If a line is parallel to the x axis, then its slope is zero. If a straight line went through (x,y) = (2,10) and (4,18), the line goes up 8 and goes across 2, so its slope is 8 divide 2, which is 4.
On a 'curve', though, the slope is a variable (has different values at different points), because the line bends. But if the curve was to be cut into very, very small pieces, the curve at the point would look almost like a very short straight line. So to work out its slope, a straight line can be drawn through the point with the same slope as the curve at that point. If it is done exactly right, the straight line will have the same slope as the curve, and is called a tangent. But there is no way to know (without calculus) whether the tangent is exactly right, and our eyes are not accurate enough to be certain whether it is exact or simply very close.
What Newton and Leibniz found was a way to work out the slope (or the speed in the distance example) exactly, by using simple and logical rules. They divided the curve into an infinite number of very small pieces. They then chose points on either side of the point they were interested in and worked out tangents at each. As the points moved closer together towards the point they were interested in, the slope approached a particular value as the tangents approached the real slope of the curve. They said that this particular value it approached was the actual slope.
How it works
Let's say we have a function y = f(x). f is short for function, so this equation means "y is a function of x". This tells us that how high y is on the vertical axis depends on what x (the horizontal axis) is at that time. For example, with the equation y = x2, we know that if x is 1, then y will be 1; if x is 3, then y will be 9; if x is 20, then y will be 400.
Choose a point A on the curve, and call its horizontal position x. Then choose another point B on the curve which is a little bit farther across than A, and call its horizontal position x + h. It does not matter how much h is; it is a very small number.
So when we go from point A to point B, the vertical position has gone from f(x) to f(x + h), and the horizontal position has gone from x to x + h. Now, remember that the slope is how much it goes up divided by how much it goes across. So the slope will be:
If you bring B closer and closer to A - which means h gets closer and closer to 0 - then we get closer to knowing what the slope is at the point A.
Now let's go back to y = x2. The slope of this can be determined as follows:
Applying the binomial theorem which states in part that , we can reduce the expression to:
So we know without having to draw any tangent lines that at any point on the curve f(x) = x2, the derivative f'(x) (marked with an apostrophe) will be 2x at any point. This process of working out a slope using limits is called differentiation, or finding the derivative.