1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

F^2=f but f=/=1 and f=/=0?

  1. Mar 28, 2013 #1
    1. The problem statement, all variables and given/known data
    Show there exists a function [itex]f: \mathbb{R} \rightarrow \mathbb{R}[/itex] s.t. [itex]f^2=f[/itex] but [itex]f\neq{0,1}[/itex].


    2. Relevant equations

    Here [itex]f^2=f[/itex] means for arbitrary [itex]a\in{\mathbb{R}}, f(a)^2=f(a)[/itex]

    3. The attempt at a solution

    I came up with the function [itex]f(a)= \begin{cases}
    0, & \text{if }a\text{> 0 } \\
    1, & \text{if }a \leq 0
    \end{cases}[/itex]


    What do you guys think? Is this right? I figured the only real numbers r for which r^2=r are r=0 and r=1 so the function f will have to only spit out those values or else there would be some input a for which f(a)^2=/=f(a)
     
    Last edited: Mar 28, 2013
  2. jcsd
  3. Mar 28, 2013 #2

    Mark44

    Staff: Mentor

    Make that:
    [itex]f(x)= \begin{cases}
    0, & \text{if }x > 0 \\
    1, & \text{if }x \leq 0
    \end{cases}[/itex]

    What you have works, but I don't think it's what the write of the problem had in mind. Instead, I think they had a kind of identity function in mind - one whose output is the same as its input.
     
  4. Mar 28, 2013 #3
    But we need [itex]f(a)^2=f(a)[/itex] for all real numbers a. If we make [itex]f(a)=a[/itex], then in order for [itex]f(a)^2=f(a)[/itex], we would need [itex]a^2=a[/itex] which is clearly not true in general...

    Can you elaborate some more on what you mean? I think I missed it...
     
  5. Mar 28, 2013 #4
    Assuming that robertjordan hasn't completely misunderstood the question, they definitely aren't looking for an identity function.

    Normally [itex]f^{2}=f \circ f[/itex], so I think Mark44 thought that that's what the question writer meant by [itex]f^{2}[/itex]. Certainly if the question writer did mean [itex]f \circ f[/itex] then a (the) real identity function would be correct, but you clarified that the writer meant [itex]f \cdot f[/itex] so Mark44 is wrong.
     
  6. Mar 28, 2013 #5

    Mark44

    Staff: Mentor

    The notation used here is confusing to me, and appears to be in contradiction to itself.
    f2 as used above normally indicates function composition, as in f(f(x)).
    To my mind, the notation used immediately above contradicts the meaning at the top of this page. Even if f2 denotes multiplication, it should be written as [f(a)]2 to be clear.
     
  7. Mar 28, 2013 #6
    As an aside, if [itex]f^{2}[/itex] was being used to mean [itex]f \circ f[/itex], then the function given wouldn't work because we would have [itex]f^{2}(x)=f(0)=1[/itex] for [itex]x>0[/itex].

    ETA: As well as [itex]f^{2}(x)=f(1)=0[/itex] for [itex]x \leq 0[/itex].
     
    Last edited: Mar 28, 2013
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?
Draft saved Draft deleted



Similar Discussions: F^2=f but f=/=1 and f=/=0?
  1. F(f^-1) = x (Replies: 5)

  2. Showing f(0)=f(1) (Replies: 12)

Loading...