Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Defining functions in an interesting way?

  1. Nov 12, 2008 #1
    What do you think is some interesting or/and sensible way to define functions like exp(), cos() provided basic algebra rules (including integration) are known?

    I make a suggestion I came up with
    [tex]\ln x:=\int_1^x \frac{\mathrm{d}t}{t}[/tex]
    from where key properties follow directly.
    For example
    [tex]\ln (xy)=\int_1^{xy} \frac{\mathrm{d}t}{t}=\int_{1/x}^y \frac{\mathrm{d}t}{t}=\int_1^y \frac{\mathrm{d}t}{t}+\int_{1/x}^1 \frac{\mathrm{d}t}{t}=\int_1^y \frac{\mathrm{d}t}{t}+\int_1^x \frac{\mathrm{d}t}{t}=\ln x+\ln y[/tex]

    If we define the inverse function to be
    [tex]\exp:=\ln^{-1}[/tex]
    then from the logarithm rule
    [tex]\exp(\ln(xy))=\exp(\ln x+\ln y)[/tex]
    [tex]\exp(\ln(\exp(a)\exp(b)))=\exp(\ln \exp a+\ln \exp b)[/tex]
    [tex]\exp(a)\exp(b)=\exp(a+b)[/tex]

    Also it follows easily that for [itex]t=\exp x[/itex]
    [tex]\frac{\mathrm{d}}{\mathrm{d}x}\exp(x)=\frac{1}{\frac{\mathrm{d}}{\mathrm{d}t}\ln t}=t=\exp x[/tex]

    And hence
    [tex]\exp x=1+\int_0^x \exp t\mathrm{d}t=1+\int_0^x \left(1+\int_0^t \exp t'\mathrm{d}t'\right)\mathrm{d} t=1+x+\int_0^x \int_0^t \exp t'\mathrm{d}t'\mathrm{d} t=1+x+\frac{x^2}{2!}+\dotsb[/tex]

    And as I mentioned in another post I strongly support
    [tex]\cos x:=\Re(\exp \mathrm{i}x)[/tex]
    [tex]\sin x:=\Im(\exp \mathrm{i}x)[/tex]

    So much for playing around with functions late at night :biggrin:
     
    Last edited: Nov 12, 2008
  2. jcsd
  3. Nov 12, 2008 #2
    Of all these, only your first line of the natural log is a good definition. In fact, the last two aren't even true! (cos x = Real(exp(ix))... same with sine, you missed the i in there).

    I say that, aside from the first (and I guess also exp = ln^-1...), none of these are definitions. They are all equations involving interesting functions, but an equation doesn't always determine a function.

    I'd also argue that integration isn't an algebraic technique =-)
     
  4. Nov 12, 2008 #3
    Well, that's actually the whole point here. The first line is my definition and all others follow in a one-line prove from that. I include the imaginary "i" in a sec.

    No lawyer plz:tongue2:
    I could try to restate everything more correctly, but it's already understandable now.
     
  5. Nov 12, 2008 #4

    Office_Shredder

    User Avatar
    Staff Emeritus
    Science Advisor
    Gold Member

    What's wrong with defining them as power series?
     
  6. Nov 12, 2008 #5
    I think it would be harder to derive all the results above.

    Also a power series seems to have a "more complicating" structure with all it's coefficient, than the above integral. I mean it's comparable, but also contains a nasty factorial.
     
  7. Nov 12, 2008 #6

    Office_Shredder

    User Avatar
    Staff Emeritus
    Science Advisor
    Gold Member

    Well, exp(ix) is meaningless since ix isn't in the range of ln(x), unless you're going to use the power series definition of exp anyway, in which case you might as well have just started with the power series, shown the derivative of exp is exp (which is fairly easy) and then gotten that ln was the inverse of exp in order to prove those properties anyway. I'm not really sure how you've gained anything by swapping around the definition
     
  8. Nov 12, 2008 #7
    Please be constructive instead of conservative here:wink:
    I wrote all the results and that includes the addition theorem. I can check which parts are easy to deduce for myself.

    I haven't thought about the complex domain and I do know that for all practical purposes power series are used as definition.

    But we are trying to be creative here, which means contributing new ideas instead of destroying half-baked ones. If one finds some new "natural" way, then one might get new results. If you stick to what everyone else does, you only get what everyone else already has.

    So new ideas welcome here!
     
  9. Nov 12, 2008 #8

    Hurkyl

    User Avatar
    Staff Emeritus
    Science Advisor
    Gold Member

    But, of course, it would be much easier to derive the power series for these functions. :wink:
     
  10. Nov 12, 2008 #9

    Hurkyl

    User Avatar
    Staff Emeritus
    Science Advisor
    Gold Member

    I would like to point out that no definition is going to be "easier" than any others -- whatever definition you choose, you still have to prove all of the same theorems, and the actual content of these proofs need not change.

    For example, you find it easier to prove the algebraic properties of the logarithm from the integral formulation. Okay fine -- if you were to adopt a power series definition for the logarithm, you would first prove that the power series formulation implies the integral formulation (because you have to do that anyways), and then use the integral formulation to prove the algebraic properties.
     
  11. Nov 12, 2008 #10

    Office_Shredder

    User Avatar
    Staff Emeritus
    Science Advisor
    Gold Member

    What's your new idea though? You basically said we have two things that are equivalent, and you're going to change which one is the definition of exp. That doesn't seem like a game-changer to me.... feel free to do it if you want, but by definition you're not going to get anything new out of it.
     
  12. Nov 12, 2008 #11
    I find my derivation not mathematically rigorous, but a very simple one step process.

    That's the first reasonable comment here. :surprised: :rolleyes:
    Hmm, is it possible to prove the integral from the power series in an easy way?

    Reread my post and also Hurkyls post. And please stop complaining, questioning the question and having a go at the ideas.

    I repeat: This thread is asking about new ideas. My suggestion was a proposal, but not the topic or something that need consideration. :bugeye:
     
  13. Feb 6, 2009 #12
    I wanted to add that starting with my definition pi is defined by the variable "a" that satisfies
    [tex]2a\mathrm{i}=\oint \frac{\mathrm{d}x}{x}[/tex]
    with the contour once around the origin.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?