Solveeit Logo

Question

Question: Let $f(x)=\begin{cases} (x-1)(x-n) & x \leq n \\ x^{2}-n & x > n \end{cases}$, then identify correct...

Let f(x)={(x1)(xn)xnx2nx>nf(x)=\begin{cases} (x-1)(x-n) & x \leq n \\ x^{2}-n & x > n \end{cases}, then identify correct statement(s) (nIn \in I)

A

\forall n ≤ 0 f(x) has local minima at x = n

B

\forall n ≥ 0 f(x) has local minima at x = n

C

\forall n > 0 f(x) is strictly increasing at x = n

D

f(x) has always a local minima \forall n\inI

Answer

A

Explanation

Solution

The function is given by: f(x)={(x1)(xn)xnx2nx>nf(x)=\begin{cases} (x-1)(x-n) & x \leq n \\ x^{2}-n & x > n \end{cases} where nIn \in I (n is an integer).

First, let's evaluate f(x)f(x) at x=nx=n: f(n)=(n1)(nn)=(n1)0=0f(n) = (n-1)(n-n) = (n-1) \cdot 0 = 0.

For f(x)f(x) to have a local minimum at x=nx=n, there must exist an open interval (nδ,n+δ)(n-\delta, n+\delta) such that f(x)f(n)f(x) \geq f(n) for all x(nδ,n+δ)x \in (n-\delta, n+\delta). Since f(n)=0f(n)=0, we need f(x)0f(x) \geq 0 in this interval.

Let's analyze the two parts of the function around x=nx=n:

  1. For x>nx > n (and close to nn): f(x)=x2nf(x) = x^2 - n. We need x2n0x^2 - n \geq 0. Let x=n+ϵx = n+\epsilon for a small ϵ>0\epsilon > 0. f(n+ϵ)=(n+ϵ)2n=n2+2nϵ+ϵ2n=(n2n)+(2nϵ+ϵ2)f(n+\epsilon) = (n+\epsilon)^2 - n = n^2 + 2n\epsilon + \epsilon^2 - n = (n^2-n) + (2n\epsilon + \epsilon^2). We need (n2n)+(2nϵ+ϵ2)0(n^2-n) + (2n\epsilon + \epsilon^2) \geq 0 for small ϵ>0\epsilon > 0. If n2n>0n^2-n > 0, this condition is satisfied for small ϵ\epsilon. (n(n1)>0    n(,0)(1,)n(n-1)>0 \implies n \in (-\infty, 0) \cup (1, \infty)). If n2n=0n^2-n = 0, i.e., n=0n=0 or n=1n=1, then f(n+ϵ)=2nϵ+ϵ2f(n+\epsilon) = 2n\epsilon + \epsilon^2. For n=0n=0, f(ϵ)=ϵ20f(\epsilon) = \epsilon^2 \geq 0. For n=1n=1, f(1+ϵ)=2ϵ+ϵ20f(1+\epsilon) = 2\epsilon + \epsilon^2 \geq 0 for small ϵ>0\epsilon > 0. So, for x>nx > n and close to nn, f(x)f(n)f(x) \geq f(n) is always true for any integer nn.

  2. For xnx \leq n (and close to nn): f(x)=(x1)(xn)f(x) = (x-1)(x-n). We need (x1)(xn)0(x-1)(x-n) \geq 0. Let x=nϵx = n-\epsilon for a small ϵ>0\epsilon > 0. f(nϵ)=((nϵ)1)((nϵ)n)=(n1ϵ)(ϵ)=ϵ(n1ϵ)f(n-\epsilon) = ((n-\epsilon)-1)((n-\epsilon)-n) = (n-1-\epsilon)(-\epsilon) = -\epsilon(n-1-\epsilon). For f(nϵ)0f(n-\epsilon) \geq 0, we need ϵ(n1ϵ)0-\epsilon(n-1-\epsilon) \geq 0. Since ϵ>0\epsilon > 0, we must have (n1ϵ)0-(n-1-\epsilon) \geq 0, which implies n1ϵ0n-1-\epsilon \leq 0. So, n1ϵn-1 \leq \epsilon.

    This condition must hold for some sufficiently small ϵ>0\epsilon > 0.

    • If n10n-1 \leq 0 (i.e., n1n \leq 1), then for any small ϵ>0\epsilon > 0, we can choose ϵ\epsilon such that n1ϵn-1 \leq \epsilon. In this case, n1ϵ0n-1-\epsilon \leq 0, so ϵ(n1ϵ)0-\epsilon(n-1-\epsilon) \geq 0. Thus, if n1n \leq 1, f(x)f(n)f(x) \geq f(n) for x<nx < n and close to nn.
    • If n1>0n-1 > 0 (i.e., n>1n > 1), then we can choose ϵ\epsilon such that 0<ϵ<n10 < \epsilon < n-1. For such an ϵ\epsilon, n1ϵ>0n-1-\epsilon > 0. In this case, f(nϵ)=ϵ(n1ϵ)<0f(n-\epsilon) = -\epsilon(n-1-\epsilon) < 0. This means f(x)<f(n)f(x) < f(n) for xx slightly less than nn. Therefore, if n>1n > 1, f(x)f(x) does not have a local minimum at x=nx=n.

Combining the results from both sides, f(x)f(x) has a local minimum at x=nx=n if and only if n1n \leq 1. Since nIn \in I, this includes n=1,0,1,2,n = 1, 0, -1, -2, \ldots.

Now let's evaluate the given options:

(A) \forall n ≤ 0 f(x) has local minima at x = n. This statement is true. If n0n \leq 0, then nn is certainly 1\leq 1. So, f(x)f(x) has a local minimum at x=nx=n.

(B) \forall n ≥ 0 f(x) has local minima at x = n. This statement is false. For example, if n=2n=2, then n0n \geq 0 but n>1n > 1. Our analysis shows that for n>1n > 1, f(x)f(x) does not have a local minimum at x=nx=n.

(C) \forall n > 0 f(x) is strictly increasing at x = n. For f(x)f(x) to be strictly increasing at x=nx=n, we would need f(x1)<f(x2)f(x_1) < f(x_2) for x1<x2x_1 < x_2 in a neighborhood of nn. Consider n=1n=1. We found f(x)f(x) has a local minimum at x=1x=1. A function with a local minimum is not strictly increasing at that point. Consider n>1n > 1. For x(1,n)x \in (1, n), f(x)=(x1)(xn)f(x) = (x-1)(x-n). Since x1>0x-1 > 0 and xn<0x-n < 0, f(x)<0f(x) < 0. Since f(n)=0f(n)=0, we have f(x)<f(n)f(x) < f(n) for xx approaching nn from the left. This means f(x)f(x) is decreasing as xnx \to n^-. Therefore, f(x)f(x) is not strictly increasing at x=nx=n for n>0n > 0. This statement is false.

(D) f(x) has always a local minima \forall n\inI. This statement is false. As shown, f(x)f(x) only has a local minimum at x=nx=n if n1n \leq 1. For n>1n > 1, it does not.

The only correct statement is (A).