Step Function Help: Rewrite Equation in Homework Statement

Click For Summary

Homework Help Overview

The discussion revolves around rewriting a piecewise continuous function defined as f(x) = { -8 for x ≤ 8, -x – 1 for x > 8} in terms of step functions. Participants are exploring the implications of continuity and the appropriate use of the Heaviside function in this context.

Discussion Character

  • Mixed

Approaches and Questions Raised

  • Participants are attempting to express the function using step functions and questioning the continuity at the transition point x = 8. Some express uncertainty about the correctness of their formulations and the need for step functions for both segments of the piecewise function.

Discussion Status

The discussion is active, with participants providing various interpretations and approaches to the problem. Some have offered guidance on how to structure the function using step functions, while others are clarifying definitions and exploring the implications of continuity.

Contextual Notes

There is a mention of the goal being to find the Laplace transform of the function, which adds a layer of complexity to the discussion. Participants are also reflecting on the definitions of piecewise continuity and the characteristics of the Heaviside function.

jumbogala
Messages
414
Reaction score
4

Homework Statement


The piecewise continuous function

f(x) = { -8 for x ≤ 8
-x – 1 for x > 8}

Rewrite it in step functions.

Homework Equations


The Attempt at a Solution


I think it's 1-(-8)(h(x-8)) + (-x-1)(h(x-8))

Where h(x-a) is the Heaviside function (x-8) meaning it "jumps up" to 1 at x = a.

Is that right? It seems wrong to me.
 
Physics news on Phys.org
jumbogala said:

Homework Statement


The piecewise continuous function

f(x) = { -8 for x ≤ 8
-x – 1 for x > 8}

Rewrite it in step functions.

Homework Equations





The Attempt at a Solution


I think it's 1-(-8)(h(x-8)) + (-x-1)(h(x-8))

Where h(x-a) is the Heaviside function (x-8) meaning it "jumps up" to 1 at x = a.

Is that right? It seems wrong to me.

Why would you need a step function for x≤8?

Oh, and the function doesn't look continuous at x=8, unless I'm missing something. Is there a typo in the definition?
 
It's not continuous at x = 8. You have to write the entire function using step functions so that it's in the form

f(x) = ___________ + u8(x)* __________

"Fill in the blanks", basically. It will be two step functions added together.
 
jumbogala said:
It's not continuous at x = 8. You have to write the entire function using step functions so that it's in the form

f(x) = ___________ + u8(x)* __________

"Fill in the blanks", basically. It will be two step functions added together.

But in your original post (OP), you said
The piecewise continuous function
 
That's what the question says =/ Each piece of the function is continuous in pieces. The goal of this is to find the Laplace transform of f(x), if that helps.
 
jumbogala said:
That's what the question says =/ Each piece of the function is continuous in pieces. The goal of this is to find the Laplace transform of f(x), if that helps.

Well, I'm no expert, but being continuous means no discontinuities:

http://en.wikipedia.org/wiki/Piecewise_continuous

wikipedia said:
A piecewise function is continuous on a given interval if it is defined throughout that interval, its appropriate constituent functions are continuous on that interval, and there is no discontinuity at each endpoint of the subdomains within that interval.

But whatever. It seems like if you want to use a step funtion for x≤8, then that one should run backwards in x, no?
 
Oh well I suppose it's not discontinuous at x = 8. The definition of the function just changes at x = 8, according to Wikipedia.

Yes, I think so. The step function I got was -8 + u8(t)(7-t). (Still not sure if that's entirely correct...)

So that's what I need to find the Laplace transform of. Laplace of -8 is -8/s

Laplace transform of u8(t)(7-t) is what's troubling me.
 
No, jumbogala, you were right here and, unfortunately, berkeman was wrong (I'll never let him live it down!). "Piecewise continuous" means "continuous in pieces"- that is that it is continuous everywhere except possibly at a finite number of point, separating the continuous "pieces".

And, berkeman, he does NOT "want to use a step funtion for x≤8", he wants to use a step function for the entire function. That is, write a formula, including a step function so that the entire function is given by that step function.

Let's see you suggested f(x)= 1-(-8)(h(x-8)) + (-x-1)(h(x-8)). Let's check to see if that is correct. h(x) is 0 if x< 0 so h(x-8) is 0 if x is less than 8. If x< 8 then f(x)= 1-(-8)(0)+ (-x-1)(0)= 1. No, that isn't what you want- you want -8. Also h(x-8) is equal to 1 if x is larger than or equal to 8. If x is larger than or equal to 8, f(x)= 1- (-8)(1)+(-x-1)(1)= 1+8- x-1= 8- x. No, that isn't it either.

Think about this: If f(x)= u(x) for x< a and f(x)= v(x) for x\ge a, and we want to write it as f(x)= p(x)h(x-a)+ q(x), what must p and q equal? Well, if x< a, h(x-a)= 0 so f(x)= p(x). Obviously, we must have p(x)= u(x). If x\ge a, h(x-a)= 1 so f(x)= u(x)+ q(x)(1)= v(x) so q(x)= v(x)- u(x).

In this problem u(x)= -8 and v(x)= -x-1
 
Thanks, Halls. Like I said, I'm no expert in this. Still, piecewise continuous used to mean something different to me. Guess I need to review some, eh? :blushing:
 

Similar threads

  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K
Replies
2
Views
1K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
7
Views
1K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
Replies
20
Views
2K