Processing math: 100%

EXAMPLE 3Finding the Domain of a Composite Function

Suppose that f(x)=1x+2 and g(x)=4x1. Find fg and its domain.

Solution (fg)(x)=f(g(x))=1g(x)+2=14x1+2=x14+2(x1)=x12x+2

To find the domain of fg, first note that the domain of g is {x|x1}, so we exclude 1 from the domain of fg. Next note that the domain of f is {x|x2}, which means g(x) cannot equal 2. To determine what additional values of x to exclude, we solve the equation g(x)=2: 4x1=2g(x)=24=2(x1)4=2x+22x=2x=1

We also exclude 1 from the domain of fg.

The domain of fg is {x|x1, x1}.

We could also find the domain of fg by first finding the domain of g: {x|x1}. So, exclude 1 from the domain of fg. Then looking at (fg)(x)=x12x+2=x12(x+1), notice that x1, so we exclude 1 from the domain of fg. Therefore, the domain of fg is {x|x1, x1}.