ArticleslgStudy

mathematics

Discretization

Discretization 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 Discretization rather than just read about it. In short: In applied mathematics, discretization is the process of transferring continuous functions, models, variables, and equations into discrete counterparts. This process is usually carried out as a first step toward making them suitable for numerical evaluation and implementation on digital computers.

Discretization — main illustration
Discretization — illustration

Key takeaways

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

Reference excerpt

In applied mathematics, discretization is the process of transferring continuous functions, models, variables, and equations into discrete counterparts. This process is usually carried out as a first step toward making them suitable for numerical evaluation and implementation on digital computers. Dichotomization is the special case of discretization in which the number of discrete classes is 2, which can approximate a continuous variable as a binary variable (creating a dichotomy for modeling purposes, as in binary classification). Discretization is also related to discrete mathematics, and is an important component of granular computing. In this context, discretization may also refer to modification of variable or category granularity, as when multiple discrete variables are aggregated or multiple discrete categories fused. Whenever continuous data is discretized, there is always some amount of discretization error. The goal is to reduce the amount to a level considered negligible for the modeling purposes at hand. The terms discretization and quantization often have the same denotation but not always identical connotations. (Specifically, the two terms share a semantic field.) The same is true of discretization error and quantization error. Mathematical methods relating to discretization include the Euler–Maruyama method and the zero-order hold.

Discretization of linear state space models Discretization is also concerned with the transformation of continuous differential equations into discrete difference equations, suitable for numerical computing. The following continuous-time state space model 𝐱˙(t)=𝐀𝐱(t)+𝐁𝐮(t)+𝐰(t)𝐲(t)=𝐂𝐱(t)+𝐃𝐮(t)+𝐯(t) where v and w are continuous zero-mean white noise sources with power spectral densities 𝐰(t)∼N(0,𝐐)𝐯(t)∼N(0,𝐑) can be discretized, assuming zero-order hold for the input u and continuous integration for the noise v, to 𝐱[k+1]=𝐀𝐝𝐱[k]+𝐁𝐝𝐮[k]+𝐰[k]𝐲[k]=𝐂𝐝𝐱[k]+𝐃𝐝𝐮[k]+𝐯[k] with covariances 𝐰[k]∼N(0,𝐐𝐝)𝐯[k]∼N(0,𝐑𝐝) where 𝐀𝐝=e𝐀T=ℒ−1{(s𝐈−𝐀)−1}t=T𝐁𝐝=(∫τ=0Te𝐀τdτ)𝐁𝐂𝐝=𝐂𝐃𝐝=𝐃𝐐𝐝=∫τ=0Te𝐀τ𝐐e𝐀⊤τdτ𝐑𝐝=𝐑1T and T is the sample time. If A is nonsingular, 𝐁𝐝=𝐀−1(𝐀𝐝−𝐈)𝐁. The equation for the discretized measurement noise is a consequence of the continuous measurement noise being defined with a power spectral density. A clever trick to compute Ad and Bd in one step is by utilizing the following property: e[𝐀𝐁𝟎𝟎]T=[𝐀𝐝𝐁𝐝𝟎𝐈] Where Ad and Bd are the discretized state-space matrices.

Discretization of process noise Numerical evaluation of Qd is a bit trickier due to the matrix exponential integral. It can, however, be computed by first constructing a matrix, and computing the exponential of it 𝐅=[−𝐀𝐐𝟎𝐀⊤]T𝐆=e𝐅=[…𝐀𝐝−1𝐐𝐝𝟎𝐀𝐝⊤] The discretized process noise is then evaluated by multiplying the transpose of the lower-right partition of G with the upper-right partition of G: 𝐐𝐝=(𝐀𝐝⊤)⊤(𝐀𝐝−1𝐐𝐝)=𝐀𝐝(𝐀𝐝−1𝐐𝐝).

Derivation Starting with the continuous model 𝐱˙(t)=𝐀𝐱(t)+𝐁𝐮(t) we know that the matrix exponential is ddte𝐀t=𝐀e𝐀t=e𝐀t𝐀 and by premultiplying the model we get e−𝐀t𝐱˙(t)=e−𝐀t𝐀𝐱(t)+e−𝐀t𝐁𝐮(t) which we recognize as ddt[e−𝐀t𝐱(t)]=e−𝐀t𝐁𝐮(t) and by integrating, e−𝐀t𝐱(t)−e0𝐱(0)=∫0te−𝐀τ𝐁𝐮(τ)dτ𝐱(t)=e𝐀t𝐱(0)+∫0te𝐀(t−τ)𝐁𝐮(τ)dτ which is an analytical solution to the continuous model. Now we want to discretise the above expression. We assume that u is constant during each timestep. 𝐱[k]=def 𝐱(kT)𝐱[k]=e𝐀kT𝐱(0)+∫0kTe𝐀(kT−τ)𝐁𝐮(τ)dτ𝐱[k+1]=e𝐀(k+1)T𝐱(0)+∫0(k+1)Te𝐀[(k+1)T−τ]𝐁𝐮(τ)dτ𝐱[k+1]=e𝐀T[e𝐀kT𝐱(0)+∫0kTe𝐀(kT−τ)𝐁𝐮(τ)dτ]+∫kT(k+1)Te𝐀(kT+T−τ)𝐁𝐮(τ)dτ We recognize the bracketed expression as 𝐱[k], and the second term can be simplified by substituting with the function v(τ)=kT+T−τ. Note that dτ=−dv. We also assume that u is constant during the integral, which in turn yields 𝐱[k+1]=e𝐀T𝐱[k]−(∫v(kT)v((k+1)T)e𝐀vdv)𝐁𝐮[k]=e𝐀T𝐱[k]−(∫T0e𝐀vdv)𝐁𝐮[k]=e𝐀T𝐱[k]+(∫0Te𝐀vdv)𝐁𝐮[k]=e𝐀T𝐱[k]+𝐀−1(e𝐀T−𝐈)𝐁𝐮[k] which is an exact solution to the discretization problem. When A is singular, the latter expression can still be used by replacing e𝐀T by its Taylor expansion, e𝐀T=∑k=0∞1k!(𝐀T)k. This yields 𝐱[k+1]=e𝐀T𝐱[k]+(∫0Te𝐀vdv)𝐁𝐮[k]=(∑k=0∞1k!(𝐀T)k)𝐱[k]+(∑k=1∞1k!𝐀k−1Tk)𝐁𝐮[k], which is the form used in practice.

Approximations Exact discretization may sometimes be intractable due to the heavy matrix exponential and integral operations involved. It is much easier to calculate an approximate discrete model, based on that for small timesteps e𝐀T≈𝐈+𝐀T. The approximate solution then becomes: 𝐱[k+1]≈(𝐈+𝐀T)𝐱[k]+T𝐁𝐮[k] This is also known as the Euler method, which is also known as the forward Euler method. Other possible approximations are e𝐀T≈(𝐈−𝐀T)−1, otherwise known as the backward Euler method and e𝐀T≈(𝐈+12𝐀T)(𝐈−12𝐀T)−1, which is known as the bilinear transform, or Tustin transform. Each of these approximations has different stability properties. The bilinear transform preserves the instability of the continuous-time system.

Discretization of continuous features

In statistics and machine learning, discretization refers to the process of converting continuous features or variables to discretized or nominal features. This can be useful when creating probability mass functions.

Discretization of smooth functions

In generalized functions theory, discretization arises as a particular case of the Convolution Theorem on tempered distributions

ℱ{f∗III⁡}=ℱ{f}⋅III ℱ{α⋅III⁡}=ℱ{α}∗III where III is the Dirac comb, ⋅III is discretization, ∗III is periodization, f is a rapidly decreasing tempered distribution (e.g. a Dirac delta function δ or any other compactly supported function), α is a smooth, slowly growing ordinary function (e.g. the function that is constantly 1 or any other band-limited function) and ℱ is the (unitary, ordinary frequency) Fourier transform. Functions α which are not smooth can be made smooth using a mollifier prior to discretization. As an example, discretization of the function that is constantly 1 yields the sequence [..,1,1,1,..] which, interpreted as the coefficients of a linear combination of Dirac delta functions, forms a Dirac comb. If additionally truncation is applied, one obtains finite sequences, e.g. [1,1,1,1]. They are discrete in both, time and frequency.

… excerpt ends here. Continue reading the full article.

Illustrations

Discretization: A solution to a discretized partial differential equation, obtained with the finite element method.
A solution to a discretized partial differential equation, obtained with the finite element method.

Worked examples

Example 1 — a first encounter with Discretization

Start with the simplest possible case. Write down what Discretization 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 Discretization 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 Discretization 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 Discretization

In research
Discretization 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 Discretization 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
Discretization is common in secondary-school and first-year university syllabi. It links to neighbouring topics Applied mathematics, Control theory, Functional analysis, so understanding it makes those chapters shorter.
In everyday life
Look for Discretization 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 “Discretization” →

How to study Discretization in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Discretization 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 Discretization out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Discretization in simple terms?

In applied mathematics, discretization is the process of transferring continuous functions, models, variables, and equations into discrete counterparts. This process is usually carried out as a first step toward making them suitable for numerical evaluation and implementation on digital computers.

Why does Discretization 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 Discretization?

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 Discretization.

Tags

  • Applied mathematics
  • Control theory
  • Functional analysis
  • Iterative methods
  • Numerical analysis

Keep exploring