Is sqrt(x) a function if it includes both positive and negative solutions?

  • Thread starter Thread starter Bogrune
  • Start date Start date
AI Thread Summary
The discussion centers on whether the expression f(x) = ±√x can be considered a function, highlighting that functions must produce unique outputs for each input. It explains that while f(x) = x² maps each real number to a unique square, its inverse does not yield unique values, thus failing the definition of a function. The vertical line test is introduced as a method to determine if a relation is a function, emphasizing that multiple intersections indicate it is not. The standard definition of the square root function is clarified to include only the non-negative root, reinforcing that √x is indeed a function. The conversation also touches on the implications for inverse functions and applications in various fields, ultimately underscoring the importance of unique solutions in defining functions.
Bogrune
Messages
60
Reaction score
0
It's a question that has always popped up in my head. How is f(x)= ±\sqrt{x} not a function, if both the solutions are "symmetrical?"
Does this also mean that the inverse function of even or periodic functions aren't real functions either? Futhermore, does this somehow apply to three-variable graphs as well?
 
Mathematics news on Phys.org
Functions map objects (arguments) in a set (domain) to a unique object (values) in another set (image).

Let's try to understand it this way: the function f(x) = x^2 corresponds each real number x with its square, which is unique (i.e. each real number only has one square). However, note by symmetry, f(-2) = f(2), and in general, f(-x) = f(x), \quad \forall x \in \mathbb{R}.

Now consider the inverse "function" f^{-1}(x). It corresponds each output of f with its input, i.e. given f(x), we need to find x. But we know that the outputs of the inverse function aren't unique: if f(x) = 4, we have either x = 2, or x = -2. These inverse outputs are not unique, thus the inverse of f is not actually a function, by definition.

However we can restrict the image of g(x) = \sqrt{x} to only positive numbers so that g returns a unique (positive) number for each number in its domain.
 
So it mainly has to do with unique solutions? Also, does it also have to do with applications, such as Chemistry, Physics and Biology?
 
Bogrune said:
So it mainly has to do with unique solutions? Also, does it also have to do with applications, such as Chemistry, Physics and Biology?

For a function that produces one output, the easiest way is a vertical line test. In your example with your +,- if you draw a vertical line at any point for x > 0, you will get two intersections: one for the positive and one for the negative (x = 0 doesn't have this problem).

Functions only produce a unique value, which is why any vertical line test will only give one intersection.

If you want to know whether a function has an "inverse" you do a horizontal line test. For example y = x has an inverse for all x, but y = x^2 does not because y = x^2 implies x = +,- SQRT(y) which is the same kind of problem you are describing. So if you wanted something to be a function, or have an inverse it has to pass the "vertical" or "horizontal" line test.
 
It's an multivalued functions.
 
As usual, the answer depends upon exactly how you define things. For real functions, the definition of "function" is normally, "a relation such that the pairs (x, y) and (x, y') for y\ne y' cannot be in the relation". If, in addition, you define the square root function to to include the pairs (x, y) as long as y^2= x, it would include, for example, both (4, 2) and (4, -2) making it NOT function.

However, I would have to say that I would interpret "sqrt(x)" as the standard definition: " y= \sqrt{x} is the non-negative number whose square is equal to x". With that definition, we have the (x, y) pair (4, 2) but not (4, -2) and that is a function.

If we were to ask "what numbers satisfy x^2= a?" you would answer "x= \pm \sqrt{a}" would you not? And then my question would be "If \sqrt{a} means both the positive and negative roots, why do you need the "\pm"?
 
Thread 'Video on imaginary numbers and some queries'
Hi, I was watching the following video. I found some points confusing. Could you please help me to understand the gaps? Thanks, in advance! Question 1: Around 4:22, the video says the following. So for those mathematicians, negative numbers didn't exist. You could subtract, that is find the difference between two positive quantities, but you couldn't have a negative answer or negative coefficients. Mathematicians were so averse to negative numbers that there was no single quadratic...
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Thread 'Unit Circle Double Angle Derivations'
Here I made a terrible mistake of assuming this to be an equilateral triangle and set 2sinx=1 => x=pi/6. Although this did derive the double angle formulas it also led into a terrible mess trying to find all the combinations of sides. I must have been tired and just assumed 6x=180 and 2sinx=1. By that time, I was so mindset that I nearly scolded a person for even saying 90-x. I wonder if this is a case of biased observation that seeks to dis credit me like Jesus of Nazareth since in reality...
Back
Top