For which a and b is the piececewise function continues everywhere

  • Thread starter Boik
  • Start date
  • Tags
    Function
In summary, the function has a derivative everywhere if a and b are chosen to make the derivative exist at x = 1.
  • #1
Boik
2
0
Homework Statement :

Sorry this is a more accurate translation:
For which a and b does the function have a derivative everywhere

[tex]

f(x) = \begin{cases}
ax+b, & x≤1\\
x^2, & x>1
\end{cases}[/tex]

I'd be grateful if someone explains to me the algorithm for solving these type of problems.
Thank you in advance.
 
Last edited:
Physics news on Phys.org
  • #2
Both ax + b and x^2 are continues functions so all you have to do is set a and b so that ax+b = x^2 when x goes to 1.
 
  • #3
Boik said:
Homework Statement :

Sorry this is a more accurate translation:
For which a and b does the function have a derivative everywhere

[tex]

f(x) = \begin{cases}
ax+b, & x≤1\\
x^2, & x>1
\end{cases}[/tex]

I'd be grateful if someone explains to me the algorithm for solving these type of problems.
Thank you in advance.

first, we want f to be continuous (if f is not continuous, we'll have a hard time taking the derivative, unless it's a removeable discontinuity).

the problem obviously lies at x = 1, we should like the two definitions to agree there.

but that gives more than one possible choice for a and b, so we should also like the derivatives of ax+b and x2 to agree at 1.

so calculate d/dx(ax+b) and d/dx(x2) at x = 1, and take it from there...

(in each case, the reasoning behind making the two forms of f and f' agree at x = 1, is so that the left-hand limits and the right-hand limits both agree, ensuring the continuity of f in the first case, and the differentiablity of f in the second case).
 
  • #4
Deveno said:
first, we want f to be continuous (if f is not continuous, we'll have a hard time taking the derivative, unless it's a removeable discontinuity).

the problem obviously lies at x = 1, we should like the two definitions to agree there.

but that gives more than one possible choice for a and b, so we should also like the derivatives of ax+b and x2 to agree at 1.

so calculate d/dx(ax+b) and d/dx(x2) at x = 1, and take it from there...

(in each case, the reasoning behind making the two forms of f and f' agree at x = 1, is so that the left-hand limits and the right-hand limits both agree, ensuring the continuity of f in the first case, and the differentiablity of f in the second case).

So basically the limits of both parts must be the same when x is approching the point and both parts must have the same derivative at that point in order for the function to have a derivative everywhere?

Hence lim(ax+b) as x->1, x<1 must be equal to lim(x^2) as x->1, x>1
and (ax+b)' = (x^2)'

I got that a = 2 and b = -1
 
Last edited:
  • #5
well, not exactly, but it's pretty clear f(x) = ax+b is differentiable anywhere to the left of x = 1, and f(x) = x2 is differentiable anywhere to the right of x = 1.

so the only place where the derivative might fail to exist, is at x = 1, which we can fix by choosing a and b wisely.
 

1. What is a piecewise function?

A piecewise function is a mathematical function that is defined by multiple sub-functions, each of which applies to a different interval or "piece" of the domain. This allows for a more flexible and specific way of representing a function.

2. What does it mean for a piecewise function to be continuous?

A piecewise function is continuous if it has a smooth and unbroken graph with no gaps or jumps. This means that the function is defined and has a value at every point in its domain, and that the limit of the function exists at all points.

3. How do I determine if a piecewise function is continuous?

To determine if a piecewise function is continuous, you must check the continuity of each sub-function within its respective interval, and also check for continuity at the points where the intervals meet. If all sub-functions are continuous and the function is defined at the points of intersection, then the piecewise function is continuous everywhere.

4. What values of a and b make the piecewise function continuous everywhere?

The values of a and b that make the piecewise function continuous everywhere depend on the specific sub-functions and their intervals. Generally, a and b must be chosen in a way that ensures continuity at the points of intersection between intervals, and that all sub-functions are continuous within their respective intervals.

5. Why is it important for a piecewise function to be continuous everywhere?

Having a continuous piecewise function is important because it allows for a more accurate representation of a real-world situation or mathematical problem. It also allows for the use of important mathematical concepts such as derivatives and integrals, which require a function to be continuous in order to be applied.

Similar threads

  • Calculus and Beyond Homework Help
Replies
3
Views
265
  • Calculus and Beyond Homework Help
Replies
2
Views
652
  • Calculus and Beyond Homework Help
Replies
3
Views
248
  • Calculus and Beyond Homework Help
Replies
1
Views
259
  • Calculus and Beyond Homework Help
Replies
6
Views
1K
  • Calculus and Beyond Homework Help
Replies
12
Views
1K
  • Calculus and Beyond Homework Help
Replies
2
Views
516
  • Calculus and Beyond Homework Help
Replies
3
Views
809
  • Calculus and Beyond Homework Help
Replies
1
Views
692
  • Calculus and Beyond Homework Help
Replies
3
Views
1K
Back
Top