• Support PF! Buy your school textbooks, materials and every day products Here!

Simple question on polynomials

  • Thread starter caprija
  • Start date
34
0
If f(x)=x^2 - 4x, determine an expression for g(x)

g(x) = f(x + 2)

How would I substitute f(x) when they are separated?

my attempt

g(x) = x^2 - 4x (x + 2)
 

Answers and Replies

OK, first are you happy with this one: we have f(x) = x^2 - 4x, what is f(a)?
(Answer: f(a) = a^2 - 4a. i.e. you just plug a into wherever x used to appear. It does NOT mean "f(a) = f(x) * a", which is similar to what you seem to have done in your attempt.)

Now, use the same technique for f(x+2). We just plug (x+2) into wherever x used to appear. What do you reckon the answer should be?

Once you have written f(x+2) as a polynomial, then we can call it g(x), or h(x) or y(x). So the "g(x) = " bit isn't that important.
 
34
0
OK, first are you happy with this one: we have f(x) = x^2 - 4x, what is f(a)?
(Answer: f(a) = a^2 - 4a. i.e. you just plug a into wherever x used to appear. It does NOT mean "f(a) = f(x) * a", which is similar to what you seem to have done in your attempt.)

Now, use the same technique for f(x+2). We just plug (x+2) into wherever x used to appear. What do you reckon the answer should be?

Once you have written f(x+2) as a polynomial, then we can call it g(x), or h(x) or y(x). So the "g(x) = " bit isn't that important.
Ok so the solution would be:

(x + 2) ^2 - 4x
x^2 + 4x - 4X + 4

answer: x^2 + 4
 
Ok so the solution would be:

(x + 2) ^2 - 4x
x^2 + 4x - 4X + 4

answer: x^2 + 4
Almost. You skipped substituting (x+2) in for one of your x's.
 
Alkatran
Science Advisor
Homework Helper
942
0
It will be a lot easier if you use "a+2" instead of "x+2" then switch it back so you know you swapped them all. Much harder to make a mistake.
 
286
0
f(x)=x^2 -4x

f(2) = 2^2 -4*2
f(3) = 3^2 -4*3
f(m) = m^2 -4*m
whatever is inside those parenthesis next to f, you're going to substitute for every x inside the original function.

f( :approve: ) = :approve: ^2 -4*:approve:


What helps sometimes is to just put in parenthesis where x is, then go back and fill them in...

(____)^2 - 4*(____)

Then, put into those parenthesis whatever is f(HERE)
 

Related Threads for: Simple question on polynomials

  • Last Post
Replies
8
Views
2K
  • Last Post
Replies
3
Views
1K
Replies
6
Views
1K
  • Last Post
Replies
4
Views
568
  • Last Post
Replies
7
Views
2K
  • Last Post
Replies
13
Views
2K
  • Last Post
Replies
5
Views
951
  • Last Post
Replies
2
Views
2K
Top