What is the effect of step functions on slope changes?

In summary, the conversation discusses the use of step functions and ramp functions in graphing equations and the difficulty in understanding them. The participants also mention the importance of practicing and provide a helpful example for better understanding. They also clarify the correct term for the function, which is "Heaviside" function, named after Oliver Heaviside.
  • #1
EvLer
458
0
heaviside or step function

I don't quite understand how to add step functions and would like to get that down before this one class begins.
Does anyone know a good tutorial or a helpful site or a book with answers?
Thank you.
 
Last edited:
Mathematics news on Phys.org
  • #2
can you be a little more specific
 
  • #3
mathmike said:
can you be a little more specific
ok, for example, how do I graph this equation:
V(t) = 2r(t-2) - 2r(t-6) - 8u(t-8)
some of them I do understand, like this one, but i don't have a good grasp on them. Actually, to be precise it's not just the unit step functions, but also ramp functions.

ps: the class is on signals, laplase transforms, etc. but i think this topic is more of mathematics concept rather than engineering.
 
  • #4
EvLer said:
ok, for example, how do I graph this equation:
V(t) = 2r(t-2) - 2r(t-6) - 8u(t-8).

The first thing you need to do is define r(.)
 
  • #5
uart said:
The first thing you need to do is define r(.)
r(t) is the integral of the step function u(t). In other words, it's the area under the step function. It's graph is a ramp whose slope matches the amplitude of the step function (in this case, 2r(t-2), 2r tells you the amplitude of the original step function was 2. The ramp function r(t) is a ramp with a slope of 2.

At first, it sometimes helps to plot it out for different times to get a feel for what's going on. That's about the only way to really get a grasp on it, early on. Once you get a feel for it, it gets pretty easy to just look at it and visualize what's happening.

For example, 2r(t-2) means that starting at 2 seconds, you have a ramp with a slope of 2. At 6 seconds, you start subtracting a ramp with a slope of -2 from your first function, which is still in effect. By 6 seconds, your ramp has reached 8 on the y-axis. From 6 seconds on, the 2r(t-2) and -2r(t-6) are cancelling out, meaning your amplitude stays flat at 8. At least until 8 seconds, when the -8u(t-8) turns on. Now you have to subtract 8 from the result of your first two functions (which has been steady at 8 between 6 seconds and 8 seconds). That means your last function returns you back to zero.

Edit: the signs on my slopes were backwards.
 
Last edited:
  • #6
By the way, it is not "heavy-side" function! It is "Heaviside" function, named for Oliver Heaviside (1850-1925).
 
  • #7
HallsofIvy said:
By the way, it is not "heavy-side" function! It is "Heaviside" function, named for Oliver Heaviside (1850-1925).
sorry... :redface:
by your reaction i assume this is a common mistake, I did notice that and edited my post that same day, but it did not show up in the thread title on thread menu level...
Thanks for replies. BobG, thanks for the explanation...yeah, i need practice.
I did find something in my diff eq-s textbook, like a half of a page, but if someone knows of a good resource that would be greatly appreciated. Basically addition and multiplication of unit and ramp functions.
 
Last edited:
  • #8
OK, more concrete examples [this is not HW, this is practice problem for my own understanding]:

f(t) = 2r(t) - r(t - 2) - r(t - 4);

the part that I have a trouble with is subtracting a ramp function with a different magnitude.

f(t) = 2u(t)u(4 - t) + r(t);

and with this one, I am not even sure where to begin, I know that first part is probably a ramp function actually but does it start at x = 4?

Any help is very much appreciated.
 
Last edited:
  • #9
The idea of step functions is that you draw how you want the output signal (or function) to look on a piece of graph paper, then come up with an equation to describe that. As a result, step functions and ramp functions are more pragmatic than based on a deep mathematical relationship.

There's only one part you have to worry about on the ramp functions: the slope. The t (or t-0), the (t-2), the (t-4) just gives you the start time for each function (in electrical circuits, they like to use ramp and step functions to represent a switch opening or closing at a certain time or an enabling/disabling signal or pulse being received at a certain time).

You have a slope of 2 for awhile. When the next switch closes, you have to subtract 1 from your slope (1*r(t-2)). You're still at the same point on the graph, but the slope has changed to one.

On the step functions, the amplitude is the only thing you actually do any addition or subtraction on - the (t-x) part just tells you when the switch closed to turn on the function.

Of course, the exception is when a switch opens, turning off the function. Mathematically, it's hard to come up with an expression that closes a switch, then opens the switch. Instead, you might see 3u(t-2) to represent the switch turning on the function at 2 seconds; and then a -3u(t-6) to represent a switch turning on a function that undoes the first function. In reality, at 6 seconds, you're doing the opposite of what you did at 2 seconds, or you're 'un-turning on' the function at 6 seconds.

The step functions are actually harder. There's a possibility you could have a jump depending on what's defining the amplitude of your step function. For example, if you had [tex]t^2u(t-2)[/tex] as your step function, the function would turn on at 2 seconds, but the [tex]t^2[/tex] would go into effect immediately, meaning your amplitude would be 4 as soon as the function turned on, and then continue with the rest of the parabola. (That might be what you wanted your output signal to look like, but that would be unusual).

Edit: Does your second one have a typo? Until 4 seconds, you're multiplying 2*0. You could do that, but you could do the same thing with just -2u(t-4). Or are they just going to pains to illustrate the different properties of step functions?

Edit: Actually, there is a reason for writing the second equation the way they did. It might better represent what's actually happening in the circuit. The "2" might be available on the input side immediately, but not go anywhere until the inverter is turned on at 4 seconds. So there is a point in presenting it as 2u(t)u(4-t), even though it simplifies to -2u(t-4).
 
Last edited:
  • #10
You have a slope of 2 for awhile. When the next switch closes, you have to subtract 1 from your slope (1*r(t-2)). You're still at the same point on the graph, but the slope has changed to one.
could you show/describe a little more to me what that looks like? if it were subtraction of the same magnitude, I get it, but different magnitude :confused:
I think once i get the general idea, i'll be fine. I understand the (t-x) part. I just can't get a hang of subtraction/addition/multiplication with respect to magnitudes for some reason...

Thank you, BobG, very much for helping.

edit: ok, i think i got the first one: it's just y = 2x till x = 2 and till x = 4 it's slope is 1, from x = 4 it is flat.

so, for the second one with 2u(t)u(4-t) what are the steps to simplify it to -2u(t - 4). Is it correct to pull the minus out from the parenthesis of the interval? and if another step function is multiplied by u(t) that is equivalent to multiplying that function by 1, correct?
 
Last edited:

What is a Heavy-side step function?

A Heavy-side step function is a mathematical function that represents a sudden change or "step" in a value at a specific point. It is defined as 0 for all inputs less than the specific point, and 1 for all inputs greater than or equal to the specific point.

What is the purpose of a Heavy-side step function?

The purpose of a Heavy-side step function is to model sudden changes or discontinuities in a system. It is commonly used in physics and engineering to represent events such as turning a switch on or off, or the start of a process.

How is a Heavy-side step function different from a regular step function?

A regular step function has a step at every input value, while a Heavy-side step function has only one step at a specific point. Additionally, a regular step function can take on different values for the steps, while a Heavy-side step function is restricted to 0 and 1.

What is the mathematical notation for a Heavy-side step function?

The mathematical notation for a Heavy-side step function is u(x), where x is the input value. It is also sometimes denoted as H(x).

How is a Heavy-side step function used in real-life applications?

Heavy-side step functions are used in a variety of real-life applications, such as in electrical circuits, control systems, and signal processing. They are also commonly used in mathematical models to represent sudden changes in physical systems.

Similar threads

Replies
1
Views
1K
  • General Math
Replies
23
Views
1K
  • General Math
Replies
5
Views
2K
Replies
2
Views
1K
Replies
2
Views
738
  • General Math
Replies
9
Views
2K
  • General Math
Replies
3
Views
3K
  • General Math
Replies
13
Views
2K
  • General Math
Replies
1
Views
1K
Replies
1
Views
62
Back
Top