Find a and b for Continuous Function on Real Line

  • Context: Undergrad 
  • Thread starter Thread starter fr33pl4gu3
  • Start date Start date
  • Tags Tags
    Continuous Function
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
5 replies · 3K views
fr33pl4gu3
Messages
82
Reaction score
0
Q.

Determine the constants a and b so that the function is continuous on the entire real line.

2 if x <= -1
f(x) = ax+b if -1 < x < 3
-2 if x >= 3

Ans:

a = 1; b = -1

I wonder if the answer is right??
 
Physics news on Phys.org
Which one is wrong, a or b, or both??
 
Suppose your answer IS correct, that would mean

2 if x <= -1
f(x) = x - 1 if -1 < x < 3
-2 if x >= 3

However when x = -1, you get 2 (from the criterion x <= -1) and -2 for the criterion -1 < x < 3. Also when x = 3, you get 2 for the criterion -1 < x < 3 and -2 for the criterion x >= -3. You don't want those jumps if your f is cont.
 
you have 2 linear equations with 2 unknowns

-a + b = 2
3a + b = -2