Formulas for computing composite function

Click For Summary

Homework Help Overview

The discussion revolves around the definition of a piecewise function, specifically the function h(x), which is defined differently in two sources. Participants are examining the implications of these definitions on the function's behavior, particularly at the point x = 0.

Discussion Character

  • Conceptual clarification, Assumption checking

Approaches and Questions Raised

  • Participants are comparing two definitions of the function h(x) and questioning whether both definitions yield the same function. There is an exploration of the significance of the point x = 0 in the context of the definitions provided.

Discussion Status

Some participants suggest that both definitions of h(x) are equivalent since they produce the same output at critical points. There is an ongoing examination of the nuances in the definitions and their implications.

Contextual Notes

Participants are considering the definitions from different sources and discussing the implications of including or excluding specific points in the piecewise definition. The conversation highlights the importance of clarity in mathematical definitions.

rxh140630
Messages
60
Reaction score
11
Homework Statement
Let f and g be two functions defined as follows:

[itex] f(x) = \frac{x+|x|}{2}[/itex]

[itex] g(x) = \begin{cases}
x \text{ for x < 0} \\
x^2 \text{ for x ≥ 0}

\end{cases} [/itex]

Find a formula, or formulas, for computing the composite function h(x) = f[g(x)]
Relevant Equations
f ο g = f[g(x)]
h(x) = 0 for x ≤ 0
h(x) = x^2 for x>0

But my book says

h(x) = 0 for x<0
h(x) = x^2 for x≥0

Can my solution (the first one) work as well? Because the actual function value at x = 0 is zero. I feel like my solution is more elegant.
 
Physics news on Phys.org
Yes, the both give the same result.
 
  • Like
Likes   Reactions: rxh140630
rxh140630 said:
h(x) = 0 for x ≤ 0
h(x) = x^2 for x>0

But my book says

h(x) = 0 for x<0
h(x) = x^2 for x≥0

These define the same function ##h##. To see this, you can ask at what points do the function values differ?
 
  • Like
Likes   Reactions: rxh140630
PeroK said:
These define the same function ##h##. To see this, you can ask at what points do the function values differ?

They do not differ because x^2 at x=0 = 0, if we choose to use the authors definition.

Since they do not differ then they must be the same.
 
Last edited:

Similar threads

  • · Replies 3 ·
Replies
3
Views
1K
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
Replies
1
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 14 ·
Replies
14
Views
3K