Is there a function f such that f^2=f and f is not equal to 0 or 1?

  • Thread starter Thread starter robertjordan
  • Start date Start date
Click For Summary

Homework Help Overview

The problem involves finding a function f: ℝ → ℝ such that f² = f, with the condition that f is not equal to 0 or 1. The notation f² is interpreted as f(a)² = f(a) for all a in ℝ.

Discussion Character

  • Conceptual clarification, Assumption checking

Approaches and Questions Raised

  • Participants discuss a piecewise function that outputs 0 for positive inputs and 1 for non-positive inputs, questioning whether this meets the problem's criteria. There is also a suggestion that the problem might imply an identity function, leading to confusion about the notation used.

Discussion Status

Participants are exploring different interpretations of the problem and the notation involved. Some express uncertainty about the intended meaning of f², with discussions about whether it refers to multiplication or function composition. There is no explicit consensus on the correct approach or interpretation yet.

Contextual Notes

There is confusion regarding the notation f², with some participants noting that it typically indicates function composition, which may contradict the problem's requirements. The discussion highlights the need for clarity in mathematical notation.

robertjordan
Messages
71
Reaction score
0

Homework Statement


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].

Homework Equations



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

The Attempt at a Solution



I came up with the function [itex]f(a)= \begin{cases}<br /> 0, & \text{if }a\text{> 0 } \\<br /> 1, & \text{if }a \leq 0<br /> \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:
Physics news on Phys.org
robertjordan said:

Homework Statement


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].


Homework Equations



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

The Attempt at a Solution



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

robertjordan said:
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)
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.
 
Mark44 said:
Make that:
[itex]f(x)= \begin{cases}<br /> 0, & \text{if }x > 0 \\<br /> 1, & \text{if }x \leq 0<br /> \end{cases}[/itex]

Thanks. Fixed it.

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.

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...
 
Mark44 said:
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.

Assuming that robertjordan hasn't completely misunderstood the question, they definitely aren't looking for an identity function.

robertjordan said:
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...

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.
 
The notation used here is confusing to me, and appears to be in contradiction to itself.
robertjordan said:
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].
f2 as used above normally indicates function composition, as in f(f(x)).
robertjordan said:
Here [itex]f^2=f[/itex] means for arbitrary [itex]a\in{\mathbb{R}}, f(a)^2=f(a)[/itex]
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.
 
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:

Similar threads

  • · Replies 20 ·
Replies
20
Views
3K
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
15
Views
2K
Replies
26
Views
3K
  • · Replies 17 ·
Replies
17
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K