Step by step
The question
Question: find (f × g)(x) for f(x) = x + 2 and g(x) = x − 3.
(f × g)(x) means f of x times g of x.
We multiply the two answers.
1 Put the rules in
Each rule goes in brackets, as one piece: (x + 2)(x − 3).
Careful!
Times is not putting one inside the other.
We multiply the two rules.
2 Split the first bracket
Each part of the first bracket multiplies the whole second bracket.
The parts of the first bracket are x and 2.
Each one takes the whole second bracket.
3 Open the brackets
What is in front of a bracket multiplies every part inside.
So we write each part times what is in front.
Watch the signs.
x times x is x².
x times (−3) is −3x.
2 times x is 2x.
2 times (−3) is −6.
4 Group like terms
Terms are the parts between the + and − signs.
Like terms are the same kind: same letters, same powers.
All the x terms go together.
Each colour is one kind.
−3x + 2x is −x.
So the expression is x² − x − 6.
5 Check
Let's check with a number: x = 2.
f of 2 is 4, g of 2 is −1.
Times: −4.
Now our answer with x = 2.
We get −4 too.
It works!
Let's look back.
First: put the rules in.
Then: split the first bracket.
Then: open the brackets.
Then: group like terms.
Last: check.