Quarry School

Increasing, decreasing and constant lines

Subject: MathematicsLeans on: Negative coefficientLeans on: Function versus outputLeans on: EvaluationLeans on: Fraction times a whole numberLeans on: Signed subtractionLeans on: Multiplication by zeroLeans on: Domain and counts
Level 2 · BuildingAbout 12 min read9 new terms
How this was estimated

Programmatic estimate. Rung levels, worked steps, prerequisites, terms and sentence length contribute to this level. It describes the lesson, not your ability.

Reading counts the whole lesson, including folded explanations, at 180 words a minute. Practice allows two minutes per item. These are planning assumptions; take the time you need.

AI estimate unavailable.

Path to here

Open the unit’s lesson list to follow the lesson order.

    Quick review (2 minutes)

    In plain words

    Imagine three jars.

    Rule

    Rule: In f(x) = mx + b, m > 0 gives an increasing linear function, m < 0 gives a decreasing linear function, and m = 0 gives a constant function with a horizontal line.

    Step

    1. 1. Write the formula as mx + b and keep the sign attached to m.

    2. 2. Read the input coefficient; if the term is absent, m = 0.

    3. 3. Use positive, negative, or zero slope to classify the function.

    4. 4. Compare outputs at two increasing allowed inputs.

    5. 5. Keep counting inputs whole and remaining counts nonnegative.

    Strategy

    1. 1. Identify the input coefficient.

    2. 2. Use its sign to name increasing, decreasing, or constant.

    3. 3. Check with outputs at increasing allowed inputs.

    4. 4. Apply limits from the real situation.

    Question

    Classify means say what happens to output as input grows. First classify f(x) = 3x − 2, g(x) = −12x + 5, and h(x) = 7. Then model sixty texts sent per day, texts remaining from a 500-text allowance at that rate, and a flat $50 monthly texting charge.

    Answer

    f(x) = 3x − 2: increasing.
    g(x) = −12x + 5: decreasing.
    h(x) = 7: constant.
    Sent texts: T(d) = 60d, increasing, using whole completed days within the month.
    Remaining texts: R(d) = 500 − 60d, decreasing, using d in {0, 1, 2, 3, 4, 5, 6, 7, 8}.
    Current monthly charge: C(d) = 50 dollars, constant.

    Strategy

    1. 1. Identify the input coefficient.

    2. 2. Verify it is positive.

    3. 3. Compare two increasing allowed inputs and show the output rises.

    4. 4. For counts, keep whole-number inputs within the stated time period.

    Strategy

    1. 1. Identify the negative input coefficient.

    2. 2. Describe the amount removed per input unit.

    3. 3. Compare outputs at increasing allowed inputs.

    4. 4. Stop a remaining-count model before its output becomes negative.

    Strategy

    1. 1. Check whether an input term appears.

    2. 2. If it is absent, write 0 × input + constant.

    3. 3. Evaluate different allowed inputs to verify the same output.

    4. 4. State the setting or time period that the fixed amount describes.

    Trap

    Tip: Classify by the input coefficient rather than the starting value. In 3x − 2, the positive three gives increasing behavior.

    Term

    Function

    Definition

    A rule that assigns exactly one output to each allowed input.

    Term

    Linear function

    Definition

    A function with constant rate of change, written f(x) = mx + b. Its graph lies on a straight nonvertical line; this section includes constant functions.

    Term

    Degree

    Definition

    The largest variable exponent in a polynomial after combining terms, ignoring terms with zero coefficients. A nonzero constant has degree zero.

    Term

    Input

    Definition

    The value you put into a function, often written x.

    Term

    Output

    Definition

    The value a function produces for a particular input, often written y or f(x).

    Term

    Slope

    Definition

    The output change divided by the corresponding nonzero input change. It says how much output changes per input unit.

    Term

    Initial value

    Definition

    The output at input zero, often a starting amount in a model. It is b in f(x) = mx + b.

    Term

    Increasing linear function

    Definition

    A linear function with positive slope. Its output becomes larger as its input becomes larger.

    Term

    Decreasing linear function

    Definition

    A linear function with negative slope. Its output becomes smaller as its input becomes larger.

    Term

    Constant function

    Definition

    A function with the same output at every allowed input. Its graph is horizontal and its slope is zero.

    Term

    Domain

    Definition

    The set of all inputs allowed for a function or its stated real-world model.

    Term

    Nonnegative

    Definition

    Zero or greater. Zero is included.

    Term

    Model

    Definition

    A mathematical description of a situation, used within stated assumptions and allowed inputs.

    Term

    Horizontal line

    Definition

    A line whose height stays the same. Its equation is y = b and its slope is zero.

    Term

    Evaluate

    Definition

    Find an expression's value or a function's output after replacing its variable with a given number.

    Term

    Coefficient

    Definition

    The number multiplying a variable or a power of a variable.

    Term

    Coordinate

    Definition

    One number specifying a point's position along an axis.

    1 In plain words

    Imagine three jars. You add the same number of coins to the first jar each day. You remove the same number from the second. You leave the third alone. As days pass, the first amount grows, the second shrinks, and the third stays the same. Linear functions can behave in those three ways. An increasing linear function has outputs that grow when inputs grow. A decreasing linear function has outputs that shrink. A constant function keeps the same output. Read their graphs from left to right, because moving right means the input is increasing.

    2 Picture it

    f(x) = 3x − 2: increasing

    g(x) = −12x + 5: decreasing

    h(x) = 7 = 0x + 7: constant

    Reminder

    Reminder: Negative coefficient, Function versus output, Evaluation, Fraction times a whole number, Signed subtraction, Multiplication by zero, Domain and counts
    • Negative coefficient. In −12x + 5, the minus sign belongs to the coefficient −12.
    • Function versus output. Different inputs may share an output: h(0) = h(2) = 7 still gives one output per input.
    • Evaluation. For f(x) = 3x − 2, f(1) = 3(1) − 2 = 1.
    • Fraction times a whole number. −12 × 2 = −22 = −1, so g(2) = 4.
    • Signed subtraction. 1 − (−2) = 3, so an output can increase from a negative start.
    • Multiplication by zero. 0 × x = 0, so h(x) = 0x + 7 always gives 7.
    • Domain and counts. Completed-day counts use whole numbers. R(9) = −40 is outside a model for nonnegative remaining texts.

    3 Why

    For f(x) = mx + b, adding one to the input adds m to the output. A positive m raises the output. A negative m lowers it. A zero m changes nothing. The starting value b shifts the line's height but does not change what one extra input step does. That is why the slope's sign, rather than the starting amount's sign, determines direction.

    4 The rule

    In f(x)= mx +b, m > 0 gives an increasing linear function, m < 0 gives a decreasing linear function, and m=0 gives a constant function with a horizontal line.

    The same idea, five ways

    Say it

    positive slope rises, negative slope falls, and zero slope stays level.

    Write it

    The sign of slope determines whether linear outputs increase, decrease, or stay constant.

    In math
    • m > 0: increasing
    • m < 0: decreasing
    • m = 0: constant
    • x2 > x1: compare f(x2) and f(x1)
    Like

    A jar fills, empties, or stays unchanged as another day passes.

    See it

    Read left to right

    Positive slope: rising line

    Negative slope: falling line

    Zero slope: horizontal line

    The same idea, other ways

    As jars

    Adding coins gives positive change, removing coins gives negative change, and leaving the jar alone gives zero change.

    m > 0: output grows

    m < 0: output shrinks

    m = 0: unchanged output

    As graphs

    Move right to increase input. An upward line gives larger outputs; a downward line gives smaller outputs; a horizontal line gives the same output.

    2−448
    The solid positive-slope line rises while the dashed negative-slope line falls.
    With one extra input

    In f(x) = 3x − 2, one extra input adds three. In g(x) = −12x + 5, it removes half. In h(x) = 7, it adds zero.

    f: m = 3, increasing

    g: m = −12, decreasing

    h: m = 0, constant

    SlopeThe line
    m > 0Increasing: rises from left to right.
    m < 0Decreasing: falls from left to right.
    m = 0Constant: horizontal.

    Part 1: Increasing linear function

    An increasing linear function is like a jar receiving the same deposit each day. As you move to a later day, you have more in the jar. On the graph, larger inputs are farther right and their outputs are higher. The slope is positive because each extra input step adds a positive amount. The jar could begin with a negative balance, such as a debt, and still increase. Increasing describes the direction of the change, not whether the current amount is above or below zero.

    • Rule: An increasing linear function has m > 0, because extra input adds positive output change.
    • Rule: Its graph rises from left to right, because moving right increases the input and the matching output becomes higher.
    • Rule: T(d) = 60d models sixty texts per completed day, because d equal daily groups contain 60d texts.
    f(0)f(1)run 1rise 32−448
    y=3x−2.

    Reminder

    Reminder: Subtracting a negative
    • Subtracting a negative. 1 − (−2) = 1 + 2 = 3, so the output rose by three.

    The same idea, five ways

    Say it

    as input gets larger, output gets larger.

    Write it

    A positive slope gives an increasing linear function.

    In math
    • m > 0
    • x2 > x1 implies f(x2) > f(x1)
    • f(x)=3x−2
    • T(d) = 60d
    Like

    You add the same positive deposit to a jar each day.

    See it
    f(0)f(1)run 1rise 32−448
    The same picture again: y = 3x − 2.

    Worked example

    A line starting below zero and a growing text count

    OpenStax problem

    Show increasing behavior means find a higher output at a larger input. Compare f(0) and f(1) for f(x) = 3x − 2. Then compare T(2) and T(3) for T(d) = 60d within one billing month.

    Show the steps and the answer
    f(0)f(1)run 1rise 32−448
    The same picture a third time: y = 3x − 2.
    input d, completed daysoutput T(d), texts sent0021203180↓ evaluate: input given, read the output below it
    Larger completed-day inputs give larger sent-text counts.
    1. f(0)=3×0−2=−2 and f(1)=3×1−2=1.Substitution gives the requested outputs.
    2. Compare 1>−2 and 1−(−2)=3, so f is increasing.The input rose by one and the output rose by its positive slope three.
    3. T(2)=60×2=120 texts and T(3)=60×3=180 texts.Every completed day contributes sixty texts to the total sent.
    4. Compare 180−120=60 texts for the additional day.The positive daily change shows increasing behavior.
    Answer
    • f is increasing because m = 3 > 0.
    • T is increasing because its slope is 60 texts per day.
    • After three completed days, T(3) = 180 texts.
    Double-check Two days' 120 texts plus another day's 60 texts equals 180, matching direct substitution.

    Counterexamples

    What it is not, and the tempting wrong moves.

    ✗ Not this: Counterexample: f(x) = 3x − 2 is decreasing because its constant term is negative.
    The constant term sets starting height, while the coefficient controls change.
    ✓ Instead: f is increasing because m = 3 > 0.

    Tips and tricks

    • Circle the input coefficient, including its sign, before classifying.

    Part 2: Decreasing linear function

    A decreasing linear function is like spending the same amount from a jar each day. As you move to a later day, less remains. Its slope is negative because an extra input step removes some output. On the graph, moving right takes you to a lower point. This can describe texts remaining in an allowance, but you must stop before the formula claims a negative number of remaining texts. A formula can keep decreasing forever; a real allowance cannot contain fewer than zero unused texts.

    • Rule: A decreasing linear function has m < 0, because increasing the input adds negative output change.
    • Rule: Its graph falls from left to right, because larger inputs have smaller outputs.
    • Rule: R(d) = 500 − 60d counts remaining texts from a 500-text allowance, because sent texts are removed from the original allowance.
    • Rule: For whole completed days, use d in {0, 1, 2, 3, 4, 5, 6, 7, 8}, because R(8) = 20 is nonnegative but R(9) = −40 is not a remaining count.
    g(0)g(2)run 2rise −124246
    y=−0.5x+5.

    Reminder

    Reminder: Fraction multiplication and negative addition
    • Fraction multiplication and negative addition. −12 × 2 = −1, and 5 + (−1) = 4.

    The same idea, five ways

    Say it

    as input gets larger, output gets smaller.

    Write it

    A negative slope gives a decreasing linear function on its allowed inputs.

    In math
    • m < 0
    • x2 > x1 implies f(x2) < f(x1)
    • g(x)=−12x+5
    • R(d)=500−60d
    • R(d) ≥ 0
    • d in {0, 1, 2, 3, 4, 5, 6, 7, 8}
    Like

    A jar loses the same amount at each withdrawal until nothing remains.

    See it
    input d, completed daysoutput R(d), texts remaining05003320820↓ evaluate: input given, read the output below it
    d, completed days: 0, 3, 8; R(d), texts remaining: 500, 320, 20.

    Worked example

    Half a unit per step, then a limited allowance

    OpenStax problem

    Show decreasing behavior means find a lower output at a larger input. Compare g(0) and g(2) for g(x) = −12x + 5. Then find texts remaining after three completed days and check the last allowed completed day in R(d) = 500 − 60d.

    Show the steps and the answer
    g(0)g(2)run 2rise −124246
    The same picture again: y = −0.5x + 5.
    input d, completed daysoutput R(d), texts remaining05003320820↓ evaluate: input given, read the output below it
    The same picture again: d, completed days: 0, 3, 8; R(d), texts remaining: 500, 320, 20.
    1. g(0)=5 and g(2)=−12×2+5=−1+5=4.Two input steps remove two halves, totaling one.
    2. Name g decreasing because 4 < 5 as the input moves from zero to two.Its negative slope produces smaller outputs at larger inputs.
    3. After three days, sent texts are 60×3=180; remaining texts are R(3)=500−180=320.Remaining texts equal the initial allowance minus texts already sent.
    4. R(8)=500−60×8=500−480=20 texts.Eight completed days still leave a nonnegative count.
    5. R(9)=500−60×9=500−540=−40, so exclude day nine from this formula for remaining texts.The calculation shows where the model stops describing an available allowance. A negative remaining count is not possible.
    Answer
    • g is decreasing with slope −12.
    • After three completed days, 320 texts remain.
    • Day eight leaves 20 texts.
    • Day nine is outside this completed-day remaining-text model.
    Double-check At day three, 180 sent plus 320 remaining equals 500. At day eight, 480 sent plus 20 remaining equals 500. Both account for the whole allowance.

    Counterexamples

    What it is not, and the tempting wrong moves.

    ✗ Not this: Counterexample: g(x) = −12x + 5 increases because its starting value is positive.
    The starting value sets height; the negative coefficient sets the change.
    ✓ Instead: g decreases because m = −12 < 0.
    ✗ Not this: Counterexample: R(9) = −40 means negative forty texts remain available.
    The algebraic formula has passed the allowance's meaningful range.
    ✓ Instead: Restrict this completed-day remaining model to days zero through eight. Later days require a different model.

    Tips and tricks

    • Read a falling line from left to right and require remaining counts to stay at least zero.

    Part 3: Constant function

    A constant function is like a flat monthly membership price. The day you look at the bill can change, but the monthly price stays the same. The output does not depend on which allowed input you choose. You can write h(x) = 7 as h(x) = 0x + 7 to see its slope: zero. Its graph is horizontal because every point has the same output height. A $50 unlimited-texting plan works this way during one billing month. Fifty dollars is the monthly charge, not a daily charge.

    • Rule: A constant function has m = 0 and f(x) = b, because the input contributes zero to the output.
    • Rule: Its graph is horizontal, because every input has the same output height.
    • Rule: C(d) = 50 is the flat $50 texting charge for one billing month, because changing that month's day does not change its charge.
    • Rule: A constant function belongs to the mx + b line family but is not degree 1, because its x term has coefficient zero.
    (0, 7)h(0)h(2)−222468
    y = 7.

    Reminder

    Reminder: Multiplication by zero
    • Multiplication by zero. 0 × 2 + 7 = 7, so changing the input adds nothing.

    The same idea, five ways

    Say it

    output stays the same when input changes.

    Write it

    A constant function has zero slope and a horizontal graph.

    In math
    • m = 0
    • f(x) = b
    • f(x) = 0x + b
    • h(x) = 7
    • C(d) = 50
    Like

    A fixed membership price stays the same throughout the billing month.

    See it
    (0, 7)h(0)h(2)−222468
    The same picture again: y = 7.

    Worked example

    Seven everywhere and fifty dollars for the month

    OpenStax problem

    Constant means equal outputs at different inputs. Find h(0) and h(2) for h(x) = 7. Then find the monthly texting charge on completed days one and three of the same billing month.

    Show the steps and the answer
    (0, 7)h(0)h(2)−222468
    The same picture a third time: y = 7.
    input d, completed days in one billing monthoutput C(d), monthly dollars050150350↓ evaluate: input given, read the output below it
    The monthly charge remains fifty dollars at each selected day.
    1. Rewrite h(x)=7 as h(x)=0x+7.The input has no contribution, so its coefficient is zero.
    2. h(0)=0×0+7=7 and h(2)=0×2+7=7.Zero multiplication removes either input.
    3. C(d)=50, so C(1)=50 dollars and C(3)=50 dollars.The question measures the fixed charge for one billing month.
    4. Read slope zero dollars per day and classify C as constant.An extra day does not change that month's charge.
    Answer
    • h(0) = h(2) = 7, so h is constant with slope zero.
    • C(1) = C(3) = $50 for the same billing month, so C is constant with slope zero dollars per day.
    Double-check The charge difference is 50 − 50 = 0 dollars, confirming zero change and a horizontal graph.

    Counterexamples

    What it is not, and the tempting wrong moves.

    ✗ Not this: Counterexample: h(x) = 7 has slope seven.
    Seven is the output, not its change. It does not multiply x.
    ✓ Instead: h(x) = 0x + 7 has slope zero and initial value seven.
    ✗ Not this: Counterexample: A flat $50 monthly plan costs 50d after d days.
    That would describe a daily charge rather than a monthly one.
    ✓ Instead: The current billing month's charge is C(d) = 50 dollars.

    Tips and tricks

    • Insert a zero input coefficient when the input letter is absent.

    5 How

    1. Write the formula as mx + b and keep the sign attached to m.
    2. Read the input coefficient; if the term is absent, m = 0.
    3. Use positive, negative, or zero slope to classify the function.
    4. Compare outputs at two increasing allowed inputs.
    5. Keep counting inputs whole and remaining counts nonnegative.

    Classify a line by slope

    1
    Is m positive?
    YesThe function is increasing.
    NoCheck whether m is negative.
    ↓
    2
    Is m negative?
    YesThe function is decreasing.
    Nom is zero, so the function is constant.
    ↓
    3
    Does the output count a remaining allowance?
    YesStop the decreasing model before its count becomes negative.
    NoApply the story's other limits.
    1. Identify the input coefficient.
    2. Use its sign to name increasing, decreasing, or constant.
    3. Check with outputs at increasing allowed inputs.
    4. Apply limits from the real situation.

    6 Worked example

    Worked example

    Three formulas, then three text-message models

    OpenStax problem

    Classify means say what happens to output as input grows. First classify f(x) = 3x − 2, g(x) = −12x + 5, and h(x) = 7. Then model sixty texts sent per day, texts remaining from a 500-text allowance at that rate, and a flat $50 monthly texting charge.

    Show the steps and the answer
    f(0)f(1)run 1rise 32−448
    The same picture, shown 4 times now: y = 3x − 2.
    g(0)g(2)run 2rise −124246
    The same picture a third time: y = −0.5x + 5.
    (0, 7)h(0)h(2)−222468
    The same picture, shown 4 times now: y = 7.
    input d, completed daysoutput R(d), texts remaining05003320820↓ evaluate: input given, read the output below it
    The same picture a third time: d, completed days: 0, 3, 8; R(d), texts remaining: 500, 320, 20.
    1. For f, m=3>0; f(0)=−2 and f(1)=1, so the output increases.The positive coefficient adds three per step even though the start is negative.
    2. For g, m=−12<0; g(0)=5 and g(2)=−1+5=4, so the output decreases.Two input steps remove two halves, totaling one.
    3. For h, write h(x)=0x+7; h(0)=h(1)=7, so the output stays constant.An absent input term has coefficient zero.
    4. Let d count completed days within one billing month. Write sent texts as T(d)=60d, with positive slope sixty texts per day.Every completed day adds sixty to a starting sent count of zero.
    5. Write remaining texts as R(d)=500−60d. At day three, R(3)=500−180=320 texts, with negative slope −60 texts per day.Sent texts are removed from the original allowance.
    6. R(8)=500−480=20, but R(9)=500−540=−40. Keep the completed-day remaining model only through day eight.A remaining count cannot be negative.
    7. Write C(d)=50 dollars for the unlimited plan's charge within one billing month, with slope zero.The monthly charge does not vary with which day is observed.
    Answer
    • f(x) = 3x − 2: increasing.
    • g(x) = −12x + 5: decreasing.
    • h(x) = 7: constant.
    • Sent texts: T(d) = 60d, increasing, using whole completed days within the month.
    • Remaining texts: R(d) = 500 − 60d, decreasing, using d in {0, 1, 2, 3, 4, 5, 6, 7, 8}.
    • Current monthly charge: C(d) = 50 dollars, constant.
    Double-check At day three, 180 sent plus 320 remaining equals 500. At day eight, 480 sent plus 20 remaining also equals 500. The monthly charge remains fifty dollars on either day.

    Counterexamples

    What it is not, and the tempting wrong moves.

    ✗ Not this: Counterexample: A function is increasing whenever its outputs are positive.
    Increasing compares outputs at larger inputs. Positive outputs can still become smaller.
    ✓ Instead: g(x) = −12x + 5 decreases because its slope is negative, even where its outputs are positive.
    ✗ Not this: Counterexample: A horizontal line's slope equals its height.
    Height is output; slope is output change per input unit.
    ✓ Instead: h(x) = 7 has initial value seven and slope zero.

    Tips and tricks

    • Read the slope sign, then read the graph left to right.
    • For this text-count model, use whole completed days and exclude negative remaining counts.

    7 The trap

    Tip: Classify by the input coefficient rather than the starting value. In 3x − 2, the positive three gives increasing behavior.

    Problems marked OpenStax come from Precalculus 2e by Jay Abramson, published by OpenStax, under the CC BY-NC-SA 4.0 licence. Access for free at https://openstax.org/books/precalculus-2e/pages/1-introduction-to-functions.