Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Linear function problem

Name: Anonymous 2006-11-11 13:06

Can anybody give me an example of a function with the properties f(x+1)<f(x) and f(0)=1

Name: Anonymous 2006-11-11 13:17

uhmm, f(x) = -x + 1 shitforbrains.

Name: Anonymous 2006-11-11 13:51

not if x<0.5

Name: Anonymous 2006-11-11 15:38

f(x)=2^((-(x^2))*x)

You can graph it here to see:
http://www.walterzorn.com/grapher/grapher_e.htm

The x is squared to convert any negative x to a positive value.
The negative is applied so that the power will be smaller for increasing x.
The exponent has *x so that if x is zero, the exponent is zero, and the power works out to one.

Name: Anonymous 2006-11-11 15:44

er, I just figured out that my last comment above about *x shouldn't be that *x makes the exponent zero when x is zero, because it would be zero anyway.  What it does do is ensure the value of the function decreases for increasing x, regardless if x is negative or not.

Name: Anonymous 2006-11-11 16:27 (sage)

>>4,5 not linear and totally wrong, dumbshit
>>3 ...what the fuck are you talking about?

Name: Anonymous 2006-11-11 16:28

>>6
Oh, linear.  I neglected that part.  Oh, and fuck you asshole

Name: Anonymous 2006-11-11 16:36

>>6
And another thing, go fuck yourself.  The OP didn't mention linear in his sentence so I neglected that requirement, not recalling the subject title as I was thinking.  My function works according to the restrictions fine.  It's just not linear.

Oh, and fuck you

Name: Anonymous 2006-11-11 16:41

Anyway, I found a simpler function, which also isn't linear (eat it >>6):
f(x) = -(x^3) + 1

Name: Anonymous 2006-11-11 18:43

>>1
If it's linear, than f(x+y) = f(x)+f(y). So 1 = f(0) = f(0+0) = f(0) + f(0) = 1+1 = 2.

If linearity isn't actually required, refer to >>9.

Name: Anonymous 2006-11-13 0:44

>>10
I think by "linear," the OP meant "first order polynomial" rather than "linear map."

Name: Anonymous 2006-11-13 20:43

>>11

they are the same thing you dumbass

Name: Anonymous 2006-11-13 21:19

>>12
No. A linear map is any function f satisfying f(ax + by) = af(x) + bf(y). A first order polynomial is a function of the form f(x) = ax + b.

Name: Anonymous 2006-11-13 21:30

>>7,8,9
there is a trivial function that satisfies the requirements, and it's in >>2.
just admit it; you're retarded.

Name: Anonymous 2006-11-13 23:10

>>14
Did you read where I explained about neglecting that part?  I realize it now, obviously.
Blow me jackass.

Don't change these.
Name: Email:
Entire Thread Thread List