Integrating a piecewise function?

Click For Summary
SUMMARY

The discussion focuses on calculating the values of the piecewise function g(x) at specific points, g(1) and g(5). The area under the curve is analyzed, revealing that g(1) equals 15, derived from the area above the x-axis between x=-5 and x=0 (20) minus the area below the x-axis between x=0 and x=1 (5). For g(5), the value is determined to be 0, as the areas cancel out, with no additional area contributing beyond x=4.

PREREQUISITES
  • Understanding of piecewise functions
  • Basic knowledge of integration techniques
  • Familiarity with calculating areas under curves
  • Graphing skills to visualize functions
NEXT STEPS
  • Study the properties of piecewise functions in calculus
  • Learn about definite integrals and their applications
  • Explore the Fundamental Theorem of Calculus
  • Practice calculating areas under curves using integration
USEFUL FOR

Students and educators in mathematics, particularly those focusing on calculus, integration, and piecewise functions.

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 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
  • · Replies 2 ·
Replies
2
Views
3K