// Numbas version: exam_results_page_options {"name": "Algebra: graphs of functions, straight line", "extensions": ["jsxgraph"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"preamble": {"js": "", "css": ""}, "extensions": ["jsxgraph"], "advice": "

See Lecture 4.1 for most questions. See Lecture 4.3 for equation of line.  See Lecture 3.4 for the phrase `solving equations'.

\n

\n
\n
• Remember to check your answers.  For example, to check your answer for (vi), you should plug-in values for $x$, calculate the value of $y$, and check the coordinates.  For example, if I plug $x=1$ into the equation, I get $y= \\var{mf} \\times 1 + \\var{cf} = \\var{mf+cf}$.  I then check whether the coordinate $(1, \\var{mf+cf})$ lies on the graph or not; in this instance it does, so that is a good sign. It is worth checking one or two other coordinates to really make sure.
• \n
\n

\n
\n
• You should notice that (iii), (iv) and (v) are asking the same question, but in different guises.  If you do not understand this, then re-view the lectures. If that does not help, then please ask us and we will help.
• \n
\n

\n

This is the graph of a function $f$.

\n

{eqnline(mf, cf)}

\n

\n

(i) $f(\\var{x[0]}) =$ [[0]]

\n

(ii) $f(\\var{x[1]}) =$ [[1]]

\n

(iii) What value for $a$ do you need so that $f(a) = \\var{fx[2]}$? [[2]]

\n

(iv) What is $f^{-1}(\\var{fx[3]})$? [[3]]

\n

(v) Solve the equation $f(x) = \\var{fx[4]}$.    $x=$[[4]]

\n

(vi) What is the equation of the line?  $y=$ [[5]]

\n

(vii) $f^{-1}(\\var{fx[2]})=$ [[6]]

"}], "variable_groups": [{"name": "part a", "variables": ["mf", "cf", "x", "fx"]}], "variables": {"fx": {"description": "", "name": "fx", "group": "part a", "templateType": "anything", "definition": "x*mf+vector(cf,cf,cf,cf,cf,cf,cf,cf)"}, "x": {"description": "", "name": "x", "group": "part a", "templateType": "anything", "definition": "vector(shuffle(-4..4 except (0)))"}, "mf": {"description": "", "name": "mf", "group": "part a", "templateType": "anything", "definition": "random(-4..4 except 0)"}, "cf": {"description": "", "name": "cf", "group": "part a", "templateType": "anything", "definition": "random(-5..5)"}}, "variablesTest": {"maxRuns": 100, "condition": ""}, "ungrouped_variables": [], "tags": [], "statement": "

This is a non-calculator question.

A graph of a straight line $f$ is given. Questions include determining values of $f$, of $f$ inverse, and determing the equation of the line.