Steply

Solve f(x) = x^2 + 2x, f(a + 1)

Step by step, with the reason for every step · Functions · Algebra 2

Step by step

The question

Question: find f(a + 1) for f(x) = x² + 2x.

f(x) = x2 + 2x

f(x) is read "f of x".

It is a rule, called a function.

A number goes in for x.

The rule gives one answer out.

f(x) = "f of x"
x goes in → an answer comes out

1 Put the bracket in

f(a + 1) means: put a + 1 in place of every x.

We write (a + 1) in brackets.

It goes in as one piece.

f(a + 1) = (a + 1)2 + 2(a + 1)

2 Write the square out

A square means the bracket times itself.

(a + 1)² is a + 1 times a + 1.

( )² = ( )( )

Careful!

We can't just square each part.

a² + 1 is wrong.

The middle part is missing.

Careful: not (a + 1)2 = a² + 1 ✗

So we write the bracket two times.

= (a + 1)(a + 1) + 2(a + 1)

3 Split the first bracket

Each part of the first bracket multiplies the whole second bracket.

(a + b)(c + d) = a(c + d) + b(c + d)

The parts of the first bracket are a and 1.

Each one takes the whole second bracket.

= a(a + 1) + 1(a + 1) + 2(a + 1)

4 Open the brackets

What is in front of a bracket multiplies every part inside.

a(b + c) = ab + ac

So we write each part times what is in front.

= a(a) + a(1) + 1(a) + 1(1) + 2(a) + 2(1)

a times a is a².

a times 1 is a.

1 times a is a.

1 times 1 is 1.

= a2 + a + a + 1 + 2a + 2

5 Group like terms

Terms are the parts between the + and − signs.

Like terms are the same kind: same letters, same powers.

All the a terms go together.

Plain numbers go together.

Each colour is one kind.

like terms = same letters,
same powers

We move like terms next to each other.

Each term takes its sign with it.

= a2 + a + a + 2a + 1 + 2

a + a + 2a is 4a.

1 + 2 is 3.

a + a + 2a = 4a
1 + 2 = 3

So the expression is a² + 4a + 3.

f(a + 1) = a2 + 4a + 3

6 Check

Let's check.

We pick a number for each letter: a = 2.

We put it into the start.

Start: (2 + 1)2 + 2 × (2 + 1) = (3)2 + 2 × 3
= 9 + 6 = 15

Now into our answer.

Answer: 22 + 4 × 2 + 3 = 4 + 8 + 3 = 15

Both give 15.

Same value, so a² + 4a + 3 is right!

Both give 15

Let's look back.

First: put the bracket in.

Then: write the square out.

Then: split the first bracket.

Then: open the brackets.

Then: group like terms.

Last: check.

Answer
f(a + 1) = a2 + 4a + 3

Your turn

Try this one yourself, then check:

f(x) = x2 + 7x, find f(a + 1)
Show the answer
f(a + 1) = a2 + 9a + 8

More from Functions

The whole lesson: Functions →