Structured Derivation Template

Example 1—Expanding a quadratic expression

(x+y)2 open paren x plus y close paren squared

Step 1—Write as a product

(x+y)⁢(x+y) open paren x plus y close paren times open paren x plus y close paren

Step 2—Expand

x⁢(x+y)+y⁢(x+y) x times open paren x plus y close paren plus y times open paren x plus y close paren

Step 3—Distribute

x2+x⁢y+x⁢y+y2 x squared plus x y plus x y plus y squared

Step 4—Combine terms

x2+2⁢x⁢y+y2 x squared plus 2 x y plus y squared

Result

(x+y)2=x2+2⁢x⁢y+y2 open paren x plus y close paren squared equals x squared plus 2 x y plus y squared

Example 2—Derivative

Problem

Compute dx3dx d x cubed over d x

Step 1—Use derivative definition

limh→0⁡(x+h)3-x3h lim over h right arrow 0 of the fraction with numerator open paren x plus h close paren cubed minus x cubed and denominator h

Step 2—Expand the cube

(x+h)3=x3+3⁢x2⁢h+3⁢x⁢h2+h3 open paren x plus h close paren cubed equals x cubed plus 3 x squared h plus 3 x h squared plus h cubed

Step 3—Substitute

x3+3⁢x2⁢h+3⁢x⁢h2+h3-x3h the fraction with numerator x cubed plus 3 x squared h plus 3 x h squared plus h cubed minus x cubed and denominator h

Step 4—Simplify

3⁢x2+3⁢x⁢h+h2 3 x squared plus 3 x h plus h squared

Step 5—Take the limit

3⁢x2 3 x squared

Result

dx3x=3⁢x2 d x cubed over x equals 3 x squared

Example 3—Matrix multiplication

Matricies

A=[1234] A equals the 2 by 2 matrix Row 1: 1 2 Row 2: 3 4 B=[2103] B equals the 2 by 2 matrix Row 1: 2 1 Row 2: 0 3

Multiply

A⁢B=[1⋅2+2⋅01⋅1+2⋅33⋅2+4⋅03⋅1+4⋅3] A B equals the 2 by 2 matrix Row 1: Column 1, 1 times 2 plus 2 times 0 Column 2, 1 times 1 plus 2 times 3 Row 2: Column 1, 3 times 2 plus 4 times 0 Column 2, 3 times 1 plus 4 times 3

Result

A⁢B=[27615] A B equals the 2 by 2 matrix Row 1: 2 7 Row 2: 6 15

Example 4—Differential equation

Equation

dPdt=k⁢P d P over d t equals k P

Step 1—Separate variables

dPP=k⁢dt d P over P equals k d t

Step 2—Integrate

∫dPP=∫k⁢dt the integral of d P over P equals the integral of k d t

Step 3—Evaluate

ln⁡P=k⁢t+C l n P equals k t plus C

Step 4 — Solve for P(t)

P⁡(t)=C⁢ℇk⁢t P of t equals C ℇ raised to the k t power

Result

If P⁡(0)=P0, P of 0 equals P sub 0 comma P⁡(t)=P0⁢ℇk⁢t P of t equals P sub 0 ℇ raised to the k t power