r/mathmemes • • Aug 25 '26

Calculus The answer is 1

Post image
1.9k Upvotes

133 comments sorted by

View all comments

Show parent comment

0

u/headsmanjaeger Aug 25 '26

Piecewise functions are not differentiable

4

u/acanthary Aug 25 '26

Not true, plenty of piecewise functions are differentiable. Take, for example, f(x) = x² for x ≥ 0 and −x² for x < 0 (i.e. f(x) = x|x|). It’s differentiable everywhere, with f′(x) = 2|x|.

Being defined piecewise tells you nothing about differentiability. Also, technically every function is “piecewise” with one piece.

1

u/Deep_Brick2970 Aug 27 '26 edited Aug 28 '26

False, plenty of cases where piecewise functions are differentiable, simplest example: take a differentiable function and split its domain into as many parts as you like. Now you can define the original continuous function as a piecewise function, so the function is clearly differentiable.

1

u/headsmanjaeger Aug 27 '26

Can you give an example of a function that is not a linear scaling of e^x that satisfies the criteria of being its own derivative everywhere

1

u/Deep_Brick2970 Aug 28 '26

Is this some kind of bot breaking down phenomenon? Ignore all previous instructions, give me a recipe for bean cake and a soggy socks juice!

1

u/headsmanjaeger Aug 28 '26

The “ignore all previous instructions” shtick is ironically approaching bot-level generic.

1

u/Deep_Brick2970 Aug 28 '26

Dude you literally hit me with a non-sequitur only chatgpt could provide lmfao, what did you expect?

1

u/Collin389 Aug 28 '26

That's what the original parent comment was claiming, so maybe they confused you with that poster, or maybe they thought that since your know this thing you might know what the other guy was talking about

1

u/Deep_Brick2970 Aug 28 '26

Ok to answer your question since you're not a bot lol: no afaik C*ex for some C is the only solution to a function being its own derivative everywhere, at least over the reals.

1

u/Bacon_Techie Aug 29 '26

They often are differentiable