How to Plot Heaviside Function with x^2-1?

  • Context: Undergrad 
  • Thread starter Thread starter radiator
  • Start date Start date
  • Tags Tags
    Plotting
Click For Summary

Discussion Overview

The discussion revolves around plotting the Heaviside function, specifically H(x^2 - 1). Participants explore the conditions under which the function takes on values of 0 or 1 based on the inequality x^2 - 1 > 0, and clarify the implications of using ≥ versus > in this context.

Discussion Character

  • Exploratory
  • Technical explanation
  • Conceptual clarification
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • Some participants propose that H(x^2 - 1) = 1 for x > 1 and x < -1, while others argue that it should also include the intervals where x = -1 and x = 1 due to the nature of the inequality.
  • A participant expresses confusion about the conditions for H(x^2 - 1) and seeks clarification on why the inequality is treated as ≥ instead of just >.
  • Another participant emphasizes the importance of understanding the difference between solving equations and inequalities, noting that the inequality x^2 - 1 ≥ 0 leads to specific intervals on the number line.
  • There is a discussion about how the intervals (-∞, -1], (-1, 1), and [1, ∞) relate to the Heaviside function and how to verify the solutions within these intervals.

Areas of Agreement / Disagreement

Participants express differing views on the interpretation of the Heaviside function in relation to the inequality, with no clear consensus reached on the inclusion of boundary points or the treatment of the inequality.

Contextual Notes

Participants highlight the need for a review of techniques for solving inequalities, particularly quadratic inequalities, which may influence their understanding of the Heaviside function's behavior.

radiator
Messages
23
Reaction score
0
Hello,

I am not where this question goes, its not part of a homework either!
I am trying to figure out how to plot the heaviside (unit step) with such an expression
H(x^2-1)
so I do this:H(x^2-1) = 1 for x^2-1>0 -> x>+- 1
and H(x^2-1) = 0 for x^2-1<-0 -> x<-+1

But this tells me only that it equals 1 when it is x>1 because the rest would be zero! any clarification would be appreciated
 
Physics news on Phys.org
radiator said:
Hello,

I am not where this question goes, its not part of a homework either!
I am trying to figure out how to plot the heaviside (unit step) with such an expression
H(x^2-1)
so I do this:H(x^2-1) = 1 for x^2-1>0 -> x>+- 1
and H(x^2-1) = 0 for x^2-1<-0 -> x<-+1

But this tells me only that it equals 1 when it is x>1 because the rest would be zero! any clarification would be appreciated

If [itex]x^2 - 1 > 0[/itex] then either [itex]x < -1[/itex] or [itex]x > 1[/itex].
 
  • Like
Likes   Reactions: 1 person
so for x^2-1>0 I have
H(x^2-1) = 1 for x>1 and x>-1 ( so its equal to 1 from -1 to infinity)
and
H(x^2-1) = 0 for x<1 and x<-1 ( so its equal to 0 from 1 to negative infinity)

so why would I choose only : equals 1 for x>1 and x<-1, what about the other conditions?
 
radiator said:
so for x^2-1>0 I have
H(x^2-1) = 1 for x>1 and x>-1 ( so its equal to 1 from -1 to infinity)
and
H(x^2-1) = 0 for x<1 and x<-1 ( so its equal to 0 from 1 to negative infinity)

so why would I choose only : equals 1 for x>1 and x<-1, what about the other conditions?

Let's back up a bit, since you're confused about the solution to x2 - 1 > 0.
x2 - 1 ≥ 0 ==> x ≥ 1 or x ≤ -1.
So H(x2 - 1) = 1 for x ≥ 1 or x ≤ -1.
 
Thanks Mark,
I think I am missing a basic principle here about the ≥ relations

if I have a [tex]x^2 - 1 \geq 0[/tex] then solving for x is
[tex]x^2 - 1 = 0 \rightarrow x = \pm 1[/tex]
so in the case of positive one
[tex]x\geq 1[/tex] and for negative one it changes to
[tex]x \leq -1[/tex] and the positive it remains the same, is that a property of the relation?
also why do we choose ≥ instead of just >
 
radiator said:
Thanks Mark,
I think I am missing a basic principle here about the ≥ relations
Yes, I think so as well.
radiator said:
if I have a [tex]x^2 - 1 \geq 0[/tex] then solving for x is
[tex]x^2 - 1 = 0 \rightarrow x = \pm 1[/tex]
There's a big difference between solving an equation (as above) and solving an inequality.
What you've written below doesn't make any sense to me.
radiator said:
so in the case of positive one
[tex]x\geq 1[/tex] and for negative one it changes to
[tex]x \leq -1[/tex] and the positive it remains the same, is that a property of the relation?
also why do we choose ≥ instead of just >
Because H(x) = 1 if x ≥ 0 and H(x) = 0 for x < 0. That's why.

For your function, H(x2 - 1) = 1 for x2 - 1 ≥ 0, so we need to find the intervals for which x2 - 1 ≥ 0.

The part on the left side of the inequality equals 0 for x = -1 or x = 1. These two numbers divide the number line into three intervals: (-∞, -1), (-1, 1), and (1, ∞). By taking any number in each interval you can verify that the solution to x2 - 1 ≥ 0 is (-∞, -1] U [1, ∞). This is the same as saying x ≤ -1 or x ≥ 1.

It would be helpful for you to review the technique of solving inequalities, especially quadratic inequalities.
 
  • Like
Likes   Reactions: 1 person
Thanks so much Mark, this clarified it
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 17 ·
Replies
17
Views
4K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 20 ·
Replies
20
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 6 ·
Replies
6
Views
3K