You are here

Calculus: Integrals (Part 4 of 5)

This series is aimed at providing tools for an electrical engineer to analyze data and solve problems in design. The focus is on applying calculus to equations or physical systems.

This article will cover integrals.

There are many calculus references, the one I like to use is Calculus by Larson, Edwards and Hostetler.

This also assumes you are familiar with Python or can stumble your way through it.

Boundary Condition: a spatial boundary constraint.

Initial Condition: a time boundary constraint.

Definition of an Integral
The integral of f on the closed interval [a,b] is given by
limΔ->0 Σni=1 f(ci) Δxi = ∫ab f(x)dx = F(b)-F(a).

Therefore integrability implies continuity. But continuity does not imply integrability.

Properties of Integrals

General Form ∫ u dx
Constant ∫ c dx = cx + C
Sum/Difference ∫ [u +/- v] dx = ∫ u dx +/- ∫v dx + C
Chain ∫ f(u) du = F(u) + C
General Power ∫ un du = un+1 / (n+1) + C
By Parts ∫(u dv) = uv - ∫(v du) + C
Vector For r(t) = f(t)i + g(t)j + h(t)k, then ∫ r(t) = [∫ f(t) dt] i + [∫ g(t) dt] j + [∫ h(t) dt] k
Series For f(x)=Σn=0 an(x-c)n, ∫ f(x)dx = C + Σn=0 an[1/(n+1)](x-c)n+1

Where u and v are a functions, c and n are constants.

Integral Table

Average Value of a Function
The average value of a function is given by the following formula:

[1/(b-a)] ∫ab f(x)dx

Initial Conditions

  1. Integrate the function
  2. Substitute initial condition and solve for C.
  3. If integrating again return to first step and repeat until finish.

An example of this is integrating the acceleration constant to determine velocity. You can substitute known initial position values to calculate the constants. Integrate again to get the position function. Then you have specific solutions for your problem.

Multiple Integration
The rules for integrating more than once are identical to a single integral, you just have to observe two things:

  1. The order of operation is inside out. The innermost integral corresponds to the innermost integration variable (e.g. dx, dy or dz). You must have the same number of integrals and integration variables.
  2. Each integration is partial. That is you hold all other variables as constants when integrating.

Surface Area: In the Plane
For a in a plane (flat surface) and bound on four sides by equations f(x), g(x), m(x) and n(x), the area is given by:

A = ∫f(x)g(x)n(x)m(x) dy dx

Surface Area: Multiple Integrals
If f(x,y) and its first partial derivatives are continuous on the closed region R, then the area of the surface S over R is:

S = ∫S ∫ f(x,y,z) dS = ∫R ∫ f(x,y,g(x,y)) dS

dS = sqrt[1+ fx(x,y)2+fy(x,y)2] dA

If r(u,v) = x(u,v)i + y(u,v)j + z(u,v)k and D be a region in (u,v), then the surface area surface S:

S = ∫S∫ f(x,y,z) dS = ∫D∫ f( x(u,v), y(u,v), z(u,v) ) dS

dS = abs(ru cross rv) dA

ru = dx/du (partial derivative)
rv = dy/du (partial derivative)

If r(u,v) = xi + yj + f(x,y)k you will derive the same equation as above.

If r(u,v) = ui + f(u)*cos vj + f(u)*sin vk you will derive the same equation as surface of revolution.

S = ∫SF ⋅ N dS = F ⋅ (ru cross rv) dA = ∫R∫ F ⋅ [-gx(x,y)i-gy(x,y)j + k]dA

Surface Area: Surface of Revolution
If a smooth curve C given by y=f(x), then the area S of the surface is given by

S = 2π∫baf(x) sqrt(1+(f'(x))2) dx (revolved by x axis)

And for x=g(y)
S = 2π∫bag(y) sqrt(1+(g'(y))2) dy (revolved by y axis)

Volume: Disc Method
Find the volume of a function rotated about an axis and perpendicular to the axis of revolution.

Horizontal Axis of Revolution
V = π ∫ba f(x)2dx

Vertical Axis of Revolution
V = π ∫dc f(y)2dy

Volume: Shell Method
Find the volume of a function rotated about an axis and parallel to the axis of revolution.

Horizontal Axis of Revolution
V = 2π∫ba p(y)h(y)dy

Vertical Axis of Revolution
V = 2π∫dc p(x)h(x)dx

Volume: Multiple Integrals
If f is defined on a closed, bounded region R, then the double integral of f over R is:

R ∫ f(x,y) dA, where dA=dx dy.

If f(x,y,z) is continuous over a bounded solid region Q, then the triple integral of f over Q is:

∫ ∫Q ∫ f(x,y,z) dV, where dV=dx dy dz.

Length: Arc Length
Let the function given by y=f(x) be a continuous function on interval [a,b]. The arc length s of f between a and b is:

s = ∫dc sqrt[1+f'(x)2]dx

For a vector valued function r(t)
s = ∫ba sqrt[x'(t)2+y'(t)2+z'(t)2] dt = ∫ba abs(r'(t)) dt

For a linear (straight line through origin) this function reduces to the standard m=(y2-y1)/(x2-x1) function.

Length: Line Integral
This is for weighted functions. Evaluating the line integral for an unweighted function (f(x,y,z)=1) gives you the arc length above.

Let f be continuous in a region containing a smooth curve C. If C is given by r(t) = x(t)i + y(t)j + z(t)k then

s = ∫C f(x,y,z) ds = ∫ba f(x(t), y(t), z(t)) ds

where ds = abs(r'(t)) dt = sqrt[x'(t)2+y'(t)2+z'(t)2] dt

CF ⋅ dr = ∫CF ⋅ T ds = ∫baF(x(t), y(t), z(t)) ⋅ r'(t) dt

C 1 ds = ∫ba abs(r'(t)) dt

Special Relationships
Fundamental Theorem of Line Integrals
If F(x,y)=Mi+Nj then

CF ⋅ dr = ∫C ∇f ⋅ dr = f(x(b),y(b)) - f(x(a),y(a))

where f is a potential function of F. In other words for conservative functions the line integral is simply the difference between the potential function of the endpoints and is INDEPENDENT OF PATH.

Divergence Theorem
Let Q be a solid region bounded by a closed surface S oriented by a unit normal vector directed outward from Q. If F is a vector field whose component functions have continuous partial derivatives in Q then

SF ⋅ N dS = ∫∫Q∫ div F dV

Both integrals describe total flux. The one on the left evaluates flux across the surface and the one on the right describes flux through the volume. N is the unit normal vector.

Stokes's Theorem
Let S be an oriented surface with unit normal vector N, bounded by a piecewise smooth simple closed curve C. If F is a vector field whose component functions have continuous partial derivatives on an open region containing S and C then

CF ⋅ dr = ∫S(curl F) ⋅ N dS

This theorem calculates the circulation of the equation about a point.

CF ⋅ dr f(x)dx = ∫C ∇f ⋅ dr = f(x(b),y(b))-f(x(a),y(a)) where F(x,y) = ∇ f(x,y)

Relationship between derivatives and integrals

  1. Derivatives look at the tangent line and is concerned with the relationship of dy/dx (division); while the Integral looks at the area and is concerned with the relationship of dy*dx (multiplication). (As a matter of fact, for a straight line the derivative and integral reduce to division and multiplication, respectively.)
    1. ab f(x)dx = F(b)-F(a)
    2. (d/dx) ∫xa [f(t)dt] = f(x)
  2. The integral is the antiderivative of a function. One operation is the inverse of the other.
  3. If your function is conservative then the integral of the line is path independent. The line integral of a closed curve is always zero.

Next Up
Differential Equations

Add new comment

Filtered HTML

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <table> <tr> <td> <ul> <ol> <li> <dl> <dt> <pre> <dd> <img> <sub> <sup>
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
8 + 4 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.