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

You are not logged in.

## #1 2011-03-18 20:22:26

bobbym

Online

### Experimental mathematics

I have created a new thread for discussion of Computer Algebra and the PSLQ

Hi gAr;

Do not worry about that problem right now. It is typically for the user to provide the vector of constants. You are required to sort of know which constants apply for the problem you are working on.

Here is the example that is the beginning of my experience with the methods.

They begin with this example: evaluate the following integral in closed form.

No analytical methods can be used. Only the techniques of experimental math are allowed.

In mathematics, you don't understand things. You just get used to them.
Some cause happiness wherever they go; others, whenever they go.
If you can not overcome with talent...overcome with effort.

## #2 2011-03-18 20:45:13

gAr
Star Member

Offline

### Re: Experimental mathematics

Hi bobbym,

The value I get is -16.699473719229... , but couldn't find a closed form.

"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."

## #3 2011-03-18 23:46:58

bobbym

Online

### Re: Experimental mathematics

Hi gAr;

We get the integral by gaussian integration to 25 and then 50 places. We then PSLQ both values.

Look at the first row of both answers, you see the top vector. Both answers have the same one. That is the answer!

On mine I have it programmed to return the negative of the vector so we negate the top row to

[-24 , 0 , 0 , -120 , 0 , -140 , 0 , 15 , 0]

If you look at how the vector of constants is arranged in the pslq command then the answer is

Cleaning up and substituting we get:

It looks like we did the integral by some analytical method does it not? All done by integer relations. Of course the above is not a strict mathematical proof. But it is a strong conjecture because typically these are done to hundreds or thousands of places.

In mathematics, you don't understand things. You just get used to them.
Some cause happiness wherever they go; others, whenever they go.
If you can not overcome with talent...overcome with effort.

## #4 2011-03-19 00:19:08

gAr
Star Member

Offline

### Re: Experimental mathematics

Hi bobbym,

That looks very good.
But it's so difficult to integrate!
I'll look around for more 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."

## #5 2011-03-19 00:26:00

bobbym

Online

### Re: Experimental mathematics

Hi gAr;

I have other examples. The technique can be used for many different things. There are problems posted here that could not be answered. The OP thought that they were very tough but the truth is they are only tough when the classical methods are used. They break easily to the PSLQ.

In mathematics, you don't understand things. You just get used to them.
Some cause happiness wherever they go; others, whenever they go.
If you can not overcome with talent...overcome with effort.

## #6 2011-03-19 00:39:28

gAr
Star Member

Offline

### Re: Experimental mathematics

Thanks!

"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."

## #7 2011-03-19 00:55:55

gAr
Star Member

Offline

### Re: Experimental mathematics

Hi bobbym,

I tried your example, mpmath's pslq didn't show anything, strange! I tried varying the precision, using the latest version directly.

Last edited by gAr (2011-03-19 00:56:19)

"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."

## #8 2011-03-19 01:09:09

bobbym

Online

### Re: Experimental mathematics

Hi gAr;

It is due to the differences in the algorithms used maybe. Mine as I said is homegrown, it uses LLL or the lattice reduce algorithm. Mpmath is using the original Ferguson algorithm.

In mathematics, you don't understand things. You just get used to them.
Some cause happiness wherever they go; others, whenever they go.
If you can not overcome with talent...overcome with effort.

## #9 2011-03-19 01:19:05

gAr
Star Member

Offline

### Re: Experimental mathematics

Oh, ok.
Experimental mathematics is cool!

"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."

## #10 2011-03-19 01:30:57

bobbym

Online

### Re: Experimental mathematics

Did you use my 50 digit number and set your environment variable to around 50.

Here is a 100 digit answer

-16.69947371922907049618724340073146784130179174288144470245664281170485208378578722037304516803788261 so set your precision to around 100.

Also you can try removing the minus sign, or taking 16 away so that the value is less than 1.

If you think you can program in sage well enough I can take you through my program one line at a time ( there are only 6 commands ).

In mathematics, you don't understand things. You just get used to them.
Some cause happiness wherever they go; others, whenever they go.
If you can not overcome with talent...overcome with effort.

## #11 2011-03-19 02:13:53

gAr
Star Member

Offline

### Re: Experimental mathematics

Hi,

I tried all the numbers you showed, still nothing.
I can try to program.

"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."

## #12 2011-03-19 02:16:40

bobbym

Online

### Re: Experimental mathematics

Hi gAr;

Do you think it is better to try to copy my program or to try a few different examples of other type problems?
Think about it and I will see you later, I need a little rest.

In mathematics, you don't understand things. You just get used to them.
Some cause happiness wherever they go; others, whenever they go.
If you can not overcome with talent...overcome with effort.

## #13 2011-03-19 02:35:14

gAr
Star Member

Offline

### Re: Experimental mathematics

Hi bobbym,

I think it's better to look into the program first.

"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."

## #14 2011-03-19 15:05:51

gAr
Star Member

Offline

### Re: Experimental mathematics

Hi bobbym,

Got it! Your 25 digit value's sufficient.
I entered this:

pslq([mpf('-16.69947371922907049618724347541020677037'),1,pi,pi**2,pi**3,pi**4,pi**5,pi**6,pi**7], verbose=True, maxcoeff=10**30, maxsteps=300)

The vector I get is [24, 0, 0, 120, 0, 140, 0, -15, 0]

Without verbose I had no idea what was the reason, very helpful of it. It required 222 iterations. Also, I was entering without mpf('...').
The precision I set are:
mp.dps=30
mp.prec=103

Now, that was fun. Their documentation should have had examples like this.

But I do not understand the vector you get, why is there more than 9 values?

Last edited by gAr (2011-03-19 15:10:09)

"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."

## #15 2011-03-19 15:08:01

bobbym

Online

### Re: Experimental mathematics

Hi gAr;

How are you today? I am glad to hear that. That mpmath is a very nice package. Give a couple of minutes to prepare a new example.

In mathematics, you don't understand things. You just get used to them.
Some cause happiness wherever they go; others, whenever they go.
If you can not overcome with talent...overcome with effort.

## #16 2011-03-19 15:13:32

gAr
Star Member

Offline

### Re: Experimental mathematics

Hi bobbym,

I'm fine. How are you?
I edited my previous post when you were posting.

But I do not understand the vector you get, why is there more than 9 values?

"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."

## #17 2011-03-19 15:15:22

bobbym

Online

### Re: Experimental mathematics

Hi gAr;

Which vector are we talking about?

In mathematics, you don't understand things. You just get used to them.
Some cause happiness wherever they go; others, whenever they go.
If you can not overcome with talent...overcome with effort.

## #18 2011-03-19 15:19:29

gAr
Star Member

Offline

### Re: Experimental mathematics

This one:

I got only the first row, what are the rest?

"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."

## #19 2011-03-19 15:36:07

bobbym

Online

### Re: Experimental mathematics

Oh, they are in some cases other answers, but usually just debris left over from the algorithm. I could have the program remove them and get one row vector but I like to see them.

Next problem:

http://www.mathisfunforum.com/message.php

post #333

If you look at phrontister's answer you will see he has produced what the 4 solutions are. The GF can only count them it cannot tell what type they are. He used a computer program let us see if we can use a PSLQ to get some of those answers.

If you PSLQ this vector [92,1,5,10,25] what do you get?

In mathematics, you don't understand things. You just get used to them.
Some cause happiness wherever they go; others, whenever they go.
If you can not overcome with talent...overcome with effort.

## #20 2011-03-19 15:42:34

gAr
Star Member

Offline

### Re: Experimental mathematics

Hi bobbym,

Oh, okay.

I'm not able to follow that link. I get a blank message.

Last edited by gAr (2011-03-19 15:46:30)

"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."

## #21 2011-03-19 15:48:56

bobbym

Online

### Re: Experimental mathematics

http://www.mathisfunforum.com/viewtopic … 2&p=17

and go to post #333.

In mathematics, you don't understand things. You just get used to them.
Some cause happiness wherever they go; others, whenever they go.
If you can not overcome with talent...overcome with effort.

## #22 2011-03-19 16:06:50

gAr
Star Member

Offline

### Re: Experimental mathematics

Hi bobbym,

I get [0, 0, -1, -2, 1].
So should we try deleting some values, multiplying some values etc.?

"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."

## #23 2011-03-19 16:10:00

bobbym

Online

### Re: Experimental mathematics

Keep tweaking and look for an answer like this:

[-1,-2,-1,-1,-3]

Which states:

92 = 2 p + 1 n + 1 d + 3 q.

I think I see the problem on mine the 92 goes into the vector on yours it does not!

In mathematics, you don't understand things. You just get used to them.
Some cause happiness wherever they go; others, whenever they go.
If you can not overcome with talent...overcome with effort.

## #24 2011-03-19 16:21:22

gAr
Star Member

Offline

### Re: Experimental mathematics

I don't get that, is there anything I can do to force it to use all digits provided?
And the original problem stated there must be at least two of each denomination, can I enforce that condition?

"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."

## #25 2011-03-19 16:24:09

bobbym

Online

### Re: Experimental mathematics

Hi gAr;

I have bent the rules on the problem a little as a first demonstration. Are you leaving the 92 out of your basis? In mine it goes in and yours it is not part of the vector.

In mathematics, you don't understand things. You just get used to them.
Some cause happiness wherever they go; others, whenever they go.
If you can not overcome with talent...overcome with effort.