Testing to see if an Equation is a function

  • Thread starter Thread starter Newtons Apple
  • Start date Start date
  • Tags Tags
    Function Testing
AI Thread Summary
To determine if an equation is a function, it's crucial to understand the relationship between the variables. An equation like x^2 + y = 1 is a function because it can be rearranged to express y in terms of x, while -x + y^2 = 1 is not a function of x since it can yield multiple y values for a single x value, failing the vertical line test. The distinction between f(x) = 1 - x^2 and y = 1 - x^2 lies in their representation; f(x) denotes a function, while y represents a dependent variable. Both forms can describe the same relationship, but f(x) emphasizes the function's mapping from domain to range. Understanding these concepts clarifies why certain equations can be functions in one variable but not in another.
Newtons Apple
Messages
73
Reaction score
1
hey guys. Something's been bothering me.. Well two things..

First of all, when looking at an algebraic equation and testing to see if its a function, why can X be squared, but not Y? our professor and book, gives the impression that something like:

x^2 +y =1 is a function

while..

-x +y^2 = 1 is NOT a function

Why is this? I know that in a function, the domain can't be linked to two or more elements in the range.. is that what the second equation is saying? Is the x and y in these equations representations of the domain and range of a function?


My 2nd main question is, what is the difference in saying
f(x) = 1-x^2 and saying y = 1-x^2?

Are they both the same thing? Why does y = f(x) anyway? I thought that f(x) was just the name of the function being presented, but then I saw my professor draw a graph, with the 'Y' letter on the yaxis replaced by the f(x) notation and was severely confused!
 
Mathematics news on Phys.org
x^2 + y = 1 and x + y^2 = 1 ARE both functions, but not in the same variable. We call the first equation a function in y, and the second equation a function in x. Namely, for an equation to satisfy being a function in some variable, it has to be single-valued along that entire variable.
 
If you look at the graph of -x+y^2 = 1 you will see that it is just a parabola resting on the y-axis, but shifted one unit down (or left, it has its vertical axis of symmetry as the x-axis). As you had mentioned in a slightly different way, a function is a rule that assigns only one value to any value of the domain (but not necessarily the other way around, a function may have several values in the domain for a value in the range).

You can visually test for a function by graphing it and using the vertical line test, that is, if at any point you can draw a vertical line and intersect more than one point to the curve, then it is not a function. As with -x+y^2 = 1 , you can draw several vertical lines and intersect the parabola twice. However, x^2+y=1 is a function because it can be re-arranged to y = 1- x^2 which is just a regular parabola on resting on the x-axis, but opening downwards in negative y. So they technically are both functions, but in different variables. -x+y^2 = 1 is a function in the variable y, but not in x.

Also, I want to address this : "why can X be squared, but not Y?". This is kind of a misconception. Take the equation of a circle with radius 1 centered at the origin:

x^2+y^2 = 1 , now solve for y and take the square root to get:

y = ±√(1-x^2)

Each part of the circle can now be a function as they pass the vertical line test (independently). The first equation that I posted was not a function, but the second ones are functions on their own. Strictly speaking, an equation of the form f(x)=something and y=something are not the same things. A function is a set that maps some elements of the domain to some elements of the range (loosely speaking). An equation just asserts equality about two things but doesn't necessarily map in the same way.
 
Newtons Apple said:
hey guys. Something's been bothering me.. Well two things..

First of all, when looking at an algebraic equation and testing to see if its a function, why can X be squared, but not Y? our professor and book, gives the impression that something like:

x^2 +y =1 is a function

while..

-x +y^2 = 1 is NOT a function

Why is this? I know that in a function, the domain can't be linked to two or more elements in the range.. is that what the second equation is saying? Is the x and y in these equations representations of the domain and range of a function?

Yes. Think of it this way. When you square x, then both x and -x get sent to the same value of y. So a horizontal line will hit the graph in two points. But that's ok, it's still a function.

But if we square the y values, then two values of y will correspond to the same x. Then a vertical line will hit the graph in two places -- and therefore it can't be a function of x.

But as someone pointed out, it just depends on your point of view. If you want to express x as a function of y, you just imagine the graph rotated a quarter turn. Then vertical lines become horizontal and vice versa.
 
Last edited:
Hey Newtowns Apple.

The easiest way to do this graphically is to do a vertical line test in the plane of your variable that you are testing.

So if its with respect to y then you check whether any line parrallel to the y-axis goes through your equation more than once. If it does its not a function in y.

Apply the same thing to other variables if need be.
 
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...
Fermat's Last Theorem has long been one of the most famous mathematical problems, and is now one of the most famous theorems. It simply states that the equation $$ a^n+b^n=c^n $$ has no solutions with positive integers if ##n>2.## It was named after Pierre de Fermat (1607-1665). The problem itself stems from the book Arithmetica by Diophantus of Alexandria. It gained popularity because Fermat noted in his copy "Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos, et...
Thread 'Imaginary Pythagorus'
I posted this in the Lame Math thread, but it's got me thinking. Is there any validity to this? Or is it really just a mathematical trick? Naively, I see that i2 + plus 12 does equal zero2. But does this have a meaning? I know one can treat the imaginary number line as just another axis like the reals, but does that mean this does represent a triangle in the complex plane with a hypotenuse of length zero? Ibix offered a rendering of the diagram using what I assume is matrix* notation...
Back
Top