# How do you graph the function f(x)=x?

Jun 18, 2018

See below

#### Explanation:

$f \left(x\right) = x : \forall x \in \mathbb{R}$

Let's think for a moment about what this means.
"$f$ is function of $x$ that is equal to the value $x$ for all real numbers $x$"

The only way this is possible is if $f \left(x\right)$ is a straight line through the origin with a slope of $1$.

In slope/intercept form: $y = 1 x + 0$

We can visualise $f \left(x\right)$ from the graph below.

graph{x [-10, 10, -5, 5]}