How Do You Substitute in a Polynomial Function?

  • Thread starter Thread starter caprija
  • Start date Start date
  • Tags Tags
    Polynomials
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
5 replies · 4K views
caprija
Messages
34
Reaction score
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)
 
Physics news on Phys.org
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.
 
electricsheep said:
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
 
caprija said:
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.
 
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)