Skip to content
Tutorials Center
My learning

Topics

Lesson 1 of 39 ยท Getting Started

What Is Calculus?

Meet the two big ideas of calculus, derivatives and integrals, see what problems they solve, and run your first calculus-style computation in Python.

Calculus is the math of change and accumulation. Algebra can tell you the speed of a car that drives at a steady 60 km/h. Calculus can tell you the speed of a car at one exact instant, even while it speeds up and slows down. It can also tell you how far the car has gone when its speed keeps changing.

Calculus was developed in the 1600s by Isaac Newton and Gottfried Leibniz, working independently. Today it is used in physics, engineering, biology, economics and computer science. In this track you will learn the ideas step by step, and you will test each one with small programs you can run in your browser.

The two big ideas

Calculus has two main halves. They look different but turn out to be connected.

Idea Question it answers Example
Derivative How fast is something changing right now? The speed of a falling stone at 2 s
Integral How much has built up in total? The distance covered from a changing speed

The derivative breaks a curve into tiny straight pieces and measures the slope of each. The integral adds up a huge number of tiny pieces. Both rely on one powerful tool: the limit, which describes what happens as something gets closer and closer to a value. You will meet limits in chapter 2.

flowchart LR
  A["Function f(x)"] -->|"derivative"| B["Rate of change"]
  B -->|"integral"| A

The derivative and the integral undo each other. This is called the Fundamental Theorem of Calculus.

Why do we need it?

Take a stone dropped from rest. Ignoring air, its distance fallen after t seconds is about d = 4.9 tยฒ meters. At t = 2 the stone has fallen 4.9 ร— 4 = 19.6 m. But how fast is it moving at exactly t = 2? Speed is distance divided by time, but at a single instant no time passes and no distance is covered. The formula gives 0/0, which is meaningless.

Calculus solves this by looking at shorter and shorter time intervals and asking what speed they approach.

Python Speed over shorter and shorter intervals

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

The average speeds settle toward 19.6 m/s. That number is the speed at the instant t = 2, and it is the derivative of d at 2.

Accumulation: adding up many small pieces

Now reverse the situation. Suppose you know the speed at every moment and want the distance. If the speed is constant, multiply speed by time. If it changes, you can chop the time into short slices, treat the speed as constant in each slice, and add the results. More slices give a better answer. This is the idea of the integral.

Python Adding up thin slices

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

The totals approach 19.6 m, the same distance we found with the formula. The two big ideas fit together.

You do not need to be a genius to learn calculus. You need solid algebra, comfort with graphs and patience with a few new ideas. The next lesson reviews the function skills you will use all the time.

Check your understanding

Quick check ยท 4 questions

of 4 answered You scored / 4 ยท perfect!

  1. 1. Which question is a derivative question?

    A derivative measures an instantaneous rate of change, such as how fast a level rises at one moment.
  2. 2. What tool lets calculus handle 'at one instant' without dividing 0 by 0?

    A limit describes the value a quantity approaches as an interval shrinks toward zero.
  3. 3. An integral is best described as

    Integrals accumulate small contributions into a total, such as distance from speed.
  4. 4. How are derivatives and integrals related?

    The Fundamental Theorem of Calculus links them: each reverses the other.

Summary

  • Calculus studies change (derivatives) and accumulation (integrals).
  • Limits make "at an instant" precise.
  • Shrinking intervals give instantaneous rates; adding thin slices gives totals.
  • The two ideas are linked by the Fundamental Theorem of Calculus.

Next: Functions and Graphs Review