MHB Find the values of a and b so the function is continuous everywhere.

Click For Summary
To ensure the piecewise function f is continuous everywhere, the limits at the transition points x = 2 and x = 3 must be equal. At x = 2, the limit from the left is 4, leading to the equation 4 = 4a - 2b + 3. At x = 3, the continuity condition gives the equation 9a - 3b + 3 = 12 - a + b. Solving these two equations will yield the values for a and b that maintain continuity. The function's definition at x = 2 requires using the limit, as it is not defined at that point.
rayne1
Messages
32
Reaction score
0
Find the values of a and b that make f continuous everywhere.

f(x) = (x2 − 4)/(x − 2)...if x < 2
...ax2 − bx + 3... if 2 ≤ x < 3
...4x − a +b....if x ≥ 3

This is a piece-wise function.

So I know that to be continuous everywhere, the function has to be one solid line. But I have no idea how to find a and b.
 
Physics news on Phys.org
You must apply the definition of continuity. The limit of your function as x approaches 2 from the left is 4, the limit of the function as x approaches 2 from the right is $4a-2b+3$. So to be continuous at 2, it must be that $4=4a-2b+3$. Now do a similar calculation at 3 to get $9a-3b+3=12-a+b$. Solve for a and b.
 
You can experiment with sliders in the following graph (click it).

[GRAPH]qoghvnuzbt[/GRAPH]

Then equate the values of the functions at the ends of their domains. Since $\frac{x^2-4}{x-2}$ is not define at $x=2$, instead of its value you need to take $\lim_{x\to2}\frac{x^2-4}{x-2}$.

Note: In plain text, it's customary to write x^2 for $x^2$.
 
There are probably loads of proofs of this online, but I do not want to cheat. Here is my attempt: Convexity says that $$f(\lambda a + (1-\lambda)b) \leq \lambda f(a) + (1-\lambda) f(b)$$ $$f(b + \lambda(a-b)) \leq f(b) + \lambda (f(a) - f(b))$$ We know from the intermediate value theorem that there exists a ##c \in (b,a)## such that $$\frac{f(a) - f(b)}{a-b} = f'(c).$$ Hence $$f(b + \lambda(a-b)) \leq f(b) + \lambda (a - b) f'(c))$$ $$\frac{f(b + \lambda(a-b)) - f(b)}{\lambda(a-b)}...

Similar threads

  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 17 ·
Replies
17
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 1 ·
Replies
1
Views
1K
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K