What is the difference between a function and a functional?

In summary: So a functional is a function that assigns to every vector in a space its length in that vector space, or its inverse length in the opposite space. 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. A functional is a function that assigns to every vector in a space its length in that vector space, or its inverse length in the opposite space.
  • #1
zhermes
1,255
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
  • #2
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

[tex]f\mapsto f(a)[/tex]

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

[tex]\int_a^b f(x)^2\, dx[/tex]

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.
 
  • #3
arkajad said:
[tex]f\mapsto f(a)[/tex]
[tex]\int_a^b f(x)^2\, dx[/tex]
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.
[tex]
g(a,b) \equiv \int_a^b f(x)^2\, dx
[/tex]
You're plugging in some 'a' and 'b', and getting a result 'g'... no?
 
  • #4
No, that is not the point. The correct notation should be:

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

Here [tex]F_{a,b}[/tex] 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.
 
  • #5
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?
 
  • #6
The nomenclature is fluid, but the key idea is that the function's argument is not a real/complex number.
 
  • #7
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.
 
  • #8
Hmm, I see. Thanks! this has been very insightful.
 
  • #9
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.
 

FAQ: What is the difference between a function and a functional?

What is the difference between function and functional?

Function and functional are two terms that are often used interchangeably but have distinct meanings in the scientific world. A function refers to a specific action or purpose of a system or organ, while functional refers to the ability of that system or organ to perform its intended function.

What is an example of a function?

An example of a function is the digestive system in the human body. Its function is to break down food and absorb nutrients for energy and growth.

What is an example of being functional?

An example of being functional is if an individual's digestive system is able to properly break down food and absorb nutrients, thus allowing them to maintain good health and perform daily activities without issues.

Can something have a function but not be functional?

Yes, something can have a function but not be functional. For example, a damaged or malfunctioning organ may still have its intended function, but it is not able to perform that function effectively.

Can something be functional but not have a specific function?

No, something cannot be functional without having a specific function. The two terms are interconnected and dependent on each other. If something is functional, it means that it is capable of performing its specific function.

Similar threads

Replies
5
Views
1K
Replies
10
Views
1K
Replies
22
Views
3K
Replies
9
Views
2K
Replies
1
Views
1K
Replies
11
Views
973
Replies
13
Views
2K
Back
Top