guide

Calculus Guide: Limits, Derivatives, and Integrals Explained

Complete calculus guide covering limits, derivatives, integrals, chain rule, u-substitution, and integration by parts.

The Complete Calculus Guide: Concepts, Techniques, and Examples

Calculus is one of the most important branches of mathematics, forming the foundation for physics, engineering, economics, and computer science. Whether you are just starting out in AP Calculus or working through a college-level course, this guide will walk you through every major concept you need to know — from limits all the way to advanced integration techniques.

If you ever get stuck on a problem, remember that you can screenshot it and get a full step-by-step solution instantly. But first, let us build a solid understanding of the ideas behind the math.

What Is Calculus?

Calculus is the study of change. It gives us tools to analyze how quantities grow, shrink, and accumulate over time. The two main branches are differential calculus (concerned with rates of change) and integral calculus (concerned with accumulation). These two branches are connected by the Fundamental Theorem of Calculus, which we will cover below.

At its core, calculus answers two big questions:

  1. How fast is something changing at a specific moment? (Derivatives)
  2. How much of something has accumulated over an interval? (Integrals)

Limits: The Foundation of Calculus

Every concept in calculus is built on the idea of a limit. A limit describes what value a function approaches as the input gets closer and closer to some number.

Definition

We write:

lim (x -> a) f(x) = L

This means that as x gets arbitrarily close to a, the value of f(x) gets arbitrarily close to L.

Example Problem

Find lim (x -> 3) (x^2 - 9) / (x - 3).

Approach: Factor the numerator. We get (x - 3)(x + 3) / (x - 3). Cancel the common factor to get x + 3. Now substitute x = 3 to get 6.

Key Limit Rules

  • Sum rule: The limit of a sum equals the sum of the limits.
  • Product rule: The limit of a product equals the product of the limits.
  • L’Hopital’s Rule: When you get an indeterminate form like 0/0 or infinity/infinity, take the derivative of the numerator and denominator separately, then re-evaluate the limit.

One-Sided Limits and Continuity

A function is continuous at a point if the left-hand limit, right-hand limit, and the function value all agree. Discontinuities — jumps, holes, and asymptotes — are places where limits help us understand what is happening even when direct evaluation fails.

Try it yourself: Screenshot any calculus problem and get step-by-step solutions with Math.Photos — free browser extension.

Derivatives: Measuring Rates of Change

The derivative of a function tells you its instantaneous rate of change at any point. Geometrically, it gives the slope of the tangent line to the curve.

The Formal Definition

f’(x) = lim (h -> 0) [f(x + h) - f(x)] / h

In practice, you will rarely use this definition directly. Instead, you will apply derivative rules.

Basic Derivative Rules

  • Power Rule: d/dx [x^n] = n * x^(n-1)
  • Constant Multiple Rule: d/dx [c * f(x)] = c * f’(x)
  • Sum/Difference Rule: d/dx [f(x) + g(x)] = f’(x) + g’(x)

Example Problem

Find the derivative of f(x) = 5x^3 - 2x^2 + 7x - 4.

Approach: Apply the power rule term by term.

f’(x) = 15x^2 - 4x + 7

Derivatives of Trigonometric Functions

Trig derivatives come up constantly in calculus courses. The essential ones to memorize:

  • d/dx [sin(x)] = cos(x)
  • d/dx [cos(x)] = -sin(x)
  • d/dx [tan(x)] = sec^2(x)

For a deeper dive with worked examples, see our guide on how to find derivatives of trig functions.

Try it yourself: Screenshot any calculus problem and get step-by-step solutions with Math.Photos — free browser extension.

The Chain Rule

The chain rule is how you differentiate composite functions — functions nested inside other functions.

The Formula

If y = f(g(x)), then:

dy/dx = f’(g(x)) * g’(x)

In words: take the derivative of the outer function (evaluated at the inner function), then multiply by the derivative of the inner function.

Example Problem

Find the derivative of y = sin(3x^2).

Approach: The outer function is sin(u) and the inner function is u = 3x^2.

  • Derivative of outer: cos(3x^2)
  • Derivative of inner: 6x
  • Result: dy/dx = 6x * cos(3x^2)

When to Use the Chain Rule

Any time you see a function “inside” another function, you need the chain rule. Common patterns include:

  • sin(something), cos(something), tan(something)
  • (something)^n where “something” is not just x
  • e^(something)
  • ln(something)

The chain rule is also essential when doing implicit differentiation and related rates problems.

Try it yourself: Screenshot any calculus problem and get step-by-step solutions with Math.Photos — free browser extension.

The Product Rule and Quotient Rule

Product Rule

When two functions are multiplied together, you cannot just differentiate each one separately. Use the product rule:

d/dx [f(x) * g(x)] = f’(x) g(x) + f(x) g’(x)

Example Problem

Find the derivative of y = x^2 * sin(x).

Approach: Let f(x) = x^2 and g(x) = sin(x).

dy/dx = 2x sin(x) + x^2 cos(x)

Quotient Rule

For a function written as a fraction:

d/dx [f(x) / g(x)] = [f’(x) g(x) - f(x) g’(x)] / [g(x)]^2

A helpful mnemonic: “Low d-high minus high d-low, over the square of what’s below.”

Example Problem

Find the derivative of y = (x^2 + 1) / (x - 3).

Approach: Apply the quotient rule.

dy/dx = [2x(x - 3) - (x^2 + 1)(1)] / (x - 3)^2 = (2x^2 - 6x - x^2 - 1) / (x - 3)^2 = (x^2 - 6x - 1) / (x - 3)^2

Try it yourself: Screenshot any calculus problem and get step-by-step solutions with Math.Photos — free browser extension.

Integrals: Accumulation and Area

Integration is the reverse of differentiation. Where derivatives break things into tiny pieces to find rates, integrals add up tiny pieces to find totals.

Indefinite Integrals

An indefinite integral (or antiderivative) reverses the derivative:

∫ x^n dx = x^(n+1) / (n+1) + C (where n is not equal to -1)

The constant C is critical — it represents the family of all possible antiderivatives.

Definite Integrals

A definite integral computes the net area under a curve between two bounds:

∫ from a to b f(x) dx

This gives you an actual number rather than a function.

The Fundamental Theorem of Calculus

This theorem connects derivatives and integrals. It has two parts:

  1. If F(x) = ∫ from a to x f(t) dt, then F’(x) = f(x).
  2. ∫ from a to b f(x) dx = F(b) - F(a), where F is any antiderivative of f.

Example Problem

Evaluate ∫ from 0 to 2 (3x^2) dx.

Approach: The antiderivative of 3x^2 is x^3. Evaluate at the bounds: 2^3 - 0^3 = 8.

Try it yourself: Screenshot any calculus problem and get step-by-step solutions with Math.Photos — free browser extension.

U-Substitution

U-substitution is the integration counterpart of the chain rule. It is the most common integration technique you will use.

How It Works

  1. Identify a piece of the integrand to call u.
  2. Compute du = u’(x) dx.
  3. Rewrite the entire integral in terms of u and du.
  4. Integrate with respect to u.
  5. Substitute back to the original variable.

Example Problem

Find ∫ 2x * cos(x^2) dx.

Approach: Let u = x^2, so du = 2x dx.

The integral becomes ∫ cos(u) du = sin(u) + C = sin(x^2) + C.

Tips for Choosing u

  • Look for a function and its derivative both appearing in the integrand.
  • The “inner” function of a composition is usually a good choice for u.
  • If your first choice does not work, try a different substitution.

Try it yourself: Screenshot any calculus problem and get step-by-step solutions with Math.Photos — free browser extension.

Integration by Parts

Integration by parts handles products of functions that u-substitution cannot simplify. It comes from the product rule for derivatives.

The Formula

∫ u dv = u * v - ∫ v du

Choosing u and dv: The LIATE Rule

When deciding what to call u, use the LIATE priority order:

  1. Logarithmic functions (ln x)
  2. Inverse trig functions (arctan x)
  3. Algebraic functions (x^2, x)
  4. Trigonometric functions (sin x, cos x)
  5. Exponential functions (e^x)

Pick u from whatever is highest on the list. Everything else becomes dv.

Example Problem

Find ∫ x * e^x dx.

Approach: Let u = x (algebraic) and dv = e^x dx. Then du = dx and v = e^x.

∫ x e^x dx = x e^x - ∫ e^x dx = x * e^x - e^x + C = e^x(x - 1) + C

Tabular Integration

When you need to apply integration by parts multiple times (for example, ∫ x^3 * e^x dx), the tabular method lets you organize the repeated differentiation and integration into a table, saving significant time.

For a full walkthrough with more examples, check out integration by parts explained.

Try it yourself: Screenshot any calculus problem and get step-by-step solutions with Math.Photos — free browser extension.

Applications of Calculus

Calculus is not just abstract symbol manipulation. It has powerful real-world applications that show up in homework, exams, and professional work.

Finding Maximum and Minimum Values (Optimization)

Derivatives let you find where a function reaches its highest or lowest points. The process:

  1. Find f’(x) and set it equal to zero.
  2. Solve for x to get critical points.
  3. Use the second derivative test or a sign chart to classify each critical point as a maximum, minimum, or neither.

Example: A farmer has 200 meters of fencing and wants to enclose the largest possible rectangular area against a barn wall. If the width is x, the area is A(x) = x(200 - 2x). Setting A’(x) = 200 - 4x = 0 gives x = 50. The maximum area is 50 * 100 = 5000 square meters.

Related Rates

Related rates problems use the chain rule to connect the rates of change of different quantities. A classic example: a ladder sliding down a wall. You know how fast the bottom is moving, and you need to find how fast the top is sliding.

Area Between Curves

To find the area between two curves f(x) and g(x) from x = a to x = b:

∫ from a to b |f(x) - g(x)| dx

Volumes of Revolution

Rotate a curve around an axis and you get a 3D solid. You can find its volume using:

  • Disk method: ∫ pi * [r(x)]^2 dx
  • Washer method: ∫ pi * ([R(x)]^2 - [r(x)]^2) dx
  • Shell method: ∫ 2 pi x * f(x) dx

Motion and Physics

If s(t) is position, then s’(t) is velocity and s”(t) is acceleration. Integration goes the other direction: integrating acceleration gives velocity, and integrating velocity gives position.

To learn how Math.Photos handles these multi-step application problems, read How Math.Photos solves calculus.

Try it yourself: Screenshot any calculus problem and get step-by-step solutions with Math.Photos — free browser extension.

Common Calculus Mistakes and How to Avoid Them

Even strong students make these errors repeatedly. Watch out for:

  • Forgetting the constant of integration on indefinite integrals. Always write + C.
  • Dropping the chain rule. The derivative of sin(3x) is 3cos(3x), not cos(3x).
  • Sign errors with the quotient rule. Write it out carefully every time.
  • Confusing definite and indefinite integrals. One gives a function, the other gives a number.
  • Not checking your answer. You can verify an integral by differentiating your result and confirming you get the original integrand.

If you want an instant check on your work, try the free math checker. You can also screenshot any math problem and compare your solution step by step.

Study Tips for Learning Calculus

  1. Master algebra and trig first. Most calculus errors are actually algebra errors. If factoring, fractions, and trig identities are shaky, shore them up before pushing forward.

  2. Understand concepts before memorizing formulas. Knowing why the power rule works makes it stick better than flashcards alone.

  3. Practice with a variety of problems. Do not just repeat the same problem type. Mix optimization, related rates, integration techniques, and limit problems.

  4. Work problems by hand before checking. Struggle is where learning happens. Use tools like Math.Photos to verify your work and understand steps you missed — not to skip the thinking entirely.

  5. Study the solutions to problems you got wrong. This is where most of your improvement comes from. Step-by-step breakdowns are more valuable than just seeing the final answer.

Frequently Asked Questions About Calculus

What is the difference between differential and integral calculus?

Differential calculus focuses on rates of change and slopes of curves. It answers questions like “how fast is this changing right now?” Integral calculus focuses on accumulation and total quantities. It answers questions like “how much total distance was covered?” The Fundamental Theorem of Calculus shows that these two operations are inverses of each other.

Is calculus harder than algebra?

Calculus introduces new concepts that can feel abstract at first, especially limits and the idea of infinitesimally small quantities. However, many students find that once the core ideas click, the actual problem-solving becomes formulaic. The biggest challenge is usually that calculus demands strong algebra skills, so gaps in prerequisite knowledge tend to surface.

What is the chain rule used for?

The chain rule lets you differentiate composite functions — situations where one function is nested inside another. For example, to find the derivative of sin(x^2), you need the chain rule because x^2 is inside the sine function. It is one of the most frequently used rules in all of calculus.

How do I know which integration technique to use?

Start by checking if the integral matches a basic formula. If not, look for a u-substitution opportunity (an inner function whose derivative also appears in the integrand). If the integrand is a product of two different types of functions, try integration by parts. For rational functions, consider partial fractions. With practice, pattern recognition becomes faster.

Can I use a calculator for calculus?

Calculators and software can evaluate derivatives and integrals numerically, and some can do symbolic computation. However, most courses require you to show your work and demonstrate understanding of the techniques. Tools like Math.Photos are valuable because they show every step of the solution, helping you learn the process rather than just get an answer.

What comes after Calculus I?

After a first course in calculus (typically covering limits, derivatives, and basic integrals), students move on to Calculus II (advanced integration, series, and sequences), then Calculus III (multivariable calculus with partial derivatives and multiple integrals). Beyond that, courses like differential equations and linear algebra build on the calculus foundation.

Keep Going

Calculus rewards persistence. Every concept builds on the last, and the problem-solving skills you develop will serve you in every quantitative field. When you hit a wall, break the problem into smaller pieces, revisit the relevant rule or technique, and work through it step by step.

And when you need a hand, Math.Photos is there. Screenshot any problem from your textbook, homework, or lecture notes, and get a clear, step-by-step walkthrough in seconds.

Ready to try Math.Photos?

Get step-by-step solutions for any math problem. Free to start.

Install Free