Question
Question: How do you know if \(y=2x+7\) is a function? \[\]...
How do you know if y=2x+7 is a function? $$$$
Solution
We recall the definition of a function, domain and range of a function. If X is a domain and Y is the range then the relation f:X→Y is a function if for every x∈X there is a y∈Y and if (x1,y1)∈f,(x2,y2)∈f and x1=x2then y1=y2. We take y=f(x)=2x+1 as the relation and test using these conditions whether f is a function or not. $$$$
Complete step-by-step answer:
We know that a function or map is a relation which relates inputs to outputs. The set from which the functions takes inputs is called domain and the set from which functions returns outputs is called co-domain. The set of only outputs which is a subset of co-domain is called range. If the relation f:X→Y is a function it has to satisfy 2 conditions,
1\. All elements or inputs of the domain set are mapped which means for every $x\in X$ there is $y\in Y$.
2. One inputs cannot have two outputs. It means for all (x1,y1)∈f,(x1,y2)∈f and x1=x2then y1=y2
We are given the relation between $x,y$ as $y=2x+1$. We can take real number set $\mathsf{\mathbb{R}}$ for input $x$. We see that for every real number $x$ as inputs; we can get a real number $y$ which returns twice $x$ plus 1 as outputs. So for every $x\in \mathsf{\mathbb{R}}$ there is an $y\in \mathsf{\mathbb{R}}$. So our first condition is satisfied.
Let us have (x1,y1)∈f,(x1,y2)∈f where x1,x2∈R and y1,y2∈R. If x1=x2then we have