# Continuum mechanics/Functions

-- Back to Nonlinear finite elements --

There are certain terms involving relationships between functions that you will often encounter in papers dealing with finite elements and continuum mechanics. We list some of the basic terms that you will see. More details can be found in books on advanced calculus and functional analysis.

## Functions

Let ${\displaystyle A}$ and ${\displaystyle B}$ be two sets. A function is a rule that assigns to each ${\displaystyle a\in A}$ an element of ${\displaystyle B}$. A function is usually denoted by

${\displaystyle f:A\rightarrow B~~~~(f~{\text{takes}}~A~{\text{to}}~B)~.}$

Sometimes, one also writes

${\displaystyle a\mapsto f(a)~~~~(a~{\text{is mapped to the element}}~f(a))~.}$

For example, if the function is ${\displaystyle f(x)=x^{2}}$, then we may write ${\displaystyle x\mapsto x^{2}}$.

## Domain and Range

For a function ${\displaystyle f:A\rightarrow B}$, the set ${\displaystyle A}$ is called the domain of ${\displaystyle f}$. See Figure 1.

 Figure 1. Domain and range of a function.

The range of ${\displaystyle f}$ is the set

${\displaystyle R(A)=\{f(x)\in B~|~x\in A\}}$

Therefore, ${\displaystyle R(A)\subset B}$.

## One-to-one mapping (injection)

A function ${\displaystyle f:A\rightarrow B}$ is called one-to-one (or an injection) if no two distinct elements of ${\displaystyle A}$ are mapped to the same element of ${\displaystyle B}$.

## Onto mapping (surjection)

A function ${\displaystyle f:A\rightarrow B}$ is called onto if for every ${\displaystyle b\in B}$ there is an ${\displaystyle a\in A}$ such that ${\displaystyle f(a)=b}$.

If that case, ${\displaystyle R(A)=B}$.

## One-to-one and onto mapping (bijection)

When a mapping is both one-to-one and onto it is called a bijection. For example, if ${\displaystyle f:A\rightarrow B}$ and ${\displaystyle f(x)=x^{2}}$ with

${\displaystyle A=\{x\in \mathbb {R} ^{}~|~x\geq 0\}~;~~B=\{x\in \mathbb {R} ^{}~|~x\geq 0\}}$

the map is one-to-one and onto.

On the other hand if

${\displaystyle A=\{x\in \mathbb {R} ^{}~|~x\geq 0\}~;~~B=\{x\in \mathbb {R} ^{}\}}$

the map is one-to-one but not onto.

If we choose

${\displaystyle A=\{x\in \mathbb {R} ^{}\}~;~~B=\{x\in \mathbb {R} ^{}\}}$

the map is neither one-to-one nor onto.

## Image, pre-image, and inverse functions

Suppose we have a function ${\displaystyle f:A\rightarrow B}$. Let ${\displaystyle D}$ be a subset of ${\displaystyle A}$ (see Figure~1). Let us define

${\displaystyle f(D):=\{f(d)\in B~|~d\in D\}~.}$

Then, ${\displaystyle f(D)}$ is called the image of ${\displaystyle D}$.

On the other hand, if ${\displaystyle C}$ is a subset of ${\displaystyle B}$ and we define

${\displaystyle f^{-1}(C):=\{a\in A~|~f(a)\in C\}~.}$

Then, ${\displaystyle f^{-1}(C)}$ is called the inverse image or pre-image of ${\displaystyle C}$.

If ${\displaystyle f:A\rightarrow B}$ is one-to-one and onto, then there is a unique function ${\displaystyle f^{-1}:B\rightarrow A}$ such that

${\displaystyle f(f^{-1}(b))=b~{\text{for all}}~b\in B~~~~~~{\text{and}}~~~~f^{-1}(f(a))=a~{\text{for all}}~a\in A~.}$

The function ${\displaystyle f^{-1}}$ is called an inverse function of ${\displaystyle f}$.

## Identity map

The map ${\displaystyle f:A\rightarrow A}$ such that ${\displaystyle f(x)=x}$ for all ${\displaystyle x\in A}$ is called the identity map. This map is one-to-one and onto.

## Composition

A notation that you will commonly see in papers on nonlinear solid mechanics is the composition of two functions. See Figure 2.

 Figure 2. Composition of functions.

Let ${\displaystyle f}$ and ${\displaystyle g}$ be two functions such that ${\displaystyle f:A\rightarrow B}$ and ${\displaystyle g:B\rightarrow C}$. The composition ${\displaystyle g\circ f:A\rightarrow C}$ is defined as

${\displaystyle g\circ f(a):=g(f(a))}$

Let us consider a stretch (${\displaystyle f}$) followed by a translation (${\displaystyle g}$). Then we can write ${\displaystyle f:x\mapsto \lambda x}$ and ${\displaystyle g:y\mapsto y+c}$.

The composition ${\displaystyle g\circ f}$ is given by

${\displaystyle g\circ f:x\mapsto \lambda x+c}$

The inverse composition ${\displaystyle f\circ g}$ is given by

${\displaystyle f\circ g:x\mapsto \lambda (x+c)}$

## Isomorphism and Homeomorphism

You will also come across the terms isomorphism and homeomorphism in the literature on nonlinear solid mechanics.

Isomorphism is a very general concept that appears in several areas of mathematics. The word means, roughly, "equal shapes". It usually refers to one-to-one and onto maps that preserve relations among elements.

A homeomorphism is a continuous transformation between two geometric figures that is continuous in both directions. The map has to be one-to-one to be homeomorphic. It also has to satisfy the requirements on an equivalence relation.

## Continuously differentiable functions

A function

${\displaystyle f:\Omega \rightarrow \mathbb {R} ^{}}$

is said to be ${\displaystyle k}$-times continuous differentiable or of class ${\displaystyle C^{k}}$ if its derivatives of order ${\displaystyle j}$ (where ${\displaystyle 0\leq j\leq k}$) exist and are continuous functions.

Figure 3 shows three functions (${\displaystyle f(x)}$, ${\displaystyle g(x)}$, ${\displaystyle h(x)}$) and their derivatives.

 Figure 3: Continuity of functions.

### ${\displaystyle C^{-1}}$ Functions

The function ${\displaystyle f(x)}$ is called the Heaviside step function (usually written ${\displaystyle H(x)}$) which is defined as

${\displaystyle H(x)={\begin{cases}0&~{\rm {{if}~x<0}}\\1&~{\rm {{if}~x\geq 0}}\end{cases}}}$

The derivative of the Heaviside function is the Dirac delta function (written ${\displaystyle \delta (x)}$) which has the defining property that

${\displaystyle \int _{\infty }^{\infty }F(x)\delta (x-c)~dx=F(c)}$

for any function ${\displaystyle F(x)}$ and any constant ${\displaystyle c}$. The delta function is singular and discontinuous. Hence, the Heaviside function is not continuously differentiable. Sometimes the Heaviside function is said to belong to the class of ${\displaystyle C^{-1}}$ functions.

### ${\displaystyle C^{0}}$ Functions

The function ${\displaystyle g(x)}$ in Figure 3 (also called a hat function) is continuous but has discontinuous derivatives. In this particular case, the function has the form

${\displaystyle g(x)={\begin{cases}{\cfrac {x}{a}}+1&~{\text{if}}~-a\leq x\leq 0\\1-{\cfrac {x}{a}}&~{\text{if}}~~0\leq x\leq a\end{cases}}}$

Such functions that are differentiable only once are called ${\displaystyle C^{0}}$ functions.

### ${\displaystyle C^{\infty }}$ Functions

The function ${\displaystyle h(x)}$ in Figure 3 is infinitely differentiable and has continuous derivatives every time it is differentiable. Such functions are called ${\displaystyle C^{\infty }}$ functions. Since the function can be differentiated once to give a continuous derivative, it also falls into the category of ${\displaystyle C^{1}}$ functions.

## Sobolev spaces of functions

You will find Sobolev spaces being mentioned when you read the finite element literature. A clear understanding of these function spaces needs a knowledge of functional analysis. The book Introduction to Functional Analysis with Applications to Boundary Value Problems and Finite Elements by B. Daya Reddy is a good starting point that is just right for engineers. We will not get into the details here.

Of particular interest in finite element analysis are Sobolev spaces of functions such as

${\displaystyle {\mathcal {H}}^{k}=\{w~|~w\in {\mathcal {L}}_{2},{\frac {\partial w}{\partial x}}\in {\mathcal {L}}_{2},\dots ,{\cfrac {\partial ^{k}w}{\partial x^{k}}}\in {\mathcal {L}}_{2}\}}$

where

${\displaystyle {\mathcal {L}}_{2}=\{w~|~\int _{0}^{1}w^{2}~dx<\infty \}~.}$

The function space ${\displaystyle {\mathcal {L}}_{2}}$ is the space of square integrable functions.

Of interest to us is an outcome of Sobolev's theorem which says that if a function is of class ${\displaystyle {\mathcal {H}}^{k+1}}$ then it is actually a bounded ${\displaystyle C^{k}}$ function. If we choose our basis functions from the set of square integrable functions with continuous derivatives, certain singularities are automatically precluded.