​
Creating a collection of examples involving both definite and indefinite integrals is an excellent approach to comprehensively understand and illustrate the concepts of integration in calculusThis collection would be a valuable resource for students and educators alike, providing a comprehensive look at integration in calculus through a wide range of examples.

Indefinite integral

Indefinite Integrals are the integrals that can be calculated by the reverse process of differentiation and are referred to as the antiderivatives of functions . For a function
F(x)
, if the derivative is represented by
′
f
(x)
, the integration of the resultant
′
f
(x)
gives back the initial function
F(x)
.
∫f(x)dxF(x)+C
,where
◼
  • ′
    F
    (x)f(x)
  • ◼
  • C
    integration constant
  • In the above definition :
    ◼
  • f(x)
    is called as the integrand
  • ◼
  • dx
    means that the variable of integration is
    x
  • ◼
  • F(x)
    is the value of the indefinite integral
  • In[]:=
    Integrate[f[x],x]
    Out[]=
    ∫f[x]x

    Important Formulas of Indefinite Integrals

    In[]:=
    Integrate[1,x,GeneratedParameters->C]
    Out[]=
    x+
    
    1
    In[]:=
    Integrate[e^x,x,GeneratedParameters->C]
    Out[]=
    
    1
    +
    x
    e
    Log[e]
    In[]:=
    Integrate[x^n,x,GeneratedParameters->C]
    Out[]=
    1+n
    x
    1+n
    +
    
    1
    In[]:=
    Integrate[1/x,x,GeneratedParameters->C]
    Out[]=
    
    1
    +Log[x]
    In[]:=
    Integrate[Cos[x],x,GeneratedParameters->C]
    Out[]=
    
    1
    +Sin[x]
    In[]:=
    Integrate[Sin[x],x,GeneratedParameters->C]
    Out[]=
    
    1
    -Cos[x]
    In[]:=
    Integrate[a^x,x,GeneratedParameters->C]
    Out[]=
    
    1
    +
    x
    a
    Log[a]
    In[]:=
    Integrate[1/Sin[x]^2,x,GeneratedParameters->C]
    Out[]=
    
    1
    -Cot[x]
    In[]:=
    Integrate[1/Cos[x]^2,x,GeneratedParameters->C]
    Out[]=
    
    1
    +Tan[x]

    Calculate the indefinite Integrals

    ◼
  • ∫(
    3
    x
    +cosx+sinx)dx
  • In[]:=
    Integrate[x^3+Cos[x]+Sin[x],x,GeneratedParameters->C]
    Out[]=
    4
    x
    4
    +
    
    1
    -Cos[x]+Sin[x]
    ◼
  • 
    2
    x
    +x+1
    x
    dx
  • In[]:=
    Integrate[(x^2+x+1)/x,x,GeneratedParameters->C]
    Out[]=
    x+
    2
    x
    2
    +
    
    1
    +Log[x]
    ◼
  • 
    3
    x
    +8
    x+2
    dx
  • In[]:=
    Integrate
    3
    x
    +8
    x+2
    ,x,GeneratedParameters->C
    Out[]=
    4x-
    2
    x
    +
    3
    x
    3
    +
    
    1
    ◼
  • ∫tanxdx
  • In[]:=
    Integrate[Tan[x],x,GeneratedParameters->C]
    Out[]=
    
    1
    -Log[Cos[x]]
    ◼
  • sin2x+
    π
    6
    dx
  • In[]:=
    Integrate[Sin[2x+Pi/6],x,GeneratedParameters->C]
    Out[]=
    
    1
    -
    1
    2
    Cos
    π
    6
    +2x

    Definite Integrals

    The definite integral of a function is closely related to the antiderivative and indefinite integral of a function
    b
    ∫
    a
    f(x)dxA
    ◼
  • The integrand
    f(x)
  • ◼
  • The integral bounds
    a
    and
    b
    , where
    a
    is the lower bound and
    b
    is the upper bound. These are also referred to as limits.
  • ◼
  • The differential
    dx
    , which tells us that we are integrating
    f
    with respect to the variable
    x
    .
  • Definite Integrals vs . Indefinite Integrals

    It' s important to understand the difference between definite and indefinite integrals .
    Finding the indefinite integral and finding the definite integral are operations that output different things .
    1
    .
    Calculating the indefinite integral takes in one function, and outputs another function
    2
    .
    Definite integrals find the area between a function' s curve and the
    x-axis
    on a specific interval.

    How to Calculate Definite Integrals

    The value of the definite integral of a function on
    [a,b]
    is the difference of any antiderivative of the function evaluated at the upper limit of integration minus the same antiderivative evaluated at the lower limit of integration.
    We can use the Fundamental Theorem of Calculus :
    If
    f
    is continuous and
    F
    is an antiderivative of
    f
    , then
    b
    ∫
    a
    f(x)dxF(b)-F(a)

    Examples

    1
    .
    Let' s calculate
    6
    ∫
    2
    3dx
    ​​
    In[]:=
    Integrate[3,{x,2,6}]
    Out[]=
    12
    Visualize the area given by this integral :
    In[]:=
    Plot[3,{x,2,6},Filling->Axis]
    Out[]=
    2
    .
    Let’ s calculate
    2
    ∫
    1
    4
    3
    x
    -2xdx
    In[]:=
    Integrate[4x^3-2x,{x,1,2}]
    Out[]=
    12
    In[]:=
    Plot[4x^3-2x,{x,1,2},Filling->Axis]
    Out[]=