The turning point at P(2,−1) is a maximum because the second derivative is negative there, after using the given point to determine the constants a and b.
We are given the function
y=(x−1)(x−4)ax−b
and told that P(2,−1) is a turning point (i.e., a stationary point). That means two conditions hold at x=2:
- The curve passes through (2,−1), so y(2)=−1.
- The derivative y′(2)=0.
Our job is to classify this stationary point as a maximum, minimum, or neither.
1. Use the point to find a relation between a and b
At x=2:
y(2)=(2−1)(2−4)2a−b=(1)(−2)2a−b=−22a−b.
We know y(2)=−1, so:
−22a−b=−1⇒22a−b=1⇒2a−b=2.(1)
2. Differentiate and use the stationary condition
First, rewrite the denominator:
y=(x−1)(x−4)ax−b=x2−5x+4ax−b.
Differentiate using the quotient rule:
y′=(x2−5x+4)2a(x2−5x+4)−(ax−b)(2x−5).
At a stationary point, y′(2)=0, so the numerator must be zero at x=2:
a(4−10+4)−(2a−b)(4−5)=a(−2)−(2a−b)(−1)=−2a+(2a−b)=−b.
Set equal to zero:
−b=0⇒b=0.
Then from (1): 2a−0=2⇒a=1.
So the function is:
y=(x−1)(x−4)x.
3. Classify the stationary point using the second derivative
We could compute y′′ directly, but it’s easier to use the sign of the second derivative at x=2.
First, simplify y′ with a=1,b=0:
y′=(x2−5x+4)2(x2−5x+4)−x(2x−5)=(x2−5x+4)2x2−5x+4−2x2+5x=(x2−5x+4)2−x2+4.
So:
y′=(x2−5x+4)24−x2.
Now differentiate again. Use the quotient rule on y′: