Guozhen AIGlobal AI field notes and model intelligence

English translation

Calculus for AI Beginners: Basic Integration Rules and Substitution Method

Published:

Category: Calculus for AI

Read time: 4 min

Reads: 0

Lesson #12Views are counted together with the original Chinese articleImages are preserved from the source page

Concept Diagram: Fundamental Integration Rules and Substitution

Substitution is essentially the reverse application of the chain rule. The key is complete substitution—not only replacing the function, but also properly transforming the differential term.

Verification Diagram: Fundamental Integration Rules and Substitution

I’ll verify that all variables are consistent. If an expression mixes both xx and uu, it usually indicates the substitution hasn’t been fully carried out.

In the previous article, we explored methods for computing indefinite integrals. In this one, we delve deeper into the foundations of integration—specifically, fundamental integration rules and the method of substitution. These concepts are essential for understanding definite integrals and their applications later on.

Fundamental Integration Rules

Let’s first review several important fundamental integration rules. These allow us to compute indefinite integrals quickly and efficiently.

Substitution Decision Card

When applying fundamental integration rules and substitution, first identify the inner function, check for derivative relationships, and select a suitable substitution variable—then revert back to the original variable.

  1. Constant Multiple Rule: If cc is a constant, then

    cf(x)dx=cf(x)dx\int c \cdot f(x) \, dx = c \int f(x) \, dx

    Example:
    3x2dx=3x2dx=3x33+C=x3+C\int 3x^2 \, dx = 3 \int x^2 \, dx = 3 \cdot \frac{x^3}{3} + C = x^3 + C

  2. Sum Rule: For two integrable functions f(x)f(x) and g(x)g(x),

    [f(x)+g(x)]dx=f(x)dx+g(x)dx\int [f(x) + g(x)] \, dx = \int f(x) \, dx + \int g(x) \, dx

    Example:
    (x2+x)dx=x2dx+xdx=x33+x22+C\int (x^2 + x) \, dx = \int x^2 \, dx + \int x \, dx = \frac{x^3}{3} + \frac{x^2}{2} + C

  • Power Rule: For f(x)=xnf(x) = x^n, the indefinite integral is

    xndx=xn+1n+1+C,(n1)\int x^n \, dx = \frac{x^{n+1}}{n+1} + C, \quad (n \neq -1)

    Example:
    x4dx=x55+C\int x^4 \, dx = \frac{x^5}{5} + C

  • With these basic rules, we can rapidly evaluate indefinite integrals of simple functions—and combine them flexibly to tackle more complex problems.

    The Method of Substitution

    The method of substitution (also known as change of variables) is a powerful technique for simplifying integrals. Its core idea is to transform a complicated integral into a familiar, easier-to-integrate form via an appropriate change of variable.

    Calculus Reading Map Card

    This tutorial—Essential Calculus for AI Beginners: Foundations of Integration — Fundamental Rules and Substitution—can be read through the lens of “Scenario, Concept, Action, Result.” First align these four elements; then revisit the parameters, code, or workflow in the main text.

    Steps for Substitution:

    1. Choose the substitution variable: Identify a suitable variable uu that simplifies the integrand. A common choice is a function embedded within a composite expression. For instance, if the integrand has the form f(g(x))g(x)f(g(x)) \cdot g'(x), let u=g(x)u = g(x).

    2. Compute the differential: During substitution, compute dudu using the relation du=g(x)dxdu = g'(x)\,dx.

    3. Substitute and integrate: Replace all expressions in terms of xx with those in terms of uu, and rewrite the integral using dudu.

    4. Back-substitute: Finally, replace uu with its expression in terms of xx to obtain the result in the original variable.

    Example

    Consider the indefinite integral:

    2xex2dx\int 2x \cdot e^{x^2} \, dx

    We apply substitution: let u=x2u = x^2, so du=2xdxdu = 2x \, dx.

    The integral becomes:

    eudu\int e^{u} \, du

    We know:

    eudu=eu+C\int e^{u} \, du = e^u + C

    Reverting to xx:

    2xex2dx=ex2+C\int 2x \cdot e^{x^2} \, dx = e^{x^2} + C

    Using substitution, we reduced a seemingly complex integral to a standard, easily solvable form.

    Application Recap Card: Essential Calculus for AI Beginners — Fundamental Rules and Substitution

    By now, you can organize Essential Calculus for AI Beginners: Foundations of Integration — Fundamental Rules and Substitution into a recap table: clarify the central thread first, then test it with a small task.

    Application Check Card: Essential Calculus for AI Beginners — Fundamental Rules and Substitution

    After reading Essential Calculus for AI Beginners: Foundations of Integration — Fundamental Rules and Substitution, try walking through a small example step-by-step—and assess which steps you can now perform independently.

    Summary

    In this tutorial, we introduced fundamental integration rules and the method of substitution—building essential groundwork for upcoming topics on definite integrals and their applications. Fundamental rules provide foundational computational tools, while substitution extends our ability to handle more intricate integrands.

    In the next article, we’ll explore the definition and properties of definite integrals—stay tuned!

    Continue

    Keep reading from here

    Browse English site

    Reader Messages

    Reader messages

    Questions, corrections, extra sources, or hands-on results can be left here. No login is required.

    Max 800 characters

    To reduce spam, each message is checked for length, link count, and posting frequency.

    0/800

    Messages

    0 messages
    Loading messages...