Rewriting a function with y as the independent variable

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
4 replies · 3K views
Sidthewall
Messages
33
Reaction score
0
Ok. Sooo. Let's say u have y=x+5. Then u know y-5=x. Now if u have y=x^2 - x. How would u rearrange it to find out what x equals. I found out that in general I cannot rearrange ewquatioms with mitiplr x variables with different exponents. So help me please
 
Mathematics news on Phys.org
I am not trying to find the x-intercept. I need the function to have x as the dependent variable and y as the independent variable for ex. If y=sqr(25-x) then y^2 - 25 = -x
 
Sidthewall said:
I am not trying to find the x-intercept. I need the function to have x as the dependent variable and y as the independent variable for ex. If y=sqr(25-x) then y^2 - 25 = -x

Mentallic is pointing out that you have a quadratic equation of the form ax^2 + bx + c = 0. Solve the quadratic equation and you will get x in terms of y. (But there will be more than one solution as y = x^2 -x is not a 1 to 1 function).

Also, although you can do it in this case, note that you can't always explicitly solve for x in terms of y. For example, y = x + sin(x).