3.7: Exercises
( \newcommand{\kernel}{\mathrm{null}\,}\)
Exercise 3.7.1
Consider the step function Θ(x)={1,forx≥00,otherwise. Write down an expression for the antiderivative of Θ(x), and sketch its graph.
Exercise 3.7.2
Show that ∫2π0dx[sin(x)]2=∫2π0dx[cos(x)]2=π.
Exercise 3.7.3
Calculate the following definite integrals:
- ∫π0dxx2sin(2x)
- ∫α1dxxln(x)
- ∫∞0dxe−γxcos(x)
- ∫∞0dxe−γxxcos(x)
- ∫∞−∞dxe−γ|x|
- ∫∞−∞dxe−|x+1|sin(x)
Exercise 3.7.4
By differentiating under the integral, solve ∫10dxx2−1ln(x). Hint: replace x2 in the numerator with xγ.
- Answer
-
Let us define I(γ)=∫10xγ−1ln(x), so that I(2) is our desired integral. To take the derivative, first note that ddγ(xγ)=ln(x)xγ, which can be proven using the generalized definition of the power operation. Thus, ddγI(γ)=∫10ln(x)xγln(x)=∫10xγ=11+γ. This can be integrated straightforwardly: I(γ)=∫dγ1+γ=ln(1+γ)+c, where c is a constant of integration, which we now have to determine. Referring to the original definition of I(γ), observe that I(0)=∫10(1−1)/ln(x)=0. This implies that c=0. Therefore, the answer is I(2)=ln(3).
Exercise 3.7.5
Let f(x,y) be a function that depends on two inputs x and y, and define I(x)=∫x0f(x,y)dy. Prove that dIdx=f(x,y)+∫x0∂f∂x(x,y)dy.
Exercise 3.7.6
Consider the ordinary differential equation dydt=−γy(t)+f(t), where γ>0 and f(t) is some function of t. The solution can be written in the form y(t)=y(0)+∫t0dt′e−γ(t−t′)g(t′). Find the appropriate function g, in terms of f and y(0).
- Answer
-
We are provided with the following ansatz for the solution to the differential equation: y(t)=y(0)+∫t0dt′e−γ(t−t′)g(t′). First, note that when t=0, the integral’s range shrinks to zero, so the result is y(0), as expected. In order to determine the appropriate function g, we perform a derivative in t. The tricky part is that t appears in two places: in the upper range of the integral, as well as in the integrand. So when we take the derivative, there should be two distinct terms (see problem 3.7.5): dydt=[e−γ(t−t′)g(t′)]t′=t+∫t0dt′(−γ)e−γ(t−t′)g(t′)=g(t)−γ[y(t)−y(0)]. In the last step, we again made use of the ansatz for y(t). Finally, comparing this with the original differential equation for y(t), we find that g(t)−γ[y(t)−y(0)]=−γy(t)+f(t)⇒g(t)=f(t)−γy(0). Hence, the solution to the differential equation is y(t)=y(0)+∫t0dt′e−γ(t−t′)[f(t′)−γy(0)]=y(0)e−γt+∫t0dt′e−γ(t−t′)f(t′).