Question:medium

If f(x) = \(f(x)=\left\{\begin{matrix} mx^2+n, &\,\,\,\,x<0 \\   nx+m,&\,\,\,\, 0\leq x\leq1 \\   nx^3+m,&\,\,\,\, x>1  \end{matrix}\right.\). For what integers m and n does both \(\lim_{x\rightarrow 1}\)f(x) and \(\lim_{x\rightarrow 1}\) f(x) exist?

Updated On: Jan 23, 2026
Show Solution

Solution and Explanation

Given:

The function is defined as:

f(x) =

⎧ mx2 + n,    x < 0
⎨ nx + m,    0 ≤ x ≤ 1
⎩ nx3 + m,    x > 1

We are required to find integers m and n such that both

limx→0 f(x) and limx→1 f(x) exist.


Step 1: Condition for existence of limx→0 f(x)

Left hand limit at x = 0:

limx→0⁻ f(x) = m(0)2 + n = n

Right hand limit at x = 0:

limx→0⁺ f(x) = n(0) + m = m

For the limit to exist,

n = m   ...(1)


Step 2: Condition for existence of limx→1 f(x)

Left hand limit at x = 1:

limx→1⁻ f(x) = n(1) + m = n + m

Right hand limit at x = 1:

limx→1⁺ f(x) = n(1)3 + m = n + m

Since both limits are equal automatically, limx→1 f(x) exists for all m and n.


Step 3: Combine conditions

From Step 1:

m = n

This ensures the existence of both limits.


Final Answer:

Both limx→0 f(x) and limx→1 f(x) exist
when m = n, where m and n are integers.

Was this answer helpful?
0