Polynomial and Rational Functions

Study Sheet

Polynomial and Rational Functions

Quadratics, end behavior, zeros, division, complex numbers, and rational graphs

Quadratic Functions

Concept
Two useful forms

Standard (vertex) form: f(x)=a(x−h)2+kf(x)=a(x-h)^2+k has vertex (h,k)(h,k) and axis of symmetry x=hx=h. General form: f(x)=ax2+bx+cf(x)=ax^2+bx+c has vertex at x=−b2ax=-\dfrac{b}{2a}, so the vertex is (−b2a, f ⁣(−b2a))\left(-\dfrac{b}{2a},\,f\!\left(-\dfrac{b}{2a}\right)\right). If a>0a>0 the parabola opens up (vertex is a minimum); if a<0a<0 it opens down (vertex is a maximum).

In a(x−h)2+ka(x-h)^2+k the square is never negative, so when a>0a>0 the smallest the expression can be is kk, reached exactly when x=hx=h. That is why the vertex can be read off the form. Completing the square is the algebra that turns the general form into this one, and doing it once with letters produces x=−b2ax=-\tfrac{b}{2a}.

Example
Completing the square to find the vertex
xy1234−3−2−112345(2, −3)
Vertex (2,−3)(2,-3) on the axis of symmetry x=2x=2 (dashed).

Write f(x)=2x2−8x+5f(x)=2x^2-8x+5 in vertex form.

f(x)=2(x2−4x)+5=2(x2−4x+4−4)+5=2(x−2)2−8+5=2(x−2)2−3.f(x)=2\left(x^2-4x\right)+5=2\left(x^2-4x+4-4\right)+5=2\left(x-2\right)^2-8+5=2(x-2)^2-3.

Vertex (2,−3)(2,-3), axis x=2x=2, minimum value −3-3. Check: −b2a=84=2-\dfrac{b}{2a}=\dfrac{8}{4}=2 and f(2)=8−16+5=−3f(2)=8-16+5=-3. ✓

Side note
Where it goes wrong

Cancelling a common factor and forgetting it leaves a hole, not nothing. (x−1)(x+2)x−1\tfrac{(x-1)(x+2)}{x-1} is the line y=x+2y = x + 2 with a hole at x=1x = 1.

Example
Modeling: maximum height
th123204060(2, 69)
Height in feet over time in seconds; the vertex is the top of the flight.

A ball's height is h(t)=−16t2+64t+5h(t)=-16t^2+64t+5 (feet, tt in seconds). Since a<0a<0, the vertex is the max.

t=−b2a=−64−32=2 s,h(2)=−16(4)+64(2)+5=69 ft.t=-\frac{b}{2a}=-\frac{64}{-32}=2\text{ s},\qquad h(2)=-16(4)+64(2)+5=69\text{ ft}.

The ball reaches a maximum height of 6969 ft after 22 seconds.

Tip

Tip: The axis of symmetry always passes through the vertex. Read the sign of aa first: it tells you the shape (up/down) and whether the vertex is a min or max.

Try it
Quick check

State the vertex and axis of symmetry of f(x)=(x−3)2+2f(x)=(x-3)^2+2.

Work it on paper before revealing the answer.

Show the answer

Answer: Vertex (3,2)(3,2); axis x=3x=3.

Polynomial Functions: End Behavior, Zeros, and Sketching

Concept
Leading Coefficient Test and multiplicity

For f(x)=anxn+⋯+a0f(x)=a_nx^n+\cdots+a_0, the ends are controlled by the degree nn and sign of ana_n:

an>0an<0n evenup / updown / downn odddown / upup / down\begin{array}{l|ll} & a_n>0 & a_n<0\\\hline n \text{ even} & \text{up / up} & \text{down / down}\\ n \text{ odd} & \text{down / up} & \text{up / down} \end{array}

Real zeros & multiplicity: if (x−c)k(x-c)^k is a factor, cc is a zero of multiplicity kk. If kk is odd the graph crosses at cc; if kk is even it touches (bounces). A degree-nn polynomial has at most nn real zeros and at most n−1n-1 turning points.

For large ∣x∣|x| the leading term dwarfs the rest: x4x^4 at x=100x=100 is a hundred million, while a term like 5x35x^3 is only five million. So the ends follow anxna_nx^n alone. Near a zero cc of multiplicity kk, the factor (x−c)k(x-c)^k does the sign work: when kk is even it does not change sign as xx passes cc, so the graph touches and turns back.

Example
Reading a factored polynomial
xy−3−2−1123−20−1010
Bounces at x=−2x=-2 (even multiplicity), crosses at 11 and 33; both ends rise.

Analyze f(x)=(x+2)2(x−1)(x−3)f(x)=(x+2)^2(x-1)(x-3). Degree =2+1+1=4=2+1+1=4 (even), leading coefficient >0>0, so end behavior: up / up. Zeros: x=−2x=-2 (multiplicity 22, touches), x=1x=1 (mult. 11, crosses), x=3x=3 (mult. 11, crosses). At most 33 turning points.

Tip

Tip: Higher multiplicity flattens the graph near the zero. Multiplicity 3,5,…3,5,\dots still crosses but with a flat "wiggle"; multiplicity 2,4,…2,4,\dots bounces off the axis.

Try it
Quick check

For f(x)=−(x+1)3(x−2)2(x−4)f(x)=-(x+1)^3(x-2)^2(x-4), give the end behavior and describe the graph at each zero.

Show the answer

Answer: degree 66 with negative leading coefficient, so both ends fall. At x=−1x=-1 (multiplicity 33) it crosses with a flattened wiggle; at x=2x=2 (multiplicity 22) it touches and turns back; at x=4x=4 (multiplicity 11) it crosses.

Polynomial Long Division; Remainder & Factor Theorems

Concept
Division algorithm and two theorems

For polynomials, f(x)=d(x) q(x)+r(x)f(x)=d(x)\,q(x)+r(x) with deg⁡r<deg⁡d\deg r<\deg d. Synthetic division is a shortcut when the divisor is x−kx-k. Remainder Theorem: dividing f(x)f(x) by x−kx-k leaves remainder r=f(k)r=f(k). Factor Theorem: (x−k)(x-k) is a factor of f(x)f(x) if and only if f(k)=0f(k)=0.

Reminder — Remainder and Factor theorems:  P(x)=(x−c)Q(x)+P(c)⟹(x−c)∣P(x)  ⟺  P(c)=0P(x)=(x-c)Q(x)+P(c) \quad\Longrightarrow\quad (x-c)\mid P(x) \iff P(c)=0
Example
Long division

Divide x3+2x2−4x^3+2x^2-4 by x−1x-1.

x2+3x+3x3+2x2+0x−4−(x3−x2)3x2+0x−(3x2−3x)3x−4−(3x−3)−1\begin{array}{r|l} x^2+3x+3 & \\ \end{array} \qquad \begin{array}{rcrcrcr} & x^3 & + & 2x^2 & + & 0x & - 4\\ -(& x^3 & - & x^2 & & &)\\ & & & 3x^2 & + & 0x & \\ & & -(& 3x^2 & - & 3x &)\\ & & & & & 3x & - 4\\ & & & & -(& 3x & - 3)\\ & & & & & & -1 \end{array}

Quotient x2+3x+3x^2+3x+3, remainder −1-1. By the Remainder Theorem f(1)=1+2−4=−1f(1)=1+2-4=-1. ✓

Example
Synthetic division

Divide 2x3−5x2+3x−72x^3-5x^2+3x-7 by x−3x-3 (so k=3k=3).

32−53−7631821611\begin{array}{r|rrrr} 3 & 2 & -5 & 3 & -7\\ & & 6 & 3 & 18\\\hline & 2 & 1 & 6 & 11 \end{array}

Quotient 2x2+x+62x^2+x+6, remainder 1111. Check: f(3)=54−45+9−7=11f(3)=54-45+9-7=11. ✓ Since r≠0r\neq0, (x−3)(x-3) is not a factor.

Tip

Tip: Use synthetic division only when the divisor has the form x−kx-k. Always insert 00 coefficients for any missing powers before you start.

Try it
Quick check

Use the Remainder Theorem to find the remainder when x4−3x2+2x−5x^4-3x^2+2x-5 is divided by x+2x+2.

Show the answer

Answer: −5-5. Dividing by x+2=x−(−2)x+2=x-(-2) leaves remainder f(−2)=16−12−4−5=−5f(-2)=16-12-4-5=-5. No division needed.

Finding Real Zeros: Rational Zero Test, Descartes, Bounds

Concept
Three tools

Rational Zero Test: every rational zero of ff has the form pq\dfrac{p}{q}, where p∣(constant term)p\mid(\text{constant term}) and q∣(leading coefficient)q\mid(\text{leading coefficient}). Descartes' Rule of Signs: the number of positive real zeros equals the number of sign changes in f(x)f(x), or less by an even number. The number of negative real zeros uses the sign changes in f(−x)f(-x). Upper/Lower Bound Rule (via synthetic division by x−cx-c): if c>0c>0 and the bottom row is all ≥0\ge0, then cc is an upper bound for the real zeros. If c<0c<0 and the bottom row alternates in sign, then cc is a lower bound.

Example
Full zero-finding
xy−2−1123−15−10−551015
The three real zeros −2-2, 12\tfrac12, 33: one negative and two positive, as Descartes predicts.

Find all real zeros of f(x)=2x3−3x2−11x+6f(x)=2x^3-3x^2-11x+6. Possible rational zeros: ±1,±2,±3,±6,±12,±32\pm1,\pm2,\pm3,\pm6,\pm\tfrac12,\pm\tfrac32. Try x=3x=3:

32−3−11669−623−20\begin{array}{r|rrrr} 3 & 2 & -3 & -11 & 6\\ & & 6 & 9 & -6\\\hline & 2 & 3 & -2 & 0 \end{array}

Remainder 00, so 33 is a zero and f(x)=(x−3)(2x2+3x−2)=(x−3)(2x−1)(x+2)f(x)=(x-3)(2x^2+3x-2)=(x-3)(2x-1)(x+2). Zeros: x=3, 12, −2x=3,\ \tfrac12,\ -2. Check f(12)=2(18)−3(14)−112+6=14−34−112+6=0f(\tfrac12)=2(\tfrac18)-3(\tfrac14)-\tfrac{11}{2}+6=\tfrac14-\tfrac34-\tfrac{11}{2}+6=0. ✓

Example
Descartes' Rule of Signs

For f(x)=2x3−3x2−11x+6f(x)=2x^3-3x^2-11x+6 the signs are +,−,−,++,-,-,+: two sign changes ⇒\Rightarrow 22 or 00 positive real zeros. f(−x)=−2x3−3x2+11x+6f(-x)=-2x^3-3x^2+11x+6 has signs −,−,+,+-,-,+,+: one sign change ⇒\Rightarrow exactly 11 negative real zero. This matches the zeros 3, 123,\ \tfrac12 (positive) and −2-2 (negative).

Tip

Tip: Bounds shrink your search. Once synthetic division by a positive cc gives an all-nonnegative bottom row, no zero can be larger than cc, so stop testing bigger candidates.

Try it
Quick check

Find all zeros of f(x)=3x3+2x2−7x+2f(x)=3x^3+2x^2-7x+2.

Show the answer

Answer: x=1, 13, −2x=1,\ \tfrac13,\ -2. Candidates are ±1,±2,±13,±23\pm1,\pm2,\pm\tfrac13,\pm\tfrac23. f(1)=3+2−7+2=0f(1)=3+2-7+2=0, so synthetic division by x−1x-1 gives 3x2+5x−2=(3x−1)(x+2)3x^2+5x-2=(3x-1)(x+2).

Complex Numbers and the Fundamental Theorem of Algebra

Concept
Complex zeros come in pairs

With i2=−1i^2=-1, a complex number is a+bia+bi and its conjugate is a−bia-bi; note (a+bi)(a−bi)=a2+b2(a+bi)(a-bi)=a^2+b^2. Fundamental Theorem of Algebra: every polynomial of degree n≥1n\ge1 has exactly nn complex zeros (counting multiplicity). Conjugate Pairs Theorem: if ff has real coefficients and a+bia+bi is a zero, then a−bia-bi is also a zero.

Example
Finding all zeros

Find all zeros of f(x)=x3−x2+9x−9f(x)=x^3-x^2+9x-9. Factor by grouping:

f(x)=x2(x−1)+9(x−1)=(x−1)(x2+9).f(x)=x^2(x-1)+9(x-1)=(x-1)(x^2+9).

So x−1=0x-1=0 or x2=−9x^2=-9. Zeros: x=1, 3i, −3ix=1,\ 3i,\ -3i (the imaginary zeros are a conjugate pair).

Example
Writing a polynomial from its zeros

Build a degree-33 polynomial with real coefficients having zeros 22 and 3i3i. By conjugate pairs, −3i-3i is also a zero.

f(x)=(x−2)(x−3i)(x+3i)=(x−2)(x2+9)=x3−2x2+9x−18.f(x)=(x-2)(x-3i)(x+3i)=(x-2)(x^2+9)=x^3-2x^2+9x-18.
Tip

Tip: Multiply conjugate factors first: (x−(a+bi))(x−(a−bi))=x2−2ax+(a2+b2)(x-(a+bi))(x-(a-bi))=x^2-2ax+(a^2+b^2) is always a real quadratic, which keeps the arithmetic clean.

Try it
Quick check

Find all zeros of x3−2x2+4x−8x^3-2x^2+4x-8.

Show the answer

Answer: 22, 2i2i, −2i-2i. Group: x2(x−2)+4(x−2)=(x−2)(x2+4)x^2(x-2)+4(x-2)=(x-2)(x^2+4). The quadratic factor gives x=±2ix=\pm2i, a conjugate pair, and the degree-33 polynomial has exactly three zeros.

Rational Functions: Domain, Asymptotes, Holes, and Sketching

Concept
Asymptote rules

For f(x)=N(x)D(x)f(x)=\dfrac{N(x)}{D(x)} in lowest terms: Domain: all reals except the zeros of D(x)D(x). Vertical asymptotes: at zeros of D(x)D(x) that remain after cancelling. Holes: at any zero common to NN and DD (a cancelled factor). Horizontal / slant asymptotes (let n=deg⁡N, m=deg⁡Dn=\deg N,\ m=\deg D):

n<m: y=0;n=m: y=lead Nlead D;n=m+1: slant (divide to find it);n>m+1: none.n<m:\ y=0;\qquad n=m:\ y=\tfrac{\text{lead }N}{\text{lead }D};\qquad n=m+1:\ \text{slant (divide to find it)};\qquad n>m+1:\ \text{none}.

Near a zero of the denominator that does not cancel, the fraction divides a nonzero number by something tiny, so it blows up: a vertical asymptote. A factor that cancels makes both top and bottom tiny together, and their ratio settles down, leaving only a missing point. Far out, only the leading terms matter, so the end behavior is the ratio of leading terms.

Example
Full analysis with a hole
xy−8−7−6−5−4−3−2−11234−4−3−2−112345
Asymptotes x=−3x=-3 and y=1y=1; the open dot is the hole (3,56)\left(3,\tfrac56\right).

Analyze f(x)=x2−x−6x2−9=(x−3)(x+2)(x−3)(x+3)=x+2x+3f(x)=\dfrac{x^2-x-6}{x^2-9}=\dfrac{(x-3)(x+2)}{(x-3)(x+3)}=\dfrac{x+2}{x+3}. Hole: at x=3x=3 (cancelled factor); its yy-value is 3+23+3=56\dfrac{3+2}{3+3}=\dfrac56, so the hole is (3,56)\left(3,\tfrac56\right). Vertical asymptote: x=−3x=-3.   Horizontal: degrees equal ⇒y=11=1\Rightarrow y=\dfrac11=1. Intercepts: xx-int at x=−2x=-2; yy-int f(0)=0+20+3=23f(0)=\dfrac{0+2}{0+3}=\dfrac23.

Example
Slant asymptote
xy−5−4−3−2−112345−6−4−22468
The graph hugs the slant line y=x+1y=x+1 (dashed) far from the asymptote x=1x=1.

Analyze f(x)=x2−4x−1f(x)=\dfrac{x^2-4}{x-1}. Divide: x2−4=(x−1)(x+1)−3x^2-4=(x-1)(x+1)-3, so

f(x)=x+1−3x−1.f(x)=x+1-\frac{3}{x-1}.

Slant asymptote: y=x+1y=x+1.   Vertical asymptote: x=1x=1.   xx-intercepts: x=±2x=\pm2;   yy-int: f(0)=−4−1=4f(0)=\dfrac{-4}{-1}=4.

Tip

Tip: Simplify the fraction first. A factor that cancels gives a hole, not a vertical asymptote. The remaining denominator zeros are the true vertical asymptotes.

Try it
Quick check

Analyze f(x)=x2−1x2−x−2f(x)=\dfrac{x^2-1}{x^2-x-2}: holes, vertical and horizontal asymptotes, and intercepts.

Show the answer

Answer: f(x)=(x−1)(x+1)(x−2)(x+1)f(x)=\dfrac{(x-1)(x+1)}{(x-2)(x+1)}, so there is a hole at (−1,23)\left(-1,\tfrac23\right) (from x−1x−2\tfrac{x-1}{x-2} at x=−1x=-1), a vertical asymptote x=2x=2, horizontal asymptote y=1y=1, xx-intercept 11 and yy-intercept 12\tfrac12.

Going Deeper: Advanced Polynomial & Rational Ideas

Concept
Vieta's formulas: coefficients from roots

If xn+cn−1xn−1+⋯+c1x+c0x^n+c_{n-1}x^{n-1}+\cdots+c_1x+c_0 (monic) has roots r1,…,rnr_1,\dots,r_n, then the elementary symmetric sums of the roots are the coefficients (up to sign):

∑ri=−cn−1,∑i<jrirj=cn−2,…,r1r2⋯rn=(−1)nc0.\sum r_i=-c_{n-1},\qquad \sum_{i<j} r_ir_j=c_{n-2},\qquad \dots,\qquad r_1r_2\cdots r_n=(-1)^n c_0.

Cubic x3+bx2+cx+dx^3+bx^2+cx+d:  r1+r2+r3=−b\ r_1+r_2+r_3=-b,  r1r2+r1r3+r2r3=c\ r_1r_2+r_1r_3+r_2r_3=c,  r1r2r3=−d\ r_1r_2r_3=-d. For a non-monic anxn+⋯+a0a_nx^n+\cdots+a_0, divide by ana_n first: e.g. ∑ri=−an−1an\sum r_i=-\dfrac{a_{n-1}}{a_n} and ∏ri=(−1)na0an\prod r_i=(-1)^n\dfrac{a_0}{a_n}.

Concept
Power sums and Newton's identities

Let pk=r1k+r2k+⋯+rnkp_k=r_1^k+r_2^k+\cdots+r_n^k be the kk-th power sum of the roots and let e1,e2,…e_1,e_2,\dots be the elementary symmetric sums (e1=∑ri, e2=∑i<jrirj, …e_1=\sum r_i,\ e_2=\sum_{i<j}r_ir_j,\ \dots). Newton's identities link them:

p1=e1,p2=e1p1−2e2,p3=e1p2−e2p1+3e3,p4=e1p3−e2p2+e3p1−4e4.\begin{aligned} p_1&=e_1,\\ p_2&=e_1p_1-2e_2,\\ p_3&=e_1p_2-e_2p_1+3e_3,\\ p_4&=e_1p_3-e_2p_2+e_3p_1-4e_4. \end{aligned}

These let you compute ∑rik\sum r_i^k without ever finding the roots — just read e1,e2,…e_1,e_2,\dots off the coefficients via Vieta.

Reminder — Vieta's formulas:  r1+r2=−ba,r1r2=car_1+r_2=-\frac{b}{a},\qquad r_1 r_2=\frac{c}{a}
Example
Power sums via Vieta & Newton (no roots needed)

The roots of x3−2x2+3x−4=0x^3-2x^2+3x-4=0 are r1,r2,r3r_1,r_2,r_3. Find r12+r22+r32r_1^2+r_2^2+r_3^2 and r13+r23+r33r_1^3+r_2^3+r_3^3. By Vieta: e1=2, e2=3, e3=4e_1=2,\ e_2=3,\ e_3=4. Then by Newton's identities:

p1=e1=2,p2=e1p1−2e2=(2)(2)−2(3)=−2,p3=e1p2−e2p1+3e3=(2)(−2)−(3)(2)+3(4)=−4−6+12=2.\begin{aligned} p_1&=e_1=2,\\ p_2&=e_1p_1-2e_2=(2)(2)-2(3)=-2,\\ p_3&=e_1p_2-e_2p_1+3e_3=(2)(-2)-(3)(2)+3(4)=-4-6+12=2. \end{aligned}

So ∑ri2=−2\sum r_i^2=-2 and ∑ri3=2\sum r_i^3=2. (A negative sum of squares is fine: the roots are complex.) ✓

Concept
Remainder modulo (x−a)(x−b)(x-a)(x-b)

Dividing f(x)f(x) by a quadratic (x−a)(x−b)(x-a)(x-b) leaves a remainder of degree <2<2, so r(x)=px+qr(x)=px+q is linear:

f(x)=(x−a)(x−b) q(x)+px+q.f(x)=(x-a)(x-b)\,q(x)+px+q.

Evaluating at the two roots kills the quotient term, giving a 2×22\times2 system:

f(a)=pa+q,f(b)=pb+q.f(a)=pa+q,\qquad f(b)=pb+q.

Solve for p,qp,q. (The idea generalizes: the remainder mod a degree-mm divisor has degree <m<m, and mm evaluation points pin it down — this is polynomial interpolation.)

Example
Finding a linear remainder

Find the remainder when f(x)=x50f(x)=x^{50} is divided by (x−1)(x−2)(x-1)(x-2). Write r(x)=px+qr(x)=px+q. Then f(1)=150=1f(1)=1^{50}=1 and f(2)=250f(2)=2^{50} give

{p+q=1,2p+q=250.\begin{cases} p+q=1,\\ 2p+q=2^{50}.\end{cases}

Subtracting: p=250−1p=2^{50}-1, and q=1−p=2−250q=1-p=2-2^{50}. Remainder:   (250−1)x+(2−250)\;(2^{50}-1)x+(2-2^{50}). ✓

Concept
Constructing polynomials from constraints; roots in AP or GP

From constraints: a degree-nn polynomial has n+1n+1 coefficients, so n+1n+1 independent conditions (values, zeros, matching derivatives/slopes, a leading coefficient) determine it. Set up one linear equation per condition and solve. Roots in arithmetic progression (AP): write three roots symmetrically as α−δ, α, α+δ\alpha-\delta,\ \alpha,\ \alpha+\delta. Then ∑ri=3α\sum r_i=3\alpha, so Vieta immediately gives the middle root α=−b3\alpha=-\tfrac{b}{3} (for monic x3+bx2+cx+dx^3+bx^2+cx+d). Roots in geometric progression (GP): write them as αρ, α, αρ\tfrac{\alpha}{\rho},\ \alpha,\ \alpha\rho. Then the product r1r2r3=α3=−dr_1r_2r_3=\alpha^3=-d, so the middle root is α=−d3\alpha=\sqrt[3]{-d}.

Example
Roots in arithmetic progression

The equation x3−6x2+11x−6=0x^3-6x^2+11x-6=0 has three real roots in AP. Find them. Let the roots be α−δ, α, α+δ\alpha-\delta,\ \alpha,\ \alpha+\delta. Sum =3α=6⇒α=2=3\alpha=6\Rightarrow \alpha=2, so 22 is a root. Product =α(α2−δ2)=6⇒2(4−δ2)=6⇒δ2=1⇒δ=1=\alpha(\alpha^2-\delta^2)=6\Rightarrow 2(4-\delta^2)=6\Rightarrow \delta^2=1\Rightarrow\delta=1. Roots: 1, 2, 31,\ 2,\ 3. Check: (x−1)(x−2)(x−3)=x3−6x2+11x−6(x-1)(x-2)(x-3)=x^3-6x^2+11x-6. ✓

Tip

Tip: Whenever roots are described as “in AP” or “in GP,” pick the symmetric labeling (α±δ\alpha\pm\delta or α/ρ,αρ\alpha/\rho,\alpha\rho). The symmetry makes one Vieta relation collapse to a single unknown, so you get the middle root almost for free.

Concept
Partial-fraction decomposition

To split a proper rational function N(x)D(x)\dfrac{N(x)}{D(x)} (with deg⁡N<deg⁡D\deg N<\deg D; otherwise divide first), fully factor DD and assign one term per factor:

Ax−a,A1x−a+A2(x−a)2+⋯ (repeated),Bx+Cx2+px+q (irreducible quadratic).\frac{A}{x-a},\qquad \frac{A_1}{x-a}+\frac{A_2}{(x-a)^2}+\cdots\ \text{(repeated)},\qquad \frac{Bx+C}{x^2+px+q}\ \text{(irreducible quadratic)}.

Clear denominators, then solve for the constants by substituting convenient xx-values (the roots) and/or matching coefficients.

Example
Partial fractions with a repeated factor

Decompose 3x+5(x−1)2(x+2)\dfrac{3x+5}{(x-1)^2(x+2)}. Set 3x+5(x−1)2(x+2)=Ax−1+B(x−1)2+Cx+2\dfrac{3x+5}{(x-1)^2(x+2)}=\dfrac{A}{x-1}+\dfrac{B}{(x-1)^2}+\dfrac{C}{x+2}. Clearing denominators:

3x+5=A(x−1)(x+2)+B(x+2)+C(x−1)2.3x+5=A(x-1)(x+2)+B(x+2)+C(x-1)^2.

Let x=1x=1: 8=3B⇒B=838=3B\Rightarrow B=\tfrac{8}{3}.   Let x=−2x=-2: −1=9C⇒C=−19-1=9C\Rightarrow C=-\tfrac19. Matching x2x^2 coefficients: 0=A+C⇒A=190=A+C\Rightarrow A=\tfrac19. So

3x+5(x−1)2(x+2)=1/9x−1+8/3(x−1)2−1/9x+2.\frac{3x+5}{(x-1)^2(x+2)}=\frac{1/9}{x-1}+\frac{8/3}{(x-1)^2}-\frac{1/9}{x+2}.
Concept
Slant asymptotes and crossing the horizontal asymptote

Slant asymptote occurs exactly when deg⁡N=deg⁡D+1\deg N=\deg D+1: polynomial-divide NN by DD; the quotient (a line y=mx+by=mx+b) is the slant asymptote and the remainder term →0\to0 as x→±∞x\to\pm\infty. Crossing the horizontal asymptote: an asymptote controls only end behavior — a graph may cross its horizontal (or slant) asymptote at finite xx. To find where, set f(x)f(x) equal to the asymptote value and solve; real solutions are the crossing points. (A graph can never cross a vertical asymptote, but horizontal/slant ones are fair game.)

Example
Where a graph meets its horizontal asymptote

For f(x)=x2−3x+2x2+1f(x)=\dfrac{x^2-3x+2}{x^2+1}, degrees are equal, so the horizontal asymptote is y=11=1y=\dfrac{1}{1}=1. Does the graph cross it? Set f(x)=1f(x)=1:

x2−3x+2x2+1=1 ⟹ x2−3x+2=x2+1 ⟹ −3x+2=1 ⟹ x=13.\frac{x^2-3x+2}{x^2+1}=1\ \Longrightarrow\ x^2-3x+2=x^2+1\ \Longrightarrow\ -3x+2=1\ \Longrightarrow\ x=\tfrac13.

So the graph does cross y=1y=1, at the single point (13, 1)\left(\tfrac13,\,1\right). The curve approaches y=1y=1 at the far ends but dips across it near the origin. ✓

Tip

Tip: “Asymptote” describes behavior only as x→±∞x\to\pm\infty (horizontal/slant) or as x→x\to a forbidden value (vertical). Crossings of a horizontal or slant asymptote are perfectly normal and often happen exactly once — don't assume a graph stays on one side of it.

Try it
Quick check

List the real zeros and their multiplicities for f(x)=(x−1)2(x+4)f(x)=(x-1)^2(x+4), and say whether the graph crosses or touches at each.

Work it on paper before revealing the answer.

Show the answer

Answer: x=1x=1 (mult. 22, touches); x=−4x=-4 (mult. 11, crosses).

Why It Works

A zero of even multiplicity makes the graph touch and turn: near x=ax = a the factor (x−a)2(x - a)^2 is non-negative on both sides, so the sign of the function does not change. Odd multiplicity flips the sign and the graph crosses. Near an asymptote x=ax = a from a simple factor in the denominator, the function behaves like cx−a\tfrac{c}{x - a}, blowing up with opposite signs on the two sides; a squared factor gives the same sign on both sides.

Tip
Reading a proof

Do not read a proof the way you read a rule. Cover the last line, ask what the previous line forces, and only then uncover it. If a step feels like magic, that is the step to work by hand with a concrete number.

Formulas, Proofs & Tips

Tip
Remainder and Factor theorems
P(x)=(x−c)Q(x)+P(c)⟹(x−c)∣P(x)  ⟺  P(c)=0P(x)=(x-c)Q(x)+P(c) \quad\Longrightarrow\quad (x-c)\mid P(x) \iff P(c)=0

What it means. Dividing PP by x−cx-c leaves remainder P(c)P(c); so x−cx-c is a factor exactly when cc is a root.

Example. P(x)=x2−5x+6P(x)=x^2-5x+6: P(2)=0P(2)=0, so x−2x-2 is a factor.

Why it works. Division gives P(x)=(x−c)Q(x)+rP(x)=(x-c)Q(x)+r with rr constant (its degree is below 11). Substituting x=cx=c kills the first term and leaves P(c)=rP(c)=r.

Tip. Testing a possible root is one substitution — far faster than doing the division.

Tip
The Intermediate Value Theorem
f continuous on [a,b], f(a)<k<f(b) ⟹ f(c)=k for some c∈(a,b)f \text{ continuous on } [a,b],\ f(a)<k<f(b) \ \Longrightarrow\ f(c)=k \text{ for some } c\in(a,b)

What it means. A continuous graph cannot skip a value on its way from f(a)f(a) to f(b)f(b).

Example. f(x)=x2−2f(x)=x^2-2 is −2-2 at x=0x=0 and 22 at x=2x=2, so it equals 00 somewhere between (at 2\sqrt2).

Why it works. Continuity means the graph is drawn without lifting the pen; to get from below kk to above kk the pen must cross the line y=ky=k.

Tip. This is how you prove a root exists: if ff changes sign between aa and bb, there is a zero in between.