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

You are not logged in.

## #1 2011-08-11 14:11:26

benice
Full Member

Offline

### (Bug Report) Equation Grapher gives wrong graphs

Hi,
The MathsIsFun Equation Grapher gives wrong graph for
(abs(x-1) + abs(y) - 1) * (abs(x) + abs(y-1) - 1) = 0.

Last edited by benice (2011-08-11 14:17:48)

My Gallery of Math Art: benice equation

## #2 2011-08-11 18:27:19

bobbym

Online

### Re: (Bug Report) Equation Grapher gives wrong graphs

Hi benice;

Mathematica agrees with you. I remember trying to write my own contour plotter. In two different languages! I do not think I ever really succeeded.

I tried to do it by solving for the points. That is difficult enough when you are standing over the computer and watching every move. In a plotter the program has to do it all by itself. Sometimes they are going to miss some and sometimes they will add a few.

By the way that is a clever way to draw two squares.

In mathematics, you don't understand things. You just get used to them.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.

## #3 2011-08-11 21:03:52

MathsIsFun

Offline

### Re: (Bug Report) Equation Grapher gives wrong graphs

Hi benice,

Thanks for that, I will look into it.

"The physicists defer only to mathematicians, and the mathematicians defer only to God ..."  - Leon M. Lederman

## #4 2011-08-12 12:13:47

benice
Full Member

Offline

### Re: (Bug Report) Equation Grapher gives wrong graphs

Hi bobbym,

I agree with you. It's difficult to write a contour plotter from scratch.
Many thanks to those kind people who make open/free plotters for us.

My Gallery of Math Art: benice equation

## #5 2011-08-12 12:33:21

benice
Full Member

Offline

### Re: (Bug Report) Equation Grapher gives wrong graphs

Hi MathsIsFun,

I have found this is a common problem in many open softwares including Graph, gnuplot and Scilab.

My Gallery of Math Art: benice equation

## #6 2011-08-12 17:42:27

bobbym

Online

### Re: (Bug Report) Equation Grapher gives wrong graphs

Hi benice;

Graph, gnuplot and Scilab

That is some good software there. I do not feel so bad now. I am not sure about his explanation of no sign changes.

y - x^2 = 0 has no sign changes either but graphs properly here. Or maybe you do not notice it because only (0,0) is left out!

In mathematics, you don't understand things. You just get used to them.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.

## #7 2011-08-12 20:00:38

MathsIsFun

Offline

### Re: (Bug Report) Equation Grapher gives wrong graphs

Yes, sign changing abruptly back and forth is hard to detect. This will be an interesting test case for me.

"The physicists defer only to mathematicians, and the mathematicians defer only to God ..."  - Leon M. Lederman