Mathematics roadmap · فارسی

Polynomial, rational and piecewise functions: zeros, holes and changing rules

A single simple rule is not always enough: delivery charges may change at a threshold, and ratios can create forbidden inputs. Predicting graph behavior requires reading both algebraic structure and domain. Goal: infer polynomial behavior from factors, distinguish holes from asymptotes, and define piecewise boundaries correctly. Prerequisites: factoring, rational expressions, graphs.

1. Starting question

Does every denominator zero create an unbounded branch nearby?

Diagnostic answer

No. For (x²−1)/(x−1), input 1 is forbidden, but every other input follows x+1. This is a line with one missing point, not an unbounded branch. Inspect factors of numerator and denominator.

2. How factors shape a polynomial

A polynomial sums terms a xⁿ with nonnegative integer n. Its real domain is all ℝ. Its degree is the greatest power with nonzero coefficient. At very large input magnitude, the highest-degree term dominates: for 2x³−7x, the second term divided by the first is −7/(2x²), approaching zero.

For p(x)=(x+1)²(x−2), zeros are -1 and 2. Near -1, the squared factor is nonnegative on both sides while x−2 stays negative; the graph touches the axis without crossing. Near 2, the square stays positive and x−2 changes sign, so the graph crosses. A factor's repetition count is its root's multiplicity: even means no sign change, odd means sign change.

Here outputs left of 2 are negative except at zero -1; outputs right of 2 are positive. Degree three and positive leading coefficient mean the left end points downward and the right upward. These facts give qualitative shape, not every turning point's precise location; differentiation will provide a stronger tool later.

3. Rational functions: exclusions before cancellation

A rational function is a ratio of polynomials with a nonzero denominator. For

r(x)=(x²−1)/(x²−x−2)=(x−1)(x+1)/((x−2)(x+1)),

first exclude x=−1,2. The simpler rule (x−1)/(x−2)=1+1/(x−2) is valid on that domain. At -1 its extension would equal 2/3, but the original lacks that point: a hole at (-1,2/3). At 2 a denominator factor remains and the magnitude of 1/(x−2) grows without bound nearby: x=2 is a vertical asymptote.

The graph of one plus the reciprocal of x minus two, with a hole at (-1,2/3), vertical asymptote x=2 and horizontal asymptote y=1.

For large positive or negative inputs, 1/(x−2) approaches zero, making y=1 a horizontal asymptote. Horizontal asymptotes describe distant behavior; in other functions they can be crossed. For example, x/(x²+1) crosses its horizontal asymptote y=0 at zero. A vertical asymptote does not assign a function value on that line.

4. Piecewise: one function, conditional rules

In an invented continuous-consumption tariff, let C(x)=5+2x for 0≤x≤10, and C(x)=25+3(x−10) for x>10. At the boundary 10 the first rule applies, giving 25. The second charges three per unit above ten; writing 25+3x would charge for the initial block again.

Each input has exactly one rule, and the pieces meet without a jump. Replacing the second rule by 30+3(x−10) creates a jump: costs just above ten are near 30, while the cost at ten remains 25. Open and filled endpoint circles indicate excluded and included boundary points.

Multiple formulas do not prevent being a function. Trouble arises when an intended input has no rule or two conflicting rules apply. The absolute value is a simple piecewise example: output −x for x<0, output x for x≥0.

5. Independent practice

  1. Find zeros and sign changes of x(x−3)².
Answer 1

Zero 0 has multiplicity one and crosses; zero 3 has multiplicity two and touches without a sign change. Away from the zeros, the sign is x's sign because the square is positive.

  1. Find domain, hole and vertical asymptotes of (x²−4)/(x−2).
Answer 2

Domain x≠2; line x+2 with hole (2,4). There is no vertical asymptote: near 2 outputs approach 4 rather than becoming unbounded.

  1. For s(x)=(2x+1)/(x−3), find vertical/horizontal asymptotes and vertical-axis intercept.
Answer 3

Division gives s(x)=2+7/(x−3). Vertical asymptote x=3, horizontal y=2, and output at zero −1/3. The numerator does not vanish at 3, so that exclusion is not a hole.

  1. In the no-jump tariff above, find C(10), C(12) and consumption costing 31.
Answer 4

C(10)=25, C(12)=25+3×2=31. Inverting the second branch gives x=12, satisfying x>10. The first would give candidate 13, outside its branch condition.

  1. What is wrong with f(x)=x for x≤0 and f(x)=x+1 for x≥0?
Answer 5

At zero the rules give conflicting outputs 0 and 1. Make one inequality strict, specifying which value is intended at zero.

6. Continue and review

After identifying repeated roots, holes, asymptotes and tariff boundaries, proceed to exponentials and logarithms. Later compare 1/(x+2) with (x²−4)/(x+2). Both exclude -2, but the first has a vertical asymptote and the second a hole at (-2,-4).

Sources and authorship

Examples, tariff and diagram are original. Concept checks: OpenStax, rational functions, polynomial key concepts. Online check: 2026-11-17. Diagram provenance.