Math Is Fun Forum

  Discussion about math, puzzles, games and fun.   Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ • π ƒ -¹ ² ³ °

You are not logged in.

#826 2011-04-02 01:47:06

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: What do you think?

Hi gAr;

I phrased my statement wrong and have corrected it in post #825, which you may not have seen. I was editing while you were posting.


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#827 2011-04-02 01:53:51

gAr
Member
Registered: 2011-01-09
Posts: 3,482

Re: What do you think?

Hi bobbym,

I saw that. Sorry for the discontinuity.


"Believe nothing, no matter where you read it, or who said it, no matter if I have said it, unless it agrees with your own reason and your own common sense"  - Buddha?

"Data! Data! Data!" he cried impatiently. "I can't make bricks without clay."

Offline

#828 2011-04-02 01:59:28

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: What do you think?

No problem. Actually it was my fault.


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#829 2011-04-02 02:14:11

gAr
Member
Registered: 2011-01-09
Posts: 3,482

Re: What do you think?

Okay, whatever!

I'm little confused here, is sqrt(-1) = ±i ? A complex plot tells so.


"Believe nothing, no matter where you read it, or who said it, no matter if I have said it, unless it agrees with your own reason and your own common sense"  - Buddha?

"Data! Data! Data!" he cried impatiently. "I can't make bricks without clay."

Offline

#830 2011-04-02 02:19:18

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: What do you think?

I am pretty sure the square root operator uses the principal value. The positive one.


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#831 2011-04-02 02:28:55

gAr
Member
Registered: 2011-01-09
Posts: 3,482

Re: What do you think?

Ok.

The plot shows ±i for the quadratic equation, sqrt(-1) is defined as i only.


"Believe nothing, no matter where you read it, or who said it, no matter if I have said it, unless it agrees with your own reason and your own common sense"  - Buddha?

"Data! Data! Data!" he cried impatiently. "I can't make bricks without clay."

Offline

#832 2011-04-02 02:31:17

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: What do you think?

Hi;

Yes, the sqrt(-1) is just i, the principal root. You can verify that by asking Sage what the sqrt(-1) is. What plot are you looking at?


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#833 2011-04-02 02:40:03

gAr
Member
Registered: 2011-01-09
Posts: 3,482

Re: What do you think?

I was looking at the complex plot of: x^2+1

Sage doesn't show plus or minus.


"Believe nothing, no matter where you read it, or who said it, no matter if I have said it, unless it agrees with your own reason and your own common sense"  - Buddha?

"Data! Data! Data!" he cried impatiently. "I can't make bricks without clay."

Offline

#834 2011-04-02 02:48:54

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: What do you think?

But it should output just i. The square root operator is defined that way so that square root is a function. What does your graph look like?


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#835 2011-04-02 02:57:06

gAr
Member
Registered: 2011-01-09
Posts: 3,482

Re: What do you think?

Here's the graph x^2+1

And here's a fragment from the documentation of the function:
The magnitude of the output is indicated by the brightness (with zero being black and infinity being white) while the argument is represented by the hue (with red being positive real, and increasing through orange, yellow, ... as the argument increases).


"Believe nothing, no matter where you read it, or who said it, no matter if I have said it, unless it agrees with your own reason and your own common sense"  - Buddha?

"Data! Data! Data!" he cried impatiently. "I can't make bricks without clay."

Offline

#836 2011-04-02 03:02:02

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: What do you think?

Hi gAr;

That is a contour plot and that is a different thing. It can plot complex values so naturally it computes them.

If you solve the equation x^4 - 1 = 0 you will get the 4 roots of unity. But if you ask Sage if (1)^(1/4) equals -i he will say false. He will only say true to 1. The positive root.


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#837 2011-04-02 03:13:35

gAr
Member
Registered: 2011-01-09
Posts: 3,482

Re: What do you think?

Ok, it's called complex_plot in sage, so I was calling like that.
I tried ContourPlot in wolfram alpha, but it won't show.

And you are right about the comparison.


"Believe nothing, no matter where you read it, or who said it, no matter if I have said it, unless it agrees with your own reason and your own common sense"  - Buddha?

"Data! Data! Data!" he cried impatiently. "I can't make bricks without clay."

Offline

#838 2011-04-02 05:04:16

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: What do you think?

Hi gAr;

I have changed the above post. To a more meaningful example.


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#839 2011-04-02 05:22:43

gAr
Member
Registered: 2011-01-09
Posts: 3,482

Re: What do you think?

Hi bobbym,

Ok. I forgot what was there before!


"Believe nothing, no matter where you read it, or who said it, no matter if I have said it, unless it agrees with your own reason and your own common sense"  - Buddha?

"Data! Data! Data!" he cried impatiently. "I can't make bricks without clay."

Offline

#840 2011-04-02 05:30:07

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: What do you think?

I am not exactly familiar with how they compute those contour plots but you can go here to get a little bit more theory.

http://www.mathsisfun.com/sets/domain-r … omain.html


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#841 2011-04-02 05:33:43

gAr
Member
Registered: 2011-01-09
Posts: 3,482

Re: What do you think?

Ok, thank you.


"Believe nothing, no matter where you read it, or who said it, no matter if I have said it, unless it agrees with your own reason and your own common sense"  - Buddha?

"Data! Data! Data!" he cried impatiently. "I can't make bricks without clay."

Offline

#842 2011-04-02 05:35:48

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: What do you think?

By the way, I liked the way you went to the OEIS to look up that sequence. Good experimental math. That is not cheating. Research is part of solving any problem.


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#843 2011-04-02 05:47:20

gAr
Member
Registered: 2011-01-09
Posts: 3,482

Re: What do you think?

Oh, thanks. I actually wanted to know it myself.
I knew it was related to counting something, but still couldn't get it.


"Believe nothing, no matter where you read it, or who said it, no matter if I have said it, unless it agrees with your own reason and your own common sense"  - Buddha?

"Data! Data! Data!" he cried impatiently. "I can't make bricks without clay."

Offline

#844 2011-04-02 05:54:34

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: What do you think?

I understand. Nobody can get them all.


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#845 2011-04-06 04:14:13

gAr
Member
Registered: 2011-01-09
Posts: 3,482

Re: What do you think?

Hi bobbym,

#798 wrote:

Yes, it's frustrating to solve for 3 dice.

Continuing from there...
I got curious about the number of throws and calculated a few: Generating functions again!


"Believe nothing, no matter where you read it, or who said it, no matter if I have said it, unless it agrees with your own reason and your own common sense"  - Buddha?

"Data! Data! Data!" he cried impatiently. "I can't make bricks without clay."

Offline

#846 2011-04-06 04:26:39

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: What do you think?

Hi gAr;

What method did you use?


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#847 2011-04-06 04:33:43

gAr
Member
Registered: 2011-01-09
Posts: 3,482

Re: What do you think?

I used the same integral which you used.
Used numerical integration(Gauss quadrature), actual integration takes a long time.


"Believe nothing, no matter where you read it, or who said it, no matter if I have said it, unless it agrees with your own reason and your own common sense"  - Buddha?

"Data! Data! Data!" he cried impatiently. "I can't make bricks without clay."

Offline

#848 2011-04-06 04:36:48

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: What do you think?

That integral they came up with is amazing.


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#849 2011-04-06 04:40:20

gAr
Member
Registered: 2011-01-09
Posts: 3,482

Re: What do you think?

Yes, indeed!
Though I couldn't understand the theory behind it, not able to find many examples.


"Believe nothing, no matter where you read it, or who said it, no matter if I have said it, unless it agrees with your own reason and your own common sense"  - Buddha?

"Data! Data! Data!" he cried impatiently. "I can't make bricks without clay."

Offline

#850 2011-04-06 04:46:02

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: What do you think?

Do not worry about that. That is cutting edge combinatorics. I also am lost in their explanation. The CCP is an open problem with many unanswered questions. Fortunately, we do not have to understand a formula to use it.


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

Board footer

Powered by FluxBB