Analyzing the Setup
Welcome, future engineers! Today, we are not just solving an integral; we are embarking on a journey through the elegance of mathematical induction.
We are tasked with proving that the integral
is equal to mπ for all non-negative integers m. This problem is a classic, and it hides a beautiful symmetry that reveals itself only when we approach it with patience and the right tools.
The Foundation
Every great structure needs a solid foundation. In induction, this is our base case.
We start by testing m=0. When we substitute m=0 into our integral, the numerator becomes 1−cos(0), which is 1−1=0. The integral of zero is simply zero, and our formula mπ also gives 0⋅π=0.
Because our recurrence relation will eventually link three consecutive terms (Ik+1,Ik,Ik−1), we need a second base case to get the engine running. Let us test m=1:
I1=∫0π1−cosx1−cosxdx=∫0π1dx=π
Since our formula mπ gives 1⋅π=π, both base cases are rock solid.
The Inductive Leap
Now, we assume the formula holds for two consecutive integers, k−1 and k. That is, we assume Ik−1=(k−1)π and Ik=kπ.
Our mission is to prove that Ik+1=(k+1)π. To bridge this gap, we look at the combination Ik+1+Ik−1−2Ik.
When we write this as a single integral, the numerator becomes:
(1−cos(k+1)x)+(1−cos(k−1)x)−2(1−coskx)
The constant terms 1+1−2 vanish, leaving us with 2coskx−cos(k+1)x−cos(k−1)x.
The Trigonometric Magic
This is where the beauty of trigonometry shines. We have the term cos(k+1)x+cos(k−1)x.
Using the sum-to-product identity cos(A+B)+cos(A−B)=2cosAcosB, we can transform this into 2coskxcosx. Now, look at our numerator:
2coskx−2coskxcosx=2coskx(1−cosx)
When we place this back over our denominator, 1−cosx, the entire fraction simplifies beautifully:
Ik+1+Ik−1−2Ik=∫0π2coskxdx
Since ∫0πcoskxdx=0 for any integer k≥1, we have Ik+1+Ik−1−2Ik=0, or Ik+1=2Ik−Ik−1.
Final Calculation
With our recurrence relation Ik+1=2Ik−Ik−1 in hand, we substitute our inductive hypotheses:
Simplifying this, we get 2kπ−kπ+π, which is exactly (k+1)π.
We have proven that if the formula works for two steps, it must work for the next. By the principle of mathematical induction, the formula Im=mπ is true for all non-negative integers m.