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(xh)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).

Example
Completing the square to find the vertex

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

f(x)=2(x24x)+5=2(x24x+44)+5=2(x2)28+5=2(x2)23.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)=816+5=3f(2)=8-16+5=-3. ✓

Example
Modeling: maximum height

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=6432=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.

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 (xc)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 n1n-1 turning points.

Example
Reading a factored polynomial

Analyze f(x)=(x+2)2(x1)(x3)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.

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 degr<degd\deg r<\deg d. Synthetic division is a shortcut when the divisor is xkx-k. Remainder Theorem: dividing f(x)f(x) by xkx-k leaves remainder r=f(k)r=f(k). Factor Theorem: (xk)(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)=(xc)Q(x)+P(c)(xc)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+2x24x^3+2x^2-4 by x1x-1.

x2+3x+3x3+2x2+0x4(x3x2)3x2+0x(3x23x)3x4(3x3)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+24=1f(1)=1+2-4=-1. ✓

Example
Synthetic division

Divide 2x35x2+3x72x^3-5x^2+3x-7 by x3x-3 (so k=3k=3).

32537631821611\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)=5445+97=11f(3)=54-45+9-7=11. ✓ Since r0r\neq0, (x3)(x-3) is not a factor.

Tip

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

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 xcx-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

Find all real zeros of f(x)=2x33x211x+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:

3231166962320\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)=(x3)(2x2+3x2)=(x3)(2x1)(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=1434112+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)=2x33x211x+6f(x)=2x^3-3x^2-11x+6 the signs are +,,,++,-,-,+: two sign changes \Rightarrow 22 or 00 positive real zeros. f(x)=2x33x2+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.

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 abia-bi; note (a+bi)(abi)=a2+b2(a+bi)(a-bi)=a^2+b^2. Fundamental Theorem of Algebra: every polynomial of degree n1n\ge1 has exactly nn complex zeros (counting multiplicity). Conjugate Pairs Theorem: if ff has real coefficients and a+bia+bi is a zero, then abia-bi is also a zero.

Example
Finding all zeros

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

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

So x1=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)=(x2)(x3i)(x+3i)=(x2)(x2+9)=x32x2+9x18.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(abi))=x22ax+(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.

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=degN, m=degDn=\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}.
Example
Full analysis with a hole

Analyze f(x)=x2x6x29=(x3)(x+2)(x3)(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

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

f(x)=x+13x1.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)=41=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.

Going Deeper: Advanced Polynomial & Rational Ideas

Concept
Vieta's formulas: coefficients from roots

If xn+cn1xn1++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=cn1,i<jrirj=cn2,,r1r2rn=(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=an1an\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=e1p12e2,p3=e1p2e2p1+3e3,p4=e1p3e2p2+e3p14e4.\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 x32x2+3x4=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=e1p12e2=(2)(2)2(3)=2,p3=e1p2e2p1+3e3=(2)(2)(3)(2)+3(4)=46+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 (xa)(xb)(x-a)(x-b)

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

f(x)=(xa)(xb)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 (x1)(x2)(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=2501p=2^{50}-1, and q=1p=2250q=1-p=2-2^{50}. Remainder:   (2501)x+(2250)\;(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 x36x2+11x6=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)=62(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: (x1)(x2)(x3)=x36x2+11x6(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 degN<degD\deg N<\deg D; otherwise divide first), fully factor DD and assign one term per factor:

Axa,A1xa+A2(xa)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(x1)2(x+2)\dfrac{3x+5}{(x-1)^2(x+2)}. Set 3x+5(x1)2(x+2)=Ax1+B(x1)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(x1)(x+2)+B(x+2)+C(x1)2.3x+5=A(x-1)(x+2)+B(x+2)+C(x-1)^2.

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

3x+5(x1)2(x+2)=1/9x1+8/3(x1)21/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 degN=degD+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)=x23x+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:

x23x+2x2+1=1  x23x+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 xx\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.

Formulas, Proofs & Tips

Tip
Remainder and Factor theorems
P(x)=(xc)Q(x)+P(c)(xc)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 xcx-c leaves remainder P(c)P(c); so xcx-c is a factor exactly when cc is a root.

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

Why it works. Division gives P(x)=(xc)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)=x22f(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.