Calculus · real student question

How many integer values of m make the function f(x) = (mx - 4)/(x - m) increasing on the interval (0, infinity)?

Question

How many integer values of the parameter mm make the function

f(x)=mx4xmf(x)=\frac{mx-4}{x-m}

increasing on the interval (0,+)(0,+\infty)?

Step-by-step solution

  1. Differentiate with the quotient rule and watch the numerator collapse.

    f(x)=m(xm)(mx4)1(xm)2=mxm2mx+4(xm)2=4m2(xm)2f'(x)=\frac{m(x-m)-(mx-4)\cdot 1}{(x-m)^2}=\frac{mx-m^2-mx+4}{(x-m)^2}=\frac{4-m^2}{(x-m)^2}

    The xx terms cancel, so ff' has a constant numerator. This is a general feature of ax+bcx+d\frac{ax+b}{cx+d}: its derivative sign is fixed by adbcad-bc and never changes within a branch.

  2. Turn the sign of ff' into a condition on mm. The denominator (xm)2(x-m)^2 is positive wherever ff is defined, so

    f(x)>0    4m2>0    2<m<2.f'(x)>0\iff 4-m^2>0\iff -2<m<2.

    The endpoints must be excluded, not included: m=±2m=\pm2 gives f0f'\equiv0, and indeed ff collapses to the constant 22 or 2-2 (for example m=2m=2 gives 2x4x2=2\frac{2x-4}{x-2}=2), which is not increasing.

  3. Add the condition that the interval must sit inside a single branch. A positive derivative only proves the function rises on each connected piece of its domain. The point x=mx=m is a vertical asymptote, and if it falls inside (0,+)(0,+\infty) the function jumps from ++\infty to -\infty there, so it is not increasing on the whole interval. Hence we also need

    m(0,+)m0.m\notin(0,+\infty)\quad\Longleftrightarrow\quad m\le 0.

  4. See the failure concretely for m=1m=1. Then f(x)=x4x1f(x)=\frac{x-4}{x-1}, and f(0.5)=7f(0.5)=7 while f(2)=2f(2)=-2. The derivative is positive on both sides of x=1x=1, yet the function decreases across the asymptote — exactly the trap the extra condition is there to catch.

  5. Intersect the two conditions.

    2<m<2andm02<m0-2<m<2\quad\text{and}\quad m\le 0\qquad\Longrightarrow\qquad -2<m\le 0

  6. Count the integers. The integers in (2,0](-2,\,0] are m=1m=-1 and m=0m=0, so there are 2\mathbf{2} of them. Quick check for m=0m=0: f(x)=4xf(x)=-\frac{4}{x}, which rises from -\infty toward 00 on (0,)(0,\infty) — increasing, as claimed.

Answer

m(2,0]    m=1,0,  so there are 2 integer valuesm\in(-2,0]\;\Rightarrow\;m=-1,\,0,\;\text{so there are }2\text{ integer values}

Need to solve a different problem like this? Open the solver →