For which a and b is the piececewise function continues everywhere

  • Thread starter Thread starter Boik
  • Start date Start date
  • Tags Tags
    Function
Click For Summary

Homework Help Overview

The discussion revolves around determining the values of a and b for which a piecewise function is continuous and has a derivative everywhere. The function is defined as f(x) = ax + b for x ≤ 1 and f(x) = x² for x > 1.

Discussion Character

  • Mixed

Approaches and Questions Raised

  • Participants explore the conditions for continuity and differentiability at the point where the piecewise function transitions, specifically at x = 1. There are discussions about ensuring that the two parts of the function agree at this point and that their derivatives also match.

Discussion Status

Some participants have suggested that the continuity of the function at x = 1 is essential for differentiability, and they propose calculating the derivatives of both pieces at this point. There is an acknowledgment that multiple values for a and b could satisfy the continuity condition, leading to further exploration of the derivatives.

Contextual Notes

Participants note that if the function is not continuous, it complicates the process of finding derivatives, unless a removable discontinuity is present. There is an emphasis on the limits of both parts of the function needing to agree as x approaches 1.

Boik
Messages
2
Reaction score
0
Homework Statement :

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

[tex] <br /> f(x) = \begin{cases}<br /> ax+b, & x≤1\\<br /> x^2, & x>1<br /> \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
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.
 
Boik said:
Homework Statement :

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

[tex] <br /> f(x) = \begin{cases}<br /> ax+b, & x≤1\\<br /> x^2, & x>1<br /> \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).
 
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:
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.
 

Similar threads

Replies
7
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 20 ·
Replies
20
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
6
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
9
Views
3K
  • · Replies 8 ·
Replies
8
Views
1K
  • · Replies 3 ·
Replies
3
Views
1K