P(x) and Q(x) are polynomials in x, and f(x)=P(x)/Q(x). To evaluate limx→af(x): (1) if limx→aQ(x)=m=0, the limit is simply limx→a[P(x)/m] — an ordinary substitution, no factoring needed; (2) if limx→aQ(x)=0 then (x−a) divides Q(x); if (x−a) does NOT also divide P(x), the limit does not exist (the function is unbounded near a); (3) if limx→aP(x) is also 0, then (x−a) is a genuine common factor of both, and limx→af(x)=limx→aQ(x)/(x−a)P(x)/(x−a) — factor both polynomials completely, cancel the shared (x−a), and substitute into what remains. Factorizing polynomials this way is the standard tool for rational-function limits that land on the indeterminate form 0/0.\n\nWorked pattern 1 (spotting the common root by inspection): for limz→3z2−4z+3z(2z−3)−9, substituting z=3 makes both z(2z−3)−9 and z2−4z+3 vanish, so (z−3) is a common factor; factoring gives (z−3)(z−1)(z−3)(2z+3), which cancels to z−12z+3, giving 3−12(3)+3=29 at z=3.\n\nWorked pattern 2 (repeated/higher-power factors): for limx→4(x2−x−12)18(x3−8x2+16x)9, the numerator's base factors as x(x−4)2 and the denominator's base as (x−4)(x+3), so raised to the 9th and 18th powers respectively the (x−4)18 in top and bottom cancel completely, leaving (x+3)18x9→71849.\n\nWorked pattern 3 (combining fractions first): for limx→1[x−11+1−x22], rewriting 1−x2=(1−x)(1+x)=−(x−1)(x+1) and combining over a common denominator produces (x−1)(x+1)(x+1)−2=(x−1)(x+1)x−1=x+11→21.\n\nWorked pattern 4 (synthetic division when the factor isn't obvious by eye): for limx→1x2−1x3+x2−5x+3, synthetic division of the numerator by (x−1) gives quotient x2+2x−3, so the numerator is (x−1)(x2+2x−3) while the denominator factors as (x−1)(x+1); cancelling le …