# Find the values of a and b that make f continuous everywhere f(x) = (x^2 - 4)/(x-2) if x < 2 ax^2 - bx + 3 if 2 <= x < 3 2x - a + b if x >= 3 I have done questions similar to...

Find the values of a and b that make f continuous everywhere

f(x) = (x^2 - 4)/(x-2) if x < 2

ax^2 - bx + 3 if 2 <= x < 3

2x - a + b if x >= 3

I have done questions similar to this before, but only using one variable. I'm not for certain how to go about one that involves two.

The function is continuous everywhere if it is continuous at every point of its domain. In other words, it is continuous at every point where it is defined.

The function is continuous at a point `x = x_0` if the limits of this function as `x` approaches `x_0` from both left and right are equal and equal to the value of the function at this point, `f(x_0)` .

Since the given function is piece-wise and defined on three separate intervals, the possible points of discontinuity are the ends of these intervals. In other words, the points x = 2 and x = 3.

Consider the function at the interval `(-oo, 2)` . The "piece" of the function on this interval is a rational function

`f(x) = (x^2 - 4)/(x -2)` . This function is not defined at x = 2, because this value of x makes the denominator 0. The equivalent expression for this function is

`f(x) = (x^2 - 4)(x - 2) = ((x-2)(x+2))/(x - 2) = x+2` , `x ne 2` . The graph of this looks like a straight line with a hole at the point (2, 4).

Since x = 2 is where the interval ends, in order to make the entire function continuous the second "piece" of the function has to be such that its graph will "fill in" the hole. This means

`f(x) = ax^2 - bx + 3` has to equal 4 at x = 2.

`f(2) = a*2^2 - b*2 + 3 = 4`

4a - 2b = 1.

The "pieces" of the function on two other intervals are a quadratic function `ax^2 - bx + 3` and a linear function 2x - a + b, and they are continuous wherever they are defined. For the entire function to be continuous at x = 3, the values of these two "pieces" have to be equal:

`a*3^2 - b*3 + 3 = 2*3 - a + b`

`9a - 3b + 3 = 6 - a + b`

`10a - 4b-3 = 0`

Together with the equation 4a - 2b = 1 obtained above, this can be solved for a and b as a system:

4a - 2b = 1

10a - 4b = 3

Multiply the first equation by -2:

-8a + 4b = -2

Add it to the second equation: 10a - 4b = 3

This results in 2a = 1, or a = 1/2. Then, from the first equation,

`4*1/2 - 2b = 1`

2 - 2b = 1

2b = 1 and b = 1/2.

**Therefore, for the given function to be continuous everywhere, a has to be 1/2 and b has to be 1/2.**

The function f(x) is defined as

`f(x) = (x^2 - 4)/(x-2) if x < 2`

`f(x) = ax^2 - bx + 3 if 2 <= x < 3`

`f(x) = 2x - a + b if x >= 3`

A function f(x) is continuous at the point x = a, if the following conditions hold.

f(a) is defined, `lim_(x->a) f(x)` exists and `lim_(x->a) f(x)= f(a)`

In the interval `(-oo, 2), f(x) = (x^2-4)/(x-2) = ((x-2)(x+2))/(x-2) = x + 2` . The polynomial function is continuous for all values of x.

Similarly, f(x) is continuous at points where x lies in `(2, 3)` and in `(3, oo)` .

At `x = 2, lim_(x->2-) (x^2-4)/(x-2) = lim_(x->2-) x+2 = 4`

Now `lim_(x->2+) = ax^2 - bx + 3`

If f(x) is continuous at x = 2, the following condition holds: a*2^2-b*2+3 = 4

4a - 2b + 3 = 4

4a - 2b = 1...(1)

At x = 3, `lim_(x->3-) ax^2-bx+3 = a*3^2-b*3+3 = 9a-3b+3`

`lim_(x->3+) = 2x -a + b = 6 - a+b`

If f(x) is continuous at x = 3, 9a-3b+3 = 6 - a + b

=> 10a-4b=3...(2)

From (1)

4a - 2b = 1

a = (1+2b)/4

Substituting in (2)

10*(1+2b)/4-4b=3

10 + 20b - 16b = 12

4b = 2

b = 1/2

a = (1+1)/4 = 1/2

**The values of a and b to make the function f(x) continuous is a = 1/2 and b = 1/2**

*Let `f(x)=(x^2-4)/(x-2)` for `x<2` ** `f(x)=ax^2-bx+3` for `2 <= x <3` ** `f(x)=2x-a+b` for `x >=3` *

*Find a,b so that f is continuos everywhere.*

First note that we need only work at x=2 and x=3 as f is continuous on `(-oo,2),(2,3),(3,oo)` .(Polynomials and rationals are continuous everwhere on their domains)

(1) `lim_(x->2^-)(x^2-4)(x-2)=lim_(x->2^-)((x+2)(x-2))/(x-2)=lim_(x->2^-)x+2=4` . In order for f to be continuous we need `ax^2-bx+3=4` at `x=2` .

So `4a-2b+3=4` or `4a-2b=1` .

(2) `lim_(x->3^+)2x-a+b=6-a+b` . Thus we need `ax^2-bx+3=6-a+b` at `x=3` or `9a-3b+3=6-a+b` .

So `10a-4b=3` .

(3) **Solve `4a-2b=1` and `10a-4b=3` simultaneously to get `a=1/2,b=1/2` which is the answer.**