Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Learn Introduction to Integrals | Mathematical Analysis
Mathematics for Data Science

bookIntroduction to Integrals

Note
Definition

Integration is a fundamental concept in calculus that represents the total accumulation of a quantity, such as the area under a curve. It is essential in data science for calculating probability distributions, cumulative values, and optimization.

Basic Integral

The basic integral of a power function follows this rule:

∫Cxndx=C(xn+1n+1)+C\int Cx^ndx = C\left( \frac{x^{n+1}}{n+1} \right) + C

Where:

  • CC is a constant;
  • nβ‰ βˆ’1n \neq -1;
  • ...+C...+C represents an arbitrary constant of integration.

Key idea: if differentiation reduces the power of xx, integration increases it.

Common Integral Rules

Power Rule for Integration

This rule helps integrate any polynomial expression:

∫xndx=xn+1n+1+C,Β nβ‰ βˆ’1\int x^ndx = \frac{x^{n+1}}{n+1}+ C,\ n \neq -1

For example, if n=2n = 2:

∫x2dx=x33+C\int x^2dx = \frac{x^3}{3}+C

Exponential Rule

The integral of the exponential function exe^x is unique because it remains the same after integration:

∫exdx=ex+C\int e^xdx = e^x + C

But if we have an exponent with a coefficient, we use another rule:

∫eaxdx=1aeax+C,Β aβ‰ 0\int e^{ax}dx = \frac{1}{a}e^{ax}+C,\ a \neq 0

For example, if a=2a = 2:

∫e2xdx=e2x2+C\int e^{2x}dx = \frac{e^{2x}}{2} + C

Trigonometric Integrals

Sine and cosine functions also follow straightforward integration rules:

∫sin(x)dx=βˆ’cos(x)+C∫cos(x)dx=sin(x)+C\int sin(x)dx = -cos(x) + C \\ \int cos(x)dx = sin(x) + C

Definite Integrals

Unlike indefinite integrals, which include an arbitrary constant CC, definite integrals evaluate a function between two limits aa and bb:

∫abf(x)dx=F(b)βˆ’F(a)\int_a^b f(x)dx = F(b) - F(a)

Where F(x)F(x) is the antiderivative of f(x)f(x).

For example, if f(x)=2xf(x) = 2x, a=0a = 0 and b=2b = 2:

∫022xΒ dx=[x2]=4βˆ’0=4\int^2_0 2x\ dx = \left[ x^2 \right] = 4 - 0 = 4

This means the area under the curve y=2xy = 2x from x=0x=0 to x=2x=2 is 44.

question mark

Calculate the integral:

∫3x2dx\int 3x^2 dx

Select the correct answer

Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 3. ChapterΒ 5

Ask AI

expand

Ask AI

ChatGPT

Ask anything or try one of the suggested questions to begin our chat

Suggested prompts:

Can you explain the difference between definite and indefinite integrals?

Can you show more examples of integrating trigonometric or exponential functions?

How do I know when to use the power rule versus other integration rules?

Awesome!

Completion rate improved to 1.96

bookIntroduction to Integrals

Swipe to show menu

Note
Definition

Integration is a fundamental concept in calculus that represents the total accumulation of a quantity, such as the area under a curve. It is essential in data science for calculating probability distributions, cumulative values, and optimization.

Basic Integral

The basic integral of a power function follows this rule:

∫Cxndx=C(xn+1n+1)+C\int Cx^ndx = C\left( \frac{x^{n+1}}{n+1} \right) + C

Where:

  • CC is a constant;
  • nβ‰ βˆ’1n \neq -1;
  • ...+C...+C represents an arbitrary constant of integration.

Key idea: if differentiation reduces the power of xx, integration increases it.

Common Integral Rules

Power Rule for Integration

This rule helps integrate any polynomial expression:

∫xndx=xn+1n+1+C,Β nβ‰ βˆ’1\int x^ndx = \frac{x^{n+1}}{n+1}+ C,\ n \neq -1

For example, if n=2n = 2:

∫x2dx=x33+C\int x^2dx = \frac{x^3}{3}+C

Exponential Rule

The integral of the exponential function exe^x is unique because it remains the same after integration:

∫exdx=ex+C\int e^xdx = e^x + C

But if we have an exponent with a coefficient, we use another rule:

∫eaxdx=1aeax+C,Β aβ‰ 0\int e^{ax}dx = \frac{1}{a}e^{ax}+C,\ a \neq 0

For example, if a=2a = 2:

∫e2xdx=e2x2+C\int e^{2x}dx = \frac{e^{2x}}{2} + C

Trigonometric Integrals

Sine and cosine functions also follow straightforward integration rules:

∫sin(x)dx=βˆ’cos(x)+C∫cos(x)dx=sin(x)+C\int sin(x)dx = -cos(x) + C \\ \int cos(x)dx = sin(x) + C

Definite Integrals

Unlike indefinite integrals, which include an arbitrary constant CC, definite integrals evaluate a function between two limits aa and bb:

∫abf(x)dx=F(b)βˆ’F(a)\int_a^b f(x)dx = F(b) - F(a)

Where F(x)F(x) is the antiderivative of f(x)f(x).

For example, if f(x)=2xf(x) = 2x, a=0a = 0 and b=2b = 2:

∫022xΒ dx=[x2]=4βˆ’0=4\int^2_0 2x\ dx = \left[ x^2 \right] = 4 - 0 = 4

This means the area under the curve y=2xy = 2x from x=0x=0 to x=2x=2 is 44.

question mark

Calculate the integral:

∫3x2dx\int 3x^2 dx

Select the correct answer

Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 3. ChapterΒ 5
some-alt