The Function That Outsmarts You

"Physics & Astronomy"
21 followers
Hello everyone, in this video we're going to be solving a homemade functional equation,
or should I call this a homemade functional system, you get to decide. But we have two
equations, two times f of x minus f inverse of x, the inverse function, equals x, and then the
second one is two times f of f of x, the composition of f with itself, plus the inverse function
equals 3x. So I guess this could be considered a system, but again, let me know what you think.
And I call this a homemade problem because I thought about the idea, I haven't seen a problem
like this before. If you did anywhere else, let us know in the comment section down below.
So to be able to solve this problem, I'm going to use an interesting method that actually,
that's how the problem came about. So the method kind of brought about this idea.
And let me show you. And by the way, I'll be presenting two methods.
But let's start with the first one. And I'll pose a question. First step, and I want to number the
equations, let's let this one be the first equation and let this one be the second equation, the top
one is first, the bottom one is second, so that I can refer to them as number one, number two,
so on and so forth. So using equation number one, which is two times f of x minus f inverse of x
equals x. By the way, since I gave you a system like this with f inverse, that means f is invertible,
it's a bijection. Makes sense? So we're going to try to solve for f of x, that's our goal.
And here's what I'm going to do first, I will replace x with f of x, y, you might be asking,
because that'll give me f of f of x here. And things will cancel out here. Let's find out
what happens. Replace x. And by the way, can we do this? Does that mean x equals f of x? No,
it's just a replacement, we can use substitution. And we can replace x with y x with two y x with
x plus y, anything we want. If you don't like that, replace x with f of t, and then replace
t with x. But why bother? That's too much work. So we're going to get two times f of f of x minus
f inverse, again, pretend we don't know what it is, of x, which is f of x, because now notice
that we're replacing all the x's with f of x. And then here, we have an x, so we're going to
this is valid, right? I mean, as long as you replace x with the same thing everywhere,
this should work. Just like evaluating a function at a point. Now, this gives us something nice,
because f inverse of f of x is just x y, x takes like f takes x to f of x, this is the image,
and then f inverse takes it back. So the result, they kind of cancel out, I know it's not that
rigorous, but too bad for the rigor police, they cancel out and leaves us with two times f of f of
x minus x equals f of x. And this is just awesome. You can call this equation number three, if you
want, I don't care. And you probably shouldn't care either. Now, here's the most important part,
though, for the solution of this problem. Notice that by using substitution, we got an x, but now
it's on the left hand side. Does it matter? Absolutely. And what we're going to do is
actually pretty interesting, kind of like going around in circles, but it solves the problem.
And let me know if you don't think this works. But we got this x, right? And what is x? Well,
from equation number one, we know that x is equal to this. But wait a minute, didn't you come from
equation number one, let's say this is equation number three. So we got equation number three
from equation number one. And now we're going to use equation number one in equation three.
But aren't they essentially the same thing? Well, let's see what happens. Now I'm going to go ahead
and replace x with what it is, which is two times f of x minus f inverse. And it's just gonna
make things much, much better. You'll see it's amazing. I don't know, I just find it exciting,
fascinating, and let me know what you think. So now we're replacing x with two times f of x minus
f inverse, which is again, equation number one. So this is equation number one, it comes from
number one, but this comes from number three. So kind of like a jumbo mumbo. Let's go ahead and
simplify this a little bit, expand or distribute the negative two times f of f of x minus two f
of x minus minus like kind of double negation is going to give us plus f inverse equals f of x.
Now we see like terms, these two are like terms, they like each other, what can I do? So let's go
ahead and add two f of x to both sides, two times f of f of x plus f inverse equals three f of x.
Cool. You might be questioning like, is this any better than what we started with? I mean,
is this better than the original? Yes and no. Now, if you go back and look at equation number
two, you're going to realize something mind blowing. I don't know, I find it mind blowing,
you may not agree, but look at this. What are we talking about? On the left hand side, we have two
times f of f of x plus f inverse, which is exactly what we have here. So we know what this equals,
therefore we know what this equals. Wow, isn't that crazy? Now we can replace the right hand
side with three x because that's what it is, or the left hand side, this is three x,
therefore this is three x. Wow, such a cool solution, don't you think? f of x equals x,
case closed. Now what's really interesting though, when we do the second method, so hang in there
to not disappear because we're going to do an awesome second method, which is kind of questionable
and I'm going to let you decide why, but here's the second method I'll be presenting and you'll
get to decide which one you like better and what's the issue here, if there's an issue of course,
right? So equation number one again, because we really like it. By the way, a question, remember
I told you that I was going to pose a question, so the question is, it's a million dollar question,
but I'm going to answer it for you. Why did not we use equation number two first? Remember,
we started with equation number one, right? Why didn't we use number two first? You know why?
Okay, pause the video if you don't want to hear it. We didn't use number two first because it's
number two. Anyways, equation number one again is this, and guess what I'm going to do? I'm going
to think about a possible scenario. I mean, I'm not saying this is the only way this is going to
work, but I could say something at the end. Well, suppose f is linear. What is that supposed
to mean? Well, it's clear that I'm assuming that f can be linear. So if f is linear, then f of x
can be written as mx plus b. As you know, there are two ways to do it. Sometimes people will use
x plus b, which is a linear function, but mx plus b is a little better. You know why? Because m is
slopes. It kind of represents the graph of a line, so on and so forth. Get the idea? Great. A
little bit of linear algebra here, or linear equations, I should say. But anyways, this is
f of x, and guess what? I'm going to use it here. But what is f inverse? Well, if f is given as
follows, I'm going to give you a formula as a bonus. Are you ready? If you have a linear function
such as mx plus b, its inverse is given by x minus b divided by m. You might be wondering,
how on earth did you find it? Set f of x equal to y, solve for x, and then replace x and y,
or switch. You'll get that. Easy. Now, we do know what to replace f inverse with. Cool, cool. Now,
let's do it. Two times f of x, which is two times mx plus b, minus f inverse, which is x minus b,
divided by m, equals x. Isn't that beautiful? We have an equation, kind of like a polynomial
equation, where both sides are equivalent for all values of x. So, you can change x and set
up an equation, but there's a better way to do it. First, let's go ahead and distribute. 2mx
plus 2b, allow me to say, 2b or not 2b. That's the problem. Minus this thing, equals x. Let's
multiply both sides by m, so that we can get rid of the denominator. So, we get 2m squared x plus
2bm, minus, if you like Mercedes-Benz, you can also write it as mb. I don't. And then,
this is going to be x minus b. Notice that you have to keep that in parentheses, or negate it,
because this works as a parentheses, this one, this fraction bar. Now, you got to go ahead and
kind of expand it, and then we need to collect like terms. You can also put the mx on the left,
but I'm going to keep it this way, because it's going to turn out to be the same thing at the
end anyways. Notice that these two are like terms, so we can kind of write it as 2m squared minus 1,
that's the coefficient of x, and our constant term is 2bm plus b. And on the right-hand side,
we don't have a constant. The constant, in other words, is 0. Beautiful. So, the coefficient of x
is m, so it needs to be m here, and since there's no constant on the right-hand side,
that needs to be a 0. You got it? Polynomial equations. Now, we have a system from here,
but the first one is more interesting. Let me tell you why. This gives you a quadratic in m.
Beautiful. So, we can solve it with the quadratic formula. Let's do it. By the way, this is
factorable. I was not expecting, well, I kind of was, but anyways, let's just pretend I wasn't.
2m and 1, m and 1, and since this is kind of easy case, I don't have to use the x method
really in this problem. I can just write it like this, 2m plus 1, but there's a general method,
or you can use the quadratic formula. It's going to give you the same thing. Beautiful,
because from here, we get rational solutions. m equals negative 1 half, or m equals 1. Great.
What is that supposed to mean? Let's go ahead and find out from the other equation,
because this one is more interesting. Well, maybe not, but the idea is we can factor out a b here,
and guess what that means? It means either b is 0, or 2m plus 1 is 0, which includes both
can be 0, but guess what? If m is negative 1 half, wait a minute, did I do that right?
If m is negative 1 half, then b doesn't have to be 0. Okay, then maybe we can get something like
this. m equals negative 1 half, and b is a real number, anything, or m equals 1, and if m is
equal to 1, of course, it can't be 0, then b has to be 0. Makes sense? So, we kind of got these
two cases, case number 1, case number 2. Let's go ahead and write a function for each of those.
Remember, we assumed that f is linear, and that turned out to be okay. So, if m is equal to
negative 1 half, we can write it as negative 1 half x plus b, b is generic and can be anything,
or f of x can be mx, which is 1x plus 0, which means f of x equals x, and remember what we did
find with method number 1? We did find f of x equals x, which kind of verifies. Now, this seems
good, but what about this? Is this going to work, and why didn't we find it if it does with the
first method? That's the second million dollar question you need to answer, but I'm going to
leave it as an exercise. I'm not going to answer it, but one thing you can do is plug it in and
find out, because this brings us to the end of this video. Thanks for watching. I hope you enjoyed it.
Please let me know. Don't forget to comment, like, and subscribe. I'll see you next time with another
video. Until then, be safe, take care, and don't forget to check out A++BI, and bye-bye.
