Finding the Inverse of Composite Functions

AI Thread Summary
The discussion focuses on finding the inverse of the composite function (g ° f) where f(x) = e^(2x) and g(x) = 2x - 1. Participants point out the importance of proper notation, particularly avoiding confusion between multiplication and variable representation. They suggest switching x and y before solving for y, emphasizing the need for correct parentheses in expressions. The final correct expression for the inverse is derived as y = (1/2) ln((x + 1)/2). The conversation also touches on the benefits of using LaTeX for clearer communication in mathematical discussions.
Peter G.
Messages
439
Reaction score
0
Hello guys :smile:

Given that: f(x) = e2x and g(x) = (2x-1)

Find: (g ° f)-1(x)

So, what I did first was to put f into g:

2 x e2x - 1 = y
2 x e2x = y + 1
e2x = y + 1 / 2
(ex)2 = y + 1 / 2
ln (y+1/2) = x

Is that ok?

Thanks,
Peter G.
 
Physics news on Phys.org
Peter G. said:
Hello guys :smile:

Given that: f(x) = e2x and g(x) = (2x-1)

Find: (g ° f)-1(x)

So, what I did first was to put f into g:

2 x e2x - 1 = y
It's bad practice to use x for multiplication and as a variable.
What you have above is g(f(x)), but would be better written as g(f(x)) = y = 2e2x - 1
Peter G. said:
2 x e2x = y + 1
e2x = y + 1 / 2
You need parentheses above.
It should be e2x = (y + 1)/2
Peter G. said:
(ex)2 = y + 1 / 2
ln (y+1/2) = x

Is that ok?
No. You should have gotten x = (1/2) ln( (y + 1)/2)
Peter G. said:
Thanks,
Peter G.
 
Peter G. said:
Hello guys :smile:

Given that: f(x) = e2x and g(x) = (2x-1)

Find: (g ° f)-1(x)

So, what I did first was to put f into g:

2 x e2x - 1 = y

Can you not use "x" for multiplication? Looks like the variable "x." So you have
(g \circ f)(x) = 2e^{2x} - 1
. Looks good.

From here on, however, I would switch the x's and y's first, and then solve for y.
2 x e2x = y + 1
Change to
2e^{2y} = x + 1

e2x = y + 1 / 2
That looks like
y + \frac{1}{2}
which is wrong. You mean
\frac{y + 1}{2}
of course. So the next step should be
e^{2y} = \frac{x + 1}{2}

(ex)2 = y + 1 / 2
Don't do this. Convert to the logarithm right away:
2y = \ln \left(\frac{x + 1}{2} \right)
Then divide by 2:
y = \frac{1}{2}\ln \left(\frac{x + 1}{2} \right)

EDIT: Mark44 beat me to it. ;)
 
Argh... sorry Mark44, towards the end I made a typo.

Well, first and foremost, yes, the x's are confusing, I apologize.

I understood what you guys did, but, what I did originally was:

(ex)2 = (y+1)/2
ex = √(y+1)/2
ln √(y+1)/2 = x
y = ln √(x+1)/2

Which I suppose works too?
 
Peter G. said:
Argh... sorry Mark44, towards the end I made a typo.

Well, first and foremost, yes, the x's are confusing, I apologize.

I understood what you guys did, but, what I did originally was:

(ex)2 = (y+1)/2
ex = √(y+1)/2
You have some parentheses, but you need more to indicate that (y + 1)/2 is inside the radical.
ex = √((y+1)/2)

Peter G. said:
ln √(y+1)/2 = x
y = ln √(x+1)/2
ln √[(y+1)/2] = x
y = ln √[(x+1)/2]

or
y = ln [(x+1)/2]1/2 = (1/2) ln[(x + 1)/2]


Peter G. said:
Which I suppose works too?
 
Cool guys, thanks.

I guess I need to work on my notation though! :-p

And by the way, in order to make things simpler next time for me and the ones helping in order to use that kind of format eumyang used I have to use the latex reference function?

Thanks once again
Peter G.
 
No, you don't have to use LaTeX as long as what you write is clear. I.e., writing (x + 1)/2 instead of x + 1/2, if the first is what you mean.

If you plan to post here often, though, it's a good idea to learn some LaTeX. Here's a link to get you started: https://www.physicsforums.com/showthread.php?t=386951
 
Last edited by a moderator:
Thanks for the Link Mark44.

I understand I don't need the latex, but, since I really like the concept of a forum, even though I'd love to help some people but I find few doubts I am comfortable explaining due to my level of expertise...

So yeah, I plan on using this website quite often so the latex function would be a nice addition, especially when I am reviewing my own work.
 
Back
Top