Linear and affine functions
A constant rate gives a straight-line graph; an affine rule may include a nonzero starting value.
Find where costs match and decide which option is cheaper for an allowed input.
By the end: Find and interpret a crossing while checking units, domains and omitted costs.
Try the lab first · Read the explanation
At a crossing, both rules have the same output for the same input. A lower starting fee need not mean a lower total.
Review substitution and arithmetic, then return herePlan A costs 2 credits per use plus 3 credits. Plan B costs 1 credit per use plus 6 credits. They match at 3 uses and 9 credits.
Before changing the rule, predict one output and write down what you expect to change. Check the table after your intervention. This prediction is practice, not an assessment attempt.
Compare the solid adjustable rule against dashed y = x + 6. Find the crossing and compare both costs at 0 and 4 uses. Then set slope 1: distinguish parallel lines from identical rules.
Loading saved experiment…
Suppose plan A costs 2x + 3 credits and plan B costs x + 6 credits. Both must use the same x: the number of uses. At zero uses A is cheaper, costing three instead of six. At four uses A costs eleven and B costs ten.
The lower starting price does not identify the cheaper plan at every input. Separate the fixed fee from the cost of each extra use, and compare totals at the input relevant to the decision.
At equal cost, 2x + 3 = x + 6. Subtract x from both sides and then subtract three: x = 3. Substituting back into either rule gives nine credits. Below three uses A is cheaper; above three B is cheaper under these exact rules.
For general rules ax + b and cx + d, subtracting gives (a − c)x = d − b. When a and c differ, the crossing is x = (d − b) / (a − c). If they are equal, the lines are parallel when fees differ, and identical when fees also match.
A crossing outside the allowed range may have no practical relevance. If usage must be an integer, compare the adjacent allowed integers rather than pretending a fractional order is available. If both rules omit taxes, reliability, waiting time or a capacity limit, the numerical comparison does not settle the whole decision.
The lab draws plan B with a dashed line, so colour is not the only distinction. Its exact crossing is reported even when outside the plotted range. Use the table and equation to check the graph rather than estimating solely from pixels.
Find and interpret a crossing while checking units, domains and omitted costs.
Completion records that you finished the lesson. It does not certify independent proficiency.
Connect this idea to an AI lesson, or open My Work.
Original LearnAI mathematics lesson. All experiments run locally on the CPU. No refresher practice or AI achievement is changed by completing this lesson.
Use a connection to review, then return. These links never lock lessons or award mastery.
A constant rate gives a straight-line graph; an affine rule may include a nonzero starting value.
Linear and affine functions extends Functions.
Straight-line rules provide a concrete family of functions with constant rate and an optional starting value; not every function is linear or affine.
Affine y = mx + b rules in the introductory function lessons; strictly linear rules have zero intercept.
Source-audited 2026-10-31. Independent subject-expert and learner review remain pending.
A single neuron can review Linear and affine functions.
The first neuron begins with input times weight plus bias. Comparing weight with slope and bias with a starting value makes that calculation visible.
The initial scalar affine neuron example, not a claim that every neural activation is affine.
Source-audited 2026-10-31. Independent subject-expert and learner review remain pending.
11 concepts in this cross-subject pilot, not a complete curriculum graph. The existing AI lesson map and progress records remain separate and available below or through AI discovery.