How Do You Solve a Composite Function Problem with Constants?

AI Thread Summary
To solve the composite function problem with constants, the given functions are f(x) = ax + b and f(3)(x) = 64x + 21. By equating coefficients after expanding f(3)(x), two equations are derived: a^3 = 64 and a^2b + ab + b = 21. Solving these equations reveals that a = 4 and subsequently b = 1. The key to solving such polynomial equations lies in matching coefficients of corresponding terms.
valmancer
Messages
8
Reaction score
0
Given f(x)=ax+b, and f(3)(x)=64x+21, find the values of the constants a and b.

(note: f(3)(x) means fff(x))


To me this seems like I have to use two equations to find the value of three variables, since when I have found a and b, I should be able to get the value of x. Even though it should be impossible to find the values of three variables (I don't know what the difference between an unknown constant and a variable is) with two equations I went ahead and started simplifying the equation hoping it to magically solve itself:

f(3)(x)=a(a(ax+b)+b)+b=a(a^2x+ab+b)+b

=>a^3x+a^2b+ab+b=64x+21

=>b(a^2+a+1)=64x+21-a^3x

=>b=(64x+21-a^3x)/(a^2+a+1)

And this is where I understood that the way I was going about solving the thing won't work (I need to find exact values, which are not dependent on any variables). I'm out of ideas for how to try and solve the question.

Thanks in advance
 
Physics news on Phys.org
After a^3x+a^2b+ab+b=64x+21 you should have two equations:

a^3 = 64
and a^2b+ab+b = 21

---> a = 4
and 4^2b + 4b +b = 21
16b + 4b +b = 21
21 b = 21
b = 21
 
Do you know what makes two polynomials equal? Two polynomials are equal if and only if their coefficients with respect to the variables are equal. For example, if
ax^2 + b = 16x^2 + 4
then a=16 and b = 4
 
Thanks a lot; I don't understand how I didn't notice that.

This is how I got the answer in case anyone's interested:

a^3x+(a^2b+ab+b)=64x+21

Therefore a^3=64 => a=4

a^2b+ab+b=21
=> b(4^2+4+1)=21 => b=21/21=1

Thank you
 
I picked up this problem from the Schaum's series book titled "College Mathematics" by Ayres/Schmidt. It is a solved problem in the book. But what surprised me was that the solution to this problem was given in one line without any explanation. I could, therefore, not understand how the given one-line solution was reached. The one-line solution in the book says: The equation is ##x \cos{\omega} +y \sin{\omega} - 5 = 0##, ##\omega## being the parameter. From my side, the only thing I could...

Similar threads

Back
Top