<<

Integration Basics

Concepts of primary interest: Sum Fundamental Theorem Value Theorem for Leibniz Rule Change of Variable a.k.a. ‘u substitution’ Practical example Trigonometric Substitution Trigonometric Identities Partial Fractions Parameter Sample calculations: IB.1: Simple Change of Variable IB.2: Change of variable IB.3: Trig Substitution IB.4: Integration by Parts IB.5: Integration by Parts II IB.6: Parameter Calculus a IB.7: Substitute alternate representations exdx x sin( ) 0 IB.8: Parameter Calculus IB.9: Hyperbolic Substitution IB.11: Partial Fractions IB.12: Powers of sin and of cos Tools of the Trade The Role of Patience, see problems 34 and 35 Finding dx in each term to convert sum to an Surface Integrals – scaling for projection Partial Fractions – shortcuts Change of Variable (substitution) How to guess u … Liebniz Rule Tabular Method for Integration by Parts Related Handouts and Addenda Nested Integrals – limits and examples

Contact: [email protected] 1/4/2016

Integration: Basic Definitions, Techniques and Properties

An integral is a sum of a large number of small contributions. The critical consideration is that, in the that the contributions become smaller and more numerous, the sum converges to a defined value.

b min max f(x) f x  Area  f (x)dx  f x  i i a  i i

a b x

Figure IB.1: The The figure above depicts two sums that approximate the area under the f(x) between a and b. The between a and b is divided into N equal width sub-intervals. An upper sum is computed by taking the largest value of the function in each interval, multiplying it by the width of the bin and summing. A lower sum is computed in an analogous manner using the smallest value of the function in each interval. In the limit that N increases indefinitely, these procedures yields sequences of upper and lower sums. If both sequences converge and they converge to the same value, then the function is Riemann integrable from a to b. The Riemann integral of a finite function with a finite number of discontinuities over a finite range exists. There are alternative definitions of integration that are less restrictive. The Riemann integral is, however, sufficient for our immediate needs.

If both limits exist and are equal,

1/4/2016 Handout .Tank: Integration Basics IB-2 b Limit LowerNN=() f x dx Limit  Upper . [IB.1] NNa  The Fundamental Theorem of Integral Calculus: If F(x) is an anti- of f(x), then

b f ()xdxFb () Fa () [IB.2] a This statement is equivalent to saying that integration of a function f(x) constructs an anti-derivative x A(x) of that function. A()xfxdx (')  xo Note that x is a dummy-variable label, the integration label should not be also used as a limit label. x This rule is often violated in these handouts due to carelessness. Note that A()xfxdx (')  = xo x x f ()sds f ( ) d . That is you are free to change the dummy integration label to avoid conflicts. xxoo x df This theorem is to be used in the form: f ()xfx ( ) dx. 0 x  dx o The fundamental theorem of integral calculus leads to precursors of Leibniz rule.

x dA A()xftdt () fx () a dx

ux() dA du Adding the , Ax() ftdt () fux (()) a dx dx : If a function f(x) is continuous in the interval [a, b] then there exists some argument value c in that interval such that:

b b f ()xdxfc () b a fc ()1 f () xdx  f () x a ()ba a in[,] a b The value f(c) is the mean value of f(x) in the interval [a, b].

Leibniz Rule: The of an integral entails taking the derivative of the integrand as well as allowing the derivative to act on the limits of integration.

dfbabb  fxtdx(,) dxfbt (,) fat (,) [IB.3] dtaa t t t The last two terms are surface or boundary terms and arise whenever the range of integration varies (perhaps it depends on time). A proof/motivation of Leibniz rule is presented just before the problem section of this handout.

1/4/2016 Handout Series.Tank: Integration Basics IB-3

An important 3D application of Leibniz’s rule arises in the discussion of Faraday’s Law.    dBrtdrC   (,) B(,)rt ndaˆˆ Brt (,)   d  nda dtSC  dt  S t Note that a term ∙ ∙ appears in the full Leibniz rule for this case, but it is discarded in the case of the magnetic flux. If you are a physics major, you should be able to justify this omission before you finish your second E&M course. See the Vector Calculus Appendix for detailed definitions

of v and rC and a derivation o f the rule. The time rate of change of the magnetic flux through a thin loop of conductor is due to the addition of dr  dr area elements C  d as the points on the conductor (or surface) move at their local velocities C dt  dt (or ) plus the change in flux through the pre-existing area due to the magnetic field in that area changing in time. That is: the flux changes includes a motional contribution when the conductor moves in a region in which the field is non-zero, and it changes due to induction if the magnetic field itself is time-dependent. See Wikipedia for the full version.

∬ , ∙ = ∬ ∙ ∬ ∙ ∙ ∮ ∙ ℓ

where:

F(r, t) is a at the spatial position r at time t Σ is a moving surface in three-space bounded by the closed curve ∂Σ dA is a vector element of the surface Σ ds is a vector element of the curve ∂Σ v is the velocity of movement of the region Σ ⋅ is the vector × is the vector cross product The double integrals are surface integrals over the surface Σ, and the is over the bounding curve ∂Σ.

1/4/2016 Handout Series.Tank: Integration Basics IB-4

Linear Operation: Integration is a linear operation. afx() bgxdxa () f () xdx  b gxdx ()

Isaac Newton (1642-1727) formulated the classical theories of mechanics and optics and invented calculus years before Leibniz. However, he did not publish his work on calculus until after Leibniz had published his version. This led to a bitter priority dispute between English and continental mathematicians which persisted for decades, to the detriment of all concerned. Newton discovered that the was valid for fractional powers, but left it for Wallis to publish (which he did, with credit to Newton). scienceworld.wolfram.com/biography/Newton.html © Eric W. Weisstein

Isaac Newton delayed publication of his theories of gravity until he could develop integral calculus to demonstrate that, if his proposed law for gravitation held for point masses, then, for masses outside the sphere, any spherical mass should interact just as a point mass of the total mass concentrated at the center. The delay is rumored to have been about eleven years.

Wilhelm Gottfried Leibniz (1646-1716) The last years of his life - from 1709 to 1716 - were embittered by the long controversy with John Keill, Newton, and others, as to whether he had discovered the independently of Newton's previous investigations, or whether he had derived the fundamental idea from Newton, and merely invented another notation for it. The controversy occupies a place in the scientific history of the early years of the eighteenth century quite disproportionate to its true importance, but it so materially affected the in western Europe.

www.maths.tcd.ie/pub/HistMath/People/Leibniz/RouseBall/RB_Leibnitz.html Figure: www.thocp./biographies/leibnitz_wilhelm.html Accepted spellings: Leibnitz and Leibniz

“The Riemann integral is the integral normally encountered in calculus texts and used by physicists and engineers. Other types of integrals exist (e.g., the Lebesque integral), but are unlikely to be encountered outside the confines of advanced mathematics texts. In fact, according to Jeffreys and Jeffreys (1988, p. 29), "it appears that cases where these methods [i.e., generalizations of the Riemann

1/4/2016 Handout Series.Tank: Integration Basics IB-5 integral] are applicable and Riemann's [definition of the integral] is not are too rare in physics to repay the extra difficulty."” Eric W. Weisstein: "Riemann Integral." From MathWorld--A Wolfram Web Resource. http://mathworld.wolfram.com/RiemannIntegral.html Bernhardt Riemann (1826-1866) German mathematician who studied mathematics under Gauss and physics under Wilhelm Weber. Riemann did important work in , complex analysis, and mathematical physics. In his thesis, Riemann urged a global view of geometry as a study of manifolds of any number of dimensions in any kind of space. He defined space by a metric. Riemann's work laid the foundations on which general relativity was built. He also refined the definition of the integral.

© Eric W. Weisstein scienceworld.wolfram.com/biography/Riemann.html

A Guide for Integrations In physics applications, half the battle is setting up the integral. As a rule, vector operations should be executed prior to the actual integration. Once the problem has been reduced to a specific mathematical integral, completion of the problem is usually a walkover. It is for this reason that some suggestions for attacking the setup process are presented.

1. Choose a coordinate system that is appropriate for the problem. Use symmetry as a guide.

2. Express all vectors in terms of the coordinate directions for that coordinate system, and compute all inner (dot) and cross products.

3. If a unit vector eˆ in the integrand is not constant with respect to the integration variables, replace that vector by its representation in terms of the constant directions iˆ , ˆj and kˆ . This representation makes the dependence of the direction eˆ on the integration variables explicit.

By this point, the integration has been reduced to either a scalar (perhaps multiple) integral or to a set of scalar integrals multiplying constant directions. If they are present, the constant directions should be taken outside the integral leaving a sum of terms each with an integral multiplying a

1/4/2016 Handout Series.Tank: Integration Basics IB-6 constant direction. This form is a generalization of the component-wise addition of vectors. Multiple integrals are to be computed as a nested set of single integrations.

Integration Techniques

Change of variable: A first guess is to choose the argument of the most complicated function in the integrand as the new variable. Below the integration variable is changed from t to x. The new limits are xlower = x(tlower) and xupper = x(tupper). That is the limiting values of x are the values that x assumes at each of the limiting values of the original integration variable. Be sure to change your limits appropriately and simultaneously! txtdx () f ()xdtfxdx ' () txt00dt ' () (Note that the dummy t' is used as the integration variable as the integration variable must be distinct from the limits. The dummy variable x can be used as it does not appear unmodified as a limit of integration.)

Exercise: Dummy Variable Compute the following in a naïve fashion and compare the results. Assume a is constant. ttttt t dt a dtand dt adt and dt a dt 00000  0 Based on your experiences in introductory mechanics, which form represents the desired operation? Discuss the necessity to use dummy variable and to properly nest integrals when appropriate. Add conventions nesting and display constant acceleration result

More detail – change of variable: Adopting new notation, the goal is to change from an integral with respect to x to an integral with respect to u that has the same value and that works independent of the particular limits. A practical consideration is that the new variable u be a known function of x: [u = u(x)].

xuupper upper dux () f ()xdx gudu () where du dx xulower lower dx

1 xxupper upperdu du u upper f ()xdx fx () dx gudu () xx   u lower lowerdx dx lower

1/4/2016 Handout Series.Tank: Integration Basics IB-7 1 The integrand is gu() f () x du , and the new differential is du du dx . The dx dx for x u x u

du conclusion is that a g(u) is found by removing a factor of /dx from f(x) and then expressing the du remaining factor as a function of u. The new differential du is equal to the factor removed /dx times the differential of the original integration variable dx. The limits of the new variable must correspond to those of the old variable. The new lower limit is the value of u that corresponds to the original lower limit u(xlower). Similarly, the new upper limit is u(xupper).

f(x) g(u)

x1 x2 x3 x4 x5 x u1 u2 u3 u4 u5 u

NN N1 N xi ui f ()xxii fx () i  u i fx () i  u i guu () i  i u xi  ii11i i  1 i  1 The integrals, under the , are to be the same. For the first shaded blocks, the width u in the right-hand plot appears to be less than the width x of the corresponding shaded block in the left- uu hand plot. The widths scale as ux21  so the average values of the functions in those  xx21 

x21x intervals must scale as gf to ensure that fave x = gave u. As the areas for the ave uu21  ave complete integrals are shaded, it becomes evident that ulimit = u(xlimit). In the limit that the widths of

uu du the blocks approaches zero, 21 , so the new differential and function are du du dx xx21 dx  dx  1 and gu() f () x du . dx for x u x u

Change of variable – a practical example:

1/4/2016 Handout Series.Tank: Integration Basics IB-8 2 eedtttsin[ 2] . The new variable is the argument of the most complicated function in the 1

t t -t integrand. u = e + 2; du = e dt. Solve for dt = e du. Substitute: eedteuttsin[ 2] t sin[ ](et du )  sin[ ud ]u  cos[u ] Reverse the substitution:  eedtettsin[ 2] cos[ t  2] As the result is now expressed in terms of the original variables, the original limits apply.

2 2 tt t 21 eedtsin[ 2] cos[ e 2] cos[ e 2] cos[ e 2] 1 1 Alternate evaluation: Change the limits each time you make a substitution.

222ee22 e2 2 eedteueduttsin[ 2] t sin[ ] t  sin[ uduu ]  cos[ ]  cos[ e2 2] cos[ e 2] 122ee e2

The second evaluation has the advantage that (with limits) the expressions are complete at each step.

Trigonometric substitutions: Indicated if change of variable has failed and if the sum or difference of squares is present (or better yet, the square root of the sum or difference of squares).

22x 2 2 2 axtan a as 1  tan  sec and d (tan  )  sec  d 22x 2 2 axsin a as 1  sin  cos and d (sin  )  cos d  xx2 and sometimes forms like 1 (bb ) can beattacked using sin  The trigonometric identities suggest a tan be used for the sum of squares and a sin be used for the difference of squares. Be aware that the angle  chosen as the new variable is meaningful. Identify  on your figure. Interpret your results in terms of this angle if possible. Square roots are often used to represent distances in physics. If this is the case, only the positive root is meaningful. Be alert and examine cases. The functions sin and tan are preferred choices because they are monotone, increasing functions for domains in the interval (- ½ ½ . Also the ranges of sin and tan are

x 2 2 appropriate for /a in the expressions 1 xa and 1 xa .

Desperation substitution alternatives: the hyperbolic functions. The trigonometric substitutions can fail to lead to an easily integrated form. Hyperbolic function substitutions provide a remedy in

1/4/2016 Handout Series.Tank: Integration Basics IB-9 some cases. ** See sample calculation IB.9 for an evaluation of the inverse hyperbolic functions in term of logarithms.

22 x 22 axsinh( u ) a as 1  sinh()uu  cosh () and d (sinh () uu )  cosh () du 22 x 2 22 axtanh(u ) a as1  tanh( u )  sech( u ) and d( tanh( u ))   sech( udu ) 22 x 2 2 x auuduuducosh(u ) a as cosh( )1  sinh( ) and( cosh( ))  sinh( )

2 2 2 x 2 Trig/Hyper: Substitution Table: a  x a (1 + [ /a] )

x Sign Range /a Choice x  | /a|  1 sinu, cosu x  | /a|   tanu, … x  | /a|   tanhu, … x  | /a|   sinhu, … x x 2 ½ For a  x a (1 + [ /a]), you might try /a  sin u, etc. particularly if x appears elsewhere.

duv() dv du dv d() u v du Integration by parts: uv or uv. dx dx dx dx dx dx In terms of differentials: d(u v) = u dv +v du or u dv = d(u v) - v du

bbb udv uv vdu aaa 

b ((,))fxt f A common case is one the form gxtdx(,) . In this case, u = g(x, t) and dv = /x dx. It a x follows that:

bb ((,))fxtgxtdx(,) [ f (,) xtgxt (,)]xb f (,) xt ((,)) gxt dx aaxxxa

xb The integration by parts yields the surface term, [(,)(,)]fxtgxt xa , plus the result of moving the derivative from one factor of the integrand to the remaining factor with a change of sign.

SPECIAL CASE: In many integration by parts problems, particularly those arising in quantum mechanics, the surface term vanishes  bb ((,))fxtgxtdx(,) f (,) xt ((,)) gxt dx. The overall action is to move the derivative aaxx with respect to the integration variable from one factor of the integrand to the remaining factor

1/4/2016 Handout Series.Tank: Integration Basics IB-10 with a change of sign in that special case.

Applying Integration by Parts:  xnxedx . The n = 0 case is easy so the by parts method is applied to lower n. Choose v = xn and du = e-x dx. xnxedxx n e x nx n1 ()  e x dx Tip 1: If multiple integration by parts cycles are necessary, be sure to keep applying the method in the same sense. Here one chooses v to be the power of x so the power is lowered in every step. Reversing the sense would just undo a previous step.

Tip 2: After each cycle consider reshuffling factors between the u and v factors. 11 xsin12 ( x ) dx ½ x ½ x 2 dx 22 11xx  1 x ½½x2 xdx 22  11xx Tip 3: In some cases the integration by parts method generates a multiple (other than 1) of the original integral on the right hand side. ekxdxekxkekxdxxxxsin( ) sin( )  cos( ) exxsin( kxke )  cos( kxke )  2   x sin( kxdx )

ekxkekxxxsin( ) cos( ) ekxdxx sin( )   1 k 2 Tip 4: Get familiar with and anti-derivatives of factors and identities:  sec3 (x ) dx . It is not obvious that one should try integration by parts. If one recalls that: dxtan( ) dx sec( ) sec222 (x ); sec(xx ) tan( ); sec ( x )  1 tan ( x ) dx dx then one might try u = sec(x) and dv = sec2(x) dx. This choice in examined further in problem 47.

Hints from Steve Kifowot:

1/4/2016 Handout Series.Tank: Integration Basics IB-11 Choosing u and v. Choose u that is easy to differentiate and v that is easy to integrate. When the integrand can be factored into logarithmic, inverse trigonometric, polynomial, trigonometric and exponential pieces, choose u to be of the form that appears earliest in the list. Employ the tabular method to organize you work in cases in which the integration by parts must be repeated several times. The method is to be demonstrated for  x3 cos(x) dx. The factor x3 is polynomial so it is chosen to be u.

d Step + to - u Step down  /dx v Step down  dv + x3 cos(x) - 3x2 sin(x) + 6 x - cos(x) - 6 - sin(x) + 0 cos(x)  x3 cos(x) dx = x3 sinx +3x2 cos(x) – 6x sinx – 6 cosx + C

Exercise: Use the tabular method to evaluate  x4 sin(2x) dx

Exercise: Consider the integral  x4 ln(x) dx. Which factor should be chosen as u and which as v? Execute the tabular procedure. Comment on a possible shortcut.

Trigonometric Identities: (This section is to be expanded.) Many trigonometric identities provide beneficial recasting of integrands. The particular cases presented here are intended to be examples that suggest paths to explore.

Attack 1: sin or cos raised to an odd power. Consider (sin)2n+1 as [1 - (cos)2]n sin which becomes: - [1 - u2]n du.

Attack 2: sin or cos raised to an even power.

2n (1 - cos2) n Use the double angle relations repeatedly. Represent (sin) as [ /2] working toward a form with only first powers or trigonometric functions.

Attack 3: mixed products of sin, sin, cos and cos

1/4/2016 Handout Series.Tank: Integration Basics IB-12 Apply the product identity repeatedly to reduce the expression to terms that are first order in trigonometric functions.

sin(x )sin(yxyxy )1 cos( ) cos( ) 2 

cos(x )cos(yxyxy )1 cos( ) cos( ) 2 

sin(x )cos(yxyxy )1 sin( ) sin( ) 2  These methods can be combined with other methods such as integration by parts to compute a variety of integrals, For example,  x22sin (kx ) dx is to be evaluated as one of the end-of-section problems.

Completing the square: Several of the previous techniques can be extended by completing a du square. For example, the result can be extended to: 1 u2

1 bax 2 2tan  dx 4ac b2    2 2 ax bx c 4ac b Begin by completing the square in the denominator, dx dx1 dx 2 2 2 2 b2  ax bx c bbc  4a bb2 ax2 a  c 4a 1ax/ c   2 a 4a

Next, make the change of variable u = axbb c22, du adx c b. This  2 a  // 44aa   change is chosen to cast the denominator in the form 1 + u2.

b2 dx duc  4a du2 du   ax22 bx c111  ub2   u 22   u 2 ac 4a 4ac b

dx22 a x b  tan1   ax2  bx c 22 44ac b ac b

11 1 1 SampleCalc: 22  2 where u =½(x – 1). xx23(1)4 x 4{((1)x  )2  1} 4{1} u  2

1/4/2016 Handout Series.Tank: Integration Basics IB-13

Partial Fractions: Integrands with complicated denominators present special problems, and the partial fraction approach is an effective method to reduce that complexity when the denominator is an nth order polynomial q(x). In general, we consider integrals of the form: s() x dx p () x dx mxdx() qx()just a polynomial qx () Use partial fractions Where s(x) = m(x) q(x) + p(x) and p(x) is a polynomial of lower order than q(x). That is: s(x) divided by q(x) is m(x) with remainder term p(x). The details of the method and some computational shortcuts are presented in the Tools of the Trade section of this handout. A simple example is all that is presented here. Assume that q(x) has been scaled and that the roots of q(x) = 0 are known so that q(x) = x3 +(2a + b) x2 + (a2 + 2 a b) x + a2b = (x – a)2 (x – b). dx dx  qx() ( x a )(2 x b ) The core of the method is to break the integrand into partial fractions. 1 ABxC     ()()()()()()()x axbxbxaxbxaxa22      2 The numerator of each term on the right is an arbitrary polynomial or order n -1 where n is the degeneracy of the root (the order of the polynomial denominator in that term. As an alternative, one can use the ‘all powers up to’ representation in which all the Greek coefficients are scalar constants. Ax()()( a22 x b BxCx  )()() a x b 1()()() Ax a2 BxCx b ()xb () xa2 Approach 1: In this approach, one matches the coefficients of each power of x to find A, B and C. A shortcut follows if x is set to b which yields A = (b – a)-2. Next one matches the coefficients of x2 leading to the equations 0 = A + B so B = - (b – a)-2. Next, the coefficients of x1 matched. 2ab 0 = - 2 a A – b B + C or C  ()ba 2 Substituting:

1/4/2016 Handout Series.Tank: Integration Basics IB-14 dx dx Adx() B x C dx   qx()()()()() xa22 xb  xb  xa    11([2])dx x b a dx  ()()()ba222 xb ba () xa  Using the change of variable u = x – a, 11([])11dx u b a dx  [ln(xb ) ln( u )] ()()()ba2222 xb ba () u () ba  () bau  ([ubadx ]) 1 1 [ln(xb ) ln( xa )]  ()uba22 () ()() baxa Note that these results have not been checked. Approach 2: The process is repeated using the all powers form. 1    1(x axaxbxb )2 ( )()(  ) ()()()()()xa22 xb xb  xa  xa  Setting x = a,  = (a – b)-1. Setting x = b,  = (b – a)-2. The final coefficient follows by setting the coefficient of x2 = 0 on both sides   = - = - (b – a)-2. (Note: There are many methods to solve the simultaneous equations to find A and B. The method just presented is just one of the possible ones.) dx111 dx dx dx  qx()()()()()()() ba22 xb ba  xa ab  xa 2 dx dx 11 ln[xb ] ln[ xa ] qx()()()() x a22 x b b  a ()() a  b x a

The Method of Partial Fraction is effective for integrands that are rational functions, the ratio of a polynomial numerator to a polynomial denominator in which the numerator is lower order than the denominator. For more details, see Sample Calculation IB.10 and the Tools of the Trade section.

SCx: Partial Fractions

1/4/2016 Handout Series.Tank: Integration Basics IB-15 xxxx4324231 dx  (1)x23

xxxx4324231 x2 41x remainder x (1)x2 

xxxx4324231 xx 2  41 x  (1)xxx23 (1)(1) 22 23

Repeat the process: xx2 41 14remainder x (1)x2 

x43242311xxx 4 x  (1)xxx23 (1)(1) 2 22 which yields the reduced form: xxxx4324231 1 4 x x dx dx (1)xxxx23 (1)(1)(1) 2 22 23

x 1 dx Exercise: Show that dx(1) x2 n1 and that  (cos )22n d  (1)2(1)xn2 n (1)x2  n where  = tan-1(x).

Parameter Calculus1: There are cases* in which the integrand can be defined to depend on one or more parameters in addition to the integration variable. It may be possible to integrate (or differentiate) with respect to a parameter to change the integrand to a form that can be more easily integrated. After the integration, the result is then differentiated (or integrated) with respect to that same parameter to recover the value of the original integral. Suppose  x cos(xdx ) is desired. cos(bx ) sin(bx ) dx  and d sin(bx ) dx x cos( b x ) dx  b db 

ddcos(bx ) x sin( bx ) cos( bx ) so: x cos(bx ) dx = sin(bx ) dx    db db b b b2

1 The parameter calculus technique is sometimes called Feynman’s integration trick.

1/4/2016 Handout Series.Tank: Integration Basics IB-16 Setting b = 1:  x cos(xdxx ) sin( x ) cos( x ) The taking a derivative with respect to a parameter trick is demonstrated more fully in the definite integrals handout. Sample Calculation IB.8 demonstrates a more advanced application of the parameter calculus technique.

* The order of integrations and differentiations are interchanged freely in the parameter calculus approach. This freedom is only justified if strong (uniform) convergence of the operations can be established. Good fortune is to be assumed in this section. is to be discussed later in a separate handout.

Parameter Calculus is used extensively in several fields. Also, integrals are sums so the technique applies to sums as well. A standard trick used in statistical mechanics is to take a derivative with respect to a parameter in order to insert a factor of interest into an average. For a binomial distribution, we need to insert N N ! N N ! a factor of n into nNn11() to find nNn11() . We start 1 1   pq npqn11   n1 0 nNn11!( )! n1 0 nNn11!( )! by taking a with respect to p. Note that p is a parameter of the problem, not a variable.

nNn11() Nonetheless, the formal derivative of pq with respect to p yields a factor of n1 at the cost of dropping the power of p.

 nNn11()( n 1 1)() Nn 1 p pq np1 q We next patch the relation by multiplying by p.

 nNn11()( n 1 1)() Nn 1  nNn 11 () p p pq pnp11 q  pq n

N N ! N N ! It follows that nNn11() =   nNn11()  npqn11  ppqp     n1 0 nNn11!( )! n1 0 nNn11!( )!

NN1  = as p + q = 1. p p  pq Nppq  Np n1

N N ! Work through the calculation of 2 . Start with 22 nNn11()  = n1 npqn11    n1 0 nNn11!( )!

N N! N pp pqnNn11()  pppq . n2 = N2 p2 + N pq = ()n 2 + N pq pp nNn!( )!   pp1 1 n10 11

1/4/2016 Handout Series.Tank: Integration Basics IB-17

Alternate Representations: Use identities to recast the form of the integrand. Standard substitutions include using the Euler identity to convert trigonometric functions to exponentials. This path is almost always indicated if there is another exponential factor in the integrand. The hyperbolic functions also have exponential definitions. An integrand may, for example, contain a lonely cosine, one that is lacking a sine for its ‘du’. The replacement 2 + 2 cos(2 ) = cos2 might be followed by division by cos2 and the substitution sec2 = tan2 +1.

Tricks presented by your instructor in the course. Each topic in physics has its own set of standard integrals and integration techniques. As you prepare course summary sheets for each course that you take, add a page listing the math skills required for that course. Prepare a math methods summary for all the techniques that you use that includes the various applications of each technique. It often follows that if similar math methods are used in two fields of physics that those fields are more closely related than might be first evident. The math parallels may lead you to a deeper appreciation of the physics parallels. Parameter calculus is often considered to lie in the trick category.

Integral tables or Mathematica, but only as a last resort or a check. The mathematics represents the physics. Only by stepping through the solutions to the mathematics can you step through the linkages in the physics.

Once you complete the calculation, reflect on your efforts. Review the techniques that were successful and attempt to identify clues that would lead you to select them more quickly. Attempt to re-express your results in the language of the problem statement and without any direct reference to the particular coordinate system that was used. For example: The electric field due to a long straight uniformly charged wire varies as the inverse of the distance from the wire, and it is directed perpendicularly away from the wire at any point. This final step helps you extract the physics content of the problem.

4 x dx Sample Calculation IB.1: Change of Variable for 2 . The guideline suggests that the 2 1x argument of the most troublesome form in the integrand be chosen as the new variable.

1/4/2016 Handout Series.Tank: Integration Basics IB-18 du The argument of the inverse power is u = 1 + x2. The next step to compute du = /dx dx = 2 x dx.

1 2 This outcome is the good one; du can be formed as x dx = /2 du. As u = 1 + x , ulower = u(for x =2) =

5, and uupper = u(for x = 4) = 17.

4417xdxuforx 111 du du 17 2 ln .6119 2251x uforx  222 uu      5  A crucial point is the limits of integration must be changed whenever the variable is changed. It is rewarding that, after changing variables, the actual integral calculated is simple.

 Rr cos  sin d Sample Calculation IB.2: Change of Variable for (3/2) . The guideline suggests 0 Rr222cos rR   that the argument of the most troublesome functional form in the integrand be chosen as the new variable. That is, the argument of [ … ]3/2; so u = R2 + r2 – 2 R r cos and hence du = 2 R r sin d The process has some chance to succeed as du can be found. (R and r are positive constants that represent characteristic lengths.) du sind  2rR The limits transform by evaluating the new integration variables as functions of the original limits as u(=0) = R2+ r2–2rR = (R – r)2 and u(=) = (R + r)2 so we have:

Rr 2 Rrducos 1   3/2 2rR Rr 2 u The remaining pieces must be expressed in terms of the new variable. The R is no problem, as it is

Rru22 just a constant. Attack the term r cos. It appears in the definition of u. r cos 2R and

Rru22 Rrcos 2R .

2 Rr Rr22 Rr 112 2 3/2 1/2 2 2  1/2  1/2  2 2 ()Rru u du 2  2() Rru22  2 u 44rRRr  rR  Rr Rr 

 Rr cos sin d  22 22   1 ()()Rr Rr 22 = 2  Rr Rr  (3/2) 2rR  22  0 Rr222cos rR  Rr Rr  

1/4/2016 Handout Series.Tank: Integration Basics IB-19 Assuming that the square roots arose as representations of distances, positive roots are to be taken.

2 R rRr

 Rr cos sin d  1 ()()Rr Rr  (3/2) = 2rR2   ()()R rRrRr  0 Rr222cos rR  Rr   Note that the final integral has two distinct analytic forms: one for r < R and another for r > R.  Sample Calculation IB.3: Trigonometric Substitution. A calculation of the electric field at a point s

ˆj due to a uniformly charged line running from x1 to x2 along the x axis leads to the integrals.

  xx22xdx sdx ijˆˆ xx3/2 3/2 1122 22 4 0 sx  sx   The first integral surrenders to the change of variable approach, but the second resists the technique. If one chooses s2 + x2 as the new variable u, then du = 2x dx, a factor that cannot be found. If s dx is

-1 1 -1 2 written as s x ( /2 du), one is left the task of expressing x as a function of u ( x us  ). Life is not getting simpler. By rule, a trigonometric substitution is to be tried next. The sum of squares form suggests a tan substitution. Guided by the form of the identity sec2 = 1 + tan2, the integral is recast as:

2 dx 2 xx22sdx11s  s   2d tan 1sec 2 d   xx3/23 3/2  3/2  3/2 11sx22 ss 11x 2  1 tan 2  s 1 sec 2 s    x where tan = /s or x = s tan and dx = s d(tan) = s sec2. After all the sweat, the integral reduces to:

2 1sec22d 1 1 3/2 cos d sin21 sin sss112 sec  The conversion from  values to x values is facilitated by sketching a triangle with a side of length x opposite to the angle  and a side of length s adjacent to it. The conversions can be read off the figure for the triangle. It follows that: sinx and cos s s22xsx 22 leading to the integrals.

1/4/2016 Handout Series.Tank: Integration Basics IB-20   x2 xdx 11 x2 sdx 1 xx   and  21 x 3/2 22 22 x 3/2 22 22 1 22 sx sx 1 22 s  sx sx sx 21sx  21 Exercise: Complete the evaluation of the two integrals. 

Sample Calculation IB.4: Integration by Parts of:  f ()xdx. (Let u = f(x) and dv = dx) df f ()xdx xf () x x dx dx

df 1 For example, let f(x) = ln(x), and hence /dx = /x.

1 ln(x )dx x ln( x ) x x dx x ln( x ) x

bbb Sample Calculation IB.5: Integration by Parts. udv uv vdu aaa 

3 Compute te2 t dt. Use dv = e-t dt and hence v = - e-t. Do it twice. The first time, u = t2 so du = 2 t 0 dt.

333 t22 ett dt t e   e  t2 t dt 00  0 3 3 92ete3333  tt  2  edteee  9622    0 0 

Sample Calculation IB.6: Parameter Calculus. The previous integration is to be repeated using parameter techniques. The procedure is anchored by:

3 3 edtbt11 e bt 1  e 3 b 0 bb  0   Noting that a derivative with respect to b brings down a factor of minus t,

2233 ddedttedtbt2 bt1 1 e 3 b db2200 db  b 

d 11213 ee33bb 1 e 3 b339 eee 333 bbb db bbbb2322bb   Setting b = 1,

3 te23t dt217 e 0

1/4/2016 Handout Series.Tank: Integration Basics IB-21 The final step is the evaluation of the parameter at a special value, often one. It seems like cheating at first, but, in time, the procedure gains credibility.

Sample Calculation IB.7: Substituting exponential representations for trig and hyperbolic functions. cos + i sin = ei 

ix ix[1 i ] x [1 i ] x aaee a e e  exdxexxsin( )  dx dx 00   0   22ii 

a 11111ee[1ix ]  [1 ix ]    ee  [1 ia ]  [1 ia ]      21iiiiiiiii 1 21121    1 0   

12ie aiaia ee   1  e  a  1   ia ia ia ia     ee iee  2112iiiii    1 1   2  2   2

a exdxeaeax sin( )½  1aa sin( ) cos( ) 0  

Sample Calculation IB.8: Parameter Calculus. In extreme cases, the expression to be evaluated may be shown to satisfy a with the parameter as the independent variable that is to be solved for the desired value of the parameter given that the value at a boundary (special value of the parameter) can be computed more directly. In the example taken from McQuarrie, a complicating piece of an expression is removed by setting a parameter to zero. The full expression is evaluated by showing that it satisfies a differential equation in that parameter. The DE is solved and boundary value matched at zero.

 ax22 bx 2 2 Iab(,) edx 0

 22  The b = 0 case ( eax dx  ) is a standard integral, and its evaluation is presented in the definite 0 2a integrals handout. The derivative of I(a,b) is computed next.

Iab(,) ax2222 bx  ax 2222 bx  eedx 2 bx2 dx bb00 b b Choosing z = ( /a) x-1 and hence dz = - ( /a) x-2 dx.

Iab(,) 0 bz22  az 22  2adzaIabe 2(,) b 

1/4/2016 Handout Series.Tank: Integration Basics IB-22 Collecting the pieces:

Iab(,) Iab(,) b  2(,)aI a bdI 2 a dband I ( a ,0) Iab(,)  e2ab b Ia(,0)I 0 2a 2a

x22dxx dx Sample Calculation IB.9: Hyperbolic Function Substitution:  1 xx22a 2 11ax 1 xa

22 x 22 axsinh( u ) a as 1  sinh()uu  cosh () and d (sinh () uu )  cosh () du 22 x 2 22 axtanh(u ) a as1  tanh( u )  sech( u ) and d( tanh( u ))   sech( udu ) 22 x 2 2 x auuduuducosh(u ) a as cosh( )1  sinh( ) and( cosh( ))  sinh( ) x Based on the templates, the change of variable sinh(u) = /a is chosen. So x = a sinh(u) and dx = a cosh(u) du.

x22dxuucosh( u ) du 2 du uu 22 2 21 xu11ax 1  sinh(u ) u 1 The substitution simplifies the integration dramatically, but the task of computing the new limits x -1 x remains. Under the change of variable, sinh(u) = /a , u = sinh ( /a). It is most direct to start with the eeuu  change of variable prescription:sinh(uzeez )uu 2 . Multiplying by eu and 2 rearranging, eze2uu210which is quadratic in eu ezu z2 1. As eu must be positive, the plus sign is chosen. It follows that u = lnzz 2  1 where z = x/ .   a 22 x2 dx 22x xa xx22 xx 11 22 lnaa 1 ln aa 1 ln  22    22 x1  ax x11 xa

Sample Calculation IB.10: Partial Fractions applied to integrating a rational function: p(xdx ) (4 x 2) dx (4 x 2) dx  qx() x2  3 x 2  ( x 1)( x 2)

(4x  2) AB  xx2  32(1)(2) x x

Ax(1)(2)(1)(2) x Bx x (4x  2)  (1)xx (2)

Setting x = -1, (4[-1]+2)= A ([-1]+2), or A = -2. Setting x = -2 leads to B = 6.

1/4/2016 Handout Series.Tank: Integration Basics IB-23 (4xdxdxdx 2) ( 2) (6) 6ln(xx 2) 2ln( 2) xx2 32 (1)(2) x  x 

Beware: If the denominator has repeated roots, a complication arises. See Tools of the Trade.

The last sample calculation did not display the limits of the integrations. BEWARE: An integral without limits is an integral up to no good.

Tools of the Trade:

Simple Methods for Times of Desperation: CAREFUL: Look for df/dx typo below Method D1: Simple integration by parts  f ()x dx with u f ()and x dv dx fx() f ()xdxxfx () x dx dx Method D2: Simple change of variable df df f ()x dx u11 du with x f []; u u f (), x du dx []dx dx xf 1() u

Let’s try the methods for f(x) = ln(x). Method D1: Simple integration by parts 1 ln(x )dx x ln( x ) x x  dx x ln( x ) x Method D2: Simple change of variable df df ln()x dx u11 du with x f []; u u f (), x du dx []dx dx xf 1() u

1 1 u ln(x )dxu[]x duuxduuedu  xf1 () u eu

ln(x )dx u euu e du  [ u e uu  e ]  x ln( x )  x  uxln( )

The Role of Patience: Patience was cheap before the discovery of television. One needed to find something to occupy a rainy afternoon – what better than computing a new integral. The integral

1/4/2016 Handout Series.Tank: Integration Basics IB-24 sec(x ) dx is to be computed as a demonstration. Even as the path to the answer is displayed, the two dead-ends taken at each fork in the solution are not. You should beat an integral to death once a month to develop mental toughness.

Staring at the form 1 dx is futile so a list of trig identities is shot-gunned at the problem. If the  cos(x ) integral is to yield, there must be both sines and cosines. A fruitful choice is 22x x cos(x ) cos (22 ) sin ( ) . The clue that it might work is that a channel opens, a ‘partial fractions’ channel. It utilizes x2-y2 = (x+y)(x-y); a favorite from high school algebra. Ax() dx Bxdx () dx  22xxcos(x ) sin(xxx ) cos( ) sin( ) cos (22 ) sin ( ) 22 22

xx xx It requires that Ax()cos() 22 sin() Bx ()cos() 22  sin() 1, a condition that is easily satisfied

22xx using the ultimate trig identity cos()sin()122  . sin(xx )dx cos( ) dx Ax() sin();()x Bx  cos()x dx 22 2222xxcos(x ) sin(xxx ) cos( ) sin( ) cos (22 ) sin ( ) 22 22 Returning to our list of weapons, change of variable appears first.

xx1 x x ududxcos(22 ) sin( ); 2 sin( 2 ) cos( 2 )

xx1 x x vdvdxcos(22 ) sin( ); 2 sin( 2 ) cos( 2 ) The choice is to head toward the form below and to hope that the remainder can be vanquished. sin(xx )dx cos( ) dx du dv dx 22 remainder 22xxcos(xx ) sin( ) cos( xx ) sin( ) cos (22 ) sin ( ) 22 22uv sin(xx ) cos( )dx  sin( xx ) cos( ) dx cos(xx )dx sin( ) dx 22 22 22 cos(x ) sin(xxxxxxx ) cos( ) sin( ) cos( ) sin( ) cos( ) sin( ) 22 22 22 22 sin(xx ) cos( )dx  sin( xx ) cos( ) dx 22 22 (1) dx xx xx 22xx cos(22 ) sin( ) cos(22 ) sin( ) cos (22 ) sin ( ) The remainder is just the negative of the left-hand side. We have a winner!

xx xx sin( ) cos( )dx  sin( ) cos( ) dx du dv 22dx 22 22 22xx cos(xx ) sin( )  cos( xx ) sin( )   cos (22 ) sin ( ) 22 22 uv

dx dx du dv x xxx 22xxln cos(22 ) sin( ) ln cos( 22 )  sin( ) cos (22 ) sin ( ) cos(x ) uv

1/4/2016 Handout Series.Tank: Integration Basics IB-25 dx ln cos(x ) sin(xxx ) ln cos( ) sin( )   cos(x )  22 22 

x 1tan() 2  Equivalently: sec(xdx ) ln x  1tan() 2  Patience pays off! It remains unfortunate that no new integrals have been evaluated since the widespread introduction of television.

Exercise: Choose u = sec(x) + tan(x). Compute du. Use these results to compute sec(x ) dx . Show that this result agrees with the result above this exercise.

Sample Calculation IB.12: Powers of sin and of cos:

 A very simple, but common integral is of the form: 2 [sin ]mn [cos ] d .  1 If m is odd, than the answer is simple!

  22[sin ]mn [cos ]dd  [sin  ](1) m [cos  ] n sin  2 [1 cos 2  ] (1)/2 m [cos  ] n sin  d    11 1

 (m-1) 2 p As /2 is an integer, the entire problem is reduced to sums of terms [cos ] sind . Choose  1

cos(1 ) u = cos and hence du = - sin d. Each term becomes udup . cos( ) 2

  If m is even, the form of interest becomes 2 [1 cos2/2 ]mn [cos ] d leading to 2 [cos ]k d . If   1 1

2 k is odd, it is back to the same game, [1 sin2(1)/2 ]k cosd . Here, u = sin and du = cos d.  1

sin( ) 2 2(k 1)/2 (k-1) 2 [1udu ] which is easy as /2 is an integer. If k is even, you use cos  = ½(1 + cos2) sin( ) 1

 to get to the forms 2 [cos(2 )]k d . You keep running around this loop until the solution is  1 reached.

 Example: [sin ]222 [33 cos11 ]sindd [1 cos ][ cos ]sin 0022 2 2

1/4/2016 Handout Series.Tank: Integration Basics IB-26 11 [1u22 ][33 u 11221 ] du  [ u 42 2 u ] du  3 ( ) 2( )  (2) 92015  4 1122 2 2 25 32 15 15

 [sin ]2 [3 cos1 ]sin d 4  0 22 15

Converting Sums to Integrals

It is said that an integral is a sum of little pieces, but some precision is required before the statement becomes useful. Beginning with a function f(t) and a sequence of values for t = {t1,t2,t3, ….,tN}, the

N t sum f ()t does not represent the integral  f ()tdt even if a great many closely spaced values of  i t i1 

iN t are used. Nothing has been included in the sum to represent dt. One requires  f ()ttii where i1

ttt1  is the average interval between sequential values of t at ti. For well-behaved iii2  11

iN cases, the expression  f ()ttii approaches the definition of an integral as the t-axis i1 is chopped up more and more finely. As illustrated below, in the limit that t goes to zero, the sum

N t f ()tt approaches the area under the curve between t< and t>. That is; it represents f ()tdt  ii t i1  provided the sequence of sums converges, and life is good. The theory of integration is not the topic of this passage. The goal is simply to remind you that the t must be factored out of each term that is being summed in order to identify the integrand.

1/4/2016 Handout Series.Tank: Integration Basics IB-27 f(t) f(tN)

f(ti) f(t1) f(tk)

t t

t

t1 t2 ti tk tN area = f(tk) t t< t>

For the discussion of the inner product in the handout, the function h(t) = g(t) f(t) was –T +T considered at N equally spaced points between /2 and /2. This form is motivated by the form of the inner product of two 3D vectors expressed in terms of their components:   3 ABABABABx xyyzz    AB iiwhich suggests that the sum of the products of corresponding i1

N mN values of the functions f(t) and g(t)   g()()tftmm. This leads to the sum  ht()m where the m1 m1 points tmTT   T have equal spacing t T . As the number of terms gets m 22NN N large, the sum must be divided by N to ensure that the result remains finite. This leads to

mN ht()1 . The rule for converting sums to integrals requires that t T be explicitly  m N N m1

mN mN mN  factored from each term in the sum. ht()11[] ht ()T [ 1 ht ()] t mmmNTNT   mm11 m  1

TT/2 /2 which becomes 11h() t dt  g () t f () t dt as N gets large and t small. TT/2TT  /2

. Riemann Sum Examples: (Figures by N. Frigo.) . 4.3 5.4 0.2 4.24568

1/4/2016 Handout Series.Tank: Integration Basics IB-28

Change of Variable (substitution) How to guess u … The Golden Guess A guide to a possibly beneficial choice of a new integration variable is the argument of the most troublesome part of the integrand. Consider: sin2 (x ) dx  1cos() x The sin2(x) is, by itself, not too frightening so we choose u = 1 – cos(x) as it is the argument of the somewhat troubling square root. It follows that du = sin(x) dx. Keep the faith, be patient. See how far you can push with your choice. Try to express the remaining factors in the integrand in terms of your new variable. sin(xx ) sin( ) [1 cos(xx )][1 cos( )] (sin(x )dx )  du du uu u As u = 1 – cos(x),

1/4/2016 Handout Series.Tank: Integration Basics IB-29 [1 cos(xx )][1 cos( )] du[1 cos( x )] du  2 u du u We make a new change choice: v = 2 – u,

33 3 ½ 2222 2 2 vdvv()33 [2] u  3 [1cos()] x

2 sin (x ) 3 2 2 dx 3 [1 cos( x )]  C  1cos() x One should include the additive constant C even though it is often omitted in this handout.

Surface Integrals – parameterizing and area scaling Two parameters are required to define a (2D) surface. A general point on the surface is represented rr  as ruv(,) xuvi (,)ˆˆ yuv (,) j  zuvk (,)ˆ . Defining dr duand dr dv , the parameter area uvuv  patch du dz maps to the are dA = |dr  dr |. This correlation has a geometric interpretation in terms of projections in the case that the surface can be represented as rxy(, ) xiˆˆ yj  zuxyk ( , )ˆ

Surface Integrals – area scaling for projection: A problem may require an integration over a surface : f(x,y,z) = C. As a is inherently a two dimensional, an approach is to compute the integral parameterized by the coordinate system for its projection onto a flat plane. First, we set the stage.

The normal to the surface : The value of f(x,y,z) is constant for small displacements in its plan so the normal is in the direction of the of f(x,y,z), the direction in which f(x,y,z) changes most rapidly.  f ˆ normal to the surface : n   f

As a first step, the surface  is to be projected onto the x-y plane, and the relation between the area patch in the flat plane dA = dx dy and the area dinf(x,y,z) = C that projects onto dA is developed. ˆ normal to the x-y plane nkˆA 

1/4/2016 Handout Series.Tank: Integration Basics IB-30   The process begins by determining the line segments dr and dr in the surface that project onto

dxiˆˆand dy j . As the surface is defined by f(x,y,z) = C, a small displacement dxiˆˆ dy j dz kˆ lies in

fff the surface only if df dx dy dz 0. For dr , dx is dx and dy is zero. xyz  f  ˆˆx ˆ dr  dxi0 jf dx k z f  ˆˆy ˆ Similarly, dr 0 i dy j  f dy k . z

ffˆˆ  fˆ  xyijk  z ff The ratio of d to dA follows as d = ||dr dr dx dy  dx dy  dA .  f ff z zz

The z coordinate plays a special role because the surface element d was projected onto the patch dA = dxdy in the x-y plane which has the z direction as its normal direction. The equation can be expressed in vector notation so that the more general relation becomes:  f 1 ddAdA   ˆˆ nfˆA  nnA  

This result is easily understood by considering the projection of a small flat area element onto a plane. The area patches are viewed edge on and each has a depth w. The area d = Lw projects onto nˆ nˆ nˆ A dA = (L cos)w. One concludes that: nˆ A 11 ddAdA   ˆˆ cos nnA  

1/4/2016 Handout Series.Tank: Integration Basics IB-31 In the differential limit, the segments    dr and dr are z dr dr essentially straight.  d The segments are two edges of a small parallelogram wit h area equal to the magnitude of the dyˆ j y ˆ cross product of the dxi dA segments.

x

1/4/2016 Handout Series.Tank: Integration Basics IB-32

The surface  floating above the x-y plane.

1 ddA  nnˆˆA  

The surface A with the planar x-y coordinate grid.

The patch marked d projects onto the patch marked dA.

Sample Calculation: Compute the area of a hemispherical dome over a circle of radius R. Polar coordinates are adopted for circle in the plane so dA = r d dr. The hemispherical surface is ˆˆˆ described by the equation x2 + y2 + z2 = R2 which has as its normal ()xi yj zk . The x222yz normal to the projection plane is the kˆ so cos = z . The conclusion is that: x222 yz

xyz222  ddAddAR z 22 Rr

RR2 RR  drddrrdr2  00Rr22  0  Rr 22

1/4/2016 Handout Series.Tank: Integration Basics IB-33 0 R2 dRuduRuR2(½)22½½2   R2  0 The change of variable was u = R2 – r2 leading to du = - 2 r dr. We found that the area of a hemispherical cap is half the area of a sphere of the same radius, not exactly news. The inverse cosine factor is one at the pole and it diverges as x2 + y2  R2.

 The standard approach for parameterized surface integrals is work directly with druvand dr . Start by parameterizing using surface in terms of u and v and use

1/4/2016 Handout Series.Tank: Integration Basics IB-34  ˆˆˆ  dr  dr ruv(,) xuvi (,) yuv (,) j  zuvk (,) to form dru  du du and drv  dv dv . It follows that  druv dr dAnˆ .  Tools for the Method of Partial Fractions: xx2 42 ABCAxx (5)(2)(2)(5)   BxxCxx   Sample Calc1:    . It xx(5)(2) x x x  5 x  2 xx (5)(2)  x follows that: xx2 42  Axx (5)(2)(2)(5)   BxxCxx  . The most direct method to evaluate the constants is to match the coefficients powers of x. x2: 1 = A + B + C x: 4 = 3 A + (-2) B + 5 C x0: - 2 = - 10 A Clearly, these equations could be solved to identify the constants.

The coefficients of any inverse first power factor can be identified more directly. As x  -5, the term with the coefficient B dominates.

xx2242 B  xx  42  Lim or Lim (5)x   B xx55xx( 5)( x 2) x 5  x(5)x  ( x 2)

xx2242  1  xx  42 3  xx 2  42 5 A Lim  ;; B Lim  C Lim  xx052(xx 5)( 2)  5  xx (  2) 35 x  xx (  5) 7

x2 42xABC Exercise: Verify that the coefficients listed above are the correct:   xx(5)(2) x x x 5 x 2

Sample Calc 2: This limit method is less effective with higher order factors in the denominator. Consider: x2  42xABxC  (5)(2)xx 2 x 5 x 2 The A coefficient can be found as before:

xx2 42 3 ALim2 x5 (2)49x  Alternately, the target equation must be valid for all x.

1/4/2016 Handout Series.Tank: Integration Basics IB-35 xx2 42 Axx (2)(2)(  BxCx )(5)  First set x = -5 to make the last factor zero.

(5)2 4(5)2ABCA (5 2)(52)((5) )(0) 3 49 This step reproduced a prior result. Next we set x = 0 to simplify B x + C. x2 4xAxx 2 ( 2)(  2) ( BxCx  )(  5) 2 A ( 2)( 2) 5 C

2512 CC   22 49 49 The final parameter B can be found by choosing yet another value of x; say: x = 1. xx2 42 Axx (2)(2)(  BxCx )(5) 

14 2A (BC  )(15)   B 1 3  A  C  6 46 B 1223 3  64949    49

Exercise: Give the equations that represent matching the coefficients of each power of x in:

2 3 22 46 xx42 Axx (2)(2)(  BxCx )(5) . Verify that A = /49; B = - /49; and C = /49 satisfy those relations. NOT CHECKED !!!!

Advanced Method of Partial Fractions: This section is just a placeholder for a promised development. Nonetheless, it does include material that suggests how one might proceed.

SECTION NOT READY; DO NOT READ!

Integrands with complicated denominators present special problems. Partial fraction is effective for th integrands that are rational functions r(x), the ratio of an m order polynomial numerator um(x) to a th n order polynomial denominator vn(x). The method may even apply when the polynomial in the numerator is multiplied by a more general function such as sin(x). The denominator should not be th more complicated than the n order polynomial form vn(x). For the procedure to work, the denominator should be a polynomial of order higher than that of the polynomial in the numerator. This limitation is not a serious one however. If m > n, divide the denominator into the numerator.

1/4/2016 Handout Series.Tank: Integration Basics IB-36 uxk () wxRxkn() n1 () vxn ()

The result is a polynomial plus a remainder term which is a polynomial of order n -1. The wk-n(x) term is easily integrated. The remainder term becomes a um(x) where m is less than the order of the denominator. The procedure can now be applied to the new um(x)/ vn(x) term.

It is assume that vn(x) factors in the form,

nn12 nN 22 vxnNM( ) ( xa12 ) ( xa  ) ...( xa  ) ( xb  1 ) ...( xb  ) .

N It follows that: nnM i 2 . Solve the equations necessary to place the integrand in the form: i1

ux()dx() dx () d () x BxC Bx C kN12... 11 ... MM nn12 nN 22 vxn ()()() xa11 xa () xa  1 () xb  1 ( xb M ) where the di(x) are polynomials of order ni -1. A forest of coefficients must be assigned labels and determined by extensive algebraic acrobatics. It is painful, but worth the effort if no other path to the goal (computing the integral) is available.

dx() ddd Equivalently, each factor i can be replaced by ii12... ini where ni 12ni ()xa i ()()()xaii xa xa 1 the dim are scalar constants.

A special, simpler case as an example:

nn12 nN vxnN( ) ( xa12 ) ( xa  ) ...( xa  )

ux()dx() dx () d () x kN12... nn12 nN vxn ()()() xa11 xa () xa  1

N dx12() dx () dxN () ni uxk ( )nn ...n ( xai ) 12 N i1 ()xa12 () xa () xa  1

NN N nnii n i uxkiiNi() dx12 () ( xa ) dx () ( xa ) ... d () x ( xa ) ii11 i  1 ii12 iN 

For each case in which nj = 1, set x = aj. All the terms vanish except for the one for dj(x).

1/4/2016 Handout Series.Tank: Integration Basics IB-37 N ni uakj() da jj ()( a j a i ) i1 ij

N ni In this case, dj is just the constant: duajkj() ( aa ji ). i1 ij Liebniz Rule: Consider an integral with an integrand and limits that depend on a parameter t. The Leibniz rule provides the derivative on the integral with respect to that parameter. Given

ht() It() f ( xtdx ,) theruleyieldsI .Below, we plot I(t) and I(t + t). The band between  gt() t

f g h the two integrands is t t . The lower and upper limits increase by t t and t t where the integrand has values f(g(t), t) and f(h(t) respectively.

When t increases by t the area under the curve increases by the top band on area and the right end band and ht() t ht () decreases by the I()()ttIt   fxttdxfxtdx (,)   (,) gt() t gt () left end band. ht() ( fgtdxfhtt)((),)((),)h  t fgtt  t  gt() ttt

1/4/2016 Handout Series.Tank: Integration Basics IB-38 Note that the small patches at that lie in the top band and either the left or right end band have areas of order (t)2. 

It follows that:

2 It()() t  Itht() fgO ()  t dxfhtt((),)h  fgtt ((),)  tt gt() ttt The final term vanishes in the limit t  0, we find Liebniz rule.

It() ht() f h g dxfhtt((),)  fgtt ((),)  t  gt() t tt

1/4/2016 Handout Series.Tank: Integration Basics IB-39 Tabular Method for Integration by Parts

http://pages.pacificcoast.net/~cazelais/187/tabular.pdf

Example 1: cos

Example 2:

https://www.youtube.com/watch?v=L2_JCyMfMzA

1/4/2016 Handout Series.Tank: Integration Basics IB-40

The General Method:

Step Derivative[ ] Integrated[ ]

0 f(x) X over and down G(x) = g(x)

1 f [1](x) - (X over and down) G[1](x) =  g(x) dx

2 f [2](x) X over and down G[2](x) =   g(x) dx dx

3 f [3](x) - (X over and down) G[3](x) =    g(x) dx dx dx

- …….. + C

Continue until f [n](x) = 0 or the form appears. In the later case, solve for (1 – constant) .

cos

Step Derivative[ ] Integrated[ ]

0 x2 X one over and one down cos(x)

1 2 x - (X one over and one down) sin(x)

2 2 X one over and one down - cos(x)

3 0 - (X one over and one down) - sin(x)

cos

1/4/2016 Handout Series.Tank: Integration Basics IB-41 ……..

Problems 1.) Compute the integral etdtt cos . Use integration by parts twice. Compute etdtkt cos  .

3.) Prepare a sketch similar to Figure IB.1 to represent I(t0), the integral of the function f(x, t0) from a(t0) to b(t0). Overlay a representation of the integral I(t0+t), the integral of the function f(x, t0+t) from a(t0+t) to b(t0+t). (The functions f(x,t), a(t) and b(t) are all assumed to be continuous and

bt()oo t bt () differentiable.) Compare to show that I(t0+t) - I(t0) f (,xt t ) dx f (, xt ) dx at() t00 at () oo

bt()  o f (,xt t )  fxt (, ) dxfxbbt  (,) (  t )  bt ( )  fxaat (,) (  t )  at ( ) at() 00 0000 o

dI It()()00 t  It Consider  Limit  and relate your results to Leibniz rule. dt t 0 t

 Rr cos sin d  1 ()()Rr Rr  4.) Evaluate (3/2) = 2rR2  ()()R rRrRr  for the two 0 Rr222cos rR   Rr   cases: r < R and r > R.

 /4 5.) Evaluate sec( )2 d . Try u = sec(). Do not abandon the choice easily. Answer: 2.  /4 Note that the choice for change of variable follows from our standard first guess, the argument of the most complicated function in the integrand. One might think that is , but that is where we started. That leaves (sec)2. The new variable sec is the argument of squared.

6.) Evaluate  sec( ) d . Hint: cos(2) = cos2 - sin2.

1/4/2016 Handout Series.Tank: Integration Basics IB-42 7.) Compute x dx . Answer: 21ln 2x  1  x332x  93 11x  x

8.) One can compute the L of a curve in the x-y plain if the curve is specified by:

b 2 dy 2 {(),()}forx sys a s b L dx  ds a ds ds

b dy 2 yx()for a x b L  1  dx a dx

b 2 x()foryayb L dx  1 dy a dy

1 3 -1 53 Compute the arc length L along the path x = /3 y + ¼ y for 1 < y < 3. Answer: ( /6).

9.) Compute: a.)  []sin(x ) 2 dx b.)  []sin(x )n cos(xdx ) c.)  []sin(x )4 [cos(xdx )]3

10.) The following sum is to be approximated by an integral.

m40 m 1  3 3  mdm  m m m10  How many terms are included in the sum? What is the change in the value of m from one term to the next term? Assign limits to the integral and estimate the sum. Prepare a sketch that motivates your choice of integration limits. (The sum is approximately 5.22 x 10-3.) Mathematica: N[Sum[m^(-3),{m,10,40}]] = 0.00522013.

11.) The following sum is to be approximated by an integral.

45 m 1  3 3  madm  m m m11  odd monly How many terms are included in the sum? What is the change in the value of m from one term to the next term? Assign limits to the integral and estimate the sum. Prepare a sketch that motivates your choice of integration limits.

1/4/2016 Handout Series.Tank: Integration Basics IB-43 Sum[m^(-3),{m,11,45,2}] = 0.00235747. One term is to be added to the sum each time m increases in value by two. ( a dm = 1 for dm = 2.) Using just dm would ‘add a term’ for each unit change in the value of m.

1 1 12.) Use trig substitutions to evaluate dx and dx . 0 1x2 0 1x

 13.) Compute the integral sech(x ) dx . Choose u = e-x. 

 14.) Evaluate exuduu cos( ) . Answer: 1 0 1x2

 15.) Use the answer for the previous problem as a basis to find ueu sin( xu ) du. 0

   16.) Compute ueu cos( xu ) du, ue2 u cos( xudu ) and ue3 u cos( xudu ) . 0 0 0

  17.) Compute ue1 u sin( xudu ) . What can be said about ue1 u cos( xudu ) ? 0 0

x xx2 dx 2 /a d  a 18.) IB.9: Hyperbolic Function Substitution:  22 2 xx1 1/a x xa a 1

22 x 22 axsinh( u ) a as 1  sinh()uu  cosh () and d (sinh () uu )  cosh () du 22 x 2 22 axtanh(u ) a as1  tanh( u )  sinh( u ) and d( tanh( u ))   sech( udu ) 22 x 2 2 x auuduuducosh(u ) a as cosh( )1  sinh( ) and( cosh( ))  sinh( ) Based on the templates, select a change of variable. The transformed limits become inverse hyperbolic functions of the original limits. Use the methods illustrated in sample calculation IB.9 to develop the form of that inverse function. Requires |x| > |a| throughout. x  22 2 dx x22xa  ln   assume x1 and x2 > |a| 22 22 x1 x axxa 11 

1/4/2016 Handout Series.Tank: Integration Basics IB-44 a 19.) Evaluate x22sin (kx ) dx . Use a mixed method approach beginning with trigonometric 0 identities.

20.) Evaluate: ln(x ) dx . Change of variable is our first choice. The argument of the most troubling function in the integrand is the standard first guess. Here, all we can choose is u = ln(x). What is du? What is x expressed as a function of u? Solve to find dx as the product of a function of u and du. Which technique is needed to complete the u integration? After completing the integration in terms of u, replace u by ln(x) everywhere to transform your result into standard form.

21.) Simple Change of variable Examples (due to Feynman): a.) [1 2tdt ]3 b.)  15 tdt

dx 22.) Compute . Use cos2(u) = 1 - sin2(u) and choose x = sin(u). Hence u = sin-1(x). What is  2 1 x du?

dx 23.) Compute . Use cosh2(u) = 1 + sinh2(u) and choose x = sinh(u). Hence u = sinh-1(x).  2 1 x

u -u 2 ½ What is du? Given that sinh(u) = ½ [ e – e ] = x, invert the relation to show that x = ln[x +(1+ x ) ]. Conclude that ln[x +(1 + x2)½] = sinh-1(x).

24.) Complete the Square plus ‘Trig’ Substitution. (Study the previous problem.)

 2  dx ln ax a ax bx c a.) Compute . Answer:    2 ax bx c a

 ax  ArcTan   dx bx c b.) Compute . Answer:    ax2  bx c abxc

1/4/2016 Handout Series.Tank: Integration Basics IB-45

25.) More substitution (change of variable). a.) ()abxdx n b.) sin(abxdx ) c.)  x edx()abx

2 dx dx d.) x edx()abx e.) f.)  1 x2  abx 2

nn1 12n1 n 26.) a.) Show that [cos(x )]dxnn [cos( x )] sin( x ) [cos( x )] dx + C. Hint: Integrate by

 /2 parts using du = cos(x) dx. What is v? b.) Use the result to compute [cos(x )]2 dx . c.) Use the 0

 /2  /2 result to compute [cos(x )]3 dx . d.) Compute [cos(x )]2 dx using cos2x = ½ [1 + cos(2x)]. 0 0

 /2 e.) Compute [cos(x )]3 dx using cos2x = 1 – sin2x. 0

 2  27.) Parameter Calculus: ( eax dx  ) is a standard integral, and its evaluation is presented in 0 2 a

 2 the definite integrals handout. Use the parameter calculus approach to compute xe2  x dx , 0

 2  2 xe4  x dx and xe2n  x dx where n is an integer. 0 0

 2  xe2n  x dx(2 n 1)!! where m!! = m (m -2) (m – 4) …. (ending with 2 or 1). 0  2n1 

28.) Parameter Calculus: Ia() du is a standard integral, and it can be evaluated using the  ()au 2 method of partial fractions. Ia() 1 11 du. 2 a  ()()au au a.) Evaluate I(a).

dI(a) d2I(a) b.) Compute /da and /da2. c.) Compute ddu and ddu2 . da  ()au 2 da2  ()au 2 d.) Evaluate each result for a = 1.

1/4/2016 Handout Series.Tank: Integration Basics IB-46 29.) Parameter Calculus: Ja() du is a standard integral, and it can be evaluated using the  ()au22 method of partial fractions. J()adu 1 11. 2a  ()()au au a.) Evaluate J(a).

dJ(a) d2J(a) b.) Compute /da and /da2. c.) Compute ddu and ddu2 . da  ()au22 da2  ()au22 d.) Evaluate each result for a = 1.

30.) Using Identities: J  du is a standard integral, and it can be evaluated using the method  (122u )

(1u ) of partial fractions. Jdu1111 ln . 22 (1uu ) (1 )   (1u )  x x a.) Suppose that u = tanh(x). That is: ee . Solve the expression for x(u) u  eex  x b.) Express J in terms of the arctanh(u).

31.) Considering the Schwarzschild metric in general relativity, the following integral arises when dr one computes the radial distance for a given change in radial coordinate: . Change of  2 1 r

2 variable is one of our most powerful methods. a.) Choose x 1 r and compute dx. b.) Compute the radial distance between r = 2 and r = 3 in the Schwarzschild metric.

3 dr r  . Hint: Study the two problems above this one.  2 2 1 r

Answer (not checked!):   323Log    r   

32.) Parameter Calculus: tsin( mtdt ) d cos( mtdt ) . Extend this to find expressions for: dm tmtdtk sin( ) for k even and for k odd.

1/4/2016 Handout Series.Tank: Integration Basics IB-47 k tmtdtcos( ) for k even and for k odd.

33.) a.) Integrate  xn sin[kx ] dx by parts once to yield an integral with a lower power of x. b.) Integrate  xn cos[kx ] dx by parts once to yield an integral with a lower power of x. c.) Use your results iteratively to compute  x4 sin[kx ] dx and  x3 sin[kx ] dx .

34.) Persevere. It is often the case that one must try and try again to evaluate an integral. I will guide you through an example. A.) Verify the evaluation below.

dx ln[3xx ] ln[ 7 92 7] I  + C not checked!  xx972  7

Step 1: Change variable to the argument of … . u = 9 x2 + 7. Step 2: Change again. wu Step 3: Partial fractions. Use the properties of ln[x].

dx ln[xx ] ln[7 7 92 7] b.) Show that this form is equivalent:I  + C  2 xx97 7

Note that we should use absolute values of the arguments of natural log. 35.) Persevere Two. It is often the case that one must try and try again to evaluate an integral. I will dx guide you through an example. A.) Evaluate: I  + C not checked!  2 xx97

Step 1: Change variable to the argument of … . u = 9 x2 - 7. Step 2: Change again. wu Step 3: Derivative of arctangent. b.) Compare with the answer to the previous problem. Show that tan[i x] = -tanh[x]. eexx  tanh[x ] u . Solve for x(u) to display the functional form of tanh-1[u]. eexx   There is a kinship between tangent and logarithm.

36.) Consider the function f(x) = 12 – 2 x2 and compute the Riemann lower sum for the integral:

1/4/2016 Handout Series.Tank: Integration Basics IB-48 2 f ()xdx when the interval is divided into n equal width strips. Take the limit n  . Use the 0

nn nnn(1) n nn (1)(2) n results: knk021;   ;  k  . kk11 k  126 k  1

nn n 02223 37.) Assume the forms: kankanbnkanbncn011222;;  . Evaluate the kk11 k  1 constants in each case. For example, evaluate the expression for  k2 for n = 1, 2 and 3. The three equations can be solved to yield {a2, b2, c2}.

dx dx 38.) a.) Evaluate: I  b.) Evaluate: I  1  22 2  22 x xa x xa

2 a 2 a2 x2 Log Log a2 a a2 x2 x x Log x a ; a a 

-1 x x -1 39.) Begin with sec (sec( /a)) = /a . Compute the derivative of sec (u). Use your results to deduce a dx more friendly expression for I  . 1  22 x xa

3 40.) Riemann Sum: Show that the upper Riemann sum for edxx using n equal width vertical 1

n 2 [1k (n )] 2 th strips can be represented as e ()n . a.) Show that the coordinate of the right edge of the k k1

2 2 n1 n()n 2 ()n 2  2 k ()n 1 e ()n e vertical strip is 1 + k ( /n). b.) Show that e  2 . c.) Show that Lim2  1.  ()n n ()n k0 1 e 1 e

n 2 [1k (n )] 2 You may use L’Hospital’s Rule. d.) Complete the evaluation of e ()n in the limit n  . k1

41.) Find the total area between the x axis and the curve yx  3 over the range 0  x  16.

2 Total: 12 /3.

1/4/2016 Handout Series.Tank: Integration Basics IB-49 9 2 42.) Evaluate the integral t 1dt directly and by adopting the change of variable u = t . (14.4) 1 t 43.) Consider the function 2 x2 + x – 6 and x2 – 4. a.) Find the values of x for which these two curves intersect. b.) Compute the area between the two curves for x between the two intersections. 9½

44.) Integration by Parts: One often needs to integrate by parts several times in order to reach the final answer. In these cases, one must take care to continue to integrate by parts in the same sense so that one does not just undo an earlier integration in a later step. Another strategy is demonstrated by the integration  x sin1 (xdx ) . A.) In the first step one must choose du = x and v = sin-1(x). Why? B.) In the next step one needs to reshuffle factors between the new u and v. Do so and complete the integration.

45.) Evaluate csc(x ) dx . Use sin(x) = 2 sin(½x) cos(½x) and partial fractions.

46.) Evaluate sec(x ) dx . Use u = sec(x) + tan(x); compute du. How is du related to u?

47.) a.) Evaluate sec3 (x ) dx . Use u = sec(x) and dv = sec2(x). Afterward, use a trig identity for sec2(x). Study your equation and the previous problem. b.) Use u = tan to transform the integral to the form  1 udu2 . Evaluate the integral. x dx 48.) Evaluate . Use integration by partial fractions. There will be a first order and a second  x3 1 order denominator. The second order part can be attacked using change of variable, but there will be

1/4/2016 Handout Series.Tank: Integration Basics IB-50 some change left over. The leftover can be attacked be completing the square. The result may be related to inverse tangent.

49.) Consider the region of the x-y plane bounded by x = 0; y = 2 and y = 2 sin(x). Compute the volume of revolution when this region is rotated about the y axis. a.) Show that an expression for that

2  /2 2 -1 y 2 dy volume is  x dy where xmax = sin ( /2). b.) Compute the volume as  x dx where y 0 max 0 dx

2 = 2 sin(x). c.) Compute the volume directly as  [sin12 (y )] dy . Clearly the change of variable 0 2

-1 y required is w = sin u (after the trivial change u = /2). Multiply and divide by each factor that needs to be present. d.) Compare the integrals in each case.

50.) Compute each of the integrals.

2  /2 2 3/2 2 a.) sin (x ) dx b.) sin (x ) dx c.) sin (x ) dx (not checked)  1cos() x 0 1cos() x  1cos() x convert to sin(x/2) and cos(x/2)

1 51.) a.) Show that dxsin ( )  1 . b.) Compute dx using the change of variable x = sin(u). dx 1x2  1x2

1 c.) Show that dxsec ( )  1 . d.) Compute dx using the change of variable x = sec(u). dx xx2 1  xx2 1

 51.) Parameter Calculus: A.) Compute etdteeedtstcos( ) as ½ st [ i t i t ] . Given that 00

 st s  etdtcos( )  . B.) Compute  of each side of this equation. C.) What is 0 s22 

  etst sin( tdt ) ? D.) What is etst 2 cos( tdt ) ? 0 0  

52.) dx Recommend that you consider algebraic as well as trig identities. tan(x) + sec(x)  1sin() x Method D1: Simple integration by parts 1 ln(x )dx x ln( x ) x x  dx x ln( x ) x Method D2: Simple change of variable

1/4/2016 Handout Series.Tank: Integration Basics IB-51 df df ln()x dx u11 du with x f []; u u f (), x du dx []dx dx xf 1() u

1 1 u ln(x )dxu[]x duuxduuedu  xf1 () u eu

ln(x )dx u euu e du  [ u e uu  e ]  x ln( x )  x  uxln( )

53.) Verify that sin121 (x )dx 1 x x sin ( x ) + c. Derive the relation directly by

integrating using the by parts method. sin()11x dx u dv , u sin(), x dv dx   54.) Evaluate  tan1 (x )dx x tan-1(x) - ½ ln|1 – x2| 55.) Evaluate ln(x )dx . 56.) Show that sech(x )dx tan1 [sech( x )] C .

xx321 57.) Evaluate the integral: . Possible answer: x + ln(x) – tan-1(x)  x3  x

n x nx x 58.) Use siin[k xn ] csc[22 ]s n[ ] sin[( 1) 2 ] to evaluate the right side Riemann sum k1 for the integral of sin[x] from 0 to  when the interval is divided into n equal width bins.

    csc[22n ]sin[ ] sin[(n  1) 2n ]. Use L’Hospital to evaluate the limit of ( /n) csc[ /2n] as n  infinity. NOT CHECKED

()Axdx dx 59.) Evaluate 3 and 3 .  222  222 BAx() BAx() 60.) Evaluate ??????? x tan-1(x) - ½ ln|1 – x2|

1/4/2016 Handout Series.Tank: Integration Basics IB-52 x 1 dx 61.) Show dx(1) x2 n1 and  (cos )22n d where  = tan-1(x).  (1)2(1)xn2 n (1)x2  n

x6 62.) Evaluate dx . It can be considered as a degenerate case of partial fractions.  (1)x2  Ax B Divide x2 + 1 into the numerator to yield a polynomial plus remainder. Polynomial dx  (1)x2 



sin(x ) 63.) Given 0 < x < ½ , compute the integral dt using the change of variable t = sin. 0 1t2 Repeat the evaluation choosing t = cos.

64.) Consider the integral tdt2 . Begin by integrating by parts. Next note that t2 1 t 2 1 . Stare  t2 1 t2 1

at the last identity for a while. = √1 . Find an explicit representation of eett  ArcSinh in terms of logarithms. [ Solve  u to find t(u)]. 2

 sin[x ]   (sin[x ])2  65.) It is given that dx  . Show that 2 dx  by considering 0 x 2 0 x 2

 sin[ x ] 2 I()  dx . 0 x

66.) Compute dx . Which trig identity is suggested by the argument of the square root? How  x22x 4 do you modify the expression to replace 4 by 1?

67.) Compute √14 . Try a hyperbolic function substitution. Use various identities to replace the squares of hyperbolic function by hyperbolics of twice the argument. Use identities such as cosh2(x) = 1 + 2 sinh2(x). Compare your result to the answer found using Wolfram Alpha. It can be presented in many forms! 2 √14 18 2

1/4/2016 Handout Series.Tank: Integration Basics IB-53

References: 1. K. F. Riley, M. P. Hobson and S. J. Bence, Mathematical Methods for Physics and Engineering, 2nd Ed., Cambridge, Cambridge UK (2002).

2. Donald A. McQuarrie, Mathematical Methods for Scientists and Engineers, University Science Books, Sausalito, CA (2003).

3. The Wolfram web site: mathworld.wolfram.com/

4. Jeffreys, H. and Jeffreys, B. S. "Integration: Riemann, Stieltjes." §1.10 in Methods of Marhematical Physics, 3rd ed., Cambridge, England: Cambridge University Press, pp. 26-36, 1988.

1/4/2016 Handout Series.Tank: Integration Basics IB-54