Squaring each side of the equation

  • Context: MHB 
  • Thread starter Thread starter Yankel
  • Start date Start date
Click For Summary

Discussion Overview

The discussion revolves around the algebraic manipulation of an equation involving a square root, specifically the equation \(7x-1=\sqrt{56x^{2}-16x-31}\). Participants are exploring the implications of squaring both sides of the equation in the context of finding local minima and maxima of a function with two variables.

Discussion Character

  • Exploratory
  • Technical explanation
  • Conceptual clarification
  • Debate/contested

Main Points Raised

  • One participant reports obtaining two solutions, \(x=16/7\) and \(x=-2\), after squaring both sides of the original equation, but expresses confusion about the validity of the second solution.
  • Another participant points out that squaring both sides can introduce extraneous solutions, as demonstrated by the negative left-hand side when substituting \(x=-2\).
  • A different participant questions the conditions under which squaring is appropriate and discusses the implications of squaring in the context of inequalities.
  • One participant explains that the square root function is defined to return the non-negative root, which complicates the interpretation of solutions obtained after squaring.
  • There is a discussion about the necessity of checking solutions against the original equation after squaring, particularly in the context of real numbers versus complex numbers.

Areas of Agreement / Disagreement

Participants generally agree that squaring both sides of an equation can lead to extraneous solutions, but there is no consensus on the best approach to determine when it is appropriate to square or how to handle the resulting solutions.

Contextual Notes

Participants mention the importance of checking solutions against the original equation and the distinction between real and complex numbers in the context of square roots, but do not resolve the underlying mathematical uncertainties or assumptions related to the problem.

Who May Find This Useful

This discussion may be useful for students and practitioners in calculus, particularly those dealing with equations involving square roots and the implications of algebraic manipulations in finding critical points of functions.

Yankel
Messages
390
Reaction score
0
Hello all,

I am working on a calculus problem, of finding a local min and max of a function with 2 variables. During my solution, I have encountered an algebraic issue, maybe you could assist.

I am trying to solve the equation:

\[7x-1=\sqrt{56x^{2}-16x-31}\]

If I let MAPLE solve it, I get one solution: x=16/7, which is identical to the solution in the book (one critical point in the calculus view).

What I did from here, is:

\[(7x-1)^{2}=56x^{2}-16x-31\]The solution I got to that, which is what MAPLE gives to that, is two points: x=16/7 and x=-2.

I don't see what I did wrong here, I used the power on both sides, on the entire side, and not on elements, like you should do. Can you help ?

If you are curious, the function is:

\[f(x,y)=\sqrt{56x^{2}-8y^{2}-16x-31}+1-8x\]Many thanks !
 
Physics news on Phys.org
Yankel said:
Hello all,

I am working on a calculus problem, of finding a local min and max of a function with 2 variables. During my solution, I have encountered an algebraic issue, maybe you could assist.

I am trying to solve the equation:

\[7x-1=\sqrt{56x^{2}-16x-31}\]

If I let MAPLE solve it, I get one solution: x=16/7, which is identical to the solution in the book (one critical point in the calculus view).

What I did from here, is:

\[(7x-1)^{2}=56x^{2}-16x-31\]The solution I got to that, which is what MAPLE gives to that, is two points: x=16/7 and x=-2.

I don't see what I did wrong here, I used the power on both sides, on the entire side, and not on elements, like you should do. Can you help ?

If you are curious, the function is:

\[f(x,y)=\sqrt{56x^{2}-8y^{2}-16x-31}+1-8x\]Many thanks !

because you squared both the sides you got one erroneous root x = -2 gives the LHS -ve but RHS is positive and so this is not solution

note that $2^2 = (-2)^2 = 4$ but $\sqrt{4} = 2$
 
I am not sure I get it, why not:

\[\sqrt{4}=\pm 2\]

?

I understand that if I put x=-2 before squaring, there is no solution.

But how can you know when to square and not to square ?

From solving inequalities with roots, I know that you can square as long as you do it on the entire LHS and the entire RHS.

How would you solve it ?
 
Yankel said:
I am not sure I get it, why not:

\[\sqrt{4}=\pm 2\]

?

I understand that if I put x=-2 before squaring, there is no solution.

But how can you know when to square and not to square ?

From solving inequalities with roots, I know that you can square as long as you do it on the entire LHS and the entire RHS.

How would you solve it ?

For real solution, \(\sqrt{y}\geq 0\). When x =-2, \(7x - 1 = -15 < 0\). So then you have \(-15 = \sqrt{y}\) but how can this be when the sqrt is greater than or equal to 0?
 
By convention, $\sqrt{a}$ always means the non-negative root.

The reason why we do this is so that we can talk about the function $f$, where:

$f(x) = \sqrt{x}$.

Now the squaring function (the parabola $g(x) = x^2$) is not one-to-one, it obviously takes $-a$ and $a$ to the same image ($a^2$). So when we square, we get two possible ways to "unsquare", so we ALWAYS have to check if the two possibilities we get when we solve by "taking squares" fit the original problem.

One sees this a lot in mathematical modelling of physical problems, where often the "answer" is meant to be some dimensional entity, like length or area. If we get a negative answer, after squaring somewhere, it is typically discarded as "extraneous" (saying something is -5 cm long doesn't make too much sense).

With "abstract problems" involving functions, it is not often clear WHICH solution is "the right one", and both may be viable candidates. This is often true in situations involving angles, where a negative angle might mean "reflection from below" instead of "reflection from above".

With REAL numbers, we have a way of distinguishing one square root as "bigger" (since the real numbers are ORDERED), which gives a clear way of picking a "preferred" square root: the bigger one (the positive one). This turns out to be fantastically UNTRUE in the complex numbers, leading to such amusing things as:

$1 = \sqrt{1} = \sqrt{(-1)(-1)} = \sqrt{-1}\sqrt{-1} = i^2 = -1$

(the problem here is two-fold: first $\sqrt{(-1)} = \pm i$ so the next to last statement is suspect, and also $\sqrt{1} = \pm 1$ so the first statement is suspect, we deliberately choose "the wrong square root" at the start to make it seem as if the impossible $1 = -1$ might plausibly be true. Because of this, the "rule":$\sqrt{ab} = \sqrt{a}\sqrt{b}$

is not allowed for complex numbers, except in certain very special circumstances (typically $a,b \in \Bbb R^+_0$), there's too many ways in which it can be abused).

Put another way:

if $A = B$, then certainly $A^2 = B^2$, but if we START with:

$A^2 = B^2$, we do not know if $A = B$, or $A = -B$.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
Replies
4
Views
2K
  • · Replies 21 ·
Replies
21
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K