Introduction to Calculus


Introduction to Calculus

Anna
Today we’re tackling calculus, especially the idea of a gradient that changes from point to point. Calculus studies rates of change, including changes over very small intervals. That makes it useful for describing and predicting changing phenomena in nature, such as population growth.

Corey
And calculus wasn’t developed by just one person. Sir Isaac Newton and Gottfried Leibniz developed it independently of each other. Before we work through derivatives, let’s build from something familiar: the gradient of a straight line.

Anna
For two points on a line, the gradient is the change in the y-coordinates divided by the change in the x-coordinates: y-two minus y-one, over x-two minus x-one. You may know the same idea as “rise over run.”

Corey
So if one line is steeper than another, it has a greater gradient. That comparison works neatly for straight lines, but what if we want to know how steep a curve is at just one point?

Anna
That’s where we use two related lines. A secant passes through two points on a curve. If the points have x-coordinates x and x plus h, their y-coordinates are f of x and f of x plus h.

Corey
The horizontal change between those points is h, so the secant’s gradient is f of x plus h, minus f of x, all divided by h. It measures the curve’s average change across that interval.

Anna
Now imagine h getting smaller and smaller, so the two points move closer together. The secant approaches a tangent: a line that touches the curve at the point we’re studying. The tangent’s gradient is the limit of that secant-gradient expression as h tends to zero.

Corey
Written symbolically, that’s the limit as h approaches zero of the quantity f of x plus h minus f of x, divided by h. It gives us the gradient at a particular x, and applying it to the function gives us a gradient function.

Anna
Let’s try the function y equals x. In the limit expression, f of x plus h is x plus h, while f of x is x. Subtracting gives h, and h divided by h is one. So the gradient function is one.

Corey
That makes sense for a straight line: y equals m x plus c, where m is the gradient and c is the y-intercept. For y equals x, the gradient is one everywhere.

Anna
Now take y equals x squared. Substituting into the limit expression gives the limit as h tends to zero of the quantity x plus h, squared, minus x squared, all over h.

Corey
Expand the square: x squared plus two x h plus h squared. Then subtract x squared, and those x-squared terms cancel. We’re left with two x h plus h squared, over h.

Anna
Factor out h in the numerator and cancel it with the denominator. The expression becomes two x plus h. Now h can tend to zero, leaving two x. So the gradient function for y equals x squared is two x.

Corey
Those examples lead to the power rule. If y equals a times x to the power n, then dee y over dee x equals a times n times x to the power n minus one. In other words, multiply by the exponent, then reduce the exponent by one.

Anna
For example, the derivative of ten x to the fifth is ten times five x to the fourth, which is fifty x to the fourth. The coefficient stays in the calculation, and the power drops by one.

Corey
Sometimes a term isn’t written in the form we need. One over x cubed can be rewritten as x to the power negative three. Then the power rule gives negative three x to the power negative four, or negative three over x to the fourth.

Anna
The same idea works with roots. Two over the square root of x is two x to the power negative one-half. Differentiating gives two times negative one-half, multiplied by x to the power negative three-halves. The twos reduce, leaving negative x to the power negative three-halves.

Corey
And that can be written as negative one over x to the power three-halves, or negative one over the square root of x cubed. Rewriting roots and fractions as powers makes the rule much easier to apply.

Anna
There’s also an example where two x-terms are combined using index laws before differentiating. Once that expression has been simplified to five x to the power negative five-halves, the power rule gives five times negative five-halves, multiplied by x to the power negative seven-halves.

Corey
So the result is negative twenty-five-halves x to the power negative seven-halves. Keeping it in index form is simpler than changing it back into a fraction with a root.

Anna
For a function with two terms, differentiate each term separately and keep track of the signs. For x to the power one-quarter minus x to the power negative one-quarter, the first term becomes one-quarter x to the power negative three-quarters.

Corey
For the second term, the original minus sign matters. Differentiating x to the power negative one-quarter gives negative one-quarter x to the power negative five-quarters, and subtracting that derivative makes it positive. So the whole derivative is one-quarter x to the power negative three-quarters plus one-quarter x to the power negative five-quarters.

Anna
To see where those new powers come from, subtract one carefully. Negative one-quarter minus one is negative one-quarter minus four-quarters, which equals negative five-quarters. And one-quarter minus one is one-quarter minus four-quarters, which equals negative three-quarters.

Corey
Now for the final application: find the gradient of y equals two square root of x plus one when x equals sixteen. First rewrite the function with powers: two x to the power one-half plus one. The constant one can be treated as one times x to the power zero.

Anna
Differentiate each term. The first gives two times one-half x to the power negative one-half, which simplifies to x to the power negative one-half. The constant term’s derivative is zero, so it disappears.

Corey
Rewrite x to the power negative one-half as one over the square root of x. At x equals sixteen, that’s one over the square root of sixteen, or one-quarter. So the curve’s gradient at x equals sixteen is one-quarter.

Anna
The key takeaway is the power rule: for y equals a x to the n, dee y over dee x equals a n x to the n minus one. And the idea behind that rule is the limit of secant gradients as the two points come together to form a tangent.

Ask anything
We've read this whole study set, so questions about it get the best answers.