Results 1 to 4 of 4

Math Help - problem with defining a function

  1. #1
    Newbie
    Joined
    Aug 2005
    Posts
    2

    problem with defining a function

    I need to define a function f(x) so that:

    f(x) = 0, when x=0
    =1, when x >0

    while, x >=0 and integer only
    Follow Math Help Forum on Facebook and Google+

  2. #2
    Senior Member
    Joined
    Jun 2005
    Posts
    295
    Awards
    1
    NWell, you have defined it! You've told us exactly what its domain of definition is, and what its value is for every element of the domain. Do you want a name for it (it's a step function or Heaviside function or sign function or signum) or are you trying to express it as an algebraic formula of some kind?
    Follow Math Help Forum on Facebook and Google+

  3. #3
    Newbie
    Joined
    Aug 2005
    Posts
    2

    defining th fn. as algebraic formula

    I am trying to to express it as an algebraic formula . Can u please help me ?
    Follow Math Help Forum on Facebook and Google+

  4. #4
    Senior Member
    Joined
    Jun 2005
    Posts
    295
    Awards
    1
    Algebraic formulae tend to define continuous functions, and yours has a step discontinuity. I suppose you could say something like $\vert x \vert = \sqrt{x^2}$ and then write $\frac{d}{dx} \vert x \vert$ but that's rather dubious.
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. defining of the function (Mathematica)
    Posted in the Math Software Forum
    Replies: 0
    Last Post: October 24th 2011, 03:36 AM
  2. Defining a function in mathematica
    Posted in the Math Software Forum
    Replies: 1
    Last Post: March 22nd 2010, 09:36 AM
  3. Problem defining a function
    Posted in the Advanced Algebra Forum
    Replies: 0
    Last Post: January 21st 2009, 11:45 AM
  4. Defining function
    Posted in the Calculus Forum
    Replies: 1
    Last Post: January 9th 2009, 03:36 PM
  5. Defining a function [Mathematica]
    Posted in the Math Software Forum
    Replies: 6
    Last Post: September 28th 2008, 01:13 PM

Search Tags


/mathhelpforum @mathhelpforum