How to calculate the inverse function of f(x) = (exp(x))+2)/(exp(-x))?
so first, let me rewrite: \[f(x)=\frac{e^x+2}{e^{-x}}\] Correct?
yes that is correct :)
ok, so now, in order to find the inverse, let's first talk about what the inverse is. The inverse "undo's" a function, but it also happens to be what happens when you swap the domain and range. So do you have any ideas for our first step?
Can you tell why the inverse exists?
Like you said, we exchange the domain and the range, so that's what I tried to do. So, we "swap" x for y and y for x and rearrange
where f(x) = y
then, first I wrote \[y = e ^{2x} + 2e ^{x}\]
Yup but before you do that, graph the function, as Abhishek pointed out, there does not have to be an inverse
hold off on that
I don't quite understand what Abhishek69 meant by that
technically* you should test for an inverse first, I just skipped the step because I knew the answer. My bad so in order for a fn to have an inverse, it must be 1-1 or pass the horizontal line test
aka for every x, there is a unique y
yep okay
does this eq pass?
yes it does
cool ok so now, your rewrite was correct, continue down the path
I then tried to take the natural log of both sides, and do the usual stuff (hopefully correct anyway). But in the end I got something that was quite different to the answer (it was a demonstration in the lecture I tried to redo). The answer I got was \[\frac{ 1 }{ 3 } \ln(\frac{ y }{ 2 })\]
so you made a fundamental error, ln(x+y) cannot be simplified at all
let's walk through what you did
so, \[\ln(y) = \ln(e ^{2x}) \times \ln(2e ^{x})\]
is that correct? I took the log of the whole of the right-hand side
no
ah.
they are not multiiplied
yes but i used the log rule
they are addition,
again ln(x+y) cannot be simplified
ln(xy)=(lnx)+(lny)
there is no rule for this situation
so rewrite from the beginning distribution you did
okay
SO i'll give you a hint. Your first step is going to be: complete the _____.
wait wait wait wait
hm?
I was being an idiot. I didn't do what I did, that was the "fail" attempt that i forgot to cross out
o.O ok?
yeah anyway, if i now take the log of each term, that's what i'd get to in the end. (with the 1/3 blah answer). now I complete the square?
no
there is no 1/3
you're right, it's wrong nonetheless
i was going to say, now if i let x = exp(x)
so let's start here \[y=e^2x+2e^x\]
and write y = x^2 + 2x, would that do something?
no
so let's start here \[y=e^{2x}+2e^ x\]
just trust me ok, i'll walk you through
first step?
really not a clue, pardon
ok, so remember, swithc the variables to start
okay, so now we swap y and x?
yep type that in, you can copy and paste my LaTex commands using right click show math as
oh. I think this is it. I forgot to do the swapping from the start.
nope, please... please... I'm tired and losing patience, just do step by step with me please?
But I'm sorry, I have a lecture to go to in half an hour so I need to get ready. I'll try this question again later. Thank you for your time, and I'm sorry about this!
wait I have the answer pleasssseeee
it's just messy if you do it with me we can be done in 10 min or less
I would love to but I really gotta dash :/ Thank you very much for the offer though
ugh, ok
just complete the square then simplify then ln then simplify then exp then simplify then ln again and done
okay okay, thanks a lot! will try again later after physics. have a nice day :)
you too. took me 8 steps, so when you do just try ok?
yep
Join our real-time social learning platform and learn together with your friends!