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

Lesson #12Images are preserved from the source page

AI Article Decision Snapshot

Turn the lesson into workflow, model, budget, and security checks before choosing tools.

Use this quick snapshot before leaving the article. It keeps the next search tied to practical AI software, model/API, cost, privacy, and implementation questions.

Workflow fit

Identify the real job behind the article: coding, research, document review, support, analytics, content, or internal automation.

Model or tool decision

Decide whether the next step is a software shortlist, an AI tool comparison, an API platform choice, or a model benchmark.

Budget and usage signal

Estimate seats, API calls, prompt volume, retries, review time, and fallback work before assuming the workflow is cheap.

Security and privacy review

Check whether source code, customer data, private documents, prompts, logs, or embeddings will enter the AI workflow.

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

  3. 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!

Apply This Lesson

Turn this article into AI software, model, API, and security decisions.

English Article FAQ

Use this article as evidence before choosing AI tools

How should I use this AI Tutorials article?

Use it as the implementation or learning layer, then connect the idea to AI software buyer guides, tool comparisons, benchmarks, API choices, and security checks before making a production decision.

Is this English article different from the Chinese original?

The English edition is localized for global AI readers while preserving the original diagrams, screenshots, prompts, code examples, and source context from the Chinese article.

What should I read after Calculus for AI Beginners: Basic Integration Rules and Substitution Method?

Continue with AI Software Buyer Guides, AI Tools Workbench, Best AI Coding Agents, AI Model Benchmarks, OpenAI vs Anthropic API, or LLM Security Tools depending on the decision you need to make.

Can this article alone choose an AI product or model?

No. Treat the article as evidence and context, then validate fit with pricing, privacy requirements, integration effort, benchmark results, workflow tests, and fallback planning.

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...