News for hackers. Stuff that matters.
Re:Math, Science Popular Until Students Realize They’re Hard by ttflee on Tuesday July 09, 2013 @10:48PM (#6017151)
> f'(x) is negative for all x, and f''(x) always has the same sign as x.

Say, let f'(x) = -e^{-x^{2}}, and f''(x) = 2xe^{-x^{2}}; f(x) = \Int{f'(x)dx} = -0.5sqrt(pi)erf(x) + C, where erf is the error function(, OK, I cheated with Wolfram Alpha, and never worked out the integral part myself).

Re:Math, Science Popular Until Students Realize They’re Hard by wging on Wednesday July 10, 2013 @01:13AM (#6017567)
f(x) = e^(-x) works too :)

But the point is to draw a function with these properties. You just have to have a smooth curve that approaches 0 asymptotically and is concave up. No worries about graphing any particular function!

Re:Math, Science Popular Until Students Realize They’re Hard by comex on Wednesday July 10, 2013 @02:02AM (#6017735)
Either you got the description wrong or I'm especially rusty - in that case, f''(x) = e^(-x), which is positive even when x is negative, so it doesn't always have the same sign.
Re:Math, Science Popular Until Students Realize They’re Hard by wging on Wednesday July 10, 2013 @05:11PM (#6022852)
Oh, crap, you're right. I read that as f''(x) must have the same sign as f(x).
Re:Math, Science Popular Until Students Realize They’re Hard by jackmaney on Thursday July 11, 2013 @11:00AM (#6026417)
Even easier: f(x) = - arctan(x). We have f'(x) = -1/(1+x^2) < 0 for all x, and f''(x) = 2*x/((1+x^2)^2) which has the same sign as x.