Property
If a rational function has x-intercepts at x=x1,x2,…,xn, vertical asymptotes at x=v1,v2,…,vm, and no xi=vj for any i,j, then the function can be written in the form:
f(x)=a(x−v1)q1(x−v2)q2⋯(x−vm)qm(x−x1)p1(x−x2)p2⋯(x−xn)pn where the powers pi or qi on each factor can be determined by the behavior of the graph at the corresponding intercept or asymptote, and the stretch factor a can be determined given a value of the function other than the x-intercept or by the horizontal asymptote if it is nonzero.
Examples
- Write a function with a vertical asymptote at x=3, an x-intercept at x=−2, and a horizontal asymptote at y=0. The simplest form is f(x)=x−3a(x+2). Since HA is y=0, this works. Let a=1, so f(x)=x−3x+2.
- Write a function with vertical asymptotes at x=±1, an x-intercept at x=2, and a horizontal asymptote at y=4. The form is f(x)=a(x−1)(x+1)x−2. For HA y=4, degrees must match. So, f(x)=a(x−1)(x+1)x2−4 is not right. Instead, f(x)=ax2−1x−2 has HA at y=0. Let's adjust: f(x)=a(x−1)(x+1)(x−2)(x+k). For the HA to be y=4, the leading coefficients ratio must be 4. A simpler case is f(x)=a(x−1)(x−2). We need another VA. The form is f(x)=a(x−v1)...(x−x1).... For HA y=4, degrees must be equal. f(x)=a(x−1)(x+1)(x−2)(x−c). Let's use the given intercepts and asymptotes: f(x)=a(x−1)(x+1)(x−2) has HA at y=0. Let's try again with the rule: To get HA at y=4, degrees must match. f(x)=a(x−1)(x+1)(x−2)(x−c). Let's assume one x-intercept. f(x)=a(x−1)(x+1)(x−2)2 won't work. Let's try f(x)=ax−1x−2. Let's follow the rules strictly. x-intercepts at (2,0) and x-intercepts at (5,0). Vertical asymptotes at x=−4 and x=−1. Horizontal asymptote at y=7. The function is f(x)=a(x+4)(x+1)(x−2)(x−5). The ratio of leading coefficients is a. So a=7. Final function: f(x)=7(x+4)(x+1)(x−2)(x−5).