Live data from Hacker News

What are imaginary numbers?

math.stackexchange.com

61–70 of 143 posts

Re: What are imaginary numbers?

#61
post #48

Earlier quoted context omitted.

I'll try to give some short pointers. 1. Matrices represent linear functions between finite-dimensional vector spaces. That is, if you have a function f from V to W that satisfies f(ax + by) = af(x) + bf(y), then there is a matrix A such that f(x) = Ax, and vice versa. Once you understand that, try to figure out what happens to those matrices when you compose functions. In other words, when you define h(x) = g(f(x))…

Thanks!! >> then you have to talk about determinants instead of angles I certainly never heard this before. (I know how to calculate determinants, but never quite developed intuition around them.) Can you please say some more on this? :-)

Ah, what the heck. Here's how I think about this, which is heavily influenced by working on some problems related to lattices (from the geometry of numbers).

How could you generalize the cross product to higher dimension? What the cross product does is that it takes two linearly independent 3-dim vectors and gives you some kind of canonical vector orthogonal to both of them.

Can you find a reasonably canonical operation that, given two linearly independent d-dim vectors gives you some kind of canonical vector orthogonal to both of them? The answer is basically no.

However, you can find a reasonable operation that, given d-1 linearly independent d-dim vectors a(1) ... a(d-1), gives you a canonical vector v orthogonal to all of them. This vector should be the unique solution of a system of linear equations aj * v = 0, z * v = 1.

One way to resolve such a system is using Cramer's rule: each coordinate of v is a determinant of the matrix A of the system with one column replaced by the right-hand side, divided by the determinant of A. There are a number of reasons for not liking this division: (1) it is impractical if you prefer to work with coefficient in a ring (such as the integers) instead of a field; (2) the cross product is defined without any divisions; (3) the determinant of A depends on your choice of z, but the determinants in the numerators do not depend on the choice of z. So we just forget about the division, which is the same as choosing z such that det(A) = 1.

That gives you a higher-dimensional generalization of the cross product. Okay, so now how long is v going to be?

Well, for that you have to understand that the volume of the parallelepiped (skewed box) spanned by linearly independent vectors is equal to the determinant of the matrix that contains those vectors as rows or columns (or the square-root of the matrix multiplied with its transpose if you don't have a full-dimensional set). There are a number of ways to see this; one of them is that the parallelepiped is obtained via a linear transformation of the unit cube by that matrix, and linear transformations scale volume by the (absolute value of) the determinant.

So the determinant of A is the height of z over the hyperplane spanned by a(1) ... a(d-1) times the (d-1)-dimensional volume of the parallelepiped spanned by them. This means that the height of z is the inverse of that volume (becaues we chose z so that det(A) = 1). But then since z * v = 1, the length of v must be equal to that volume, so that the volume and its inverse cancel.

Now go back to the case d=3 and compute the size of the parallelepiped (aka parallelogram) spanned by your two starting vectors. Voila, you get exactly the formula for the length of the cross product. Compute the square-root of the determinant that you get when you multiple the matrix containing the two vectors as rows with its transpose. Voila, you get exactly the same formula again :)

(In fact, if you look at how the components of the cross product in d=3 are computed, you'll find the 2x2 subdeterminants of that 2x3 matrix - and that fits perfectly with what I wrote above about using Cramer's rule.)

Re: What are imaginary numbers?

#62
post #53

Earlier quoted context omitted.

I'll try to give some short pointers. 1. Matrices represent linear functions between finite-dimensional vector spaces. That is, if you have a function f from V to W that satisfies f(ax + by) = af(x) + bf(y), then there is a matrix A such that f(x) = Ax, and vice versa. Once you understand that, try to figure out what happens to those matrices when you compose functions. In other words, when you define h(x) = g(f(x))…

Here is what I am confused about with regards to diagonalisation: Start with binary non-negative integers: 000 001 010 011 100 101 ... (goes to infinity) This set now includes all possible bit strings of infinite length since the way these are iteratively generated includes all possibilities. This is also an enumerable set by definition. Let's now reverse the bits and put them after a decimal. These are just real num…

> This set now includes all possible bit strings of infinite length since the way these are iteratively generated includes all possibilities.

That's not correct -- in fact, it contains no infinite bit strings at all (to prove this to yourself, ask at what position the first infinite string appears).

Re: What are imaginary numbers?

#63
post #40

Earlier quoted context omitted.

Sure! You might want to check out http://betterexplained.com/articles/intuitive-understanding-... I like this question because it really works your intuition. The basics: x^y means "grow at x, for y units of time". I see "2^3" as "grow at 2x for 3 units of time". Having a base of i means your "growth" is a rotation at 90 degrees, no scaling. So i^(1/2) means a 45 degree rotation, i^3 means a 270 rotation, etc. Raisin…

Note that 2575.97 also has the property that raised to the ith power gives i. There are infinitely many such numbers.

or 0.008983291.. Are there countably infinite solutions or otherwise? See infinity discussion few days ago at HN http://news.ycombinator.com/item?id=4526049

PS: Just curious, i am not a mathematician.

Re: What are imaginary numbers?

#64
post #49

A complex "number" (don't think of it as of a number! think of it like you would think of a vector, group, ring or any other abstract structure) is just an ordered pair of real numbers that behaves in a certain predefined way when being added to another complex number or multiplied by it. For an introduction, to avoid unnecessary confusion, it is best to write such "numbers" as ordered pairs using the notation: (a,b)…

> don't think of it as of a number!

By the same token, you shouldn't think of a real "number" as a number, but as an infinite sequence of rational numbers. Yes, all of the reals are infinite sequences of rationals.

Also, a rational isn't a number but an ordered pair of integers. (Technically, the set of the rationals is the set of all ordered pairs of integers (excluding the ones with zero in the second position) with an equivalence class defined on them.)

The integers are also not numbers, but the naturals with a sign adjoined to them.

Finally, the naturals aren't numbers but sets of sets, with zero the empty set and all further integers built inductively from that.

So... what does it really gain you to look 'inside' the numbers you use?

Re: What are imaginary numbers?

#65
post #49

A complex "number" (don't think of it as of a number! think of it like you would think of a vector, group, ring or any other abstract structure) is just an ordered pair of real numbers that behaves in a certain predefined way when being added to another complex number or multiplied by it. For an introduction, to avoid unnecessary confusion, it is best to write such "numbers" as ordered pairs using the notation: (a,b)…

I saw, and experienced, this approach in school and see no value in it for improving your understanding complex numbers. The point of the approach is to teach students about abstraction and formalism, and complex numbers happen to be a convenient place to do it. But the formalism is a barrier for building up a more convenient mental model about what is really going on.

Before disputing this, in any calculation that you've ever done by hand with complex numbers, do you naturally write it as (a, b) or a + bi? I always do the latter, and it saves me both time and conceptual effort.

And a random note. If you go on past advanced Calculus, you'll encounter two subjects that take Calculus and go back to the basic foundations and build them up. The first is real analysis, for which you have to learn all of the ways that things fail to work out like you would want them to. The other is complex analysis, where you wind up learning all of the ways that everything has to work out amazingly perfectly.

The difference between the two subjects is that "differentiable" in the 2-dimensional structure of complex numbers is a far, far stronger condition than "differentiable" is for the real numbers. Indeed there actually exist functions that you can construct which are infinitely differentiable everywhere in the real numbers, but for which on no interval can you extend them to a function that is differentiable in the complex plane.

Re: What are imaginary numbers?

#66
post #35

Earlier quoted context omitted.

Can you please complete your proof? How do I go from 1.(-1) = -1 to (-1)*(-1)=(+1)?

Shoot. I lost sight of the goal. Sorry. a·0 = 0 for all numbers a Thus it is true that –1·0 = 0 Replace 0 on left hand side with (–1 + 1) to get –1·(–1+1) = 0 Now use the distributive property –1·(–1) + (–1)·1 = 0 Keeping in mind that 1·a = a for all numbers gives us –1(–1) + (–1) = 0 Thus –1(–1) is a number such that when added to –1 gives 0. Hence –1(–1) must be the opposite of –1 which is 1.

You are assuming that additive inverse is unique. Also you are assuming that -1(-1) is some value at all; you could write an extremely similar proof that leaves you with 0/0 = 1 and it would be faulty to conclude that 0/0 actually is 1.

Re: What are imaginary numbers?

#67
post #34

Can someone please also do this for: 1. Matrices, especially matrix multiplication. Unlike matrix addition, multiplication is defined in a very weird way. I think I understand where it is coming from -- defining it that way allows representing and solving linear equations. More insights, however, would help. 2. Dot and cross products. E.g., the magnitude of dot product in 3D is a.b.cos(theta), while for cross product…

I don't have time now to provide complete answers of the type you want, but I can give you a little insight. > Matrices, especially matrix multiplication. Consider a transformation of space, specifically a shear, or a rotation, or an expansion (or contraction). All of these leave the origin unmoved, and a line will always become a line. They are what we call linear transformations. So given a point (x,y,z) in 3D spac…

Thanks for a detailed explanation. The one on matrices helps too even though others also posted the same idea.

>> We have a universe of discourse that has a bunch of atomic things. A "set" is then a collection of things

This is where I get stuck. In set theory, they define numbers (and addition) starting from a set and element-of operator. I cannot imagine a bunch of atomic things without imagining numbers/counting first. (PS: "collection" would be another word for a set, so does not help to define it.) So it seems to me that unless set and element-of are left undefined (as others here have suggested), natural numbers are more fundamental than sets.

>> 0,9999... = 1

What I am getting is that the "limit" is implicit in the statement above even though often unstated. The ellipsis is what signifies the limit there, being otherwise not mathematically defined.

>> Call that collection A

I get the precise definition of sack B. I am missing it for sac A. I understand what happens on a given cube, and that cubes in sac A are numbered 1 though infinity. Is there anything to say about the numbers written on two different cubes in sac A?

Basically what you are saying is that sac A cannot have all possible combinations like sac B is defined to have. I am not sure why that is. I see that you just added a comment on another related comment from me. I'll read that first.

Re: What are imaginary numbers?

#68
post #34

Can someone please also do this for: 1. Matrices, especially matrix multiplication. Unlike matrix addition, multiplication is defined in a very weird way. I think I understand where it is coming from -- defining it that way allows representing and solving linear equations. More insights, however, would help. 2. Dot and cross products. E.g., the magnitude of dot product in 3D is a.b.cos(theta), while for cross product…

Regarding 4, don't believe anyone who claims it's an intuitive result; it is simply a properly of real numbers that you cannot have nonzero infinitesimals and that any two distinct numbers have a number between them that is not equal to either (infinitely many in fact). You can construct alternate number lines that do allow nonzero infinitesimals and then .9999... actually is not equal to 1 under that number line; this number line is a strict superset of Reals just as Reals are a strict superset of Rationals. Most of the practical properties of real numbers would still apply to this new number line; it is actually only a historical convention note that .999... is actually equal to 1.

Re: What are imaginary numbers?

#70
post #64
post #49

A complex "number" (don't think of it as of a number! think of it like you would think of a vector, group, ring or any other abstract structure) is just an ordered pair of real numbers that behaves in a certain predefined way when being added to another complex number or multiplied by it. For an introduction, to avoid unnecessary confusion, it is best to write such "numbers" as ordered pairs using the notation: (a,b)…

> don't think of it as of a number! By the same token, you shouldn't think of a real "number" as a number, but as an infinite sequence of rational numbers. Yes, all of the reals are infinite sequences of rationals. Also, a rational isn't a number but an ordered pair of integers. (Technically, the set of the rationals is the set of all ordered pairs of integers (excluding the ones with zero in the second position) wit…

One minor correction. The integers are more naturally defined as an equivalence class of pairs of natural numbers, with (a, b) equivalent to (c, d) if and only if a+d = b+c. (Your approach does not eliminate the equivalence class issue, because you have to specify that +0 and -0 are the same.)

In this formulation, you define (a, b) + (c, d) to be (a+c, b+d). And you define (a, b) * (c, d) to be (a * c + b * d, a * d + b * c). After a little work you can prove that both operations send equivalence classes to equivalence classes.

Then you can embed as follows. The natural n gets mapped to the integer (n, 0). The integer m gets mapped to the rational (m, 1). The rational r gets mapped to the real (r, r, r, r, ....). And the real x gets mapped onto the complex number x + 0i.

Post reply on HN