# Table to graph of inverse function

Hi -
If I give my students the graph of a function, I want them to enter the ordered pairs of the inverse function and have not just the points appear on the graph but also the graph of the inverse function. Is this possible?

This is unclear. Do you want the points they enter to create a best fit line/curve? How do you envision the graph of the inverse appearing? Really not certain of the objective.

Here is the link to my desmos activity. Inverses-A graphical approach â€˘ Activity Builder by Desmos

On slide 5, I have given them the graph of a function with three clear points. They are to realize that the inverse will switch the x and y coordinates, plot those points and then I would really like for the inverse function to appear after they plot their points.

YES! This is definitely possible.
Iâ€™m trying to remember tables also when I came across your post. If I find your answer while digging for mine, Iâ€™ll share. Iâ€™m still not strong at CL tables on the fly!

Good luck!

I recommend that youâ€™ll want a submit button on the table.
Then you can make it so the inverse graph and the points donâ€™t appear â€śuntil they submitâ€ť (instead of appearing right away). Or you can have the points appear as they type the values BUT have the inverse function appear after they hit the submit button.

Slide 5:
I changed your g(x) & h(x) into 1 function f(x) using piecewise. (this will be beneficial possibly as you dive deeper)
I copied f(x) and changed it to be g(y) to create the inverseâ€¦everything that was x got changed to y. (function of y instead of xâ€”awesome â€ścheatâ€ť!!!)
I created 3 ordered pairs for the inverse.
Youâ€™ll need to tie these three points to the table in CL.
Then program so the points appear on submission.

I like where you are goingâ€¦I recommend adding the point on the square root (2,-1) to have 4 pointsâ€¦so often students focus on changes in a piecewise and donâ€™t focus on â€śother important pointsâ€ť.

And Desmos wonâ€™t let me create more than 3 replies at onceâ€¦2 strategies listed in 1 reply here:

Hereâ€™s info about a table button:

# Table Button

In Table CL:

submitButtonText: â€ścheckâ€ť

#this creates a submit button on the table with the label â€ścheckâ€ť

Now you can code in CL to check if itâ€™s been submitted:

NOTE CL:

content: when table1.submitted â€śyayâ€ť

otherwise â€śtry againâ€ť

Grab Values from a Table to use in graph:

In Graph CL:

#numbers pulled from table on last screen

number(â€śx_1â€ť):table9.cellNumericValue(1,1)

number(â€śx_2â€ť):table9.cellNumericValue(2,1)

number(â€śx_3â€ť):table9.cellNumericValue(3,1)

number(â€śx_4â€ť):table9.cellNumericValue(4,1)

number(â€śy_1â€ť):table9.cellNumericValue(1,2)

number(â€śy_2â€ť):table9.cellNumericValue(2,2)

number(â€śy_3â€ť):table9.cellNumericValue(3,2)

number(â€śy_4â€ť):table9.cellNumericValue(4,2)

In graph, create ordered pairs:

(x_1,y_1)

You can get rid of the sliders, but then the graph complains while you are editing.

In your table, the first X cell is (1,1) and the first Y cell is (1,2)
(not the title row, but the values)

Instead of each grabbing each number from the table you could do:

numberList(â€śXâ€ť): table9.columnNumericValues(1)
numberList(â€śYâ€ť):table9.columnNumericValues(2)

then, in the graph

(X,Y)

1 Like

Thanks! I needed that reminder!
Do you know if itâ€™s possible to go the other way (from list in graph to table values)? Thatâ€™s what I was trying to find last week!

I donâ€™t think so, not easily. Just have to do each cell separately.