How to solve a quadratic equation with a negative value for the variable?

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
3 replies · 2K views
peterpanhandle
Messages
2
Reaction score
0

Homework Statement



Solve 4y-y2=x for y.

The Attempt at a Solution



First I tried using the quadratic equation with a=-1 b=4 c=-x

y=(-b±(42-4(-1)(-x))(1/2))/2(-1)

That got me this far: y=2±(8-2x)(1/2)

Then I checked wolfram and now I am confused
y=±2-sqrt(4-x
. Did I not approach this corectly?
 
Physics news on Phys.org
peterpanhandle said:

Homework Statement



Solve 4y-y2=x for y.

The Attempt at a Solution



First I tried using the quadratic equation with a=-1 b=4 c=-x

y=(-b±(42-4(-1)(-x))(1/2))/2(-1)

That got me this far: y=2±(8-2x)(1/2)

Then I checked wolfram and now I am confused
y=±2-sqrt(4-x
. Did I not approach this corectly?

Your approach is fine. You just made an algebra mistake while simplifying.

You had ##y = \frac{-4 \pm \sqrt{16 - 4x}}{-2}##. Note that you can't simply divide the stuff inside the radical by 2 when you bring the 2 from the denominator inside.
 
vela said:
You just made an algebra mistake while simplifying.

Thank you for the quick reply and sorry for my slow thanks. How very typical of me that it's some algebraic error :blushing: Thanks again!