ArticleslgStudy

mathematics

Direction-preserving function

Direction-preserving function is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Direction-preserving function rather than just read about it. In short: In discrete mathematics, a direction-preserving function (or mapping) is a function on a discrete space, such as the integer grid, that (informally) does not change too drastically between two adjacent points. It can be considered a discrete analogue of a continuous function.

Key takeaways

  • Direction-preserving function belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Direction-preserving function to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Direction-preserving function from memory before moving on to harder problems.

Reference excerpt

In discrete mathematics, a direction-preserving function (or mapping) is a function on a discrete space, such as the integer grid, that (informally) does not change too drastically between two adjacent points. It can be considered a discrete analogue of a continuous function. The concept was first defined by Iimura. Some variants of it were later defined by Yang, Chen and Deng, Herings, van-der-Laan, Talman and Yang, and others.

Basic concepts We focus on functions f:X→ℝn, where the domain X is a finite subset of the Euclidean space ℝn. ch(X) denotes the convex hull of X. There are many variants of direction-preservation properties, depending on how exactly one defines the "drastic change" and the "adjacent points". Regarding the "drastic change" there are two main variants:

Direction preservation (DP) means that, if x and y are adjacent, then for all i∈[n]: fi(x)⋅fi(y)≥0. In words: every component of the function f must not switch signs between adjacent points. Gross direction preservation (GDP) means that, if x and y are adjacent, then f(x)⋅f(y)≥0. In words: the direction of the function f (as a vector) does not change by more than 90 degrees between adjacent points. Note that DP implies GDP but not vice versa. Regarding the "adjacent points" there are several variants:

Hypercubic means that x and y are adjacent iff they are contained in some axes-parallel hypercube of side-length 1. Simplicial means that x and y are adjacent iff they are vertices of the same simplex, in some triangulation of the domain. Usually, simplicial adjacency is much stronger than hypercubic adjacency; accordingly, hypercubic DP is much stronger than simplicial DP. Specific definitions are presented below. All examples below are for n=2 dimensions and for X = { (2,6), (2,7), (3, 6), (3, 7) }.

Properties and examples

Hypercubic direction-preservation A cell is a subset of ℝn that can be expressed by k+[0,1]n for some k∈ℤn. For example, the square [2,3]×[6,7] is a cell. Two points in ℝn are called cell connected if there is a cell that contains both of them. Hypercubic direction-preservation properties require that the function does not change too drastically in cell-connected points (points in the same hypercubic cell).

f is called hypercubic direction preserving (HDP) if, for any pair of cell-connected points x,y in X, for all i∈[n]: fi(x)⋅fi(y)≥0. The term locally direction-preserving (LDP) is often used instead. The function fa on the right is DP.

Some authors use a variant requiring that, for any pair of cell-connected points x,y in X, for all i∈[n]: (fi(x)−xi)⋅(fi(y)−yi)≥0. A function f(x) is HDP by the second variant, iff the function g(x):=f(x)-x is HDP by the first variant.

f is called hypercubic gross direction preserving (HGDP), or locally gross direction preserving (LGDP), if for any pair of cell-connected points x,y in X, f(x)⋅f(y)≥0. Every HDP function is HGDP, but the converse is not true. The function fb is HGDP, since the scalar product of every two vectors in the table is non-negative. But it is not HDP, since the second component switches sign between (2,6) and (3,6): f2b(2,6)⋅f2b(3,6)=−1<0.

Some authors use a variant requiring that, for any pair of cell-connected points x,y in X, (f(x)−x)⋅(f(y)−y)≥0. A function f(x) is HGDP by the second variant, iff the function g(x):=f(x)-x is HGDP by the first variant.

Simplicial direction-preservation A simplex is called integral if all its vertices have integer coordinates, and they all lie in the same cell (so the difference between coordinates of different vertices is at most 1). A triangulation of some subset of ℝn is called integral if all its simplices are integral. Given a triangulation, two points are called simplicially connected if there is a simplex of the triangulation that contains both of them. Note that, in an integral triangulation, every simplicially-connected points are also cell-connected, but the converse is not true. For example, consider the cell [2,3]×[6,7]. Consider the integral triangulation that partitions it into two triangles: {(2,6),(2,7),(3,7)} and {(2,6),(3,6),(3,7)}. The points (2,7) and (3,6) are cell-connected but not simplicially-connected. Simplicial direction-preservation properties assume some fixed integral triangulation of the input domain. They require that the function does not change too drastically in simplicially-connected points (points in the same simplex of the triangulation). This is, in general, a much weaker requirement than hypercubic direction-preservation. f is called simplicial direction preserving (SDP) if, for some integral triangulation of X, for any pair of simplicially-connected points x,y in X, for all i∈[n]: (fi(x)−xi)⋅(fi(y)−yi)≥0.

f is called simplicially gross direction preserving (SGDP) or simplicially-local gross direction preserving (SLGDP) if there exists an integral triangulation of ch(X) such that, for any pair of simplicially-connected points x,y in X, f(x)⋅f(y)≥0. Every HGDP function is SGDP, but HGDP is much stronger: it is equivalent to SGDP w.r.t. all possible integral triangulations of ch(X), whereas SGDP relates to a single triangulation. As an example, the function fc on the right is SGDP by the triangulation that partitions the cell into the two triangles {(2,6),(2,7),(3,7)} and {(2,6),(3,6),(3,7)}, since in each triangle, the scalar product of every two vectors is non-negative. But it is not HGDP, since fc(3,6)⋅fc(2,7)=−1<0.

References

Worked examples

Example 1 — a first encounter with Direction-preserving function

Start with the simplest possible case. Write down what Direction-preserving function claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Direction-preserving function before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Direction-preserving function ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Direction-preserving function

In research
Direction-preserving function appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Direction-preserving function in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Direction-preserving function is common in secondary-school and first-year university syllabi. It links to neighbouring topics Discrete mathematics, Theory of continuous functions, Types of functions, so understanding it makes those chapters shorter.
In everyday life
Look for Direction-preserving function outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Direction-preserving function” →

How to study Direction-preserving function in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Direction-preserving function means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Direction-preserving function out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Direction-preserving function in simple terms?

In discrete mathematics, a direction-preserving function (or mapping) is a function on a discrete space, such as the integer grid, that (informally) does not change too drastically between two adjacent points. It can be considered a discrete analogue of a continuous function.

Why does Direction-preserving function matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Direction-preserving function?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Direction-preserving function.

Tags

  • Discrete mathematics
  • Theory of continuous functions
  • Types of functions

Keep exploring