Suppose f ( x ) and g ( x ) are non-zero polynomials with real coefficients, such that f ( g ( x ) ) = f ( x ) ⋅ g ( x ) . If g ( 2 ) = 3 7 , what is g ( 3 ) ?
Details and assumptions
The zero polynomial is a polynomial that is identically 0, i.e. f = 0 .
A
non-zero
polynomial is a polynomial that is not the zero polynomial. Equivalently, there is a value
α
such that
f
(
α
)
=
0
.
A non-zero polynomial is allowed to have specific values that evaluate to 0. E.g.
f
(
x
)
=
x
−
1
is a non-zero polynomial even though
f
(
1
)
=
0
.
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Very clearly written solution. A little notational glitch: f denotes both a polynomial and a coefficient, but this should not confuse you. There are many variables to use, so avoid giving your notation double duty.
Common mistakes:
1) Overlooking the possibility that both polynomials have degree zero (that is are constants). How would you solve the equation m n = m + n ?
2) Guessing the coefficients, using the value of g ( 2 ) , instead of deriving them.
Let f(x) be a polynomial of degree n and g(x) of degree m. Let y= f(g(x)-f(x).g(x)=0. The degree for f(g(x)= n m and that for f(x).g(x)=n+m. n+m=n m, then only the function y will be zero for all values of x.( f(g(x) and f(x).g(x) are identical functions, hence they are equal for all values of x). We get two solutions i.e n=m=0 and n=m=2. We cannot have n=m=0 because then the functions will become constant and g(x) will be equal to 1. But it is given g(2)=37,hence we cannot have n=m=0. Therefore, n=m=2. Let f(x)= ax^2+bx+c and g(x)= dx^2+ex+f. f(g(x)= a(dx^2+ex+f)^2+b(dx^2+ex+f)+c. f(x).g(x)= (ax^2+bx+c).(dx^2+ex+c).
Comparing coefficient of each term we get the following equations. 1. Equating coefficient of x^4 ,we get ad^2=ad. a cannot be zero since f(x) is a degree two polynomial and so cannot be d since g(x) is also degree two polynomial.Hence, d=1. 2. Equating coefficient of x^3, we get ae=b 3. Equating coefficient of x^2, we get af+b=c. 4. Equating the constant terms we get c=0. 5. By using g(2)=37, we get 2e+f=33.
By using equations 2,3,4,5 we get e+f=0. Hence, e=33 and f= -33. Therefore the polynomial g(x)= x^2+33x-33. g(3)=75.
Suppose m and n are the degree of f ( x ) and g ( x ) respectively, m and n are non-negative integers.
Since f ( g ( x ) ) = f ( x ) . g ( x ) , m . n = m + n . So ( m − 1 ) ( n − 1 ) = 1 and we obtain m = n = 2 .
Therefore, suppose f ( x ) = ( x − a ) ( x − b ) and g ( x ) = ( x − c ) ( x − d ) .
Since f ( g ( x ) ) = f ( x ) . g ( x ) , we have [ ( x − c ) ( x − d ) − a ] [ ( x − c ) ( x − d ) − b ]
= ( x − a ) ( x − b ) ( x − c ) ( x − d ) .
Because a and b are equivalent, c and d are equivalent, we only need to consider 2 cases:
Case 1: ( x − c ) ( x − d ) − a = ( x − a ) ( x − c ) and ( x − c ) ( x − d ) − b = ( x − b ) ( x − d ) .
These will lead to a = b = c = d = 0 and therefore not satisfy the given condition.
Case 2: ( x − c ) ( x − d ) − a = ( x − c ) ( x − d ) and ( x − c ) ( x − d ) − b = ( x − a ) ( x − b ) .
These will lead to a = 0 and c d = c + d = b .
Therefore, g ( x ) = ( x − c ) ( x − d ) = x 2 − b x + b . Since g ( 2 ) = 3 7 , we obtain b = − 3 3 and therefore g ( 3 ) = 7 5 .
This solution is incomplete because it assumes that the quadratics are monic, which is not valid.
Be careful with general formulas for f ( x ) and g ( x ) . They must be like this:
f ( x ) = m x 2 + m b x
g ( x ) = x 2 + b x − b
Log in to reply
Great eye! With f ( x ) , it is clear that multiplying throughout by m will allow the equation to still hold, since we have f ( g ( x ) ) = f ( x ) × g ( x ) ⇒ m f ( g ( x ) ) = [ m f ( x ) ] × g ( x ) .
However, for g ( x ) , we cannot multiply throughout by n , since f ( g ( x ) ) = f ( x ) × g ( x ) ⇒ f ( n g ( x ) ) = f ( x ) × [ n g ( x ) ] .
He was lucky that g ( x ) did need to be a monic polynomial.
Yes, you are right. I dismissed the coefficient of x 2 in f ( x ) since it will be reduced in both side of the equation f ( g ( x ) ) = f ( x ) . g ( x ) but it seems to make my solution less thorough.
Log in to reply
If f ( x ) = a x 2 + b x + c , we can restate it as f ( x ) = x 2 + a b x + a c
Am I right?
Also you must eliminate m = n = 0 .
Log in to reply
Yes, it's a deficiency in my solution. Thank you!
given: f(g(x)) = f(x) * g(x) .....(A) ; and g(2) = 37 .
to find: g(3)
Solution: Let degree of polynomial f(x)=m and that of g(x)=n where m&n are some whole number.
Since, Degree of f(g(x)) will be n * m and that of f(x) * g(x) = m + n ;
it implies that n * m = m + n ...(i) ; from this we have n = m * (n-1) which implies that n divides m, since n does not divide (n-1) for any natural number. Similarly m divides n.
Since m and n divide each other it means that m = n, which from equation (i) implies that either m = n = 2 or m = n = 0.
If m = n = 0 then f(x) and g(x) are both constant polynomials , say f(x) = p and g(x) = q for some real number p&q.
Then from equation (A) we have f(q) = p * q which implies p = p * q .
This means either p = 0 meaning f(x) is identically 0 which is not true (since f(x) is a non-zero polynomial) or q = 1 i.e. g(x) = 1 for all real values of x, which is also false since g(2) = 37.
Therefore m = n = 2 meaning f(x) and g(x) are quadratic polynomials.
Let f(x) = a * (x - x1) * (x - x2) ; and g(x) = u * (x - x3) * (x - x4) ;
i.e. x1 and x2 are roots of f(x) and x3 and x4 are roots of g(x).
Now, f(g(x)) = 0 if any of f(x) or g(x) is 0. If g(x) = 0 ; we have f(0) = f(x) * 0 = 0 i.e. 0 is a root of f(x). Let x2 = 0; so f(x) = a * x * (x - x1) ;
So, f(g(x)) = f(x) * g(x) = a * x *( x - x1) * u * (x - x3) * (x - x4) = a * u * x * (x - x1) * (x - x3) * (x - x4) ;
We have f(x) = a * x * (x - x1) ; Therefore , f(g(x)) = a * g(x) * (g(x) - x1) ...(ii) ; Since f(g(x)) = f(x) * g(x) ; from equation (A) and (ii) we get
a * g(x) * (g(x) - x1) = f(x) * g(x) which implies that
a * (g(x) - x1) = f(x) ; (since g(x) is not identically zero)
So, a * {u * (x-x3) * (x-x4) - x1} = a * x * (x - x1) ; which implies that
u * (x - x3) * (x - x4) - x1 = x * (x - x1) ..... (iii) ;
because a is not equal to 0, since f(x) is a quadratic polynomial.
[Note: m^n denotes m to the power of n wherever it appears in the solution]
Expanding equation (iii) and shifting terms to one side we get
(u - 1) * (x^2) + {x1 - u * (x3 + x4)} * x + (u * x3 * x4 - x1) = 0 ... (iv) ;
Since, this equation is true for all real values of x, i.e. the equation is identically zero, the coefficients in the quadratic equation as well as the constant term must be zero.
Therefore u=1 ; x1 = x3 + x4 ; and x3 * x4 = x1 = x3 + x4 This implies that
g(x) = (x - x3) * (x - x4) ={ (x^2) - (x3 + x4) * x + x3 * x4 } = { (x^2) - x1 * x + x1 } .... (v) ;
Putting x= 2 in equation 5 we get, 37 = 4 - (2 * x1) + x1; implies x1 = (-33)
So, g(x) = (x^2) + 33 * x + (- 33) ... (vi)
Putting x = 3 in equation (vi) we get g(3) = 9 + 33 * 3 - 33 = 9 + 66 = 75
Hence, the solution is g(3) = 75 .
If D ( f ) is the degree of f etc. then we have: D ( f ( g ) ) = D ( f ) D ( g ) and D ( f g ) = D ( f ) + D ( g ) . These simultaneous equations only have two solutions in non-negative integers: D ( f ) = D ( g ) = 2 and D ( f ) = D ( g ) = 0 .
In the latter case, i.e. f and g both constant, the problem condition gives f = f g , so f = 0 or g = 1 . But it is specified that f = 0 and g = 3 7 , so there is no solution here. Therefore f , g are both quadratics.
If we multiply the two quadratics and equate like terms, it turns out (after some algebra that would take me too long to write out here) that there is only one general solution: f ( x ) = a x ( x + b ) g ( x ) = x ( x + b ) − b which is easily verifiable: f ( g ) = a g ( x ( x + b ) ) = a g ( a f ) = f g .
If g ( 2 ) = 3 7 then b = 3 3 , so g ( 3 ) = 7 5 .
Let the degrees of polynomials f and g be positive integers A and B respectively, because d e g ( L H S ) = d e g ( R H S ) , we have A B = A + B , or 1 = A 1 + B 1 , so the solution is A = B = 2 . So we let f ( x ) = a x 2 + b x + c , g ( x ) = d x 2 + e x + f , with a = 0 , d = 0
Because g ( 2 ) = 3 7 , we get 2 e + f = 3 3 , ( ( 1 ) )
Given f ( g ( x ) ) = f ( x ) ⋅ g ( x ) , we have
a ( d x 2 + e x + f ) 2 + b ( d x 2 + e x + f ) + c =
( a x 2 + b x + c ) ( d x 2 + e x + f )
Expand and group them in terms of different powers of x
x 4 ( a d 2 ) + x 3 ( 2 a d e ) + x 2 ( 2 a d f + a e 2 + b d ) + x ( 2 a e f
+ b e ) + ( a f 2 + b f + c ) = x 4 ( a d ) + x 3 ( a e + b d ) +
x 2 ( a f + b e + c d ) + x ( b f + c e ) + ( c f )
a d 2 = a d ⇒ d = 1 , ( ( 2 ) )
a e = b , ( ( 3 ) )
2 a d f + a e 2 + b d = a f + b e + c d ⇒ a f + b = c , ( ( 4 ) )
a f 2 + b f + c = c f ⇒ a f 2 + b f + c = c f , ( ( 5 ) )
( ( 4 ) ) × f − ( ( 5 ) ) : c = 0 ⇒ a f + b = 0 ⇒ f = − a b , ( ( 6 ) )
Letting x = 2 for f ( g ( x ) ) = f ( x ) ⋅ g ( x ) , we get f ( 2 ) f ( 3 7 ) = 3 7
⇒ 4 a + 2 b 1 3 6 9 a + 3 7 b = 3 7
⇒ 4 + 2 b / a 1 3 6 9 + 3 7 b / a = 3 7
⇒ 4 − 2 f 1 3 6 9 − 3 7 f = 3 7 ⇒ f = − 3 3 ⇒ e = 3 3
⇒ g ( 3 ) = 3 2 + 3 ⋅ 3 3 − 3 3 = 7 5
When you have a e = b and a f = − b , you can say that e = − f right away ( a = 0 ) and then solve since g ( 2 ) = 3 7 .
Also you must eliminate A = B = 0 .
The best way to solve A B = A + B is to factor it into the form ( A − 1 ) ( B − 1 ) = 1 , and conclude that since they are integers, the only solutions are of the form ( A , B ) = ( 0 , 0 ) or ( 2 , 2 ) .
I suppose you shouldn't have mentioned 2 e + f = 3 3 in the beginning as we got to know the value of d later on.
Log in to reply
Yeah it should be placed after the line " a d 2 = a d ⇒ d = 1 , Thanks!
Let the degree of f ( x ) = m and that of g ( x ) = n .Therefore the degree of f ( g ( x ) ) = m n .Equating the degrees in the above relation that f ( g ( x ) ) = f ( x ) . g ( x ) we get m = n − 1 n .Substituting m in the equation m + n = m n we get n = 2 , m = 2 .Let us assume that f ( x ) is a quadratic of the form a x 2 + b x + c = 0 .Putting g ( 2 ) = 3 7 , we get f ( 3 7 ) = 3 7 . f ( 2 ) .So in the quadratic form we get a . 3 7 2 + b . 3 7 + c = 3 7 ( a . 2 2 + b . 2 + c ) .On simplification we get 1 2 2 1 a − 3 7 b − 3 6 c = 0 .The values of a , b , c are a = 1 , b = 3 3 , c = 0 .Therefore f ( x ) = x 2 + 3 3 x .Substituting this in f ( g ( x ) ) = f ( x ) . g ( x ) we get g ( x ) 2 + 3 3 g ( x ) = ( x 2 + 3 3 ) . g ( x ) .This is a quadratic in g ( x ) and from here we get the solutions g ( x ) = 0 and g ( x ) = x 2 + 3 3 x − 3 3 .But g ( x ) is a non-zero polynomial,therefore g ( x ) = x 2 + 3 3 x − 3 3 .Putting x = 3 we get g ( 3 ) = 7 5
Let f(x) = x^2 + cx + d and g(x) = x^2 + ax + b. Substituting this in the given equation yields (x^2 + ax + b)^2 + c(x^2 + ax + b) + d = (x^2 + ax + b)(x^2 + cx + d). By noting that the x^3, x^2, x, and constant coefficients must be equal, one finds that a = c, b + a = d, and d = 0. Putting everything in terms of a, one finds g(x) = x^2 + ax - a. Since g(2) = 37, it follows that a = 33. Then g(3) = 75.
let f(x) be a polynomial with degree m an g(x) with degree n. given:f(g(x))=f(x) g(x).............(1) f(g(x)) will be a polynomial with degree m^n.(Eg.if f(x)=x^2 and g(x)=x^3 then f(g(x))=x^6) f(x) g(x) will be a polynomial with degree m+n. then from (1),comparing coefficients of x on both sides m+n=m n i.e. m=n/(n-1) By theory of polynomials degrees m and n are positive integers By trial and error, m=n=2 is one solution therefore,the two polynomials are f(x)=x^2+b1 x+c1 g(x)=x^2+b2*x+c2
now substituting f(x) and g(x) in condition (1) and comparing coefficients (Whew!) we get, b1=b2=-c2 (hopefully.i don't have the courage to recheck :) ) therefore g(x)=x^2-c2 x+c2 but g(2)=37 therefore, c2=-33 finally,we get g(x)=x^2+33 x-33 now g(3)=3^3+33 3-33 * g(3)=75 **
First of all, let us assume f(x) be (a1)x^n + (b1)x^n-1 + c1x^n-2... and so on. similarly g(x) = (a2) x^m + b2. x^m-1 and so on... {where n and m are the degrees of f(x) and g(x) respectively.
Now substituting these values in f(g(x))=f(x)⋅g(x) and comparing the degrees of the new polynomial, we get:
mn = m+n. The only possible value of m and n is 2.
So that makes it f(x) = a.x^2 +bx+c and g(x) = px^2 + qx +c
As we know g(2) = 37. Therefore, using the relation given in the question, f(37) = f(2).g(2) = f(2).37
37^2.a + b.37 + c = 37( 4a +2b +c)
On simplifying we get, 37.33.a−37.b−36.c=0>
On inspection, possible values of a, b and c are 1, 33 and 0 respectively.
Therefore, f(x)=x^2+33.x
As f(g(x))=f(x).g(x)
(g(x))2+33⋅g(x)=(x^2+33.x)⋅g(x)
Solving the quadratic of g(x), we end up with g(x)=x^2 + 33.x − 33.
Now, substituting x=3, we get 3^2 + 33x3 - 33 = 9 + 99 - 33 = 75.
Considering the degrees of the polynomials on both sides of the equation we can determine that: D e g ( f ( g ( x ) ) = D e g ( f ( x ) ) ∗ D e g ( g ( x ) ) = D e g ( f ( x ) ∗ g ( x ) ) = D e g ( f ( x ) ) + D e g ( g ( x ) )
It follows that D e g ( f ) ∗ D e g ( g ) − D e g ( f ) − D e g ( g ) = 0 .
Adding 1 to both sides we have that D e g ( f ) ∗ D e g ( g ) − D e g ( f ) − D e g ( g ) + 1 = 1 which implies that ( D e g ( f ) − 1 ) ( D e g ( g ) − 1 ) = 1 .
As both D e g ( f ) and D e g ( g ) are integral we have the following two solutions: D e g ( f ) = 0 , D e g ( g ) = 0 and D e g ( f ) = 2 , D e g ( g ) = 2 .
We can discard the first because then f and g would be constant and we would have that a = a b where f ( x ) = a and g ( x ) = b , but by hypothesis b = 3 7 . So we would have a = 3 7 a which implies a = 0 , but we assumed that f was non-zero so this case leads to contradiction.
Instead both f and g must be quadratic. It is now very tempting to try to write out the equation we were given in terms of coefficients and match up both sides but if we think about the properties of the given equation a bit more before we do that it will ease the difficulty of the computation tremendously.
First, note that if g has a root r then the given equation implies that f ( g ( r ) ) = f ( r ) ∗ g ( r ) which implies that f ( 0 ) = f ( r ) ∗ 0 = 0 so the constant term of f is 0 . Also wlog we can assume f is monic because if not we can divide both sides by its leading term preserving equality (and because this procedure does not affect g ( x ) )
Now we plug in x = 2 , which yields that f ( g ( 2 ) ) = f ( 3 7 ) = f ( 2 ) ∗ g ( 2 ) = f ( 2 ) ∗ 3 7 ) . If we let f ( x ) = x 2 + b x we have that 3 7 2 + 3 7 b = 1 4 8 + 7 4 b , so solving we have b = 3 3 .
Finally we plug in x = 3 , this yields that f ( g ( 3 ) ) = f ( 3 ) ∗ g ( 3 ) . Treating g ( 3 ) as a variable we can plug into the equation for f to get g ( 3 ) 2 + 3 3 g ( 3 ) = ( 3 2 + 3 3 ∗ 3 ) g ( 3 ) = 1 0 8 g ( 3 ) .
Collecting terms, we see that g ( 3 ) 2 − 7 5 g ( 3 ) = 0 . This implies that g ( 3 ) ( g ( 3 ) − 7 5 ) = 0
Therefore either g ( 3 ) = 0 or g ( 3 ) = 7 5 .
If we let the leading coefficient of g be c then from the given equation and our knowledge of f we see that c 2 = c and as D e g ( g ) = 2 , c cannot be 0 , so c = 1 . But then g ( x ) can be factored as ( x − d ) ( x − e ) .
Suppose g ( 3 ) = 0 , then g ( x ) = ( x − 3 ) ( x − e ) , plugging in x = 2 we get that 3 7 = − 1 ∗ ( 2 − e ) so e = 3 9 , but we can check that in this case the given equation does not hold.
It follows that g ( 3 ) = 7 5
Let be f ( x ) a polynomial of degree n and g ( x ) a polynomial of degree m . Then f ( x ) ⋅ g ( x ) has degree m + n and f ( g ( x ) ) has degree m ⋅ n . Since f ( g ( x ) ) = f ( x ) ⋅ g ( x ) we have:
m ⋅ n = m + n .
There are 2 possible solutions:
In case 1. we have f ( x ) and g ( x ) constant polynomials. Let be f ( x ) = k and g ( x ) = c , then we have: k = c ⋅ k ⟺ c = 1 , ∀ k ∈ R But since we know that g ( 2 ) = 3 7 g ( x ) = 1 can't be the solution.
Case 2. To simplify calculations we can also notice that 0 is a root of the polynomial f ( x ) . This can be proved observing that if x 0 is a root of g ( x ) then we have:
f ( g ( x 0 ) ) = f ( x 0 ) ⋅ g ( x 0 ) ⟺ f ( 0 ) = 0
Then we have, without losing generality:
f ( x ) = k x ( x − f 0 ) ; g ( x ) = c ( x − g 0 ) ( x − g 1 )
f ( g ( x ) ) = k c ( x − g 0 ) ( x − g 1 ) ( c ( x − g 0 ) ( x − g 1 ) − f 0 ) =
f ( x ) ⋅ g ( x ) = k c x ( x − f 0 ) ( x − g 0 ) ( x − g 1 )
For x = g 0 or x = g 1 the identity f ( g ( x ) ) = f ( x ) ⋅ g ( x ) is true, therefore we can divide by ( x − g 0 ) ( x − g 1 ) obtaining:
x 2 − f 0 x = c x 2 − c ( g 1 + g 0 ) x + c g 1 g 0 − f 0
then we have:
c = 1
g 1 + g 0 = − f 0
g 1 g 0 = f 0
( g 0 , g 1 ∈ C , f 0 ∈ R ) Then
g ( x ) = x 2 + f 0 x − f 0
g ( 2 ) = 3 7 ⟺ f 0 = 3 3
g ( 3 ) = 7 5
Problem Loading...
Note Loading...
Set Loading...
$$f(g(x)) = f(x).g(x) \ \ (*)$$
Let m = de g f ( x ) ; n = de g g ( x ) ( m , n ∈ N ) then from (*) we get m n = m + n ⇔ m = n = 0 ∨ m = n = 2 .
If m = n = 0 then f ( x ) , g ( x ) are constant, and since g ( 2 ) = 3 7 , let f ( x ) = α we have $$\alpha = 37\alpha \Leftrightarrow \alpha=0$$ This is invalid since f ( x ) is a non-zero polynomial. Therefore m = n = 2 , which implies that f ( x ) and g ( x ) are quadratic polynomials.
Let f ( x ) = a x 2 + b x + c , g ( x ) = d x 2 + e x + f ( a , d = 0 ) . We expand both sides of (*):
f ( g ( x ) ) = a ( d x 2 + e x + f ) 2 + b ( d x 2 + e x + f ) + c
f ( x ) . g ( x ) = ( a x 2 + b x + c ) ( d x 2 + e x + f )
Comparing coefficients gives us
a f 2 + b f + c = c f ( 1 )
2 a e f + b e = b f + c e ( 2 )
a e 2 + 2 a d f + b d = a f + c d + b e ( 3 )
2 a d e = a e + b d ( 4 )
a d 2 = a d ( 5 )
( 5 ) ⇒ d = 1 as a , d = 0 . ( 4 ) ⇒ a e = b .
( 3 ) ⇒ b e + 2 a f + b = a f + c + b e ⇔ a f = c − b
( 1 ) ⇒ f ( c − b ) + b f + c = c f ⇔ c = 0 ⇒ a f = − b = − a e
Therefore e = − f . Additionally, g ( 2 ) = 4 d + 2 e + f = 4 + 2 e + f = 3 7 , giving us d = 1 , e = 3 3 , f = - 3 3 .
Thus g ( x ) = x 2 + 3 3 x − 3 3 ⇒ g ( 3 ) = 7 5 .