Analyzing the Setup
When you see a composite limit like limx→1g(h(x−1)), your first instinct might be panic. Think of this like an onion: we need to peel the outer layers to reach the core.
The core here is the inner function h(x−1).
The Power of Substitution
The expression x−1 inside the function is a classic hint to simplify the domain. Let's define a new variable t=x−1.
As x→1, t naturally approaches 0. This simple substitution transforms our intimidating limit into:
Now, we are no longer dealing with x; we are dealing with the behavior of h(t) as t hovers around zero.
Dissecting the Inner Beast
We need to understand h(t)=2[t]−f(t) near t=0. Let's look at the right side first, where t∈(0,1).
In this interval, the greatest integer function [t] is 0. For any positive t, our function f(t) is defined as:
So, h(t)=2(0)−1=−1.
Now, let's look at the left side, where t∈(−1,0). Here, [t]=−1.
For any negative t, f(t) is defined as:
Plugging these into our expression, we get:
Even at exactly t=0, where [0]=0 and f(0)=1, we get h(0)=2(0)−1=−1.
The 'Aha!' Moment
Whether we approach from the left or the right, or even sit exactly at zero, h(t) is constantly −1. This is a beautiful, elegant result.
Because h(t) is constant in the neighborhood of 0, we don't need to worry about the limit of g as it approaches −1; we simply need to evaluate the function g at −1.
The Final Evaluation
We are left with g(−1). Looking at the definition of g(x), it is a piecewise function:
g(x)={x+1sin(x+1)1xeq−1x=−1
Since we need the value at x=−1, we look at the second condition. It explicitly tells us that g(−1)=1.
And there you have it! By methodically breaking down the composite function, we found that the entire expression simplifies to 1.