Composition


by Дьявол
Tags: composition
Дьявол
Дьявол is offline
#1
Oct31-08, 02:32 PM
P: 365
1. The problem statement, all variables and given/known data

Find the function g(x), if there are [itex]h=g \circ f[/itex]

f(x)=x+1, [itex]x \in \mathbb{R}[/itex] and [itex]h(x)=x^3+3x+1[/itex]

2. Relevant equations

[tex](g \circ f)(x)=g(f(x))=h(x)[/tex]

[tex]f \circ g \neq g \circ f [/tex]

3. The attempt at a solution

[tex]h=g \circ f[/tex]

[tex]h(x)=g(f(x))[/tex]

[tex]x^3+3x+1=g(x+1)[/tex]

Is there any way that I will directly find the result of g(x), or I should guess and try some things? I tried something at home, but useless. Please help me!
Phys.Org News Partner Science news on Phys.org
Going nuts? Turkey looks to pistachios to heat new eco-city
Space-tested fluid flow concept advances infectious disease diagnoses
SpaceX launches supplies to space station (Update)
Office_Shredder
Office_Shredder is offline
#2
Oct31-08, 03:12 PM
Mentor
P: 4,499
My guess is g is going to be a polynomial. You can use the degree of f and h to find what the degree of g is going to be, then plug f into a generic polynomial of that degree and see what conditions the coefficients have to satisfy
Dick
Dick is offline
#3
Oct31-08, 03:15 PM
Sci Advisor
HW Helper
Thanks
P: 25,168
Well, you can figure g ought to be a polynomial function of degree 3, right? So put g(x+1)=A(x+1)^3+B(x+1)^2+C(x+1)+D. If you set that equal to x^3+3x+1, can you find A,B,C and D? You should get four equations in four unknowns if you equate the powers of x. Of course, you can also be clever and pick some special values of x that might make the job easier (like x=-1).

Дьявол
Дьявол is offline
#4
Oct31-08, 03:29 PM
P: 365

Composition


Thanks for the posts.

I found A=1, B=-3, C=6, D=-3.
[tex]g(x+1)=(x+1)^3-3(x+1)^2+6(x+1)-3[/tex]
So
[tex]g(x)=x^3-3x^2+6x-3[/tex]

Yes it is correct.

How will x=-1 make the job easier?
Dick
Dick is offline
#5
Oct31-08, 03:38 PM
Sci Advisor
HW Helper
Thanks
P: 25,168
Quote Quote by Дьявол View Post
Thanks for the posts.

I found A=1, B=-3, C=6, D=-3.
[tex]g(x+1)=(x+1)^3-3(x+1)^2+6(x+1)-3[/tex]
So
[tex]g(x)=x^3-3x^2+6x-3[/tex]

Yes it is correct.

How will x=-1 make the job easier?
If you put x=-1, you get D=-3 directly. You can also see A must be 1 without doing any any algebra. So you really only need to solve for B and C.
gabbagabbahey
gabbagabbahey is offline
#6
Oct31-08, 06:05 PM
HW Helper
gabbagabbahey's Avatar
P: 5,004
Quote Quote by Дьявол View Post
[tex]x^3+3x+1=g(x+1)[/tex]

Is there any way that I will directly find the result of g(x), or I should guess and try some things? I tried something at home, but useless. Please help me!
An alternative method would be to just make the substitution u=x+1 (and hence x=u-1) into this equation and find g(u), then rename u to x and your done....You wouldn't even need to expand the polynomial, you could just leave it as a polynomial in powers of (x-1)
Дьявол
Дьявол is offline
#7
Oct31-08, 06:47 PM
P: 365
Thanks for the replys.
gabbagabbahey, do you think like [itex](u-1)^3+3(u-1)+1=g(u)[/itex] ?

I got the same result [itex]u^3-3u^2+6u-3=g(u)[/itex], so if I write [itex]g(x)=u^3-3u^2+6u-3[/itex]. Thanks again.
gabbagabbahey
gabbagabbahey is offline
#8
Oct31-08, 07:21 PM
HW Helper
gabbagabbahey's Avatar
P: 5,004
Yes, [itex](u-1)^3+3(u-1)+1=g(u)[/itex] so automatically, [itex]g(x)=(x-1)^3+3(x-1)+1[/itex] and you could leave the answer just like that. (or you could expand it in powers of x and get [itex]g(x)=x^3-3x^2+6x-3[/itex])
Dick
Dick is offline
#9
Oct31-08, 09:54 PM
Sci Advisor
HW Helper
Thanks
P: 25,168
Quote Quote by gabbagabbahey View Post
An alternative method would be to just make the substitution u=x+1 (and hence x=u-1) into this equation and find g(u), then rename u to x and your done....You wouldn't even need to expand the polynomial, you could just leave it as a polynomial in powers of (x-1)
That's even more direct. Good observation.


Register to reply

Related Discussions
Composition of a function Precalculus Mathematics Homework 8
percentage composition Biology, Chemistry & Other Homework 1
Composition of endomorphisms Linear & Abstract Algebra 4
Function Composition Introductory Physics Homework 4
me sci-fi composition Science Fiction & Fantasy 6