SOLUTION: I am not understanding these Adavanced Functions and could use some help please. f(x)=-3x-3 and g(x)=x^2+2x find (f-g)(2)

Algebra ->  Functions -> SOLUTION: I am not understanding these Adavanced Functions and could use some help please. f(x)=-3x-3 and g(x)=x^2+2x find (f-g)(2)      Log On


   



Question 533206: I am not understanding these Adavanced Functions and could use some help please.
f(x)=-3x-3 and g(x)=x^2+2x find (f-g)(2)

Found 2 solutions by stanbon, KMST:
Answer by stanbon(75887) About Me  (Show Source):
You can put this solution on YOUR website!
I am not understanding these Adavanced Functions and could use some help please.
f(x)=-3x-3 and g(x)=x^2+2x find
(f-g)(2) = f(2)-g(2)
= [-3*2-3]-[2^2+2*2]
= -9-0
= -9
========================
Cheers,
Stan H.
===========

Answer by KMST(5328) About Me  (Show Source):
You can put this solution on YOUR website!
(f-g)(x)=f(x)-g(x) for all x.
For x=2 (f-g)(2)=f(2)-g(2)
You have 2 options to solve your problem:
Option 1 _ You can first work with the x in the functions as they are written to generate the general expression for (f-g)(x), and substitute x=2 later.
Option 2 _ You can calculate f(2) and g(2) first and then do the subtraction with the two numbers.
All that's said above works similarly for (f+g), (fxg) and (f/g)
Sometimes one option is easier or more convenient than the other.
In your case:
Option 1 f%28x%29=-3x-3 g%28x%29=x%5E2%2B2x
%28f-g%29%28x%29=-3x-3-%28x%5E2%2B2x%29
%28f-g%29%28x%29=-3x-3-x%5E2-2x
%28f-g%29%28x%29=-x%5E2-5x-3
%28f-g%29%282%29=-2%5E2-5%2A2-3
%28f-g%29%282%29=-4-10-3
%28f-g%29%282%29=-17
Option 2
f%282%29=-3%2A2-3
f%282%29=-9
g%282%29=2%5E2%2B2%2A2
g%282%29=4%2B4
g%282%29=8
%28f-g%29%282%29=f%282%29-g%282%29=-9-8=-17