Log in Sign up
Back to Discover
🔢

Rectangular function

math Maturity 11-13

Imagine a shape like a box.

Rectangular function.svg
Rectangular function.svg
It is flat on top. It has straight sides. This shape helps us study waves. It is very useful. Can you draw a box?
Splines resulting from successive convolution of the unit Rect function.png
Splines resulting from successive convolution of the unit Rect function.png

42 words

Imagine a shape like a box.

Rectangular function.svg
Rectangular function.svg
It is flat on top. It has straight sides.

This shape is called a rectangular function. It can help make a wave.

Sometimes, we mix this shape with itself. This is called a convolution.

Doing this makes the shape change. It can turn into a triangle shape.

Splines resulting from successive convolution of the unit Rect function.png
Splines resulting from successive convolution of the unit Rect function.png

If we do it more, the shape gets smoother. It can look like a curve. This is a fun way to change shapes.

88 words

Imagine a shape that looks like a flat box.

Rectangular function.svg
Rectangular function.svg
This is called a rectangular function. It has a flat top and straight sides. In math, it can be zero or one. It is also called a gate function. It can help make a rectangular wave.

We can change this shape using a trick. We mix the shape with itself. This way is called convolution.

Splines resulting from successive convolution of the unit Rect function.png
Splines resulting from successive convolution of the unit Rect function.png

When we mix it once, the shape changes. It becomes a triangle shape. This new shape is smooth and connected. If we mix it more, the shape changes again. It becomes a curve called a spline. Each time we mix it, the shape gets wider. It also looks smoother.

This shape is also useful in science. It can show how things are spread out. We call this a uniform distribution. It can even help us show a very tiny pulse. This pulse is called a Dirac delta function.

Sinc function (normalized).svg
Sinc function (normalized).svg

The math of this shape is very special. It helps us understand waves and signals.

180 words

Imagine a shape that looks like a flat, solid box.

Rectangular function.svg
Rectangular function.svg
In math, we call this the rectangular function. It can also go by many other names. Some people call it a gate function or a unit pulse. Others call it a boxcar function or a Pi function. This shape is very useful for making a rectangular wave. It stays at a certain height for a short time and then drops to zero. This simple idea helps scientists study how signals move and change.
Rectangular function.svg
Rectangular function.svg

We can change this box shape using a special math trick. This trick is called convolution. When you convolve a rectangular function with itself, the shape changes. If you do it just once, the sharp corners disappear. The new shape looks like a triangle. This triangle is a type of spline, which is a smooth, connected line.

Splines resulting from successive convolution of the unit Rect function.png
Splines resulting from successive convolution of the unit Rect function.png
If you convolve it again, you get a parabolic spline. Each time you do this, the shape gets wider and smoother. The curves become more gentle as you add more layers.

This idea was brought to light by a researcher named Woodward. He introduced the rect function in 1953. He wrote about it in a book called "Probability and Information Theory, with Applications to Radar." Woodward used the rect function as an ideal cutout operator. He also used a different tool called the sinc function. The sinc function acts as an ideal interpolation operator. Together, these tools help explain how we sample and replicate information. They are very important for understanding how radar works.

There are many ways to look at this function in science. In probability, it can represent a uniform distribution. This means it shows how things might be spread out evenly.

Sinc function (normalized).svg
Sinc function (normalized).svg
The function can also help us describe a tiny, sharp pulse. This is known as the Dirac delta function. As a pulse gets shorter in time, it becomes larger in its spectrum. The Fourier transform of the rectangular function is the sinc function. This link connects the shape of the pulse to its frequency.
Sinc function (normalized).svg
Sinc function (normalized).svg

Understanding these shapes helps us understand the world of waves. When we look at the frequency of a signal, we use the sinc function. The sinc function has a special pattern of waves. Its first zero occurs at a specific point. As we change the pulse, the frequency spectrum changes too. This math helps engineers build tools that can catch and clean up signals. From radar to radio, these boxy shapes are everywhere in the science of information.

Splines resulting from successive convolution of the unit Rect function.png
Splines resulting from successive convolution of the unit Rect function.png

442 words

The rectangular function is a mathematical tool used to describe a specific type of shape.

Rectangular function.svg
Rectangular function.svg
It is often called the rect function, the Pi function, or the gate function. Some researchers also refer to it as a unit pulse or a normalized boxcar function. At its simplest, the function is defined by its height and its width. It stays at a constant value for a specific duration and is zero everywhere else. This function is essential for building a rectangular wave. It serves as a fundamental building block in many areas of science and engineering.

To understand how the function works, we must look at its mathematical definition. The function is defined to be 0, 1, or sometimes even undefined at its edges. However, the area under the curve remains the same regardless of these specific edge definitions. A more general version of this shape is the boxcar function. This general version can be centered at any point and can have any duration. It can also be defined using the Heaviside step function. This allows mathematicians to shift the box left or right on a graph.

Splines resulting from successive convolution of the unit Rect function.png
Splines resulting from successive convolution of the unit Rect function.png
One of the most interesting things about the rectangular function is what happens during convolution. Convolution is a mathematical process where one function is combined with another. When you convolve a discontinuous rectangular function with itself, the result changes. The first convolution produces a triangular function. This triangular shape is a piecewise defined spline. It is continuous, meaning there are no gaps, but it is not continuously differentiable. This means the corners are still somewhat sharp.

If you perform the convolution process again, the shape becomes even smoother. A second convolution results in a parabolic spline. This shape is both continuous and differentiably continuous. If you convolve it a third time, you get a cubic spline. A fourth convolution produces a fourth-order spline. Each successive convolution creates a pulse that is wider and has a lower maximum height. These pulses become increasingly smooth because their higher-order derivatives become continuous.

Splines resulting from successive convolution of the unit Rect function.png
Splines resulting from successive convolution of the unit Rect function.png

The history of this function is tied to the study of information. In 1953, a researcher named Woodward introduced the rect function in his work. His book was titled "Probability and Information Theory, with Applications to Radar." Woodward used the rect function as an ideal cutout operator. He paired it with the sinc function, which acts as an ideal interpolation operator. These two tools work alongside sampling and replicating operators. This work helped explain how signals are processed in radar technology.

Sinc function (normalized).svg
Sinc function (normalized).svg
The rectangular function also has deep connections to the study of waves and frequencies. The Fourier transform of the rectangular function is the sinc function. This relationship is governed by the Convolution theorem. Because of this, the Fourier transform of a pulse created by multiple convolutions is simply the sinc function raised to a specific power. For example, the Fourier transform of a triangular function is sinc squared. The transform of a parabolic spline is sinc cubed. This allows scientists to predict how different pulse shapes will behave in a frequency spectrum.

Sinc function (normalized).svg
Sinc function (normalized).svg
In the field of probability, the rectangular function plays another important role. It can be viewed as a probability density function. In this context, it is a special case of the continuous uniform distribution. This means it describes a scenario where outcomes are equally likely within a certain range. Scientists use specific formulas, like the characteristic function and the moment-generating function, to study these distributions. These mathematical descriptions help predict how data is spread out.

Finally, the rectangular function can be used to represent the Dirac delta function. This is done by looking at a limit as the width of the pulse approaches zero. As the pulse becomes extremely narrow and tall, it begins to act like a single, sharp point. The Fourier transform of a Dirac delta function is a constant. This means its frequency spectrum is infinitely broad. As a pulse is shortened in time, it grows larger in its spectrum. This connection helps engineers understand the limits of signal processing.

695 words
🖼️ Images & Media (3)
File:Rectangular function.svg
Rectangular function.svg
File:Sinc_function_(normalized).svg
Sinc_function_(normalized).svg
File:Splines resulting from successive convolution of the unit Rect function.png
Splines resulting from successive...
Up Next
🔢
Continuous uniform distribution
Math
More to explore

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.