Contents:
  1. Integral
  2. Infinite Series
  3. First Order Differential Equation

Reference:

Indefinite Integral

Antiderivatives
If F is an antiderivative of f on an interval I, then every antiderivative of f on I has the following form G(x) = F(x) + C, where C is an arbitrary constant.

Rules of Integration

Power Rule and Exponential Function

Integration of Trigonometric Function

Integration of Inverse Trigonometric Function

  Example 1.1 - Integrating Functions
Find:


Solution:

Techniques of Integration
Sometimes, the function that we have to integrate, is not that easy that we only have to use the basic rules previously mentioned. There are several techniques, or methods that we can use. Observe:
  Example 1.2 - Integration by Substitution
Find:


Solution:
  1. Let us define a new function u, such that:


    So, we can substitute the above to the original integral:

  2. Let us define a new function u, such that:


    So, we can substitute the above to the original integral:

  3. Let us define a new function u, such that:


    So, we can substitute the above to the original integral:

  Example 1.3 - Integration by Parts
Find:


Solution:
Basically, Integration by Parts can be done with . We must select u and dv appropriately, so we can arrive at the solution easier.

  1. In this example, we can select u = x, because its derivative will eventually become 0:


    So, we can do substitute the above to the partial integral form:

  2. Initially, we may want to use u = x2. But instead, we should use u = ln x. This is because: If we use u = x2, we have to find the integral of ln(x). On top of that, it most likely requires us to do partial integration again. If we use u = ln x, the integral is directly doable. So, for this problem:


    So, we can do substitute the above to the partial integral form:

  3. In this problem, we cannot use both u = x5 and v = sin 2x3. Using either of them, will require us to do another partial integration. However, we can do this:


    In this problem, we will use u = x3. Integrating dv involves Integration by Substitution, which we have already learned previously. We can always check if we did the integral correctly by finding the derivative of the result:


    So, we can do substitute the above to the partial integral form. We are only required to do another Integration by Subsitution:

  Example 1.4 - Trigonometric Sub. I
Find:


Solution:
Recall the following identity:


  1. Let us manipulate the original function, such that:

    Now, we can perform Integral by Substitution. So, let's define:


    Lastly:

  2. Let us manipulate the original function, such that:

    Now, we can perform Integral by Substitution. So, let's define:


    Lastly:

  3. Let us manipulate the original function, such that:


    Now, let us define:


    Lastly, we can do this: (C is an arbitrary constant)

    The A we defined previously, is the answer we are looking for.

  Example 1.5 - Trigonometric Sub. II
Find:


Solution:
Recall the following identity:


  1. Let us manipulate the original function, such that:

    Now, we can perform Integral by Substitution. So, let's define:


    Lastly:

  2. Let us manipulate the original function, such that:

    Now, we can perform Integral by Substitution. So, let's define:


    Lastly:

  3. Let us manipulate the original function, such that:

    Now, we can perform Integral by Substitution. So, let's define:


    Lastly:


  Example 1.6 - Trigonometric Sub. III
Find:


Solution:
  1. Let us substitute:

    Next:

    Substitution Triangle (1)
    With the help of the visualization above, we can express the integration result we have previously obtained in terms of x (not theta anymore). In this case, a = 2:

  2. Let us substitute:

    Next:

    Substitution Triangle (2)
    With the help of the visualization above, we can express the integration result we have previously obtained in terms of x (not theta anymore). In this case, a = 2:

  3. Let us substitute:

    Next:

    Substitution Triangle (3)
    With the help of the visualization above, we can express the integration result we have previously obtained in terms of x (not theta anymore). In this case, a = 1:

  Example 1.7 - Partial Fractions
Find:


Solution:
  1. Partial fractions:


    By doing elimination, or substitution to the following system of equation:


    We will obtain A=1/2 and B=3/2. Then, we can integrate:

  2. Partial fractions:


    By doing elimination, or substitution to the following system of equation:


    We will obtain A=1 and B=4. Then, we can integrate:

  3. Partial fractions:


    By doing elimination, or substitution to the following system of equation:


    We will obtain A=3/2, B=-7 and C=13/2. Then, we can integrate:

  4. Partial fractions:


    By doing elimination, or substitution to the following system of equation:


    We will obtain A=7/4, B=3/2 and C=-3/4. Then, we can integrate:

  5. Partial fractions:


    By doing elimination, or substitution to the following system of equation:


    We will obtain A=1/3, B=-1/3 and C=-2/3. Then, we can integrate:


    Now, we have another integral to solve. (We will call this integral F) We can manipulate x+2 to . We can see in the third line below that we have to do more integrals. The first integral can be done using the substitution method (won't be shown), and the second integral can be done using the completing the square method:


    Doing the second integral that requires completing the square method:


    This form is similar to . Integrating that would be easier:




    So, we can use this result to solve the integral F:


    Lastly, we return to the main integral of this problem:


Area Problem


Area Below Function Given a function f(x) as shown above, how would we determine the area of the purple region?
Area Below Function Approximation We could approximate by using the area of the rectangles as shown above. We could make smaller rectangles so that the area of the rectangles approaches the actual area of the purple region.
Area of the Region Under the Graph of the Function
Let f be a continuous, nonnegative function defined on an interval [a,b]. Suppose that [a,b] is divided into n subintervals of equal length by means of (n+1) equally spaced points. Then, the area of the region that lies under the graph of f on [a,b] is:

where ck lies in the k-th subinterval [xk-1,xk]

The formula above is also known as Riemann Sum. There are three types of Riemann Sum. Observe:
Left RiemannLeft Riemann Sum
Middle Point RiemannMiddle-Point Riemann Sum
Right Riemann Right Riemann Sum

There is another sum, which is Trapezoid Sum. But, it is not a part of the Riemann Sum. Just like the previous ones, observe the following:
Trapezoid Sum
The green area does not entirely cover the area under the curve, because it consists of rectangles and triangles. However, approximating the area using the Trapezoid Sum can yield a much accurate result.
  Example 2.1 - Riemann Sum
Example 2.1 Graph
The function shown as an example to demonstrate the types of Riemann Sum above is . Approximate the area between f(x) and the x-axis from x = 0 and x = 2 (or, the purple region) using Left Riemann Sum, Middle-Point Riemann Sum, Right Riemann Sum and the Trapezoid Sum with 4 equal subdivisions.

Solution:
By looking at the visualizations of the left, middle-point and right riemann sums, we can directly calculate the area of the green area. For the Riemann sums, we only need to find the area of the rectangles formed. For the Trapezoid rule, we can either find the area of the trapezoid, or find the area of both the rectangles and triangles (then add it).


Approximation of the area of the purple region, using Left Riemann Sum:


Approximation of the area of the purple region, using Middle Point Riemann Sum:


Approximation of the area of the purple region, using Right Point Riemann Sum:


Approximation of the area of the purple region, using Trapezoid Sum:



Definite Integral

Definition
Let f be a continuous, nonnegative function defined on an interval [a,b]. Suppose that [a,b] is divided into n subintervals of equal length by means of (n+1) equally spaced points. Let c1,...,cn be arbitrary points in the respective subintervals with ck lying in the k-th subinterval [xk-1,xk]. Then, the definite integral of f on [a,b] or denoted as such, is:

Properties of Definite Integral

Theorems
Average Value of a Function
If f is integrable on [a,b], then the average value of f over [a,b] is:
Mean Value Theorem
If f is continuous on [a,b], then there exists a number c in [a,b] such that:
First Fundamental Theorem of Calculus
If f is continuous on [a,b], then the function F defined by:

is differentiable on (a,b) and:
Second Fundamental Theorem of Calculus
If f is continuous on [a,b], then:

where F is any antiderivative of f, that is F' = f.

  Example 3.1 - First Fundamental Theorem of Calculus
Find the derivative of the function .

Solution:
The integrand is continuous everywhere:

Using Property 2:

  Example 3.2 - Second Fundamental Theorem of Calculus
Find the value of:


Solution:

  Example 3.3 - Definite Integral to Determine Area I
Example 3.3 Graph
The function shown as an example to demonstrate the types of Riemann Sum above is . Find the exact area between f(x) and the x-axis from x = 0 and x = 2 (or, the purple region).

Solution:
The area of the region can be calculated through a definite integral:

  Example 3.4 - Definite Integral to Determine Area II
Example 3.4 Graph
The function shown above, is . Find the exact shaded region.

Solution:
We cannot directly use definite integral to find the exact area. However, we can do a separate integral (one for the function when it's above the x-axis and another for the function when it's below the x-axis):

Notice how the result of the second integral is negative? It's because the function is under the x-axis at those interval. Had we directly integrated directly using the interval 1 to 4, like the following:

We would have gotten the wrong result.

  Example 3.5 - Average Value of a Function
Example 3.5 Graph
The function shown above, is . Find the average value of f(x) over the interval [1,3].

Solution:

  Example 3.6 - Mean Value Theorem
Example 3.6 Graph
The function shown above, is . Using the Mean Value Theorem, find the value of c for f(x) on the interval [0,2].

Solution:

Area Between Curves
Let f(x) and g(x) be functions, where f(x) ≥ g(x) on the interval [a, b]. The area between those functions are:
Area between Curves (1)

We can also look it at another point of view. Let f(y) and g(y) be functions, where f(y) ≥ g(y) on the interval [c, d]. The area between those functions are:
Area between Curves (2)

The area calculated from both formula are equal.
  Example 3.7 - Area between Curves I
Calculate the area bounded by the given functions:
  1. y = x2 and y = x + 2.
  2. y = (x+2)-1, y = (x+2)2, x = -3/2 and x = 1.
  3. y = 8/x, y = 2x, and x = 4.

Solution:
  1. First, we can try sketching the entire graph:
      Function colors:
    • y = x2
    • y = x + 2

    Example 3.7 Visualization 1
    So, we know that the x-coordinate of the intersection points are the bounds for definite integral. These x-coordinates are found from:

    These x-coordinates are the bounds for the definite integral:

  2. First, we can try sketching the entire graph:
      Function colors:
    • y = (x+2)-1
    • y = (x+2)2

    Example 3.7 Visualization 2

    We are already given the bounds for the definite integral. However, we have to find the exact x-coordinate of the intersection point of both function:

    Lastly:

  3. First, we can try sketching the entire graph:
      Function colors:
    • y = 8/x
    • y = 2x

    Example 3.7 Visualization 3

    So, we know that the x-coordinate of the intersection points is the lower bound for definite integral. This x-coordinate is found from:

    These x-coordinates are the bounds for the definite integral:

  Example 3.8 - Area between Curves II
Calculate the area bounded by the given functions:
  1. x = sin(y), x = cos(y), y = 0 and y = π/4.
  2. x = 10-x2, x = (y-2)2.
  3. x = e1+2y, x = e1-y, y = -2 dan y = 1.

Solution:
  1. First, we can try sketching the entire graph:
      Function colors:
    • x = cos y
    • x = sin y

    Example 3.8 Visualization 1

    We are already given the bounds for the definite integral. So:

  2. First, we can try sketching the entire graph:
      Function colors:
    • x = 10 - y2
    • x = (y - 2)2

    Example 3.8 Visualization 2

    So, we know that the y-coordinate of the intersection points are the bounds for definite integral. These y-coordinates are found from:


    These y-coordinates are the bounds for the definite integral:

  3. First, we can try sketching the entire graph:
      Function colors:
    • x = e1+2y
    • x = e1-y
    Example 3.8 Visualization 3

    We are already given the bounds for the definite integral. So:

Volume of Solid: Disc Method
Let f(x) be a function. The volume formed by rotating the area between f(x) on interval [a, b] along the x-axis is:

If it were to be rotated along y-axis:

Volume of Solid: Ring Method
Let f(x) and g(x) be functions, where f(x) ≥ g(x) on the interval [a, b]. The volume formed by rotating the area between those functions along the x-axis is:

If it were to rotated along y-axis:

  Example 3.9 - Disc & Ring Method I
  1. Find the formula of a sphere with radius r. Use the Disc Method along x-axis.
  2. Calculate the volume obtained by the rotating the area bounded by the given functions: y = 7 - x2, x = -2 and x = 2 along the x-axis.
  3. Calculate the volume obtained by the rotating the area bounded by the given functions: y = 2x2, and y = x3 along the x-axis.

Solution:
  1. First, let us recall the general function of circle, which is x2 + y2 = r2. If we rewrite it in explicit way, we will obtain the . When drawn:

    Example 3.9 Visualization 1

    Rotating the shaded area along x-axis would certainly yield a sphere. So:

  2. First, we can try sketching the entire graph:
    Example 3.9 Visualization 2

    Using the formula directly:

  3. First, we can try sketching the entire graph:
      Function colors:
    • y = 2x2
    • y = x3
    Example 3.9 Visualization 3

    Finding the upper and lower bounds:


    Now, we can calculate:

  Example 3.10 - Disc & Ring Method II
  1. Find the formula of a cylinder with radius r and height h. Use the Disc Method along y-axis.
  2. Calculate the volume obtained by the rotating the area bounded by the given function: x = y2, and x = y + 2 along the y-axis.
  3. Calculate the volume obtained by the rotating the area bounded by the given function: y = 2x + 1, x = 4 and y = 3 along the line x = -4.

Solution:
  1. So, imagine a rectangle:

    Example 3.10 Visualization 1

    The graph above is just a representation of a line y = h, x = r. When the shaded area is rotated, it'll form a cylinder:

  2. First, we can try sketching the entire graph:
      Function colors:
    • x = y2
    • x = y + 2

    Example 3.10 Visualization 2

    Finding the upper and lower bounds:


    Now, we can calculate:

  3. First, we can try sketching the entire graph:
      Function colors:
    • x = (y-1)/2
    • y = 3
    • x = 4

    Example 3.10 Visualization 3

    The triangle area will be rotated around the line x = -4. We only used the formula for solids that are rotated along the x, or y axis. So, to make this triangle area rotates around the y-axis, we can shift the functions by 4 (add 4 to all x). It will look like this:
    Example 3.10 Visualization 4

    So, our current graph consists of the following functions:
    • x = (y-1)/2 + 4 = (y+7)/2
    • y = 3
    • x = 8

    Substituting x = 8 to the line equation will yield the upper bound for the integral, which is y = 9. Now, we can calculate:

Volume of Solid: Cylinder (Shell) Method
  Example 3.11 - Cylinder Method
Using the Cylinder Method, calculate the volume obtained by the rotating the area bounded by the given function: y = 2x + 7, x = 8 and y = 3 along the y-axis.

Solution:
Basically, we use one of the following formulas according to the axis we use for the rotation. If we rotate along the x-axis, we will use the second formula. If we rotate along the y-axis, we will use the first formula:


Since we are rotating along the y-axis, we will use the first formula.

Example 3.11 Visualization 1
Example 3.11 Visualization 2

Original desmos project used for the 3d simulation: desmos.com/calculator/8qdpedyypl

These graphs show the result of rotating the shaded area along the y-axis. This is the same as Example 3.10.C, so that we can compare the results since both methods should yield the same result. Using the Ring Method, we obtained the result 126π.

Example 3.11 Visualization 3

So, according to that, the integral would be:


See more examples of using the Cylinder Method: click me

Arc Length

  Example 3.12 - Arc Length of a Function
Given a function along with points, determine the arc length formed!


Solution:
  1. Deriving the function:

  2. Deriving the function:

  3. Deriving the function:

Surface Area of Solid

  Example 3.13 - Surface Area of Solid
  1. Find the area of the surface obtained by revolving the graph of on the interval [0,2] about the x-axis.
  2. Find the area of the surface obtained by revolving the graph of x = y3 on the interval [0,1] about the y-axis.

Solution:
  1. Determining y and y':


    Inputting y and y' into formula (Integral by Substitution will be done):

  2. Using the formula:


    Inputting x and x' into formula (Integral by Substitution will be done):


    Since the integrand is changed to u, we have to switch the bounds aswell. Just substitute the bounds of y into u, and we'll obtain 1 and 10 as the new bounds.

Position, Velocity and Acceleration
From the previous topic, we know that when we derive a function of position, we obtain a function of velocity. If we derive it again, we obtain a function of acceleration. Likewise, if we integrate a function of acceleration, we will obtain a function of velocity. If we integrate it again, we obtain a function of position.

  Example 3.14 - Position, Velocity and Acceleration
Suppose the velocity of a car is depicted by the velocity function . It is also known that when t=2, the car's position is s(2)=4.
  1. Find the position function s(x).
  2. Find the distance traveled by the car from t=0 to t=2.

Solution:
  1. We can integrate the given function v(t):


    We are not done yet, since we haven't found C. We also know that when t=2, the car's position is s(2)=4. This information can be utilized to find the exact value of C. So:


    We have our final answer: s(t) = t3 - t2 + 2t - 4.

  2. Definite integral:

Work
The work W done by a constant force F in moving a body a distance d in the direction of the force is:


Suppose the force F is a function that is continuous on [a, b], acts on a body moving it along the x-axis. The work done by the force in moving the body from x = a to x = b is:


According to Hooke's Law, the force required to stretch the spring meters beyond its natural length is:


  Example 3.15 - Work
A force of 250 N stretches a spring 30 cm long. How much work is done in stretching the string from 20 cm to 50 cm?

Solution:
The cm unit must be converted to m.

Using the Hooke's Law:


Now, we can integrate F(x) to determine the work:


So, the work done is 87.5 N.

Fluid Force
The force exerted by a fluid of constant weight-density: &ro; against a submerged vertical plane region from y = c to y = d is:


where h(y) is the depth of the fluid at y and L(y) is the horizontal length of the region at y.

  Example 3.16 - Fluid Force
A vertical gate in a dam has the shape of an isosceles trapezoid 8 m across the top and 6 m across the bottom, with a height of 5 m. What is the fluid force on the gate when the top of the gate is 4 m below the surface of the water? Density of water is 1000 km.m-3 and g = 9.81 m.s-2

Solution:
First, let us find the line L(y):


We define the function H(y) as (-y), since we used negative sign to indicate depth.

Now, we can integrate:


So, the force is 2,1909 × 106 N.

Area's Mass Center
The center of mass of an area:


where:


  Example 3.17 - Area's Mass Center
Determine the center of mass for the region bounded by y = x2 and y = x.

Solution:
First, let us find the A:


Finding the x-coordinate of the mass center:


Finding the y-coordinate of the mass center:


So, the center of mass of the bounded area is

Improper Integral

Improper integral is convergent if the limit exists. It is divergent if the limit does not exist.

  Example 4.1 - Improper Integral
Evaluate:


Solution:
  1. So:

  2. So:

  3. So: