My textbook is asking to construct such a function, but this thread seems to say that's not possible. What am I missing here? I want to construct a function that's not differentiable for $x=c$, for any $c$ in the interval.
2026-05-14 20:50:10.1778791810
Is there a continuous monotone function that fails to be differentiable on a dense subset of $\mathbb{R}$?
704 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
1
There are 1 best solutions below
Related Questions in CALCULUS
- Equality of Mixed Partial Derivatives - Simple proof is Confusing
- How can I prove that $\int_0^{\frac{\pi}{2}}\frac{\ln(1+\cos(\alpha)\cos(x))}{\cos(x)}dx=\frac{1}{2}\left(\frac{\pi^2}{4}-\alpha^2\right)$?
- Proving the differentiability of the following function of two variables
- If $f ◦f$ is differentiable, then $f ◦f ◦f$ is differentiable
- Calculating the radius of convergence for $\sum _{n=1}^{\infty}\frac{\left(\sqrt{ n^2+n}-\sqrt{n^2+1}\right)^n}{n^2}z^n$
- Number of roots of the e
- What are the functions satisfying $f\left(2\sum_{i=0}^{\infty}\frac{a_i}{3^i}\right)=\sum_{i=0}^{\infty}\frac{a_i}{2^i}$
- Why the derivative of $T(\gamma(s))$ is $T$ if this composition is not a linear transformation?
- How to prove $\frac 10 \notin \mathbb R $
- Proving that: $||x|^{s/2}-|y|^{s/2}|\le 2|x-y|^{s/2}$
Related Questions in REAL-ANALYSIS
- how is my proof on equinumerous sets
- Finding radius of convergence $\sum _{n=0}^{}(2+(-1)^n)^nz^n$
- Optimization - If the sum of objective functions are similar, will sum of argmax's be similar
- On sufficient condition for pre-compactness "in measure"(i.e. in Young measure space)
- Justify an approximation of $\sum_{n=1}^\infty G_n/\binom{\frac{n}{2}+\frac{1}{2}}{\frac{n}{2}}$, where $G_n$ denotes the Gregory coefficients
- Calculating the radius of convergence for $\sum _{n=1}^{\infty}\frac{\left(\sqrt{ n^2+n}-\sqrt{n^2+1}\right)^n}{n^2}z^n$
- Is this relating to continuous functions conjecture correct?
- What are the functions satisfying $f\left(2\sum_{i=0}^{\infty}\frac{a_i}{3^i}\right)=\sum_{i=0}^{\infty}\frac{a_i}{2^i}$
- Absolutely continuous functions are dense in $L^1$
- A particular exercise on convergence of recursive sequence
Related Questions in INTEGRATION
- How can I prove that $\int_0^{\frac{\pi}{2}}\frac{\ln(1+\cos(\alpha)\cos(x))}{\cos(x)}dx=\frac{1}{2}\left(\frac{\pi^2}{4}-\alpha^2\right)$?
- How to integrate $\int_{0}^{t}{\frac{\cos u}{\cosh^2 u}du}$?
- Show that $x\longmapsto \int_{\mathbb R^n}\frac{f(y)}{|x-y|^{n-\alpha }}dy$ is integrable.
- How to find the unit tangent vector of a curve in R^3
- multiplying the integrands in an inequality of integrals with same limits
- Closed form of integration
- Proving smoothness for a sequence of functions.
- Random variables in integrals, how to analyze?
- derive the expectation of exponential function $e^{-\left\Vert \mathbf{x} - V\mathbf{x}+\mathbf{a}\right\Vert^2}$ or its upper bound
- Which type of Riemann Sum is the most accurate?
Related Questions in DERIVATIVES
- Derivative of $ \sqrt x + sinx $
- Second directional derivative of a scaler in polar coordinate
- A problem on mathematical analysis.
- Why the derivative of $T(\gamma(s))$ is $T$ if this composition is not a linear transformation?
- Does there exist any relationship between non-constant $N$-Exhaustible function and differentiability?
- Holding intermediate variables constant in partial derivative chain rule
- How would I simplify this fraction easily?
- Why is the derivative of a vector in polar form the cross product?
- Proving smoothness for a sequence of functions.
- Gradient and Hessian of quadratic form
Trending Questions
- Induction on the number of equations
- How to convince a math teacher of this simple and obvious fact?
- Find $E[XY|Y+Z=1 ]$
- Refuting the Anti-Cantor Cranks
- What are imaginary numbers?
- Determine the adjoint of $\tilde Q(x)$ for $\tilde Q(x)u:=(Qu)(x)$ where $Q:U→L^2(Ω,ℝ^d$ is a Hilbert-Schmidt operator and $U$ is a Hilbert space
- Why does this innovative method of subtraction from a third grader always work?
- How do we know that the number $1$ is not equal to the number $-1$?
- What are the Implications of having VΩ as a model for a theory?
- Defining a Galois Field based on primitive element versus polynomial?
- Can't find the relationship between two columns of numbers. Please Help
- Is computer science a branch of mathematics?
- Is there a bijection of $\mathbb{R}^n$ with itself such that the forward map is connected but the inverse is not?
- Identification of a quadrilateral as a trapezoid, rectangle, or square
- Generator of inertia group in function field extension
Popular # Hahtags
geometry
circles
algebraic-number-theory
functions
real-analysis
elementary-set-theory
proof-verification
proof-writing
number-theory
elementary-number-theory
puzzle
game-theory
calculus
multivariable-calculus
partial-derivative
complex-analysis
logic
set-theory
second-order-logic
homotopy-theory
winding-number
ordinary-differential-equations
numerical-methods
derivatives
integration
definite-integrals
probability
limits
sequences-and-series
algebra-precalculus
Popular Questions
- What is the integral of 1/x?
- How many squares actually ARE in this picture? Is this a trick question with no right answer?
- Is a matrix multiplied with its transpose something special?
- What is the difference between independent and mutually exclusive events?
- Visually stunning math concepts which are easy to explain
- taylor series of $\ln(1+x)$?
- How to tell if a set of vectors spans a space?
- Calculus question taking derivative to find horizontal tangent line
- How to determine if a function is one-to-one?
- Determine if vectors are linearly independent
- What does it mean to have a determinant equal to zero?
- Is this Batman equation for real?
- How to find perpendicular vector to another vector?
- How to find mean and median from histogram
- How many sides does a circle have?

The question to which you have linked discusses the impossibility of constructing a function that is continuous, monotone, and nowhere differentiable. However, you are not being asked to construct such a function. You are being asked to construct a continuous, monotone function which is non-differentiable on a dense subset of $\mathbb{R}$.
My goto example of such a function is a function which has a little "jump" at each rational number. To build such a function, start by defining $$ f(x) = \begin{cases} 1 & \text{if $x \ge 0$, and} \\ 0 & \text{otherwise.} \end{cases} $$ This function has a jump discontinuity at zero.
Next, observe that the rational numbers are countable, which implies that there is a bijection $q : \mathbb{N} \to \mathbb{Q}$ which provides an enumeration of $\mathbb{Q}$. Let $q_n := q(n)$ for each $n\in\mathbb{N}$. At each $n$, we are going to define a function $f_n$ which has a jump discontinuity at $q_n$. In order to ensure that the function we get doesn't "blow up", we are going to build the jumps in such a way that they get small relatively quickly. Specifically, define $$ f_n(x) := \frac{f(x-q_n)}{2^n}. $$ If you prefer something more explicit, note that $$ f_n(x) = \begin{cases} 2^{-n} & \text{if $x \ge q_n$, and} \\ 0 & \text{otherwise.} \end{cases} $$
Because we have chosen the jumps in such a way that they get small fast, we can sum all of these functions and get something that converges. So define $$ g(x) = \sum_{n=1}^{\infty} f_n(x). $$ It is not too hard to show that this function converges pointwise and has a discontinuity at every rational number.
Finally, as per the hint in your homework, define $$ G(x) = \int_{a}^x g(x)\,\mathrm{d}x. $$ As per the quoted text, $G$ is not differentiable at any rational number.
Note that I have left out quite a few details which you should fill in. You should make sure that you understand why $\mathbb{Q}$ is countable and dense in $\mathbb{R}$ (unless these are facts that you are allowed to take for granted). You should also check that $g$ really is discontinuous at each rational, and you should make sure that you understand why the series defining $g$ actually converges. Finally, it might be a good idea to build $G$ a little more carefully so that it is more artfully restricted to the interval of interest, i.e. the interval $[a,b]$.
EDIT: As per the comment left below by Dave L. Renfro, these kinds of results can be pushed farther to obtain, for example, Lipschitz continuous monotone functions which are non-differentiable on a dense subset of $\mathbb{R}$. The relevant discussion is contained in this answer to another question on MSE.