Skip to main content

[Community Question] Calculus: Obtaining a step function given a condition

One of our user asked:

Find a step function s such that $$\int_{0}^{2} s(x) dx=5 \quad \int_{0}^{5} s(x) dx=2$$ The given answer is $$s(x)=\dfrac{5}{2} \quad \text{if} \quad 0 \leq x < 2$$

$$s(x)=-1 \quad \text{if} \quad -2 \leq x \leq 5$$

I don't understand how does one arrive to this solution.. even graphically trying to understand it I didn't come to a solution. Can someone please help me figure out how?


Comments

Popular posts from this blog

[Community Question] Calculus: Manifold with boundary - finding the boundary

One of our user asked: I have the manifold with boundary $M:= \lbrace (x_1,x_2,x_3) \in \mathbb R^3 : x_1\geq 0, x_1^2+x_2^2+x_3^2=1\rbrace \cup\lbrace (x_1,x_2,x_3) \in \mathbb R^3 : x_1= 0, x_1^2+x_2^2+x_3^2\leq1\rbrace$ and I need to find the boundary of this manifold. I think it is $\lbrace (x_1,x_2,x_3) \in \mathbb R^n : x_1= 0, x_2^2+x_3^2=1\rbrace$ , the other option is that the boundary is the empty set? I think the first is right? Am I wrong?

[Community Question] Linear-algebra: Are linear transformations between infinite dimensional vector spaces always differentiable?

One of our user asked: In class we saw that every linear transformation is differentiable (since there's always a linear approximation for them) and we also saw that a differentiable function must be continuous, so it must be true that all linear operators are continuous, however, I just read that between infinite dimensional vector spaces this is not necessarily true. I would like to know where's the flaw in my reasoning (I suspect that linear transformations between infinite dimensional vector spaces are not always differentiable).