## anonymous 3 years ago ..

1. ParthKohli

Just subtract for finding (f - g) and add for finding (f + g).

2. anonymous

(f-g)(x) = f(x) - g(x)

3. ParthKohli

$\rm (f - g)(x) = (2x - 2)-(x + 4)$$\rm (f + g)(x) = (2x + 2) + (x + 4)$

4. ParthKohli

Oh, then it gets a little difficult... you have to plug g(x) into f(x).

5. ParthKohli

For example, if you got $$\rm f(x) = x^2$$ and $$\rm g(x) = x+1$$, then$\rm f(g(x)) = f(x + 1) = (x + 1)^2$

6. anonymous

oh..ok :/

7. anonymous

soo what would this be?

8. anonymous

for f(g(x)) just replace all the x in 2x-2 with (x+4) and for g(f(x)) just replace all the x in x+4 with (2x-2)

9. jiteshmeghwal9

$$x(f-g)$$=$$f(x)-g(x)$$ now put the values of $$f(x)$$ & $$g(x)$$ & solve them.

10. anonymous

yup.. thats how its done.

11. anonymous

thanks!

12. anonymous

welcome.

13. anonymous

so would it then be 2x+8-2 8x-8?

14. anonymous

how u got 8x-8?

15. anonymous

2x times +4 and-2 times +4

16. anonymous

noooo... (2x-2) +4 u have to just open the bracket.. if there is a positive or negative sign outside the bracket that means its addint or subtracting not multiplying. your expression will be like 2x-2 +4

17. anonymous

so it would just be 2x-2 +4? i dont have to solve it?

18. anonymous

(2x-2)4 if it was written liek this then u had to multiplied.. and yes that would be your answer just simplify it 2x+2 would be your answer for gf(x)

19. anonymous

thanks!

20. anonymous

welcome ..