The tutor shows the motivation behind the integration by parts formula. Integration by parts is a reversal of the product rule (see my post here). If we start with the product rule as (uv)’=uv’ + u’v then we integrate both …

Calculus: the formula for integration by parts Read more »

The tutor starts towards the general solution to a 2nd degree difference equation, aka recurrence relation. Back in my June 21 post, the following recurrence relation emerged: n tn 0 1 1 1 2 2 3 3 4 5 The …

Math: 2nd degree difference equation example (aka 2nd degree recurrence relation, recursive function) Read more »

The tutor shows that yesterday’s formulas to generate Pythagorean triples are valid. In yesterday’s post I showed a way to generate Pythagorean triples x, y, z from an odd number n: x n y (n²-1)/2 z (n²+1)/2 Let’s make sure …

Math: Pythagorean triples: proof of yesterday’s generating formulas Read more »

The tutor continues his discussion about Pythagorean triples. Back in my January 7, 2016 post I brought up Pythagorean triples, which are all-integer solutions to x² + y² = z² The equation above is based on the familiar a² + …

Math: number theory: a formula for generating Pythagorean triples Read more »

The tutor shares a solution to a problem from Grimaldi’s Discrete and Combinatorial Mathematics. Last night I encountered the problem (p. 481) that paraphrases as follows: Imagine a car takes two spaces, a motorbike one. Find a recursive function that …

Math: a recursive function word problem Read more »