Making a piecewise function continuous everywhere

Click For Summary

Homework Help Overview

The discussion revolves around a piecewise function defined in three segments, where participants are tasked with finding values for p, q, and r to ensure the function is continuous everywhere, particularly at x = 2. The original poster expresses confusion regarding the continuity condition at the transition points of the piecewise function.

Discussion Character

  • Exploratory, Assumption checking

Approaches and Questions Raised

  • The original poster attempts to find p, q, and r by applying continuity conditions at x = 2 and x = q, leading to conflicting results regarding the value of q. Some participants question the calculations and assumptions made, particularly around the continuity at x = q and the implications of the piecewise function's definition.

Discussion Status

Participants are actively engaging with the problem, identifying potential errors in the original poster's calculations and discussing the implications of the continuity conditions. There is recognition of discrepancies in the values of r and the feasibility of finding a suitable q that meets the problem's constraints.

Contextual Notes

There is mention of a potential typo in the problem statement, as well as concerns about the completeness of the function's definition, particularly regarding the behavior at x = 0.

ninty45
Messages
4
Reaction score
0

Homework Statement



Given the piecewise function

[itex] f(x) = \left\{<br /> \begin{array}{lr}<br /> \frac{(2-x)^2-p}{x} &: x < q\\<br /> r(x+6) &: q \leq x <2 \\<br /> x^3-p &: x \geq 2<br /> \end{array}<br /> \right.[/itex]

Find the values of p,q,r such that f(x) is continuous everywhere and f(2) = p

The Attempt at a Solution


Since f(2) = p,
[itex] f(2) = (2)^3 - p = p\\<br /> 8-p=p\\<br /> p=4[/itex]

If f(x) is continuous everywhere, then

[itex] \lim_{x \to 2} f(x) = f(2)[/itex]

But f(2)=p, and r(x+6) is always smooth, hence

[itex] r(2+6) = 4 \\<br /> r = \frac{1}{4}[/itex]

My difficulty is with q. Again from (assumed) continuity, at x=q,

[itex] \lim_{x \to q} f(x) = f(q) \\<br /> \lim_{x \to q} \frac{(2-x)^2-4}{x} = \frac{1}{2}(q+6) \\<br /> \lim_{x \to q} x-4 = \frac{1}{2}(q+6) \\<br /> 2q-8 = q+6 \\<br /> q=14[/itex]

but from the original function, q <2. The answer given is supposedly q=0, but I do not see then how the function could be continuous.

Are my calculations wrong? I tried assuming that q =0, hence instead of factorising the limit I used l'hopital but no dice.

I am including the original picture as a comparison.
Question.jpg
 
Physics news on Phys.org
ninty45 said:
[itex] r(2+6) = 4 \\<br /> r = \frac{1}{4}[/itex]

There's a bit of a error there, I'm sorry to say.
 
My mistake. I wrote that incorrectly, it should be [itex]r=\frac{1}{2}[/itex].

However in the following working, I indeed used [itex]r=\frac{1}{2}[/itex].
 
You are correct. In order that f(2)= 2, p must be 4 and in order that the function be continuous at x= 2, r must be 1/2 (you say "1/4" but I presume that is a typo since you later use "1/2"). But in that case, there is NO value of q, less than 2, such that [itex][(2- q)^2- 4]/q[/itex] is equal to (1/2)(q+ 6) so there is no value of q, less than 2, such that f(x) is continuous at x= q.
 
Last edited by a moderator:
ninty45 said:
My mistake. I wrote that incorrectly, it should be [itex]r=\frac{1}{2}[/itex].

However in the following working, I indeed used [itex]r=\frac{1}{2}[/itex].

The question looks wrong. Also, it doesn't cover the case where x = 0, so I assume there is a typo somewhere.
 
Thanks for the replies. I'll just chalk this one up as one of those incorrect questions.
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
Replies
9
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 14 ·
Replies
14
Views
4K
Replies
2
Views
2K
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K