Advertisement
caasinehc

URI CSC 340 F22 HW1 Q6

Sep 18th, 2022
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. Base case:
  2. 1³ = 1/4 (1² (1 + 1)²)
  3. ⇔ 1 = 1
  4. ⇔ true
  5.  
  6. Inductive hypothesis:
  7. 1³ + 2³ + ... + n³ = 1/4 (n² (n + 1)²) ⇒ 1³ + 2³ + ... + n³ + (n + 1)³ = 1/4 ((n + 1)² (n + 2)²)
  8. ⇔ 1³ + 2³ + ... + n³ = 1/4 (n² (n + 1)²) ⇒ 1/4 (n² (n + 1)²) + (n + 1)³ = 1/4 ((n + 1)² (n + 2)²)
  9. ⇔ (n² (n + 1)²) + 4(n + 1)³ = ((n + 1)² (n + 2)²)
  10. ⇔ n⁴ + 6n³ + 13n² + 12n + 4 = n⁴ + 6n³ + 13n² + 12n + 4
  11. ⇔ 0 = 0
  12. ⇔ true
  13.  
  14. ∴ 1³ + 2³ + ... + n³ = 1/4 (n² (n + 1)²) ∀n ≥ 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement