Question
Question: Integrate the function: \[\int {\sin (mx)dx} \]...
Integrate the function: ∫sin(mx)dx
Solution
We solve this question by assigning the angle i.e. the term within the bracket a single variable so as to solve the integration easily. Here there is an indefinite integral used in the question, therefore we don’t have any upper limit or any lower limit to be substituted at the end in place of the variable. Also, m is a constant.
- Integration refers to the process of finding the function when its derivative is given. If we are given the derivative of a function then we can find the function by integrating both sides.
General formula for integration is ∫xndx=(n+1)xn+1+C - Integration is used to find the area under the curve, volume etc.
Complete step-by-step answer:
Consider the value inside the bracket as a single variable.
Let, mx=t
Then differentiating both the sides of the equation.
d(mx)=d(t)
Since, mis a constant therefore it can be separated out from the bracket.
m×dx=dt
Dividing both sides of the equation by m
Now, we solve the integral by substituting the values mx=t and dx=mdt in it.
Therefore, ∫sin(mx)dx=∫sin(t)×mdt
Now, since the constant term is no longer with the angle along with sine, we can bring it outside of the integral using the property ∫k×f(x)dx=k∫f(x)dx where kis a constant.
Therefore, ∫sin(t)×mdt=m1∫sin(t)dt ...(i)
Now, since we know
dxd(−cosx)=sinx
Taking dx to RHS of the equation
d(−cosx)=sinxdx
Therefore, taking integration on both sides of the equation gives
∫d(−cosx)=∫sinxdx { Since, integration and differentiation are inverse operations }
−cosx+C=∫sinxdx Where Cis constant of integration ...(ii)
Substituting the value of −cost+C=∫sintdt from equation (ii) in equation (i).
m1∫sin(t)dt=m1(−cost)+C
=m−cost+C
Now substitute the value t=mx back in the solution.
∫sin(mx)dx=m−cos(mx)+C
Note:
Students make the mistake of leaving the answer without converting it into its original variables, keep in mind if we ever do substitution in these kinds of questions always convert back the substitution after you get the answer because substitution is done to make calculations easier.
Also, some common integration of trigonometric terms is
- ∫sinxdx=−cosx+C
- ∫cosxdx=sinx+C