Proving cos(nπ + x) = (-1)^ncos(x) using induction | Induction proof tutorial

In summary: So from this, and the statement that cos(k\pi+x)=-(-1)^kcos(x), it follows that cos(k\pi+x)=-(-1)^{k+1}\cos(x)
  • #1
theperthvan
184
0

Homework Statement


Prove the following using induction:
[tex]cos(n\pi + x) = (-1)^ncos(x) [/tex]

The Attempt at a Solution


Let [tex] cos(k\pi + x) = (-1)^k cos(x)[/tex]
True for k=1

Right Hand Side...
[tex](-1)^{k+1}cos(x)[/tex]
[tex]= -(-1)^k cos(x)[/tex]
[tex]= (-1)^k cos(x)[/tex]

Since [tex](-1)^{k+1}cos(x) = (-1)^k cos(x)[/tex]...
Not too sure where to go from here.
 
Last edited:
Physics news on Phys.org
  • #2
Why not take the LHS [itex]cos((k+1)\pi +x)=cos([k\pi +x]+\pi)[/itex] and use the double angle formula: cos(a+b)=cosa cosb-sina sinb?
 
  • #3
Are you claiming that's a proof for k=1, an attempt at a proof for k=1, or are you stating it is true for k=1 without any proof?

Anyway, this is about proof by induction, and obviously the left hand side is the thing you're going to want to attack inductively (since there is an obvious way to write k+1 as k plus 1 and you know you're trig formulae (cos(A+B)=cos(A)cos(B)-sin(A)sin(B) for instance...)
 
  • #4
I did the LHS, and got

[itex]cos((k+1)\pi +x) = cos(k\pi +x)[/itex]

and from before,

[tex](-1)^{k+1}cos(x) = (-1)^k cos(x)[/tex]

And so from that, and the initial statement, does that prove it?
 
  • #5
theperthvan said:
I did the LHS, and got

[itex]cos((k+1)\pi +x) = cos(k\pi +x)[/itex]

and from before,

[tex](-1)^{k+1}cos(x) = (-1)^k cos(x)[/tex]

And so from that, and the initial statement, does that prove it?


err.. isn't [tex](-1)^{k+1}\cos(x) = (-1) (-1)^k \cos(x)[/tex]

so using your assumption:
[tex]LHS=-\cos(k\pi+x)=\cos(k\pi+x+\pi)...[/tex]

ans so on... all too easy :smile:
 
  • #6
theperthvan said:
I did the LHS, and got

[itex]cos((k+1)\pi +x) = cos(k\pi +x)[/itex]

this is wrong: look at the graph of cos(x).

and from before,

[tex](-1)^{k+1}cos(x) = (-1)^k cos(x)[/tex]

And so from that, and the initial statement, does that prove it?

this is also wrong: you've just said 1=-1.
 
  • #7
matt grime said:
this is wrong: look at the graph of cos(x).
this is also wrong: you've just said 1=-1.

Oops, silly mistake.

So let me try this again,

[tex]cos(k\pi + x) = (-1)^kcos(x)[/tex]

RHS
[tex](-1)^{k+1}cosx = -(-1)^{k}cosx [/tex]

LHS
[tex]cos[(k+1)\pi + x] = cos[(k\pi + x) + \pi][/tex]
using double angle formula,
[tex]= -cos(k\pi + x)[/tex]

And so, [tex]cos[(k+1)\pi + x] = (-1)^{k+1}cosx[/tex]
=> [tex]-cos(k\pi + x) = -(-1)^{k}cosx[/tex]

kill the negatives

[tex]cos(k\pi + x) = (-1)^{k}cosx[/tex]

Cheers,
 
Last edited:
  • #8
theperthvan said:
Oops, silly mistake.

So let me try this again,

[tex]cos(k\pi + x) = (-1)^kcos(x)[/tex]

RHS
[tex](-1)^{k+1}cosx = -(-1)^{k}cosx [/tex]

LHS
[tex]cos[(k+1)\pi + x] = cos[(k\pi + x) + \pi][/tex]
using double angle formula,
[tex]= -cos(k\pi + x)[/tex]

And so, [tex]cos[(k+1)\pi + x] = (-1)^{k+1}cosx[/tex]
=> [tex]-cos(k\pi + x) = -(-1)^{k}cosx[/tex]

Here, you've assumed that the statement holds for n=k+1, and used this to prove for n=k. This to me doesn't seem right, as surely you need to show that the statement holding for n=k => the statement is true for n=k+1.

To do this, we suppose that [itex]\cos(k\pi+x)=(-1)^k\cos(x)[/itex] is true. Now, we use this to prove that it hold for n=k+1; [tex]\cos([k+1]\pi+x)=\cos([k\pi+x]+\pi)=-\cos(k\pi+x)=-(-1)^k\cos(x)=(-1)^{k+1}\cos(x)[/tex] , where we note that the penultimate equality holds from our inductive hypothesis that [itex]\cos(k\pi+x)=(-1)^k\cos(x)[/itex]
 
Last edited:
  • #9
What are you doing? LHS and RHS of what? Not what you wrote one line above.

Induction proofs are taught by rote. So reproduce the style of proof.

And don't write things going from both sides like this. Sure, that's often how you work out what's going on (to get from A to B yo go from A to C and from B to C as well). What you write should be a simple argument with no jumping around:

It's trivially true for n=1.

Consider cos(pi(k+1)+x), and simplify it and now use the inductive hypothesis that the result is true for k (and everything between 1 and k as well if necessary - it isn't in this case).
 

1. What is induction and how is it used in mathematical proofs?

Induction is a mathematical technique used to prove statements or properties that hold for an infinite set of values. It involves showing that a statement is true for a base case, and then proving that if the statement holds for a particular value, it also holds for the next value. This process is repeated until the statement is shown to be true for all values in the infinite set.

2. What is the statement being proved in this induction proof?

The statement being proved is that cos(nπ + x) = (-1)^ncos(x) for all values of n, where n is a non-negative integer and x is any real number.

3. What is the base case for this induction proof?

The base case is when n = 0. In this case, cos(0π + x) = cos(x) and (-1)^0cos(x) = cos(x), so the statement is true.

4. How is the inductive step shown in this proof?

The inductive step involves assuming that the statement is true for a particular value of n (called the inductive hypothesis) and then using this assumption to show that the statement is also true for the next value of n. In this proof, the inductive step involves showing that if cos(nπ + x) = (-1)^ncos(x) is true for a particular value of n, then it is also true for n+1.

5. Why is it important to use induction in this proof?

Induction is important in this proof because it allows us to prove a statement for an infinite set of values without having to test each individual value. By using the inductive step, we can show that if the statement holds for one value, it also holds for the next value and therefore for all values in the set. This saves time and effort in the proof process.

Similar threads

  • Calculus and Beyond Homework Help
Replies
1
Views
323
  • Calculus and Beyond Homework Help
Replies
2
Views
898
  • Calculus and Beyond Homework Help
Replies
8
Views
197
  • Calculus and Beyond Homework Help
Replies
6
Views
1K
  • Calculus and Beyond Homework Help
Replies
6
Views
919
  • Calculus and Beyond Homework Help
Replies
4
Views
207
  • Calculus and Beyond Homework Help
Replies
4
Views
1K
  • Calculus and Beyond Homework Help
Replies
6
Views
739
  • Calculus and Beyond Homework Help
Replies
3
Views
539
  • Calculus and Beyond Homework Help
Replies
2
Views
238
Back
Top