Skip to main content

[Community Question] Calculus: integral of differences of vector

One of our user asked:

I have a vector function $f: \mathbb{R}^n \to \mathbb{R}^n$ defined with components $$ f_i(a) = \sum_{j=1}^n \sin(a_i - a_j) $$ which I want to integrate from ${\bf{\alpha}}^0$ to ${\bf{\alpha}}^1$ where ${\bf{\alpha}}^k = [\alpha^k_1, \ldots, \alpha^k_n]$ for $k \in \{1,2\}$. So the problem looks like $$ \int_^0}^^1} f(a)^{\top} {\rm d}\, a. $$ I thought that I could integrate as below $$ \int_{\alpha^0}^{\alpha^1} \sum_{i=1}^n \left\{ \sum_{j=1}^n \sin(a_i - a_j)\right\} {\rm d}a_i $$ by expanding the inner product in the integrand. I think that I can then write the integral as $$ \int_{(\alpha_1^0, \ldots, \alpha_n^0)}^{(\alpha_1^1, \ldots, \alpha_n^1)} \sum_{i=1}^n \left\{ \sum_{j=1}^n \sin(a_i - a_j)\right\} {\rm d}a_i = \sum_{i=1}^n \int_{\hat{\alpha}_i^0}^{\hat{\alpha}_i^1} \left\{ \sum_{j=1}^n \sin(a_i - a_j)\right\} {\rm d}a_i $$ where $\hat{\alpha}_i^0$ treats every component of $a$ as fixed $\alpha_j^0$ for $j \neq i$, which I think would give $$ \sum_{i=1}^n \sum_{j=1}^n \left[ \cos(\alpha_i^1 - \alpha_j^1) - \cos(\alpha_i^0 - \alpha_j^0) \right]. $$ Is this correct?


Comments

Popular posts from this blog

[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).

[Community Question] Calculus: prove $\int_0^\infty \frac{\log^2(x)}{x^2+1}\mathrm dx=\frac{\pi^3}{8}$ with real methods

One of our user asked: I am attempting to prove that $$J=\int_0^\infty\frac{\log^2(x)}{x^2+1}\mathrm dx=\frac{\pi^3}8$$ With real methods because I do not know complex analysis. I have started with the substitution $x=\tan u$ : $$J=\int_0^{\pi/2}\log^2(\tan x)\mathrm dx$$ $$J=\int_0^{\pi/2}\log^2(\cos x)\mathrm dx-2\int_{0}^{\pi/2}\log(\cos x)\log(\sin x)\mathrm dx+\int_0^{\pi/2}\log^2(\sin x)\mathrm dx$$ But frankly, this is basically worse. Could I have some help? Thanks.