matematicas visuales visual math
Integral of Affine Functions


Given a function and two real values, a and b (these two numbers are called limits of integration), we write the definite integral as

Polynomials and integral | matematicasVisuales

The intuitive meaning is the area bounded between the x-axis, the graph of the function and the vertical lines x = a and x = b. In some cases that area is considered positive and in other cases is negative. We are going to see some examples later.

Definite integral
The integral concept is associate to the concept of area. We began considering the area limited by the graph of a function and the x-axis between two vertical lines.
Indefinite integral
If we consider the lower limit of integration a as fixed and if we can calculate the integral for different values of the upper limit of integration b then we can define a new function: an indefinite integral of f.

The objective of this page is to play with these ideas in the simplest case of linear functions. A linear function is a polynomial of degree equal or less than 1 and its graph is a straight line.

We can start with constant functions (horizontal lines). We can consider constant functions as polynomial functions of degree 0.

In this case the area is above the x-axis, then the area (the integral) is positive.

Polynomials and integral: positive area | matematicasVisuales

In this case the area is below the x-axis, then the area (the integral) is negative.

Polynomials and integral: negative area | matematicasVisuales

The integral of a constant function (a polynomial of degree 0) is a straight line, it is to say, a polynomial of degree 1. (The constant function f(x) = 0 is an exception).

If we change the constant function you can see that the integral changes. But the only thing that change is the slope of the line.

If we change the "lower" limit of integration (blue pale dot) we can see how the straight line is going up and down.

Polynomials and integral: changing the lower limit of integration | matematicasVisuales

When we consider a general linear function it is still very easy to calculate the integral function. In these cases we can see that some areas are positive and some areas are negative:

Polynomials and integral: integrating a linear function, positive and negative areas | matematicasVisuales

We say that quadratic functions are integrable functions because we can calculate an indefinite integral of a parabola.

The integral function of a linear function (a polynomial of degree 1) is a parabola (a polynomial of degree 2).

Polynomials and integral: the integral function of a linear function is a polynomial of degree 2  | matematicasVisuales

If we change the lower limit of integration, the integral function (the parabola) goes up and down. (Why?)

Changing we lower limit of integration we get different integral functions but they are all the same up to a constant (vertical translation).

Polynomials and integral:  If we change the lower limit of integration, the integral function (the parabola) goes up and down | matematicasVisuales

The integral function of a constant function (a polynomial of degree 0) is a polynomial of degree 1. The integral function of a polynomial of degree 1 is a polynomial of degree 2. When we integrate these functions the result is a polynomial of degree one more than the original function.

Remember that when we derive a linear function the result is one less than the original function.

These results are related to the Fundamental Theorem of Calculus.

Now we are going to study the average value of a function in this simple case of linear functions.

The average value of a function f(x) over the interval [a,b] is given by

Linear Functions: average value of a function | matematicasVisuales

The idea is that the area under the function (positive or negative) ...

Linear functions: average value of a function | matematicasVisuales

... is the same as the area of a rectangle whose height is the average value.

Linear functions: average value of a function | matematicasVisuales

As Linear Function are continuous, they are special cases of the Mean Value Theorem for integrals: If f(x) is a continuous function over the interval [a,b] then there is a number c in [a,b] such that

Linear Functions: average value of a function | matematicasVisuales
Linear functions: average value of a function | matematicasVisuales

REFERENCES

Michael Spivak, Calculus, Third Edition, Publish-or-Perish, Inc.
Tom M. Apostol, Calculus, Second Edition, John Willey and Sons, Inc.

MORE LINKS

Polynomial functions and integral (3): Lagrange polynomials (General polynomial functions)
We can see some basic concepts about integration applied to a general polynomial function. Integral functions of polynomial functions are polynomial functions with one degree more than the original function.
Piecewise Linear Functions. Only one piece
As an introduction to Piecewise Linear Functions we study linear functions restricted to an open interval: their graphs are like segments.
Piecewise Constant Functions
A piecewise function is a function that is defined by several subfunctions. If each piece is a constant function then the piecewise function is called Piecewise constant function or Step function.
Continuous Piecewise Linear Functions
A continuous piecewise linear function is defined by several segments or rays connected, without jumps between them.
The Fundamental Theorem of Calculus (1)
The Fundamental Theorem of Calculus tell us that every continuous function has an antiderivative and shows how to construct one using the integral.
The Fundamental Theorem of Calculus (2)
The Second Fundamental Theorem of Calculus is a powerful tool for evaluating definite integral (if we know an antiderivative of the function).
Definite integral
The integral concept is associate to the concept of area. We began considering the area limited by the graph of a function and the x-axis between two vertical lines.
Monotonic functions are integrable
Monotonic functions in a closed interval are integrable. In these cases we can bound the error we make when approximating the integral using rectangles.
Indefinite integral
If we consider the lower limit of integration a as fixed and if we can calculate the integral for different values of the upper limit of integration b then we can define a new function: an indefinite integral of f.
Integral of powers with natural exponent
The integral of power functions was know by Cavalieri from n=1 to n=9. Fermat was able to solve this problem using geometric progressions.
Polynomial functions and derivative (1): Linear functions
The derivative of a lineal function is a constant function.
Polynomial functions and derivative (2): Quadratic functions
The derivative of a quadratic function is a linear function, it is to say, a straight line.
Polynomial functions and derivative (3): Cubic functions
The derivative of a cubic function is a quadratic function, a parabola.
Polynomial functions and derivative (4): Lagrange polynomials (General polynomial functions)
Lagrange polynomials are polynomials that pases through n given points. We use Lagrange polynomials to explore a general polynomial function and its derivative.
Polynomial functions and derivative (5): Antidifferentiation
If the derivative of F(x) is f(x), then we say that an indefinite integral of f(x) with respect to x is F(x). We also say that F is an antiderivative or a primitive function of f.
Polynomial Functions (1): Linear functions
Two points determine a stright line. As a function we call it a linear function. We can see the slope of a line and how we can get the equation of a line through two points. We study also the x-intercept and the y-intercept of a linear equation.
Powers with natural exponents (and positive rational exponents)
Power with natural exponents are simple and important functions. Their inverse functions are power with rational exponents (a radical or a nth root)
Polynomial Functions (2): Quadratic functions
Polynomials of degree 2 are quadratic functions. Their graphs are parabolas. To find the x-intercepts we have to solve a quadratic equation. The vertex of a parabola is a maximum of minimum of the function.
Polynomial Functions (3): Cubic functions
Polynomials of degree 3 are cubic functions. A real cubic function always crosses the x-axis at least once.
Polynomial Functions (4): Lagrange interpolating polynomial
We can consider the polynomial function that passes through a series of points of the plane. This is an interpolation problem that is solved here using the Lagrange interpolating polynomial.
Archimedes' Method to calculate the area of a parabolic segment
Archimedes show us in 'The Method' how to use the lever law to discover the area of a parabolic segment.
Archimedes and the area of an ellipse: an intuitive approach
In his book 'On Conoids and Spheroids', Archimedes calculated the area of an ellipse. We can see an intuitive approach to Archimedes' ideas.
Archimedes and the area of an ellipse: Demonstration
In his book 'On Conoids and Spheroids', Archimedes calculated the area of an ellipse. It si a good example of a rigorous proof using a double reductio ad absurdum.
Kepler: The Area of a Circle
Kepler used an intuitive infinitesimal approach to calculate the area of a circle.
Kepler: The volume of a wine barrel
Kepler was one mathematician who contributed to the origin of integral calculus. He used infinitesimal techniques for calculating areas and volumes.
Kepler: The best proportions for a wine barrel
Studying the volume of a barrel, Kepler solved a problem about maxima in 1615.
Cavalieri: The volume of a sphere
Using Cavalieri's Principle we can calculate the volume of a sphere.