I don't understand why the function "f(x)=x^2 for all real values of x" has no inverse. Isn't sqrt(x) the inverse?

I don't understand why the function "f(x)=x^2 for all real values of x" has no inverse. Isn't sqrt(x) the inverse?
I like to think of a function a bit like a machine. It takes in a number, and turns it into a different number. There are rules about what numbers you are allowed to put into a function. For example, you are not allowed to give a function a number that would result division by zero, or square-rooting a negative number. These restrictions on the numbers you can give to a function mean that it is possible to define all the numbers you are allowed to input. This is known as the domain of f, D(f).
Another rule of functions is that although it is permissible for two different inputs to give the same output (in this example, x=-2 and x=2 both give f(x)=4), it is not allowed for a function to return two answers for the same input. When we talk about the inverse of a function, it is a bit like we are running this machine in reverse; where we input a value that was an output to the original function, and get back our input. Except remember that an inverse is also not allowed to give two answers for the same input. We cannot have f-1(4) = -2 and 2. So for the function f(x) = x^2, we must constrain the domain, to be D(f) >= 0 or D(f) <=0.

BM

Related Maths A Level answers

All answers ▸

Integrate | x^7 (ln x)^2 dx ( | used in place of sigma throughout question)


Consider the closed curve between 0 <= theta < 2pi given by r(theta) = 6 + alpha sin theta, where alpha is some real constant strictly between 0 and 6. The area in this closed curve is 97pi/2. Calculate the value of alpha.


Find the acute angle between the two lines... l1: r = (4, 28, 4) + λ(-1, -5, 1), l2: r = (5, 3, 1) + μ(3, 0, -4)


Can you teach me how to rationalise the denominator of an algebraic expression?