Question
How to write a relation as a function in f(x) notation
Original question: Question 3. Rewrite each of the following using the $f:X\to Y$ notation: a. $\{(x,y)\,|\,y=3x+2\}$ - Workspace - Check answer Correct Answer Answer: $f: \mathbb{R}\to \mathbb{R}$, $f(x)=3x+2$ b. $\{(x,y)\,|\,2y+3x=12\}$ - Workspace - Check answer c. $\{(x,y)\,|\,y=2x+3,\ x\ge 0\}$ - Workspace - Check answer
Expert Verified Solution
Key concept: This kind of question is really about reading the equation as a rule. Once you isolate , you can usually write the function directly.
Step by step
To rewrite a relation using notation, identify the input, the output, and the formula.
a.
This is a function from real numbers to real numbers:
b.
Solve for :
So
c.
The formula is the same, but the domain is restricted:
The key idea is that the function rule and the domain both matter.
Pitfall alert
Don’t forget the domain restriction in part c. If , then the function is not from all real numbers. Also, for part b, leaving the equation as is not enough—you need alone for standard function notation.
Try different conditions
If the relation cannot be solved for a single output value, then it is not a function. For example, gives two possible -values for many -values, so it fails the function test unless the domain is restricted further.
Further reading
function notation, domain and range, relation
FAQ
How do you rewrite a relation as function notation?
Solve for y when needed, then write the rule as f(x). For example, y=3x+2 becomes f(x)=3x+2.
What if the relation has a domain restriction?
Include the restricted domain in the notation, such as f:[0,∞)→R, f(x)=2x+3.