Integrating a piecewise function?

Click For Summary

Discussion Overview

The discussion revolves around integrating a piecewise function, specifically determining the values of g(1) and g(5) based on the areas represented in a graph. Participants explore the relationship between the areas above and below the x-axis and how they contribute to the function's values.

Discussion Character

  • Exploratory
  • Mathematical reasoning

Main Points Raised

  • Some participants suggest that the area above the x-axis contributes positively while the area below contributes negatively to the function's value.
  • One participant calculates the area between x=-5 and x=0 as 20 and the area between x=0 and x=1 as 5, leading to a proposed value of g(1) as 15.
  • Another participant notes that for g(5), the area to the right of x=4 is zero, prompting the question of whether g(5) would simply be 0.
  • Some participants clarify that g(5) should consider both the positive area from x=-5 to x=0 and the negative area from x=0 to x=4, suggesting that g(5) is the difference between these areas.
  • One participant introduces a formal integration approach, outlining the piecewise definition of g(x) based on the intervals and corresponding areas.

Areas of Agreement / Disagreement

Participants express differing views on how to conceptualize the areas involved and their contributions to the function values. There is no consensus on the final values of g(1) and g(5), as various interpretations of the areas and integration methods are presented.

Contextual Notes

Participants rely on graphical representations and piecewise definitions, but there are unresolved assumptions regarding the exact nature of the function and the integration limits. Some mathematical steps and definitions remain implicit.

Emma_011
Messages
4
Reaction score
0
Screen Shot 2020-11-25 at 9.35.05 AM.png


I have to find:

g(1)=
and
g(5)=

I have drawn the graph and I am a little unsure where to go from there. I know area is involved somehow but not entirely sure what to do. Any help is appreciated
 
Physics news on Phys.org
Emma_011 said:
View attachment 10849

I have to find:

g(1)=
and
g(5)=

I have drawn the graph and I am a little unsure where to go from there. I know area is involved somehow but not entirely sure what to do. Any help is appreciated
Welcome to MHB Emma! ;)

We have a rectangular area between x=-5 and x=0 in the graph that is above the x-axis.
What is its area?
We have another rectangular area between x=0 and x=1 that is below the x-axis.
What is its area?

The value of g(1) is the area above the x-axis (starting from x=-5) minus the area below the x-axis (up to x=1). Can you find it? 🤔
 
Last edited:
Based on what is given, the area would be 20 between x=-5 and x=0 and the area between x=0 and x=1 would be 5.

So it would be 20-5=15
 
Emma_011 said:
Based on what is given, the area would be 20 between x=-5 and x=0 and the area between x=0 and x=1 would be 5.

So it would be 20-5=15
Yep. (Nod)

For g(5) the negative area runs from x=0 to x=4.
After that we have zero (up to x=5), so there is no area there to add or subtract.
Can we find g(5) then? 🤔
 
Since there is no area to add or subtract would it just be 0?
 
Emma_011 said:
Since there is no area to add or subtract would it just be 0?
No, only the part to the right of x=4 is zero.
We still have the positive rectangle between x=-5 and x=0, an the negative rectangle between x=0 and x=4.
So g(5) is the difference between the areas of those two rectangles. 🤔
 
Frankly, I wouldn't have thought of this as "area" at all but just use the basic rule of itegration: $\int_a^b f(x)dx= \int_a^c f(x)dx+ \int_c^b f(x)dx$.

$g(x)= \int_{-5}^x f(x)dx$ is:
if $x\le -5$, $g(x)= \int_{-\infty}^x 0 dx= 0$
if $-5\le x\le 0$ $g(x)= \int_{-5}^x 4dx= \left[4x\right]_{-5}^x= 0- 4x= -4x$
if $0\le x\le 4$ $g(x)= \int_{-5}^0 4dx+ \int_0^x -5 dx= -4(-5)+ \left[-5x\right]_0^x= 20+ -5x- 0= 20- 5x$
if $x\ge 5$ $g(x)= \int_{-5}^4 f(x)dx+ \int_4^5 0 dx= 20- 5(4)= 0$.
 
Last edited:

Similar threads

  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 8 ·
Replies
8
Views
3K
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K