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

thumb_up100%(1 rated)

Key concept: This kind of question is really about reading the equation as a rule. Once you isolate yy, you can usually write the function directly.

Step by step

To rewrite a relation using f:XYf:X\to Y notation, identify the input, the output, and the formula.

a. {(x,y)y=3x+2}\{(x,y)\mid y=3x+2\}

This is a function from real numbers to real numbers:

f:RR,f(x)=3x+2f:\mathbb{R}\to\mathbb{R},\quad f(x)=3x+2

b. {(x,y)2y+3x=12}\{(x,y)\mid 2y+3x=12\}

Solve for yy:

2y=123x2y=12-3x y=632xy=6-\frac{3}{2}x

So

f:RR,f(x)=632xf:\mathbb{R}\to\mathbb{R},\quad f(x)=6-\frac{3}{2}x

c. {(x,y)y=2x+3, x0}\{(x,y)\mid y=2x+3,\ x\ge 0\}

The formula is the same, but the domain is restricted:

f:[0,)R,f(x)=2x+3f:[0,\infty)\to\mathbb{R},\quad f(x)=2x+3

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 x0x\ge 0, then the function is not from all real numbers. Also, for part b, leaving the equation as 2y+3x=122y+3x=12 is not enough—you need yy 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, x=y2x=y^2 gives two possible yy-values for many xx-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.

chat