Let f(x) = 2x + 5 and g(x)=x2+x. Describe
(i) f + g
(ii) f - g
(iii) fg. Find the domain in each case.
We have,
f(x)=2x+5 and g(x)=x2+x
We observe that f(x)=2x+5 is defined for all xϵR
So, domain (f) = R
Clearly g(x)=x2+x is defined for all xϵR
So, domain (g) = R
∴ Domain (f) cap Domain (g) = R
(i) Clearly, (f+g):R→R is given by
(f + g) (x) = f(x) + g(x)
=2x+5+x2+x=x2+3x+5
Domain (f + g) = R
(ii) We find that f−g:R→R is defined as
(f−g)(x)=f(x)−g(x)=2x+5−(x2+x)=2x+5−x2−x=−x2+x+5
Domain (f-g) = R
(iii) We find that fg:R→R is given by
f(g)(x)=f(x)×g(x)=(2x+5)×(x2+x)=2x3+2x2+5x2+5x=2x3+7x2+5x
Domain (fg) = R
(iv) We have,
g(x)=x2+x∴f(x)=0⇒x2+x=0⇒x(x+1)=0⇒x=0 or, x=−1
So, domain (fg)=domain(f)∩domain(g)−{x:g(x)=0}=R−{−ϕ,0}
We find that, fg:R−{−1,0}→R is given by (fg)(x)=f(x)g(x)=2x+5x2+xDomain(fg)=R−{−1,0}