An interesting everywhere-differentiable function

A graph has equation f(x)=1nx1nsinx+1nsinx1nxf(x)=-\frac{1}{n}x-\frac{1}{n}\sin x+\left|\frac{1}{n}\sin x-\frac{1}{n}x\right|

for a non-zero integer nn. Let's look at the graph for n=1n=1:

Imgur Imgur

Hey look, no rough non-differentiable edges. Cool! Try other values of nn to see what happens.

Can you create any other interesting graphs with the absolute value function that are differentiable everywhere?

Note by Daniel Liu
5 years, 5 months ago

No vote yet
1 vote

  Easy Math Editor

This discussion board is a place to discuss our Daily Challenges and the math and science related to those challenges. Explanations are more than just a solution — they should explain the steps and thinking strategies that you used to obtain the solution. Comments should further the discussion of math and science.

When posting on Brilliant:

  • Use the emojis to react to an explanation, whether you're congratulating a job well done , or just really confused .
  • Ask specific questions about the challenge or the steps in somebody's explanation. Well-posed questions can add a lot to the discussion, but posting "I don't understand!" doesn't help anyone.
  • Try to contribute something new to the discussion, whether it is an extension, generalization or other idea related to the challenge.
  • Stay on topic — we're all here to learn more about math and science, not to hear about your favorite get-rich-quick scheme or current world events.

MarkdownAppears as
*italics* or _italics_ italics
**bold** or __bold__ bold

- bulleted
- list

  • bulleted
  • list

1. numbered
2. list

  1. numbered
  2. list
Note: you must add a full line of space before and after lists for them to show up correctly
paragraph 1

paragraph 2

paragraph 1

paragraph 2

[example link](https://brilliant.org)example link
> This is a quote
This is a quote
    # I indented these lines
    # 4 spaces, and now they show
    # up as a code block.

    print "hello world"
# I indented these lines
# 4 spaces, and now they show
# up as a code block.

print "hello world"
MathAppears as
Remember to wrap math in \( ... \) or \[ ... \] to ensure proper formatting.
2 \times 3 2×3 2 \times 3
2^{34} 234 2^{34}
a_{i-1} ai1 a_{i-1}
\frac{2}{3} 23 \frac{2}{3}
\sqrt{2} 2 \sqrt{2}
\sum_{i=1}^3 i=13 \sum_{i=1}^3
\sin \theta sinθ \sin \theta
\boxed{123} 123 \boxed{123}

Comments

Sort by:

Top Newest

Sure, replace nn with n2{ n }^{ 2 } Another one, which is technically not a function, is ±x2x3\pm \sqrt { { x }^{ 2 }-\left| { x }^{ 3 } \right| } , looks kind of like a lemniscate, is differentiable everywhere except at x=1,x=1x=-1, x=1, and has an area of 16/1516/15. But the use of ±\pm makes this claim of differentiability at x=0x=0 iffy at best.

Michael Mendrin - 5 years, 5 months ago

Log in to reply

well, nn is a dummy variable, so changing it doesn't really affect anything. If you meant xx, then the function isn't very clever nor differentiable everywhere; it just looks like a regular sine function with a little nick in the middle.

The second one is pretty cool. One can manage to graph the whole thing at once on desmos by using y=x2x3|y|=\sqrt{x^2-|x^3|}

Here is a comparison of the graph to the lemniscate: https://www.desmos.com/calculator/vfw1amglgn

Daniel Liu - 5 years, 5 months ago

Log in to reply

Yes, one can see that tiny difference in areas, the area of the lemniscate being exactly 11. As for the other, replace nn with 1+x21+{ x }^{ 2 }.

Michael Mendrin - 5 years, 5 months ago

Log in to reply

@Michael Mendrin Ooh, that graph looks pretty interesting. It might be convincing enough to pass as one non-piecewise graph, although people would have a hard time finding the equation for it.

Daniel Liu - 5 years, 5 months ago

Log in to reply

@Daniel Liu What program did you use to draw the graph? Thanks for posting this. I will post something related to graphs too.

Adrian Neacșu - 5 years, 5 months ago

Log in to reply

modulus functions !! they're awesome pieces very useful for manipulation ................ nice one !!............. seems like the graph changed it's mind after entering the positive x-axis!! :-p

Abhinav Raichur - 5 years, 5 months ago

Log in to reply

×

Problem Loading...

Note Loading...

Set Loading...