]> Definitions and Basics

Math Animated™
Mathematical Introduction for Physics and Engineering
by Samuel Dagan (Copyright © 2007-2020)

Chapter 2: Integration; Section 1: Indefinite Integrals; page 1

Home | Table of Contents | A-Z Index | Help

Previous topic: chapter 1 Differentiation, section 3 Derivatives, page 5 Taylor series

Next topic: page 2 Methods


Definitions and Basics

Differential

In the previous chapter (Derivatives, Definition and Rules) we introduced the notation   df dx   for the derivative of the function   f( x )   with respect to  x . This notation was obtained from the limit of the two increments' ratio:   lim Δx0 Δf Δx  . Since this notation originates from the limit of two numeric entities, it behaves similarly to the ratio of two numbers. As an example the derivative of an inverse function can be expressed by the derivative of the function as known from (1.3.1.10):

dy dx = 1 dx dy where{ y=invf( x ) x=f( y ) }    

Although the notations  df  and  dx  do not have any quantitative meaning, they are called the differentials of  f  and of  x  accordingly. We consider them as abstract entities which have quantitative meaning in paricular circumstances as in the case of a ratio of two differentials. The notation and use of differentials is very helpful if the rules of differentiation are obeyed.

Below is a list of the rules, that can be easily verified by dividing the differentials by  dx  ( x  being the independent variable of the functions).

df= df dx dx (2.1.1.1)

As can be seen from the following examples:

d( sinx )=cosxdx d( coshx )=sinhxdx } (2.1.1.2)

The known chain rule for differentiation of a function of another function (1.3.1.11)

dy dx = df du     du dx where{ y=f( u ) u=u( x ) }    

becomes here:

ify=f[ u( x ) ]then dy=df= df du du= df du du dx dx } (2.1.1.3)

in agreement with (2.1.1.1).

If   u( x )   and   v( x )   are functions of  x , then the following rules apply:

d( u+v )=du+dv d( uv )=vdu+udv d( u v )= vduudv v 2 } (2.1.1.4)

Indefinite integral

One can look at the letter  d  from a differential of a variable as a kind of operator applied to the variable. By the same token one can define an inverse operator that cancels this operator, which will be called integral and denoted by    :

I( x )= dI = dI dx dx (2.1.1.5)

where (2.1.1.1) was used.

From (2.1.1.5) if the derivative of  I  is called  f  one obtains

{ f( x )= dI dx I( x )= fdx } (2.1.1.6)

The function  I(x)  from (2.1.1.6) is called the indefinite integral of  fdx  and its meaning is that its derivative is the function  f(x) . In other words the integration is the operation opposite to the differentiation. One should notice that the notations used for differentials and integrals stress the physical dimensions of the expressions.

As we know, if  f(x)  is the derivative of the function  I(x) , then  f(x)  will remain unchanged if a constant is added to  I(x) . This is the reason for the adjective "indefinite".

In order to clarify this point let's look at (2.1.1.2). If we apply the integral operator we obtain:

cosxdx= d( sinx )= sinx+C sinhxdx= d( coshx )= coshx+C } which      means      that: d dx ( sinx+C )=cosx d dx ( coshx+C )=sinhx } } (2.1.1.7)

and  C  is an arbitrary additive constant. We use the notation  C , for any additive constant obtained from an indefinite integral.

Elementary rules

In the previous chapter we saw that there are clear rules for differentiation. The rules for integration consist mostly of methods for converting an integral to a familiar form which we know how to deal with. Even so, there are cases that cannot be solved analytically, and one has to use numerical evaluations.

Tip. Since the differentiation has clear and sound rules, it is a very good custom to check the integrals you've calculated by taking their first derivatives.

We will list only the obvious rules, and the known integrals. The methods mentioned earlier will be studied in the next section.

From basic principles (2.1.1.6) one obtains the following rules for integration:

cf( x )dx=c f( x )dx( wherec=constant ) (2.1.1.8)

[ f 1 ( x )+ f 2 ( x ) ] dx= f 1 ( x ) dx+ f 2 ( x ) dx (2.1.1.9)

A power series can be integrated term by term within the interval of absolute convergence without affecting the convergence. Since the integration is opposite to the differentiation and this statement is correct for differentiation, it should hold also for integration. The only difference is the additional arbitrary constant that could not affect the convergence.

The integral of the power function  xp  could be obtained from the differential

d( x p+1 )=( p+1 ) x p dx    

which yields:

x p dx = x p+1 p+1 +C (2.1.1.10)

Obviously (2.1.1.10) does not include the case  p=−1 . Since

d dx ( ln| x | )={ d dx ( lnx )= 1 x = x 1 forx>0 d dx ( ln( x ) )= 1 x = x 1 forx<0 } (2.1.1.11)

one obtains the general case:

dx x =ln| x |+C (2.1.1.12)

The behaviour of  ln|x|  is illustrated at Fig. ln|x|.

The notation of the  dx  under the integral (e.g. (2.1.1.6)) is very important not only for the physical dimensions, but it also shows what the variable of the function is. This is important in particular when the integrand (the function to be integrated) can be integrated with respect to different variables. A word of caution: New students often make the mistake of omitting the differential, which leaves the integral entirely senseless.

This point is emphasized in an example from mechanics. A point with mass  m  moves along the  x  axis, its velocity is defined by   v= dx dt  , its acceleration is   a= dv dt   and  t  is the time. The same function will be integrated, once with respect to  t  and once with respect to  x :

m adt= m dv dt dt= m dv=mv+C ( momentum ) m adx= m dv dt dx= m vdv =m v 2 2 +C ( energy ) } (2.1.1.13)

For those who still struggle with the notation of differentials, the second row of (2.1.1.13) might look a bit odd. An easier way to understanding it is:

dv dt dx= dv dt dx dt dt= dx dt dv dt dt=v dv dt dt=vdv    

The following list of known integrals is obtained by inverting the differentiation of the elementary functions from the previous chapter, section 3.

From the derivatives of the trigonometric functions (1.3.3.5) one obtains:

{ cosxdx =sinx+C sinxdx =cosx+C ( 1+ tan 2 x ) dx= dx cos 2 x =tanx+C ( 1+ cot 2 x ) dx= dx sin 2 x =cotx+C } (2.1.1.14)

From the derivatives of the inverse-trigonometric functions (1.3.3.7) one obtains:

{ dx 1 x 2 =( or ) { ±asinx+C acosx+C dx 1+ x 2 =( or ) { +atanx+C acotx+C } (2.1.1.15)

As already known from the previous chapter, the possibility of two signs of  asin  and  acos  depend on the branch of the functions used. In this case the branches of increasing functions should be used with the positive sign and - decreasing with the negative sign.

From the derivative of  lnx  we already obtained (2.1.1.12) above, and from the derivative of  expx  we have:

expx dx=expx+C (2.1.1.16)

From the derivatives of the hyperbolic functions (1.3.3.14) one obtains:

{ coshxdx =sinhx+C sinhxdx =coshx+C dx cosh 2 x = ( 1 tanh 2 x )dx=tanhx+C dx sinh 2 x = ( coth 2 x1 )dx=cothx+C } (2.1.1.17)

From the derivatives of the inverse hyperbolic functions (1.3.3.15) one obtains:

{ dx 1+ x 2 =asinhx+C dx x 2 1 =acoshx+C dx 1 x 2 =atanhx+C( | x |<1 ) dx 1 x 2 =acothx+C( | x |>1 ) } (2.1.1.18)

The two possible signs of  acosh  depend on the branch of  acosh  that is used, as known from the previous chapter.

Parity

We saw in the previous chapter that the differentiation inverts the parity of a function. Since the integration is a process in the opposite direction we could in principle expect a similar conclusion. Can we? The derivative is defined uniquely, but not the integral. Does the addition of a constant to a function change its parity? NO for an even function, but YES for an odd one, in which case the parity property could be lost (Do not forget that a constant is an even function). Conclusion: if the function to be integrated is odd, then the integral is even, but in the case of an even function the obtained integral could be odd or without a defined parity.

Examples

In (2.1.1.7)  sinx + C  is odd for  C = 0  but without defined parity otherwise.
In (2.1.1.7)  coshx + C  is even for any  C.
In (2.1.1.10) the integral is even if the power  p = odd.
In (2.1.1.10) if the power is even, the integral is odd (for C = 0) or without parity otherwise.

Exercises

Note: The additive constants are essential for the solution of integrals!


Exercise 1. Use (2.1.1.10) and D'Alambert's test to prove that:

A power series can be integrated term by term within the interval of absolute convergence, without affecting the convergence in the following cases of power series:
  1. n=0 b n x n
     
  2. n=0 b n x 2n+1

Exercise 2. The Gaussian function

f( x )=exp( x 2 2 )    

is well known in statistics and is extensively used in science for error calculations. Its integral is of great importance, but unfortunately it cannot be expressed in terms of the elementary functions. One way to deal with it is to use power series.

  1. Express the Gaussian in power series (Maclaurin)!
  2. Integrate the Gaussian I( x )= fdx !
  3. What is necessary for I(x) to be a function with defined parity and what is the parity?
  4. For I(x) write a general expression of the n-th derivative at x=0 !

Exercise 3. Calculate the following integrals:

  1. tan 2 xdx
     
  2. dx tan 2 x
     
  3. dx 1 x 4
    Hint for the last case: ( 1 x 4 )=( 1+ x 2 )( 1 x 2 )

Exercise 4. According to Newton's mechanics for one dimension along the x axis, a point with mass m has an acceleration a: a= F m whereF=force a= dv dt where{ v= dx dt =velocity t=time

In this particular case the force is: F=Csin( ωt ) where C and ω are known constants.

  1. The following rule is necessary for the solution of the exercise: If f( x ) dx=I( x ) then f( bx )dx= I( bx ) b where b is a constant. Prove it!
  2. Obtain the velocity as a function of the time!
  3. Obtain the position x as a function of the time!
  4. In the expression of x as a function of time that you found, prove that all the terms have the correct physical dimensions!

Previous topic: chapter 1 Differentiation, section 3 Derivatives, page 5 Taylor series

Next topic: page 2 Methods

Home | Table of Contents | A-Z Index | Help