The Naked Scientists
  • Login
  • Register
  • Podcasts
      • The Naked Scientists
      • eLife
      • Naked Genetics
      • Naked Astronomy
      • In short
      • Naked Neuroscience
      • Ask! The Naked Scientists
      • Question of the Week
      • Archive
      • Video
      • SUBSCRIBE to our Podcasts
  • Articles
      • Science News
      • Features
      • Interviews
      • Answers to Science Questions
  • Get Naked
      • Donate
      • Do an Experiment
      • Science Forum
      • Ask a Question
  • About
      • Meet the team
      • Our Sponsors
      • Site Map
      • Contact us

User menu

  • Login
  • Register
  • Home
  • Help
  • Search
  • Tags
  • Recent Topics
  • Login
  • Register
  1. Naked Science Forum
  2. General Science
  3. General Science
  4. Can you derive x = -1 from x^2 = 1?
« previous next »
  • Print
Pages: [1]   Go Down

Can you derive x = -1 from x^2 = 1?

  • 7 Replies
  • 3090 Views
  • 0 Tags

0 Members and 1 Guest are viewing this topic.

Offline talanum1 (OP)

  • Hero Member
  • *****
  • 775
  • Activity:
    0%
  • Thanked: 5 times
  • Naked Science Forum Newbie
Can you derive x = -1 from x^2 = 1?
« on: 29/01/2021 18:09:23 »
We cannot derive the above by algebraic equation manipulation, for if you take the negative square root on both sides you get:

-sqrt(x^2) = - sqrt(1)

and the negative sign cancells both sides, so this doesn't work. Taking the negative square root on one side and positive on the other is not doing the same thing on both sides and is illegal.

Substituting -1 in LS is not equation manipulation.
Logged
 



Offline Bored chemist

  • Naked Science Forum GOD!
  • *******
  • 31101
  • Activity:
    11%
  • Thanked: 1291 times
Re: Can you derive x = -1 from x^2 = 1?
« Reply #1 on: 29/01/2021 18:12:30 »
The square root function isn't a well behaved function in maths.
It gives two values.
Logged
Please disregard all previous signatures.
 

Offline chiralSPO

  • Global Moderator
  • Naked Science Forum King!
  • ********
  • 3743
  • Activity:
    0%
  • Thanked: 531 times
Re: Can you derive x = -1 from x^2 = 1?
« Reply #2 on: 29/01/2021 19:21:50 »
x2 = 1
x2 – 1 = 0
(x+1)(x–1) = 0
x = 1 and x = –1 both satisfy the last equation
Logged
 
The following users thanked this post: evan_au, Petrochemicals

Offline evan_au

  • Global Moderator
  • Naked Science Forum GOD!
  • ********
  • 11035
  • Activity:
    9%
  • Thanked: 1486 times
Re: Can you derive x = -1 from x^2 = 1?
« Reply #3 on: 29/01/2021 20:58:38 »
You can also solve it graphically, by graphing y = x2-1

Then you look to see where this graph crosses the x-axis, ie y = 0 = x2-1

There are two such locations where this graph crosses the x-axis, at x = 1 and x = -1

* Parabola_Graph.png (8.65 kB . 472x274 - viewed 2374 times)
Logged
 

Offline evan_au

  • Global Moderator
  • Naked Science Forum GOD!
  • ********
  • 11035
  • Activity:
    9%
  • Thanked: 1486 times
Re: Can you derive x = -1 from x^2 = 1?
« Reply #4 on: 29/01/2021 21:01:34 »
You can also solve it numerically, using the Newton-Raphson method.
See: https://en.wikipedia.org/wiki/Newton%27s_method#Square_root
To find the negative root, start with a negative initial estimate
« Last Edit: 30/01/2021 08:12:01 by evan_au »
Logged
 



Offline evan_au

  • Global Moderator
  • Naked Science Forum GOD!
  • ********
  • 11035
  • Activity:
    9%
  • Thanked: 1486 times
Re: Can you derive x = -1 from x^2 = 1?
« Reply #5 on: 30/01/2021 08:10:07 »
Here is the results of solving this equation numerically, with starting guesses of:
- x = +4.5: converges to the root at x = 1 in 6 iterations (green line)
- x = -4: converges to the root at x = -1 in 6 iterations (orange line)
- Using 12-digit floating-point numbers

Starting with the initial guess, you follow the tangent of the curve to find a better guess.

* Newtons_Method.png (13.74 kB . 475x275 - viewed 2429 times)
« Last Edit: 30/01/2021 08:29:29 by evan_au »
Logged
 

Offline vhfpmr

  • Hero Member
  • *****
  • 723
  • Activity:
    4%
  • Thanked: 75 times
Re: Can you derive x = -1 from x^2 = 1?
« Reply #6 on: 30/01/2021 11:20:21 »
Quote from: Bored chemist on 29/01/2021 18:12:30
The square root function isn't a well behaved function in maths.
It gives two values.
Inverse trig functions have an infinite number of solutions.
Logged
 

Offline evan_au

  • Global Moderator
  • Naked Science Forum GOD!
  • ********
  • 11035
  • Activity:
    9%
  • Thanked: 1486 times
Re: Can you derive x = -1 from x^2 = 1?
« Reply #7 on: 30/01/2021 21:36:26 »
Quote from: Wikipedia
In mathematics, a function is a binary relation between two sets that associates every element of the first set to exactly one element of the second set.
The definition of a mathematical function is that it has exactly one value at every point where it is defined.

So when you have something like Square Root or Inverse Sine where there are multiple values, mathematicians arbitrarily select one of these values as the "Principal Value" of the function.
- For Square Root (domain x ≥ 0), they arbitrarily choose the positive square root y ≥ 0 (even though -y is also a valid answer)
- For Inverse Sine (domain -1 ≤ x ≤ +1), they arbitrarily choose the range -π ≤ y ≤ +π  (even though any multiples of 2π radians y ± 2nπ are also valid answers)
- They just expect that the user is aware that there are other answers that should be considered

This definition fits well with calculators and computers, with one number into a function, and one number out of the function
- Computer software does not cope well if one computer returns answers to sin-1 with a range -π ≤ y ≤ +π, and another computer returns values with a range +π ≤ y ≤ +3π.
- Computers don't generally cope well with functions producing an infinite list of answers - use a symbolic maths package for this.

The definition of a mathematical function as being single-valued can be generalized to a multi-valued function, see discussion of square root (and the complexities of doing this in the general case):
See: https://en.wikipedia.org/wiki/Function_(mathematics)#Multi-valued_functions
« Last Edit: 30/01/2021 21:46:34 by evan_au »
Logged
 



  • Print
Pages: [1]   Go Up
« previous next »
Tags:
 
There was an error while thanking
Thanking...
  • SMF 2.0.15 | SMF © 2017, Simple Machines
    Privacy Policy
    SMFAds for Free Forums
  • Naked Science Forum ©

Page created in 1.001 seconds with 49 queries.

  • Podcasts
  • Articles
  • Get Naked
  • About
  • Contact us
  • Advertise
  • Privacy Policy
  • Subscribe to newsletter
  • We love feedback

Follow us

cambridge_logo_footer.png

©The Naked Scientists® 2000–2017 | The Naked Scientists® and Naked Science® are registered trademarks created by Dr Chris Smith. Information presented on this website is the opinion of the individual contributors and does not reflect the general views of the administrators, editors, moderators, sponsors, Cambridge University or the public at large.