Looking for a and b to ensure continuous function

AI Thread Summary
To ensure the function f is continuous at the transition points x = 0 and x = 1, the values of a and b must be determined correctly. The equations derived from setting the left and right limits equal at these points lead to the conditions 2b = 3a - b and 3a - b = -4. After several attempts, the correct values found are a = -2 and b = -2, which satisfy the continuity requirements at both transition points. The discussion emphasizes that for continuity, the limits and functional values must match at the points where the function pieces meet. Understanding these conditions is crucial for solving similar problems in calculus.
ful
Messages
6
Reaction score
0

Homework Statement


Find values for a and b that ensure f is a continuous function if

f(x) = ax + 2b if x ≤ 0
x2 +3a - b if 0 < x ≤ 1
2x - 5 if x > 1

Homework Equations





The Attempt at a Solution



ax + 2b = 2x -5 (when x = o)
2b = -5
b = -5/2

3a +5/2 = -3
a = -11/6

when i plug these a and b into the each equation i get
-5 as the answer for the first equation
-3 as the answer for the second equation
-5 as the answer for the third equation

why isn't the 2nd equation coming out to -5? i need them all to equal so they can be continuous. all the limits need to equal.
 
Physics news on Phys.org
ful said:

Homework Statement


Find values for a and b that ensure f is a continuous function if

f(x) = ax + 2b if x ≤ 0
x2 +3a - b if 0 < x ≤ 1
2x - 5 if x > 1

Homework Equations


The Attempt at a Solution



ax + 2b = 2x -5 (when x = o)
2b = -5
b = -5/2
No.
When x = 0, you want the first two formulas to produce the same function value.

IOW, when x = 0, you want ax + 2b = x2 + 3a - b

When x = 1, you want the 2nd and 3rd formulas to produce the same function value.
ful said:
3a +5/2 = -3
a = -11/6

when i plug these a and b into the each equation i get
-5 as the answer for the first equation
-3 as the answer for the second equation
-5 as the answer for the third equation

why isn't the 2nd equation coming out to -5? i need them all to equal so they can be continuous.
Who are "them" and "they"? Do "them" and "they" refer to the same thing?

Try to be more specific here but not using pronouns such is "it" and "they" unless what they refer to is crystal clear.
ful said:
all the limits need to equal.
No, not at all. You want the left- and right-side limits at x = 0 to be equal, so you work with the 1st and 2nd formulas. You want the left- and right-side limits at x = 1 to be equal, so you work with the 2nd and 3rd formulas.
 
Last edited:
w hen x= 0
ax +2b = 3a -b
b= 3a/2 - b/2

when x=1
x2 +3a -b = 2x-5
1 + 3a-b = 2x-5
3a-b = -4
3a - (3a/2+b/2) = -4
6a +2b = -8

a= -1, b= -1

when I plug in a=-1 b=-1 and x=o to
(ax + 2b) = -2
(x2 +3a -b) = -2

both equations at x=0 give me -2 .is this correct?

the last equation (2x-5) still equals -3
 
ful said:
w hen x= 0
ax +2b = 3a -b
b= 3a/2 - b/2
You're really making things hard for yourself.
When x = 0, your first equation should be
2b = 3a - b.

Now move all of the b terms to one side, and then solve for b.
ful said:
when x=1
x2 +3a -b = 2x-5
When you substitute 1 for x, your equation shouldn't have x in it any more.
ful said:
1 + 3a-b = 2x-5
3a-b = -4
3a - (3a/2+b/2) = -4
6a +2b = -8

a= -1, b= -1
These aren't the right values. They will give you the same value at x = 0 for the 1st and 2nd formulas, but they give you different values at x = 1 for the 2nd and 3rd formulas. To be continuous, the function has to have the same values at x = 0 (1st & 2nd formulas) and at x = 1 (2nd & 3rd formulas).
ful said:
when I plug in a=-1 b=-1 and x=o to
(ax + 2b) = -2
(x2 +3a -b) = -2

both equations at x=0 give me -2 .is this correct?


the last equation (2x-5) still equals -3
But you also need to get -3 using the 2nd formula.
 
ok I am am trying it again
 
Last edited:
i got a= -2 and b=-2
 
The three separate pieces of this function are all continuous inside their respective intervals, so it's just a matter of figuring out what a and b need to be so that the function is continuous at the two places the three pieces meet: at x = 0 and x = 1.

The values you find for a and b have to make the function continuous at both places.
 
Mark44 said:
The three separate pieces of this function are all continuous inside their respective intervals, so it's just a matter of figuring out what a and b need to be so that the function is continuous at the two places the three pieces meet: at x = 0 and x = 1.

The values you find for a and b have to make the function continuous at both places.

I understand the concept now. I got a = -2 and b = -2. In general, for a function to be continuous, doesn't the limit and functional value have to equal?
 
Last edited:
Those are the values. And yes, for a function to be continuous at some point, the limit and function value have to be equal.
 
  • #10
thank you very much
 
Back
Top