|
-
Jun 25th, 2002, 11:58 PM
#1
Problem with imaginary numbers
I think this is probably me not thinking, but:
VB Code:
If Sqrt( x ^ 4 ) = x ^ (4 * 0.5) = x ^ 2 'then shouldn't
Sqrt ( i ^ 4 ) = -1 ? 'since it would be
i ^ (4 * 0.5) = i ^ 2 = -1?
Mathematica returns 1 and I don't exactly want to doubt that.
-
Jun 26th, 2002, 12:12 AM
#2
Frenzied Member
Pardon my ignorance...but doesnt it depend entirely on the value of i?
You just proved that sig advertisements work.
-
Jun 26th, 2002, 12:13 AM
#3
Frenzied Member
On another point, how can anything ^2 be negative? I'm quite lost.
You just proved that sig advertisements work.
-
Jun 26th, 2002, 12:19 AM
#4
errr, the title indicates imaginary numbers, in this case, i, which is Sqrt(-1) (see edit)...
Surely you know about i, and how z = a + i b etc etc...
You know... complex and imaginary numbers....
Edit:
Whoops, got my definitions wrong. i is defined as; i^2 = -1.
-
Jun 26th, 2002, 05:55 AM
#5
wrong order
sqrt( i ^ 4)
THe sqrt() part is worked out last.
=> sqrt( i ^ 4)
= sqrt( (i ^ 2)2)
= sqrt( -12)
= sqrt(1)
= 1 (positive root worked out)
-
Jun 27th, 2002, 02:30 AM
#6
Ah I see... but really, aren't both those equations identical? ie, square root of 2 ^ 2 is the same as halving the power...
-
Jun 28th, 2002, 01:42 AM
#7
Frenzied Member
Remember that square root function has two possible values.
SquareRoot( x4 ) = +x2
SquareRoot( x4 ) = -x2
SquareRoot(i4) = +1
SquareRoot(i4) = -1
Live long & prosper.
The Dinosaur from prehistoric era prior to computers.
Eschew obfuscation!
If a billion people believe a foolish idea, it is still a foolish idea!
VB.net 2010 Express
64Bit & 32Bit Windows 7 & Windows XP. I run 4 operating systems on a single PC.
-
Jun 29th, 2002, 10:57 PM
#8
Yeah, what he said
The root gives two answers, so it is best to find what you are square-rooting, and then make our final answer +/-
If you halve the power first, then find out the answer, you will only get one solution, so you must remember that the solution is +/- this number.
The answer you got, -1, is just the negative root, whereas mathematica, as a default, gives the positive root. i.e. they are both the same answer, just not complete. You and mathematica are both right.
(For more on this subject, see another forum of 2=3, or something like it. Actually, the debate there is rather "heated" )
-
Jul 5th, 2002, 02:50 PM
#9
New Member
i^4=1, since i^2=-1, which makes i^4=-1^2=1. so, sqrt of 1 may equal -1.
-
Jul 5th, 2002, 07:18 PM
#10
Fanatic Member
Sqrt is defined as the non-negative square root of a number. therefore the amswer to the example given is 1 as indicated by sql_lall. as for why it doesn't work, its because i is an imaginary number, and not all real operations are applicable to imaginary numbers. btw, the real defination of i is i^2=-1.
btw de moivre's theorem is most likely used to solve roots of imaginary numbers.
hope this helps! ^-^
-
Jul 5th, 2002, 07:39 PM
#11
Frenzied Member
Bugzpodder: The definition of i must include the possibility of both a positive and a negative square root of minus one.
(-i)2 = -1
There might be some context in which square root is defined as a non-negative value. In an algebraic or calculus context, it is defined as either solution to the following equation.
x2 - n = 0
In some circumstances, the negative root is preferred, due to additional conditions.
Live long & prosper.
The Dinosaur from prehistoric era prior to computers.
Eschew obfuscation!
If a billion people believe a foolish idea, it is still a foolish idea!
VB.net 2010 Express
64Bit & 32Bit Windows 7 & Windows XP. I run 4 operating systems on a single PC.
-
Jul 6th, 2002, 08:29 AM
#12
Fanatic Member
I retain my orginal ground on my point of view since:
(-i)^2 = (-1*i)^2=((-1)^2)*(i^2)=1*(i^2)=i^2=-1
and for x^2-n=0, you are confusing square roots with roots of square . One interesting point -- all squares of real numbers are positive (again this "rule" does not apply to imaginary numbers ---I should say complex-- just like square roots -- such as i^2=-1).
let's look at this equation:
x^2-n=0
x^2=n
x=sqrt(n) or -sqrt(n), n>=0
true x does have two roots, one positive, one negative. BUT since sqrt is a function, by defination of functions, it can only return one answer (hence the vertical line test, if you can draw a vertical line that intersect at two different points of the graph, then the graph is not a graph of a function). its always true just as when some one asks you the sqrt(9) is: you would only say 3 correct? and fyi, the plus and minus is there precisely because the sqrt(n) returns a positive value!
Remember, rules that apply to real numbers does not mean that it applies to imaginary and complex numbers!
Last edited by bugzpodder; Jul 6th, 2002 at 08:34 AM.
-
Jul 6th, 2002, 07:21 PM
#13
Buszpodder:
Remember, rules that apply to real numbers does not mean that it applies to imaginary and complex numbers!
True... but hey, I'm only learning the concept of complex numbers!
-
Jul 29th, 2002, 09:45 AM
#14
Member
This might be a little off topic, but some people don't seem to get this...
Sqrt(x) ALWAYS has two opposite results (i.e. a and -a) regardless of the value of x (unless of course x = n/0).
-
Jul 29th, 2002, 01:03 PM
#15
Fanatic Member
NO! the SQRT(x) is a function. by definition of function, it only returns one result! Sqrt(9)=3. not -3. hence the vertical line test.
-
Jul 29th, 2002, 07:22 PM
#16
Hyperactive Member
bugzpodder is correct. Sqrt(x) only returns the +ve result. x^(1/2) returns both +ve and -ve.
Old school maths people consider Sqrt(x) as a one-to-one function and x^(1/2) as a one-to-many function.
There are 10 types of people in the world - those that understand binary, and those that don't.
-
Jul 29th, 2002, 07:42 PM
#17
Fanatic Member
sqrt(x) is equilvalent x^(1/2) -- they are interchangable.
x^(1/2), exactly like sqrt(x) and every other function, gives only one answer. the definition of a function is to only have one answer. there is no such thing as one-to-many functions. for every x, you are going to get precisely one value for f(x). therefore restrictions for the domain values are often understood.
such as f(x)=sqrt(x). it is understood that x>=0.
an example of one-to-many "equation" (I can't think of a more proper term) would be like for example x^2+y^2=1
if you throw in any x, (restrictions here would be abs(x)<=1), you'll get two values for y (except when x=1), one positive, one negative. you can see by drawing a vertical line with the absolute value of x coordinate less than to 1, it'll intersect at two distinct points, thus the two y-values.
something similar to what you may have actually being talking about would be x^2, as take a look at this example:
x^2=9
abs(x)=sqrt(9)
abs(x)=3
x=3,-3
the *better* way to do the example is to do the difference of squares
x^2=9
x^2-9=0
(x-3)(x+3)=0
x=3,-3
Last edited by bugzpodder; Jul 29th, 2002 at 07:52 PM.
-
Jul 29th, 2002, 07:50 PM
#18
Hyperactive Member
hmm, sqrt(x) is every way same as x^(1/2).
You are mistaken.
sqrt(16) = +4
16^(0.5) = +/-4
There are 10 types of people in the world - those that understand binary, and those that don't.
-
Jul 29th, 2002, 08:09 PM
#19
Fanatic Member
no. i am 100% sure that sqrt(x) is equilvalent to x^(1/2). if you got a graphing calculator/software, plug in
f(x)=sqrt(x) and
f(x)=x^(1/2) you'll see the same graph.
if you don't have these handy, a weaker argument would be to just plug in 4^(1/2) into your calculator (or windows calculator). it is most definately give you 2 everytime. Why do you think is that? calculators are not suppose to be misleading and give you half of the correct answers. there is only one answer to x^(1/2), that is, the positive one. as mentioned in my last edited post, the restriction for the domain of f(X)=x^(1/2) is x>=0.
You must understand, that it is f(x)=x^(1/2), f(x) part precisely indicates that it is a *function*. as I have repeated several times, a function does *NOT* return many answers. if you are a student, speak with a math teacher or someone with authority. I can assure you that I am 100% correct. A side note, I take responsibility for my own posts as I usually do not provide [potentially] incorrect informations or infos that may mislead readers.
imagine functions that does actually return infinite amount of answers, what'll happen if you plug in that function in your calculator? which one is it going to display? does it display one, wait 1 second, and display another??
-
Jul 29th, 2002, 08:16 PM
#20
Addicted Member
Now my head's spinning.. peoples confusion is making me confused.
I think some people are referring to (I would) "Sqrt(x)" == "The square root of x" and not a function within a programming language. I, myself, would define sqrt(x^2) = +/- x
It seems silly that mathematica would actually return only one value for this. I don't have Maple with me, but I believe it would return "-1, 1" or something like that.
However, all of this arguing is silly. I think it's probably confused people more than actually helping them learn something useful. God help us if stuff like the twin-paradox ever comes up - the solution will be mutilated beyond repair.
Oh well, I've ranted enough. 
Destined
-
Jul 29th, 2002, 08:30 PM
#21
Fanatic Member
yea that reminds me, good point, sqrt(x) is not just "square root of x", it is *THE NON-NEGATIVE square root of x*. by looking at the mathematical definition of sqrt() FUNCTION, sqrt(x^2)=abs(x).
by the BEDMAS, you do x^2 first. thats going to get you a non-negative value. then you square root it to get abs(x). I can understand that sqrt(x^2)=+/-x is *seemed* to be logical and therefore right, but it isn't BECAUSE it is a function and functions only return EXACTLY one value.
1. functions only return EXACTLY one value.
2. sqrt(x) is the NON-NEGATIVE square root of x.
3. x^(1/2) is equilvalent to sqrt(x)
The only people that these posts are going to confuse is those people who insists that they are right but really does not know what they are talking about. i am not saying this to offend anyone, but merely making a point.
-
Jul 29th, 2002, 10:20 PM
#22
Addicted Member
1. functions only return EXACTLY one value.
Since when? I don't really remember this being defined anywhere, except in places like grade 8 math where they say stuff like, "just ignore sqrt(-1)" even though you can actually do it.
If you want a vb function that returns more than one value:
VB Code:
Private Type Point
x As Long
y As Long
z As Long
End Type
Private Function SomeFn() As Point
' A fn that returns more than one value!
SomeFn.x = 3
SomeFn.y = -2
SomeFn.z = 10
End Function
If you want a mathematical fn that returns more than one value "f:=x->x^0.5;"
Or am I missing something that others seem to know about?
Destined
-
Jul 30th, 2002, 06:35 AM
#23
Member
Look: this all depends on whether we are talking about VBs intrinsic Sqrt function, or the mathmatical operator (notice I didn't say function because it's not one). VBs Sqrt(x) returns only the one value, +4 if x is 16. Therefore it is a function of x. The mathmatical operator (let's denote it Sq(x)), is not a function since it returns two values for every value of x, with absolutely NO exception.
THE definition of a function is: "Any relationship which takes one element of one set and assigns to it one and ONLY one element of a second set is said to be a function." And that's a quote.
So VB is right to call their Sqrt function a function, since it only returns the positive square root (it is therefore NOT equivalent to the similar mathmatical operator).
As for the mathmatical operator, Sq(x) (x with the line along the left hand side, top and the little tick coming off the bottom left), is defined as the positive square root of x. So that is a function. What is not a function is ±Sq(x), or x<sup>1/2</sup>, since they both incorporate both square roots of x.
The bottom line here is that on it's own Sq(x) (with those lines) is not 'the square root of x', it's 'the positive square root of x'. x<sup>1/2</sup> is defined as both square roots of x, namely ±a and is therefore not a function.
I'm not sure if that came out clearly or not...
-
Jul 30th, 2002, 07:44 AM
#24
Fanatic Member
you claim that x^(1/2) is NOT a function but sqrt(x) -- the operator with tick thing --- is a function.
according to the fractional exponents law:
x^(a/b)=((b th-root)(x))^a
so x^(1/2)=((2 th-root)(x))^1=sqrt(x)
the equal sign indicates that the expressions are equilvalent.
here is the proof:
x^(1/2)*x^(1/2)=x(1/2+1/2)=x^1=x
by definition, sqrt(x)*sqrt(x)=x
so x^(1/2)=sqrt(x)
in reality there is nothing wrong with these either function notations, indicating that x^(1/2) is a function:
f(x)=x^(1/2) or y=x^(1/2)
as i said, plug it in a graph calculator and you'll see what I am talking about. if u still don't believe me, y don't you look up fractional exponents.
Last edited by bugzpodder; Jul 30th, 2002 at 07:49 AM.
-
Jul 30th, 2002, 09:48 AM
#25
Member
-
Jul 30th, 2002, 09:48 AM
#26
Member
-
Jul 30th, 2002, 09:50 AM
#27
Member
The operator with the tick is a function because it only returns the non-negative square root, namely one value. However x^1/2 is not a function because it returns both the positive and negative square roots. Simple as that. Oh and I don't need someone explaining the 'fractional index law' or whatever name you came up with for it; it's such a basic concept of mathmatics that it doesn't need a pretenious name like that so you might want to complain to wherever you got that name from. That would be like saying 3 + 3 = 6 is a fine example of the recently discovered "Olbzmann's additional conjecture" or something silly like that.
-
Jul 30th, 2002, 09:56 AM
#28
Fanatic Member
lol. WHY is it not a function? because you think it returns two values? tell me one calculator that gives you both 2 and -2 if you put (4)^(1/2) and i'll believe you.
Last edited by bugzpodder; Jul 30th, 2002 at 10:03 AM.
-
Jul 30th, 2002, 10:05 AM
#29
Member
You're not listening. Calculators aren't perfect. On a calculator yes x^1/2 would be a function since the calculator isn't advanced enough to give both correct answers. That's a fault with calculators, not maths. In algebra, x^1/2 is not a function because it ALWAYS returns two values.
-
Jul 30th, 2002, 04:12 PM
#30
Fanatic Member
lol you have no proof of what you are saying. has it ever occured to you that you may be wrong? and don't blame it on the calculator. just use any calculator, or even your computer, or even better yet, any programming languages. try to raise a number to the exponent of 0.5 and see what you get. i mean, y a special rule to raise a number to 0.5? if you raise something to any other exponent it would give you one single answer, so y the special treatment?
-
Jul 31st, 2002, 09:16 AM
#31
Member
Actually you're wrong. n1/a will return two opposite values if a is an even number. And I don't need proof because I'm stating a fundamental law of mathematics: a function takes each value from one set, and assigns it to one and ONLY one value in a second set. Therefore f(x) = x1/2 is NOT a function since it assigns TWO values in the second set for each value in the first set, wake up you fool!
You basic proof?
Here:
42 = 16, agreed?
So Root(16) = 4.
But WAIT!
(-4)2 = 16 TOO!!
So Root(16) = -4 too!
If you don't understand why don't you go back to school and retake basic maths classes. I'm not blaming calculators, the makers of calculators don't include the second solution in the function because they assume you're CLEVER enough to know it exists and to know what it is for any given value!
You think I'm wrong, you give me two values for even a and any x (not including a = 0), for which x1/a doesn't have two return values!
-
Jul 31st, 2002, 12:50 PM
#32
Fanatic Member
lol tell me to go back to school is your proof that n^(1/a) has two values??? you think attacking me is going to make your point?? and you should think that calculator assume things for you? well i am not smart enough for that kind of calculators then lol. mebbe the calculator is smart enough to know that the user (you) knows n^(1/2) returns 2 answer, but also assumes that the user (you) does not know that 1+1=2!! why don't you type into the calculator and tell me if it says "you are smart enough to know that!" btw find me one other piece of PROFESSIONAL evidence (website, book, etc) that says 4^(1/2)=2 and -2.
-
Jul 31st, 2002, 01:01 PM
#33
Hyperactive Member
I have a few degrees in math, and I can tell you that
Sqrt(4) <> 4^(1/2)
Any number to a fractional power, that, once simplified, has an even denominator or an even numerator with a denominator of one, returns only a positive number.
Therefore,
Sqrt(4)=+-2, but
4^(1/2) = 2
-
Jul 31st, 2002, 01:12 PM
#34
Fanatic Member
no they are interchangable. sqrt(x) is a function and functions only return one value!
snakeeyes you telling me that (-4)^1 is positive and not -4?
lol if you are doing (-4)^(2/2) you are actually taking the square root first (fractional exponent law). you get 2i
square it gets -2
i don't care if you have a zillion math degrees. i'd be surprised if you can find any professional site that tells you sqrt(2) gives you two answers or that 2^(0.5) gives you two answers or that x^(1) is always positive! since you all believe what you say, so do that, find a professional source, i'd be interested to see one!
-
Jul 31st, 2002, 01:18 PM
#35
Hyperactive Member
reread my post, i agree with you.
2/2 is simplified to 1/1, so please look into what you argue.
-
Jul 31st, 2002, 01:22 PM
#36
Fanatic Member
yea you are right, i misread, i apologize. but as i said sqrt(x) returns only 1 value because sqrt(x) is a function, as simple as that!
-
Jul 31st, 2002, 01:36 PM
#37
Hyperactive Member
yes, the VB sqr() function returns only the positive number, and it is standard convention that when the radical sign is encountered, to take the positive value, but both are technically correct. The correct answer depends on the context of the question. In most questions, negative values can be disregarded because they aren't applicable to real problems. Take for instance, the following question.
A square has an area of 100 square units. What is the length of the side of this square?
Mathematically, both 10 and -10 are correct, but since -10 is not a possible answer, it is disregarded. Take for instance the opposite example, however much less common.
a^2 + 4a + 4=0
goes to
a(a+2)+2(a+ 2)=0
goes to
(a+2)^2=0
Therefore, a MUST equal -2.
You can see why negatives are most often left out, but not always.
-
Jul 31st, 2002, 01:40 PM
#38
Fanatic Member
i am not talking about the vb sqrt function! i am talking about the radical sign you call square root in math! it is also a function because you can right y=radical(x) (i used sqrt(x))
sqrt(x) (or radical (x) or whatyawantocallit) is defined mathematically to be the NON-NEGATIVE SQAURE ROOT of a number!
-
Jul 31st, 2002, 01:47 PM
#39
Hyperactive Member
yes, you are right, it is defined that way. Therefore,
Sqr(100)
is taken at at face value to be
|Sqrt(100)|
Whenever you arrive at Sqrt(Expression) it is asking you for the positive one. What I am saying is that when it is not explicit, such as
X^2=4
X can be either 2 or -2. Therefore, 2 and -2 are both valid. Sorry about any confusion, my English is coming along though.
-
Jul 31st, 2002, 01:56 PM
#40
Fanatic Member
yes I COMPLETELY agree with you! a quadratic has two roots! x^2=4 is of course a quadratic equation. it has roots 2 and -2!
the roots of a square has two values, while sqrt(x) function only return the NON-NEGATIVE square root of the number
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|