For a linear function, outputs at two different inputs determine one line. Write , then use a Desmos regression to find the coefficients and that fit both conditions. Don’t use a given output as unless its input is : is the output where the line crosses the -axis.
Hints
- Hint 1
Write a linear function as . Here is the change in output for each increase of in the input, and is the output at input . How can you use each given input and output?
- Hint 2
Each function value gives an input and its output. Substitute both pairs into , then put the two resulting expressions in one Desmos regression so they share the same and .
Step-by-step
Fit both function values in Desmos
Step 1Turn the function values into equations
Write , where is the slope, the change in output per increase in , and is the -intercept, the output at . Substitute each given input and output:
Don’t treat as the intercept: its input is , not .
- Step 2
Fit one pair of coefficients to both equations
Type . The tells Desmos to fit and ; the entries in matching positions form the two equations above. Under PARAMETERS, Desmos reports and . It uses one shared pair of values: both given outputs must fit the same rule.
- Step 3
Match the rule to an equation
Replace and with the fitted values:
The choices use for the output , so the matching equation is . Choice D.