Techniques of Integration [need feedback]

  • Context: Undergrad 
  • Thread starter Thread starter rubrix
  • Start date Start date
  • Tags Tags
    Feedback Integration
Click For Summary
SUMMARY

The forum discussion focuses on various techniques of integration, including Direct Use of Formula, Numerical Integration, Substitution Method, and Integration by Parts. Key methods discussed include the Trapezoidal Rule and Simpson's Rule for Numerical Integration, as well as the U-Substitution technique for both indefinite and definite integrals. The discussion also highlights the importance of accuracy and error estimation in numerical methods, along with practical examples for each technique. Additional techniques such as Tabular Integration By Parts and Long Division are suggested for further exploration.

PREREQUISITES
  • Understanding of basic calculus concepts, including integrals and derivatives.
  • Familiarity with integration techniques such as U-Substitution and Integration by Parts.
  • Knowledge of numerical methods for approximating integrals, including Trapezoidal Rule and Simpson's Rule.
  • Ability to manipulate algebraic expressions for integration purposes.
NEXT STEPS
  • Study the Trapezoidal Rule and Simpson's Rule for Numerical Integration in detail.
  • Learn advanced U-Substitution techniques for both indefinite and definite integrals.
  • Explore Tabular Integration By Parts and its applications in complex integrals.
  • Investigate error analysis in numerical integration methods to improve accuracy.
USEFUL FOR

Students, educators, and professionals in mathematics, particularly those focusing on calculus and integration techniques. This discussion is beneficial for anyone looking to enhance their understanding of integration methods and their applications in solving mathematical problems.

rubrix
Messages
136
Reaction score
0
{I wrote this a while ago, thought i would share. I know it's not complete, far from complete actually, but if there's enough interest I'll finish it in notime...heak i might even write more expand the index.}

INDEX
TECHNIQUES OF INTEGRATION
1)Direct Use of Formula
2)Numerical Integration
3)Substitution Method
4)Integration by Parts
5)Trigonometric Integrals
6)Trigonometric Substitution
7)Integrals of Hyperbolic and Inverse hyperbolic Functions
8)The Method of Partial Fractions
9)Improper Integrals



{I plan to tweak this list a little}


_______________________________________
 
Physics news on Phys.org
1) Direct Use of Formula
This is something you should know from your previous Calculus class. Here is a quick run through some of the basic integration formulas that you are expected to know before going any further:

1) \int u^n du = \frac{u^{n+1}}{n+1} + C; \hspace{1cm} \text{provided} \hspace{1cm} n\neq -1

2) \int \frac{du}{u} = \ln|u| + C

3) \int e^u du = e^u + C

4) \int a^u du = \frac{a^u}{\ln(a)} + C

5) \int \sin (u) du = - \cos(u) + C

6) \int \cos (u) du = \sin (u) + C

7) \int \sec^2 (u) du = \tan (u) + C

8) \int \csc^2 (u) du = - \cot (u) + C

9) \int \tan (u) du = - \ln |\cos (u)| + C

10) \int \csc (u) \cot (u) du = - \csc (u) + C

11) \int \tan (u) du = \ln|\sec (u)| + C

12) \int \cot (u) du = \ln|\sin (u)| + C

13) \int \sec (u) du = \ln|\sec (u) + \tan(u)| + C

14) \int \csc (u) du = \ln|\csc (u) - \cot (u)| + C

Practice Set 1: Use Formulas straight up!

1) \int 4/x dx

2)\int 3^x dx

3)\int (\sec(x) + \csc^2 (x)) dx

Practice Set 2: Algebraically manipulate first to match the formula, then use it!

1) \int (x + 3)^2 x^5 dx

2)\int 3x^3-2x+5/(x+3) dx

3)\int \sec(x) (\sec(x) + \tan(x)) dx

_______________________________________
 
Last edited by a moderator:
2) NUMERICAL INTEGRATION
I think it is best to kick off various integration techniques with Numerical Integration. For one thing, I believe it will help you picturize integration better. More importantly, this method always works, even when many other listed above fail.

For instance,
1
\int sin(x^2) dx
0
you can not integrate it with any other listed techniques but this one.
________________________________

1.1 LEFT, RIGHT, AND MIDPOINT METHODS

You should be familiar with these techniques from your previous class, likely previous calculus class. Nevertheless, here are the formulas to refresh your memories.
L_N = \triangle x (y_0 + y_1 + ... + y_{N-1} )

R_N = \triangle x (y_1 + ... + y_N)

M_N = \triangle x [ f (x_0 + x_1) / 2 + f (x_1 + x_2) / 2 + ... + f (x_{N-1} + x_N) / 2)

________________________________
2.2 Trapezoidal Rule

Recall,
Area of Trapezoid = 1/2 h (b_1 + b_2)]

where h is the height of the trapezoid and b_1 & b_2 are parallel sides of the trapezoid.

T_N = \triangle x/2 (y_0 + 2y_1 + ... + 2y_{N-1} + y_N)________________________________
2.3 Simpson's Rule
S_N = \triangle x/3 (y_0 + 4y_1 + 2y_2 + 4y_3 + ... + 2y_{N-2} + 4y_{N-1} + y_N)

S_N = 1/2 (T_{N/2} + 2 M _ {N/2}

Note: Simpson's rule is only valid for N is an even number. Why? Notice the N/2 in the second formula.

________________________________
2.4 Accuracy and Error

So by now there should be an obvious question poping in your head: which method is more accurate?

The answer lies behind the nature of function you're given with.

For instance, if you are given a function of the form

f(x) = C
left, right, or the midpoint method would be accurate (and so would other methods btw). This is b/c the left, right, or the midpoint method divides the area under a given function into small rectangles and if a the given function is parallel to the axes, all area under the function will be occupied by the rectangles.

However, once you go to a function of the form

f(x) = bx + c (line)

the accuracy for left, right, and the midpoint method decreases. Yet, the trapezoidal rule is accurate (and so will the simpsons but why hassle with simpson's method when trapezoidal does the job, right?) This is b/c the trapezoidal rule divides the area under the given function with trapezoids (duh?).

Next, if you go to function of the form

f(x) = ax^2 + bx + c (quadratic)

the accuracy for trapezoidal rule (along with left, right and the midpoint method) decreases. Yet the Simpson's method maintains it's accuracy.

Now, if you go have a function with power greater than 2 then you'll have to enhance simpson's rule further.

Example: Evaluate the given integral from 0 (lower boundary) to 2 (upper boundary)

\int x^2 dx = x^3/3

=> 8/3

Now calculate the value using various techniques, and their respective error percentage:

L_2 Error = 8/3 - 1 => Error % = 50%
R_2 Error = 8/3 - 5 => Error % = 87.5 %
M_2 Error = 8/3 - 7/3 => Error % = 6.25 %
T_2 Error = 8/3 - 3 => Error % = 12.5 %
try out Simpson's rule yourself.

Error (T_N) \leq k_2 (b-a)^3/{12N^2}
Error (M_N) \leq k_2 (b-a)^3/{24N^2}
Error (T_N) \leq k_4 (b-a)^5/{180N^4}{will likely add up few pictures for illustration}
 
Last edited by a moderator:
3) U-Substitution Method

It is one of the most easy yet efficient and effective method of integration. It states:

If F^\prime(x) = f(x) then,

\int f(u(x)) u^\prime(x) dx = F(u(x)) + C

Basically, if the integrant has a function, u(x), and it's derivative, u^\prime(x), then use this method.

For ease of understanding I'll divide this method into two parts namely: U-Substitution on Indefinite Integrals and U-Substitution on Definite Integrals.3.1 Substitution Method for Indefinite Integrals

Recall that Indefinite Integrals are the one without upper and lower boundaries. Lack of boundaries makes it easier.

Example 3.1.1:

\int 2x cos(x^2) dx

{Notice: 2xis the derivative of x^2}<br /> <br /> Step 1: Make a substitution: <br /> <br /> let u = x^2<br /> <br /> so, du/dx = 2x => du = 2x dx<br /> <br /> Step 2: Write the integral in terms of u and evaluate:<br /> <br /> \int 2x cos(x^2) dx = \int cos(u) du<br /> <br /> = sin(u) + C<br /> <br /> Example 3.1.2: <br /> <br /> \int (2x+1) e^{x^2+x} dx<br /> <br /> {Notice: 2x+1 is the derivative of x^2+x}<br /> <br /> Step 1: Make a substitution: <br /> <br /> let u = x^2 + x<br /> <br /> so du/dx = 2x + 1 => du = (2x+1) dx<br /> <br /> Step 2: Write the integral in terms of u and evaluate:<br /> <br /> \int (2x+1) e^{x^2+x} dx = \int e^u du<br /> <br /> = e^u + C<br /> <br /> Example 3.1.3:<br /> <br /> \int (ln x)^2/x dx<br /> <br /> {Notice 1/x is the derivative of lnx}<br /> <br /> Step 1: Make a substitution: <br /> <br /> let u= lnx<br /> <br /> so du/dx = 1/x => du = 1/x dx<br /> <br /> Step 2: Write the integral in terms of u and evaluate:<br /> <br /> \int (ln x)^2/x dx = \int 1/ \sqrt u du<br /> <br /> = \int u ^{-1/2}<br /> <br /> = 2u^{1/2} + C<br /> <br /> Example 3.1.4: <br /> <br /> \int 1/\sqrt {x-1} dx<br /> <br /> {Notice: 1 is the derivative of x-1}<br /> <br /> Step 1: Make a substitution: <br /> <br /> let u = x-1<br /> <br /> so du/dx = 1 => du = dx<br /> <br /> Step 2: Write the integral in terms of u and evaluate:<br /> \int 1/\sqrt {x-1} dx = \int 1/\sqrt u du<br /> <br /> =\int u^{-1/2} du = 2u^{1/2} + C<br /> <br /> Example 3.1.5<br /> <br /> \int cot x dx<br /> <br /> {Notice: cot x = cos x / {sin x}and cos x is really a derivative of sin x}<br /> <br /> Step 1:<br /> <br /> let u = sin x<br /> <br /> so du = cos x dx<br /> <br /> Step 2:<br /> <br /> \int cosx/ {sin x} dx = \int 1/u du<br /> <br /> = ln|u| + C<br /> <br /> Exercise 3.6: Try this yourself!<br /> <br /> a) \int x sin (x^2) dx<br /> <br /> Ans: -1/2 cos(u) + C<br /> <br /> b) \int tan x dx<br /> <br /> Ans: - ln|sinx| + C<br /> <br /> c) \int x^2 \sqrt{4x-1} dx
 
Last edited:
3.2 Substitution Method for Definite Integrals

Recall that Definite Integrals are those with lower and upper boundaries i.e. the integral is defined. b......u(b)
\int f(u(x)) u^\prime(x) = \int f(u) du
a......u(a)

While substitution method on definite integrals it is very important that you keep track of your boundaries. If you do not wish to keep track of your boundaries what you can do is solve given definite integral as an indefinite integral (i.e. disregard the boundaries), use u-substitution, find the anti-derivative, and then plug in the boundaries (both method are shown in example 3.2.1 below).
Example 3.2.1
5
\int 1/\sqrt{x-1} dx
2

{Notice: 1is the derivative of x-1}<br /> <br /> METHOD 2 - Not keeping track of boundaries<br /> <br /> Step 1: Make a substitution: <br /> <br /> let u = x-1<br /> so du = dx<br /> <br /> Step 2: Write the integral in terms of u and evaluate:<br /> <br /> \int 1/\sqrt{x-1} dx = \int 1/\sqrt u du<br /> <br /> = 2 u ^ {1/2}<br /> <br /> Step 3: Write the result in terms of x:<br /> <br /> 2 u ^ {1/2} = 2 (x-1) ^{1/2}<br /> <br /> Step 4: Plug boundaries in anti-derivative found in step 3<br /> <br /> 2 (5-1) - 2 (2-1) = 4 - 2 = 2<br /> <br /> METHOD 1 - Keeping track of boundaries<br /> <br /> Step 1: Make a substitution and find new boundaries w.r.t u<br /> <br /> let u = x-1<br /> <br /> so du = dx<br /> <br /> we know, u(x) = x-1 (assumption above)<br /> <br /> so evaluating u(x) at boundaries we get<br /> <br /> u(2) = 2-1 = 1<br /> <br /> u(5) = 5-1 = 4<br /> <br /> Step 2: Write the integral (integrant as well as the boundaries) in terms of u and evaluate:<br /> <br /> 5<br /> \int 1/\sqrt{x-1} dx<br /> 2<br /> <br /> 4<br /> = \int 1/\sqrt u du<br /> 1<br /> <br /> = 2 (4)^{1/2} - 2(1)^{1/2} = 4-2 = 2
 
Last edited:
4) Integration by Parts

Recall: The Product Rule

d/dx (u(x) * v(x)) = u(x) * v'(x) + v(x) * u'(x)

Integrating both sides, we have:

u(x) + v(x) = \int u(x) . v'(x) dx + \int v(x) . u'(x) dx
\int u(x) . v'(x) dx = u(x) . v(x) - \int u'(x) . v(x) dx

Integration by parts is helpful when you are trying to integrate product of two functions. One of the function you assume to be u(x) and other to be v'(x) and apply the formula above.

Then the obvious question arises, how do i know which one is u(x) and which one is v'(x)?

The brainless way is to randomly pick one to be u(x) and another to be v'(x) but this might work and might not work. If it does not you try it the other way.

Another way is to think before you execute. Since the formula requires you to find u' (i.e. differentiate u) and v (i.e. integrate v') pick your u such that you can differentiate it and pick your v' such that you can integrate it.

If that's a lot for you there's another way to do it. Just remember this:

L = Logarithm
I = Inverse trig
A = Algebraic
T = Trigonometric
E = Exponential

{ILATE works too btw}

whichever function is higher on the list, make it u and the other one is v'.

EX:

\int xe^x dx

Step 1: Choose u(x) and v'(x)

X is algebraic and e^x is exponential, since algebraic is higher in the list make x your u(x) and e^x your v'(x)

Step 2: Compute u'(x) and v(x)

u'(x) = dx and v(x) = e^x

Step 3: Use the formula

\int xe^x dx = xe^x - \int e^x dx = xe^x - e^x + C

{to be continued...}
 
Last edited by a moderator:
Integration of the series expansion and contour integration are pretty useful. Laplace transforms too. There's also the Howitzer Cannon of integration techniques: differentiation with respect to a parameter.
 
Rubrix, you've covered all of the basics. Very nice.

The techniques that atropos mentioned are most definitely useful, but are a little more advanced than the list that's already compiled.
 
Would like to mention a good resource on Techniques of Integration: http://www.math24.net/list-integration.html
 
  • #10
By using spherical coordinates how can we get the volume of a right circular cylinder with radius a and height h
 
  • #11
As we have direct formulae for integration, it is easy to calculate and interesting.
 
  • #12
You forgot a few techniques ...
1/ Tabular Integration By Parts
2/ Complete the Square
3/ Long Division
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
2K
Replies
21
Views
4K
  • · Replies 19 ·
Replies
19
Views
4K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 4 ·
Replies
4
Views
13K
Replies
10
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 20 ·
Replies
20
Views
4K