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

  • Context: Undergrad 
  • Thread starter Thread starter Bogrune
  • Start date Start date
Click For Summary

Discussion Overview

The discussion revolves around whether the expression f(x) = ±√x can be considered a function, particularly focusing on the implications of having both positive and negative solutions. Participants explore the definitions of functions, uniqueness of outputs, and the relevance of these concepts in various applications, including mathematics and other STEM fields.

Discussion Character

  • Debate/contested
  • Conceptual clarification
  • Mathematical reasoning

Main Points Raised

  • Some participants question how f(x) = ±√x can be considered a function if it includes both positive and negative solutions, suggesting that this symmetry might imply a lack of uniqueness.
  • Others explain that functions are defined as mappings from a set of inputs to a unique output, and thus the inverse of a function like f(x) = x² is not a function due to non-unique outputs.
  • One participant introduces the vertical line test as a method to determine if a relation is a function, noting that it fails for f(x) = ±√x since it intersects the vertical line at two points for x > 0.
  • Another participant mentions that the definition of a function can depend on how one defines the square root, suggesting that the standard definition of √x refers only to the non-negative root, which would qualify as a function.
  • There is a discussion about multivalued functions and how the inclusion of both roots could lead to a relation that does not meet the criteria for being a function.
  • Some participants express uncertainty about the implications of these definitions in practical applications across various scientific fields.

Areas of Agreement / Disagreement

Participants do not reach a consensus on whether f(x) = ±√x can be classified as a function. Multiple competing views remain regarding the definitions and implications of functions and their inverses.

Contextual Notes

The discussion highlights the dependence on definitions of functions and the square root, as well as the unresolved nature of how these definitions apply in different contexts.

Bogrune
Messages
60
Reaction score
0
It's a question that has always popped up in my head. How is f(x)= ±[itex]\sqrt{x}[/itex] 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 [itex]f(x) = x^2[/itex] corresponds each real number x with its square, which is unique (i.e. each real number only has one square). However, note by symmetry, [itex]f(-2) = f(2)[/itex], and in general, [itex]f(-x) = f(x), \quad \forall x \in \mathbb{R}[/itex].

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

However we can restrict the image of [itex]g(x) = \sqrt{x}[/itex] to only positive numbers so that [itex]g[/itex] 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 [itex]y\ne y'[/itex] cannot be in the relation". If, in addition, you define the square root function to to include the pairs (x, y) as long as [itex]y^2= x[/itex], 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: " [itex]y= \sqrt{x}[/itex] 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 [itex]x^2= a[/itex]?" you would answer "[itex]x= \pm \sqrt{a}[/itex]" would you not? And then my question would be "If [itex]\sqrt{a}[/itex] means both the positive and negative roots, why do you need the "[itex]\pm[/itex]"?
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 12 ·
Replies
12
Views
3K
Replies
3
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
Replies
1
Views
2K