While following this solution for warping functions, there is a part that I would need some clarification on. The author has stated that using orthogonality of terms in the sine series $\int_{-a}^a{\sin(k_nx)\sin(k_mx)dx}=a$ if $m=n$ then $$ \int_{-a}^a{B_n\sin(k_nx)\sin(k_mx)dx}=\int_{-a}^a{2x\sin(k_mx)dx} $$ is $$ B_ma=\frac{4\sin(k_ma)}{ak_m^2} $$ where $B_n$ is a constant and $k_n=k_m=\frac{(2n+1)\pi}{2a}$ where $m=n=0,1,2,3...$. I don't have problems with the left side of that equation, what I do have a problem with is the right side. According to Matlab, $$ \int_{-a}^a{2x\sin(k_mx)dx}=\frac{4(\sin(ak_m) - ak_m\cos(ak_m))}{k_m^2} $$ and I can't understand why the two answers are different, in the solution there is no $\cos$ term and there's $1/a$. I'm following the solution because I have a slightly different equation where $G$ is a constant and according to Matlab $$ \int_{-b}^b{2y\sin(\sqrt{G}k_my)dy}=\frac{4(\sin(\sqrt{G}bk_m) - \sqrt{G}bk_m\cos(\sqrt{G}bk_m))}{Gk_m^2} $$ I don't see how $\cos(\sqrt{G}bk_m)$ is supposed to disappear to leave only the sine term, plus there's no $1/b$.
2026-03-28 10:17:16.1774693036
Confusion regarding a definite integral in a solution
64 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
1
There are 1 best solutions below
Related Questions in DEFINITE-INTEGRALS
- 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)$?
- Closed form of integration
- Integral of ratio of polynomial
- An inequality involving $\int_0^{\frac{\pi}{2}}\sqrt{\sin x}\:dx $
- How is $\int_{-T_0/2}^{+T_0/2} \delta(t) \cos(n\omega_0 t)dt=1$ and $\int_{-T_0/2}^{+T_0/2} \delta(t) \sin(n\omega_0 t)=0$?
- Roots of the quadratic eqn
- Area between curves finding pressure
- Hint required : Why is the integral $\int_0^x \frac{\sin(t)}{1+t}\mathrm{d}t$ positive?
- A definite integral of a rational function: How can this be transformed from trivial to obvious by a change in viewpoint?
- Integrate exponential over shifted square root
Related Questions in TRIGONOMETRIC-INTEGRALS
- Sine of the sum of two solutions of $a\cos\theta + b \sin\theta = c$
- Tan of difference of two angles given as sum of sines and cosines
- strange partial integration
- Solution of the trigonometric equation $\sin5x =\cos2x$
- How to compute $\int_{0}^{1}\left (\frac{\arctan x}{1+(x+\frac{1}{x})\arctan x}\right )^2dx$
- What happens to $\int_a^b \sin(\sqrt[n]{x})\,dx$ as $n\to\infty$?
- Prove that $\forall k>0,\ \int_0^{+\infty}\frac{\sin x}{x+k}dx<\frac1k$.
- Calculate Stieltjes Polynomial
- Integral of function from $0$ to $\pi$ using $\sin x=t$ substitution
- Find an appropriate trigonometric substitution of the form x=f(t) to simplify the integral
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
second-order-logic
numerical-methods
puzzle
logic
probability
number-theory
winding-number
real-analysis
integration
calculus
complex-analysis
sequences-and-series
proof-writing
set-theory
functions
homotopy-theory
elementary-number-theory
ordinary-differential-equations
circles
derivatives
game-theory
definite-integrals
elementary-set-theory
limits
multivariable-calculus
geometry
algebraic-number-theory
proof-verification
partial-derivative
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?
Let's calculate $$\int_{-a}^a2x\sin(x)dx$$ by hand using integration by parts. Recall that $\int fdg=fg-\int gdf$. We of course set $f=2x$. $$\int_{-a}^a2x\sin(x)dx=\left[\frac{-2x\cos(k_mx)}{k_m}\right]_{x=-a}^a+\frac{2}{k_m}\int_{-a}^a \cos(k_mx)dx\\ =\frac{-2a\cos(k_ma)-2a\cos(-k_ma)}{k_m}+\frac{2}{k_m}\left[\frac{\sin(k_mx)}{k_m}\right]_{x=-a}^a\\ = \frac{-2a\cos(k_ma)-2a\cos(-k_ma)}{k_m}+\frac{2}{k_m}\frac{\sin(k_ma)-\sin(-k_ma)}{k_m}.$$ Since $\cos(k_ma)=\cos(-k_ma)$ and $\sin(-k_ma)=-\sin(k_ma)$ we obtain $$=\frac{-4\cos(k_ma)}{k_m}+\frac{2}{k_m}\frac{2\sin(k_ma)}{k_m}=\frac{4\sin(k_ma)}{k_m^2},$$ where we used that $$\cos(k_ma)=\cos\left(\frac{2n+1}{2}\pi\right)=0.$$ (Recall that $\cos(n\pi/2)=0$ for all $n$, thus in particular for odd $n$.)
I guess the missing factor $\frac{1}{a}$ is a typo in your question or the book. At least I can't find any error in my calculation at the moment.
NB: Note that $$\sin(k_ma)=(-1)^n$$ so you obtain in the end $$\frac{4\sin(k_ma)}{k_m^2}=\frac{4(-1)^n(2a)^2}{(2n+1)^2\pi^2}=\frac{16(-1)^na^2}{(4n^2+2n+1)\pi^2}.$$