Posted by CMM on Wednesday, October 13, 2010 at 12:50am.


Calculate the following:

a) Find g(f(1))
b) Find lim x-> 1+ g(f(x))
c) Find f(g(0))
d) Find lim x->0- f(g(x))

f(x)= 1-x, x<1
1, x=1
x-1, x>1

g(x)= -x, x<0
2, x=0
x+2, x>0

This is where it gets hard. I have a graph for f(x) and one for g(x). I will explain them. The graph for f(x)has an open circle at 1 on the x-axis and a line extending straight out from it going to the right. Another line extends out from it as well in the left direction and passes through (0,1). A closed circle is located at (1,1).

The graph for g(x) has an open circle at the origin with a line extending from it going left. A closed circle is located at (0,2) with a line extending from it going to the right.

I have been struggling with these and I am now also confused as to why he included the info with the x is <,=,> part, as I have never seen this before. Could someone please help. I would really appreciate it.

Calc. Repost- Please Help - MathMate, Wednesday, October 13, 2010 at 8:45am
f(x) and g(x) are discontinuous functions defined each by two lines of different slopes and a point at the discontinuity, exactly as you described it.

Before finding f(g(x)), you will need to find out the different intervals on which both f(x) and g(x) are continuous, for example,
1. x<0
2. x=0
3. 0<x<1
4. x=1
5. x>1

You can then define f(g(x)) on each interval, similar to the way the original functions are defined.

For example, for interval 1, (x<0),
f(x)=1-x, g(x)=-x
so f(g(x))=f(-x)=1-(-x)=1+x
for interval 2, (x=0)
f(x)=1, g(x)=2
so f(g(x))=f(2)=1
and so on.

For the limits, you will have to consider the values of f(x) or g(x) approaching from either side of the limit, for example, x=1+ or x=1-.

Calc. Repost- Please Help - Blake, Wednesday, October 13, 2010 at 1:22pm
I'm confused. Why do you use f(x)= 1-x, g(x)=-x... I don't see that interval, but I see that interval 2 is the 2nd line for g(x).

???

Calc. Repost- Please Help - CMM, Wednesday, October 13, 2010 at 1:24pm
I'm just as confused!

Ok, so here is what I think.

a) f(1)=2 g(1)=x+2 1+2= 3?

b)lim x->1+ f(x)=0
lim x->1+ g(x)= 2?

c)g(0)=2
f(2)= ????

d) lim x->0- g(x)=0
lim x->0- f(x)= 1?

Right or Wrong?

(a) correct

(b)
Lim x->1+ g(f(x))
first find
lim x->1+ f(x)
= lim x->1+ x-1
= 0+
Then
Lim x->0+ g(0+)
= lim x->0+ x+2
= 0+2
=2

(c)
f(g(0))
=f(2)
=2-1
=1

d) lim x->0- g(x)=0+
lim x->0+ f(x)
=1 - 0+
= 1 (correct)

It seems like there is a bit of confusion about how to calculate the given expressions. Let's break it down step by step:

a) To find g(f(1)), we need to substitute x=1 into the function f(x), and then substitute the result into the function g(x). So first, let's find f(1):

f(1) = 1-1 = 0

Then, substitute f(1) into g(x):

g(f(1)) = g(0)

According to the definition of g(x), when x=0, g(x)=2. So,

g(f(1)) = g(0) = 2.

b) To find lim x->1+ g(f(x)), we need to find the limit of g(f(x)) as x approaches 1 from the right side (i.e., x > 1). We can use the definition of f(x) and g(x) to find g(f(x)) and then take the limit:

For x > 1, f(x) = x-1 and g(f(x)) = g(x-1) = -(x-1) = -x+1.

Taking the limit as x approaches 1 from the right side:

lim x->1+ g(f(x)) = lim x->1+ (-x+1) = -1+1 = 0.

c) To find f(g(0)), we need to substitute x=0 into the function g(x), and then substitute the result into the function f(x). So:

g(0) = 2

Substitute g(0) into f(x):

f(g(0)) = f(2)

According to the definition of f(x), when x=2, f(x)=2-1=1. So,

f(g(0)) = f(2) = 1.

d) To find lim x->0- f(g(x)), we need to find the limit of f(g(x)) as x approaches 0 from the left side (i.e., x < 0). We can use the definition of g(x) and f(x) to find f(g(x)) and then take the limit:

For x < 0, g(x) = -x and f(g(x)) = f(-x) = 1-(-x) = 1+x.

Taking the limit as x approaches 0 from the left side:

lim x->0- f(g(x)) = lim x->0- (1 + x) = 1 + 0 = 1.

I hope this helps clarify the calculations for each of the given expressions. If you have any further questions, feel free to ask!