# Can you find f,g st sup{|f-g|}=0 but f is not equal to g

## Homework Statement

For all real number x, can you find a function f and g such that
sup|f(x)-g(x)|=0

## The Attempt at a Solution

Related Calculus and Beyond Homework Help News on Phys.org
HallsofIvy
Homework Helper

## Homework Statement

For all real number x, can you find a function f and g such that
sup|f(x)-g(x)|=0

## The Attempt at a Solution

What have you done on this problem yourself? In particular, what does sup |f(x)- g(x)| mean? And if you are going to put "f is not equal to g" please put it in the statement of the problem!

What have you done on this problem yourself? In particular, what does sup |f(x)- g(x)| mean? And if you are going to put "f is not equal to g" please put it in the statement of the problem!

sup{|f-g|} means that the maximum of the value. I try to find a function f approaching g, but this eem not to be the case

HallsofIvy
Suppose f were NOT equal to g. Then there must exist some x such that $f(x)\ne g(x)$. Let M= |f(x)- g(x)| for that x. Now, what can you say about sup|f(x)- g(x)|?