What is the error in this proof?

  • Thread starter topu87
  • Start date
  • Tags
    Error
In summary: Therefore, we cannot assume that \sqrt{ab}=\sqrt{a}\sqrt{b} is always true, especially when dealing with negative or complex numbers. In summary, the error here is assuming that the laws for square rooting of positive numbers can be applied to negative or complex numbers. This is not always the case and can lead to incorrect results.
  • #1
topu87
4
0
please tell me where is the error here-
1 = [tex]\sqrt{}1[/tex] = [tex]\sqrt{}(-1) (-1)[/tex] =[tex]\sqrt{}-1[/tex] [tex]\sqrt{}-1[/tex] = i[tex]^{}2[/tex] = -1

so we get 1= -1. what is the error here?
 
Mathematics news on Phys.org
  • #2
sorry look at this form. This is more understandable than the previous one
1= [tex]\sqrt{1}[/tex] = [tex]\sqrt{(-1) (-1)}[/tex]= [tex]\sqrt{-1}[/tex][tex]\sqrt{-1}[/tex] = i i = i[tex]^{2}[/tex] = -1
 
  • #3
The error lies in the assumption that the square root operation when performed on negative (or in general complex) numbers follow exactly those laws valid when you restrict square rooting to positive numbers.

It just doesn't.
 
  • #4
Did you want to say that we can't apply the laws for square-rooting of positive no. to this situation? Plz explain details. What is the exact logic to give in this situation?
 
  • #5
mdnazmulh said:
Did you want to say that we can't apply the laws for square-rooting of positive no. to this situation? Plz explain details. What is the exact logic to give in this situation?

[tex]\sqrt{ab}=\sqrt a\sqrt b[/tex] is only valid for [itex]a,b\ge0[/itex].
 
  • #6
Again it raises another question.
On the basis of which statement you can say the following statement is valid-

CRGreathouse said:
[tex]\sqrt{ab}=\sqrt a\sqrt b[/tex] is only valid for [itex]a,b\ge0[/itex].
 
  • #7
It's valid for a,b>=0 because there is a valid proof of it. this proof doesn't work if a or b can be negative. this proof uses as a definition of the square root that x is the square root of y, if x is positive and x*x = y. in that case there can be only one such number

  1. :[tex](\sqrt{ab})^2 = ab[/tex] by the definition of square root
  2. : [tex](\sqrt{a})^2 = a[/tex] by the definition of square root
  3. : [tex](\sqrt{b})^2 = b[/tex] by the definition of square root
  4. : [tex](\sqrt{ab})^2 = (\sqrt{a})^2 (\sqrt{b})^2 [/tex]
  5. : [tex](\sqrt{ab})^2 = (\sqrt{a}\sqrt{b})^2 [/tex] associativity
  6. : [tex]\sqrt{ab} = \sqrt{a}\sqrt{b} [/tex] definition of square root

the last step only works if [tex]\sqrt{ab}[/tex] and [tex]\sqrt{a}\sqrt{b}[/tex] must be positive. if this was not the case [tex]\sqrt{ab} = -\sqrt{a}\sqrt{b} [/tex] could also be possible
 

What is a logical error?

A logical error is a mistake in the reasoning or decision-making process of a program. It occurs when the code does not produce the expected results due to a flaw in the logic of the program.

What are the common causes of logical errors?

The most common causes of logical errors include incorrect assumptions, incorrect use of operators, improper use of conditional statements, and incorrect sequencing of instructions.

How can logical errors be identified?

Logical errors can be identified through careful testing and debugging of the code. This involves tracing the execution of the code, analyzing the output, and comparing it with the expected results.

How can logical errors be prevented?

To prevent logical errors, it is important to carefully plan and design the program before coding, use proper coding techniques, and thoroughly test the code for any potential errors.

What are the consequences of logical errors?

Logical errors can lead to unexpected or incorrect results, which can cause the program to crash or produce incorrect outputs. This can also result in security vulnerabilities and compromise the integrity of the program.

Similar threads

  • General Math
Replies
31
Views
1K
Replies
3
Views
207
  • General Math
Replies
5
Views
1K
Replies
6
Views
1K
  • General Math
Replies
2
Views
1K
  • General Math
Replies
2
Views
781
Replies
2
Views
1K
  • General Math
Replies
3
Views
1K
  • General Math
2
Replies
45
Views
3K
Replies
6
Views
1K
Back
Top