# Video: Finding the Inverse of a Function Containing an Exponential Function

The function 𝑓(𝑥) = 2𝑒^(𝑥) + 3 has an inverse of the form 𝑔(𝑥) = ln(𝑎𝑥 + 𝑏). What are the values of 𝑎 and 𝑏?

02:31

### Video Transcript

The function 𝑓 𝑥 equals two 𝑒 to the power of 𝑥 plus three has an inverse of the form 𝑔 𝑥 equals ln of 𝑎𝑥 plus 𝑏. What are the values of 𝑎 and 𝑏?

Well, first of all, I’m just gonna write our function 𝑓 𝑥 equals two 𝑒 to the power of 𝑥 plus three as 𝑦 equals two 𝑒 to the power of 𝑥 plus three. Now what we want to do is we actually want to find the inverse of this function.

Well, the first thing that we do is we actually exchange the variables. So as you can see, I’ve actually swapped 𝑥 and 𝑦. So we now have 𝑥 is equal to two 𝑒 to the power of 𝑦 plus three.

And now what we want to do if we wanna find the inverse is actually to rearrange to express in terms of 𝑦. So first of all, I’m actually gonna subtract three from each side. So I get 𝑥 minus three is equal to two 𝑒 to the power of 𝑦. And then next I would divide each side by two. So I’ve got 𝑥 minus three over two is equal to 𝑒 to the power of 𝑦. And then I’m gonna take the natural log of each side, which is gonna give us ln of 𝑥 minus three over two is equal to 𝑦.

Okay, so now we actually want to make sure that it’s in the form 𝑔 𝑥 is equal to ln 𝑎𝑥 plus 𝑏. So therefore, we get 𝑦 is equal to ln and then a half 𝑥 minus three over two, with 𝑦 being 𝑔 𝑥.

So we’ve actually now found the inverse of the function two 𝑒 to the power of 𝑥 plus three. So therefore, we can say that when we find the inverse of the function two 𝑒 to the power of 𝑥 plus three and we have it in the form 𝑔 𝑥 is equal to ln of 𝑎 𝑥 plus 𝑏, then 𝑎 is gonna be equal to a half and 𝑏 is gonna be equal to negative three over two.

Okay, so now we’ve got a solution. But what we want to do is actually recap what we’ve done to actually solve the problem. So first of all, we actually exchanged the variables, so in this case swapped 𝑥 and 𝑦 around. And the reason we did that is because the inverse of a function is actually a reflection about the line 𝑦 equals 𝑥.

So therefore, the 𝑦- and 𝑥-coordinates will switch. So that’s why we exchanged the variables. And then we rearranged to express in terms of 𝑦. Then once we did that, our 𝑦 was actually our inverse function. And then we used this to put it into the form 𝑔 𝑥 is equal to ln 𝑎 𝑥 plus 𝑏 and found 𝑎 and 𝑏.