What is the difference between a function and a functional?

  • Context: Undergrad 
  • Thread starter Thread starter zhermes
  • Start date Start date
  • Tags Tags
    Function Functional
Click For Summary

Discussion Overview

The discussion centers around the distinction between a function and a functional, particularly in the context of calculus of variations and Hamilton's principle. Participants explore the definitions, implications, and examples of functionals, seeking clarity on their significance and how they differ from traditional functions.

Discussion Character

  • Exploratory
  • Technical explanation
  • Conceptual clarification
  • Debate/contested

Main Points Raised

  • Some participants describe a functional as a mapping from a vector space to a scalar, providing examples such as evaluating a function at a point or integrating the square of a function over an interval.
  • Others question why these mappings are not simply considered functions, suggesting that they could be expressed in terms of a function of two variables.
  • A participant emphasizes that a functional acts on a function rather than a scalar or vector, prompting further inquiry about how functionals relate to vector spaces and their underlying scalar fields.
  • It is noted that the nomenclature surrounding functions and functionals can be fluid, with some participants suggesting that functions can be viewed as vectors in an infinite-dimensional vector space.
  • One participant clarifies that any linear map from vectors to numbers can be termed a functional, while also noting that there are non-linear functionals.
  • Another participant points out that a functional is a specific type of function, with a particular focus on the domain and codomain being real or complex numbers.

Areas of Agreement / Disagreement

Participants express varying levels of understanding and agreement on the definitions and implications of functionals versus functions. Multiple competing views remain, particularly regarding the nature of functionals and their mathematical significance.

Contextual Notes

Some participants express uncertainty about the definitions and implications of functionals, indicating a need for clearer explanations and examples. The discussion also highlights the complexity of the topic and the potential for differing interpretations of terminology.

zhermes
Messages
1,253
Reaction score
3
My background is in physics, not pure mathematics, so please try to explain in ways that we lay-people could understand ;)
I'm brushing up on my calculus of variations--specifically Hamilton's principle--in which it is stated that the integrand is a 'functional,' not a 'function.' I've read that a 'functional' is a mapping from a vector space to a scalar, e.g. from a vector space to its underlying field--but I don't quite understand the significance of this. If someone could elaborate on the explanation, or provide a physically-motivated example, that would be very helpful!
 
Physics news on Phys.org
Suppose f is a function on R (like f(x)=sin(x)). Fix a point a.
the assign to each function f its value f(a) at a. The map

f\mapsto f(a)

assigns to each function a number - its value at the point a. It is an example of a functional. Another example. Chose two points a,b. Assign to each function f the number

\int_a^b f(x)^2\, dx

You have another example of a functional.
The first example is a linear functional. The second example (because of the square) is a non-linear functional.
 
arkajad said:
f\mapsto f(a)
\int_a^b f(x)^2\, dx
Thank you for your reply!
But, I still don't understand what's special about these equations (for example); why aren't they just functions?
i.e. some function g(a,b) s.t.
<br /> g(a,b) \equiv \int_a^b f(x)^2\, dx<br />
You're plugging in some 'a' and 'b', and getting a result 'g'... no?
 
No, that is not the point. The correct notation should be:

F_{a,b}(f)=\int_a^b f(x)^2\,dx

Here F_{a,b} is the functional. Its value on the function f is the calculated number. You change the function f - the number changes. The function f is the variable here. It varies in the space of all functions producing a different (in general) number for each function.
You should imagine the space of all functions - it is infinite dimensional, and draw a surface over this space.

P.S. I was not perfectly mathematically precise. I am trying to give you an idea.
 
arkajad said:
The function f is the variable here.
So the key is that the 'functional' is acting on a function, instead of a vector or scalar?
If so, how does a functional map from (e.g.) a vector space to its underlying scalar field?
 
The nomenclature is fluid, but the key idea is that the function's argument is not a real/complex number.
 
zhermes said:
If so, how does a functional map from (e.g.) a vector space to its underlying scalar field?

Indeed, as noticed above, the nomenclature is fluid. The main thing here is that you can add two functions f and g to make a new function, and you can multiply a function f by a constant number (scalar) c to get another function. Thus, with these operations, functions (on a given domain) form a vector space. Think of a function as a "vector" in an infinite dimensional vector space. Then a functional assigns a number to each vector in this space.

But, in general, apart of variational calculus, any linear map from vectors to numbers is called a "functional", a "linear functional". Assign to each vector its length - you have an example of a non-linear functional.
 
Hmm, I see. Thanks! this has been very insightful.
 
Mathematically speaking, a functional is a special kind of function. A function in the general sense is just something that assigns to every element of some set A a unique element of some set B. But this is not what your text means. For them, I guess a function must have domain and codomain R or C.
 

Similar threads

  • · Replies 25 ·
Replies
25
Views
4K
  • · Replies 17 ·
Replies
17
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 22 ·
Replies
22
Views
4K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K