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

You are not logged in.

#1 2012-02-18 05:15:41

anonimnystefy
Real Member
From: The Foundation
Registered: 2011-05-23
Posts: 14,885

Cool graphs using the sgn(x) function!!!

hi guys

tell me what you think of these:

1)two horizontal rays at heights 3 and 1:

y=2+sgn(x)

Plot of y=2+sgn(x)

this can be generalized to two horizontal rays of heights a and b with the formula being:

2)two parallel non-horizontal rays at heights 1 and -1:

y=x+sgn(x)

Plot of y=x+sgn(x)

this can be generalized to two parallel non-horizontal rays at heights a and b with the formula:

but can also be generalized to two non-parallel non-horizontal rays at heights a and b with the formula:

3)i have also find a way to plot two parallel lines(horizontal or vertical),but unfortunately wolfram won't plot this function.

for two vertical lines there are 3 different formulas depending where we want the lines to be.i will give the formula for when the two lines are on the right of the y-axis:

Last edited by anonimnystefy (2012-02-19 02:11:45)


“Here lies the reader who will never open this book. He is forever dead.

“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment

Offline

#2 2012-02-18 09:59:30

anonimnystefy
Real Member
From: The Foundation
Registered: 2011-05-23
Posts: 14,885

Re: Cool graphs using the sgn(x) function!!!

any feedback?


“Here lies the reader who will never open this book. He is forever dead.

“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment

Offline

#3 2012-02-18 10:34:54

bobbym
Administrator
From: Bumpkinland
Registered: 2009-04-12
Posts: 83,086

Re: Cool graphs using the sgn(x) function!!!

I can not see anything, can you fix the tags?


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.

Offline

#4 2012-02-18 10:38:07

anonimnystefy
Real Member
From: The Foundation
Registered: 2011-05-23
Posts: 14,885

Re: Cool graphs using the sgn(x) function!!!

all fixed up smile


“Here lies the reader who will never open this book. He is forever dead.

“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment

Offline

#5 2012-02-18 10:41:19

bobbym
Administrator
From: Bumpkinland
Registered: 2009-04-12
Posts: 83,086

Re: Cool graphs using the sgn(x) function!!!

Hi;

Sometimes it is convenient to use piecewise functions.


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.

Offline

#6 2012-02-18 11:12:03

anonimnystefy
Real Member
From: The Foundation
Registered: 2011-05-23
Posts: 14,885

Re: Cool graphs using the sgn(x) function!!!

yes,but i  looked for ways to do it with only one function.

is there to merge a three-part piecewise function into one?


“Here lies the reader who will never open this book. He is forever dead.

“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment

Offline

#7 2012-02-18 11:14:39

bobbym
Administrator
From: Bumpkinland
Registered: 2009-04-12
Posts: 83,086

Re: Cool graphs using the sgn(x) function!!!

Hi anonimnystefy;

What is the piecewise function?


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.

Offline

#8 2012-02-18 11:52:29

anonimnystefy
Real Member
From: The Foundation
Registered: 2011-05-23
Posts: 14,885

Re: Cool graphs using the sgn(x) function!!!

e.g.:

f(x)={(-1 when x<1,0 when x∈(-1,1),1 when x>1)


“Here lies the reader who will never open this book. He is forever dead.

“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment

Offline

#9 2012-02-18 14:42:05

bobbym
Administrator
From: Bumpkinland
Registered: 2009-04-12
Posts: 83,086

Re: Cool graphs using the sgn(x) function!!!

I can not see any of those images so I am having trouble understanding what you already did.


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.

Offline

#10 2012-02-19 03:48:47

anonimnystefy
Real Member
From: The Foundation
Registered: 2011-05-23
Posts: 14,885

Re: Cool graphs using the sgn(x) function!!!

i put in some links instead of pictures.it should be fine now smile


“Here lies the reader who will never open this book. He is forever dead.

“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment

Offline

#11 2012-02-19 05:44:38

bobbym
Administrator
From: Bumpkinland
Registered: 2009-04-12
Posts: 83,086

Re: Cool graphs using the sgn(x) function!!!

I am still only getting Alpha' s site and that whirring thing.


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.

Offline

#12 2012-02-19 06:14:51

anonimnystefy
Real Member
From: The Foundation
Registered: 2011-05-23
Posts: 14,885

Re: Cool graphs using the sgn(x) function!!!

what whirring thing?


“Here lies the reader who will never open this book. He is forever dead.

“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment

Offline

#13 2012-02-19 06:20:51

bobbym
Administrator
From: Bumpkinland
Registered: 2009-04-12
Posts: 83,086

Re: Cool graphs using the sgn(x) function!!!

The symbol for computation is running.


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.

Offline

#14 2012-02-19 09:04:08

anonimnystefy
Real Member
From: The Foundation
Registered: 2011-05-23
Posts: 14,885

Re: Cool graphs using the sgn(x) function!!!

it's working fine for me.


“Here lies the reader who will never open this book. He is forever dead.

“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment

Offline

#15 2012-02-19 10:13:28

bobbym
Administrator
From: Bumpkinland
Registered: 2009-04-12
Posts: 83,086

Re: Cool graphs using the sgn(x) function!!!

Hi anonimnystefy;

Sorry, I am not getting anything.


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.

Offline

#16 2012-02-19 10:39:44

anonimnystefy
Real Member
From: The Foundation
Registered: 2011-05-23
Posts: 14,885

Re: Cool graphs using the sgn(x) function!!!

hi bobbym

i don't know what to do,but you could try entering that into W|A yourself.


“Here lies the reader who will never open this book. He is forever dead.

“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment

Offline

#17 2012-02-19 10:42:23

bobbym
Administrator
From: Bumpkinland
Registered: 2009-04-12
Posts: 83,086

Re: Cool graphs using the sgn(x) function!!!

Yes, I have done that. I can now see it all.


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.

Offline

#18 2012-02-19 10:50:40

anonimnystefy
Real Member
From: The Foundation
Registered: 2011-05-23
Posts: 14,885

Re: Cool graphs using the sgn(x) function!!!

and?

btw,i successfully installed wxMaxima.


“Here lies the reader who will never open this book. He is forever dead.

“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment

Offline

#19 2012-02-19 10:54:12

bobbym
Administrator
From: Bumpkinland
Registered: 2009-04-12
Posts: 83,086

Re: Cool graphs using the sgn(x) function!!!

That is good but you should have asked me first.


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.

Offline

#20 2012-02-19 10:54:39

anonimnystefy
Real Member
From: The Foundation
Registered: 2011-05-23
Posts: 14,885

Re: Cool graphs using the sgn(x) function!!!

why?


“Here lies the reader who will never open this book. He is forever dead.

“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment

Offline

#21 2012-02-19 10:56:14

bobbym
Administrator
From: Bumpkinland
Registered: 2009-04-12
Posts: 83,086

Re: Cool graphs using the sgn(x) function!!!

I would have suggested Geogebra, it comes with Maxima and with latexing capabilities.


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.

Offline

#22 2012-02-20 02:33:30

anonimnystefy
Real Member
From: The Foundation
Registered: 2011-05-23
Posts: 14,885

Re: Cool graphs using the sgn(x) function!!!

hi bobbym

i think i have Geogebra on my desktop computer,and it's very good.i like that i'm able to give out commands instead of drawing everything "by hand" although i think that the latter is better.

but anyway Maxima by itself is not bad at all except for some few minor incapabilities.what i would like to do is find a way to solve recursions and then use the function that i get a a solution as a function on its own.


“Here lies the reader who will never open this book. He is forever dead.

“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment

Offline

#23 2012-02-20 05:20:58

bobbym
Administrator
From: Bumpkinland
Registered: 2009-04-12
Posts: 83,086

Re: Cool graphs using the sgn(x) function!!!

I do not know what Maxima's capabilities for solving recurrences is offhand. They are solved by two methods, generating functions and the auxiliary polynomial.


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.

Offline

#24 2012-02-20 05:46:33

anonimnystefy
Real Member
From: The Foundation
Registered: 2011-05-23
Posts: 14,885

Re: Cool graphs using the sgn(x) function!!!

i know them both.for some of them i like GFs more,but for some too hard i like using the AP.


“Here lies the reader who will never open this book. He is forever dead.

“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment

Offline

#25 2012-02-20 05:49:15

bobbym
Administrator
From: Bumpkinland
Registered: 2009-04-12
Posts: 83,086

Re: Cool graphs using the sgn(x) function!!!

Generally, like DE's only some of them can be solved for.


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.

Offline

Board footer

Powered by FluxBB