Write a function for the following and please explain how to figure it out. X|2|4|6 Y|1|0|-1
@Kainui @mathmate @amistre64
@xapproachesinfinity
thats already written as a function
\[f=\begin{pmatrix}2&4&6\\ 1&0&-1 \end{pmatrix} \]
Sorry I meant a function rule
how about we make some switches, then we can define whatever we want for these points
ok how
well s1 = (1 + (x-1.5)/|x-1.5|)/2 is 0 if x < 1.5 and 1 if x > 1.5 s2 = (1 + (x-3.5)/|x-3.5|)/2 is 0 if x < 3.5 and 1 if x > 3.5 s3 = (1 + (x-5.5)/|x-5.5|)/2 is 0 if x < 5.5 and 1 if x > 5.5 f(x) = 1*s1 -1*s2 -1*s3 should work fine
y = (1 + (x-1.5)/|x-1.5|)/2 - (1 + (x-3.5)/|x-3.5|)/2 - (1 + (x-5.5)/|x-5.5|)/2 http://www.wolframalpha.com/input/?i=y+%3D+%281+%2B+%28x-1.5%29%2F%7Cx-1.5%7C%29%2F2+-+%281+%2B+%28x-3.5%29%2F%7Cx-3.5%7C%29%2F2+-+%281+%2B+%28x-5.5%29%2F%7Cx-5.5%7C%29%2F2
in other words from -infinity to 1.5, the s1, s2, s3 = 0 from 1.5 to 3.5, the s1 = 1 from 3.5 to 5.5, the s2 turns on and we get (1-1) = 0 from 5.5 to infinity, the s3 turns on and we get (1-1-1) = -1
or, you can be boring and just make a line ... your choice
now you tell me, which one is more impressive to figure out :)
Brah this is 8th grade
I need you to put this in laments terms @amistre64
ok nevermind I saw the attachment I get it
both are functions that satisfy the points .... ones just more blah than the other lol
Thanks for explaining it to me :)
Join our real-time social learning platform and learn together with your friends!