Unit 4: differentiation rules and composition

Download complete text, exercises and explained keys

BRULE SCHOOL — DIFFERENTIAL CALCULUS AND MATHEMATICAL MODELLING

UNIT 4 — DIFFERENTIATION RULES AND COMPOSITION

Version 0.1 — original continuation authored 1 November 2026

OPTIONAL INDEPENDENT NON-CREDIT STUDY

CONTINUITY

This unit continues the reviewed Units 1–3. It preserves V(t)=120+8t-t^2 litres, 0<=t<=3 minutes, and the separate display rule M. Units 5–10 remain unfinished. This optional reading collection has no course-completion record or credential.

STUDY CARD

Prerequisites: the derivative definition, limits and continuity distinctions from Units 1–3; algebraic expansion, factorisation, fractions, integer exponents and substitution. Trigonometric/exponential derivatives are deliberately deferred to Unit 5. Paper and pencil suffice; an existing calculator is optional. No installation, accounts, data collection or real apparatus needed.

Suggested time: 6–8 hours, unpiloted, including practice and revision. This is a planning estimate, not a credit value or measured learning time.

Outcomes: derive basic differentiation rules from limits; select and combine product, quotient and chain rules; retain original domain restrictions; explain what is proved versus assumed; verify a derivative by a second method; interpret a composed fictional tank rate with correct units.

Evidence: attempted exercises, workbook, homework, quiz and milestone 4, plus a labelled correction record. Self-check points follow the prior pattern: workbook 4 + homework 6 + quiz 10 + project 10 = 30. No automatic grade, assessed qualification or pass threshold is supplied. The optional unscored exercises deepen practice without inflating the point total.

RETRIEVAL BEFORE STARTING

R1: For f(x)=x^2 at x=a, write the simplified difference quotient and its limit. Keep h!=0 until cancellation.

R2: For (x^2-1)/(x-1), what is the original domain? Does rewriting as x+1 restore the missing input?

R3: Why must the tank derivative use V rather than silently substituting V for the original M at t=2?

Keys are at the end. If cancellation, domains or the limit-versus-value distinction remain unclear, revisit the corresponding earlier unit before combining rules.

4.1 WHAT A RULE SAVES — AND WHAT IT DOES NOT

A differentiation rule is a theorem about the derivative defined by a limit. It saves repeated algebra; it is not an instruction to ignore that definition or the function's domain. Unless stated otherwise, derivatives here are two-sided derivatives at interior points of real domains. At endpoints of a restricted model, only an appropriate one-sided rate may be available. A formula derived for an extension beyond the model's interval does not establish that the model is valid there.

The facts about sums, products and quotients of finite limits from earlier study are assumed here. The algebraic binomial theorem for positive integer powers is also assumed. Below we derive the constant, positive-integer power, constant-multiple and sum rules from these facts; derive the product rule using differentiability implies continuity; and obtain the quotient rule from a reciprocal calculation and the product rule. The general chain rule is stated as an accepted theorem with an explanation and examples, not passed off as a complete proof. No real-exponent power rule or derivative of a square root is needed in this unit.

4.2 CONSTANTS, POWERS AND LINEAR COMBINATIONS

If f(x)=c, then [f(x+h)-f(x)]/h=(c-c)/h=0 for h!=0. Its limit is 0. Thus a constant function has derivative zero. This does not mean its value is zero: the constant function 17 has value 17 and derivative 0 everywhere.

For f(x)=x^n with positive integer n, expand (x+h)^n. Its first terms are x^n+n*x^(n-1)*h. Every remaining term has h to power at least 2. After subtracting x^n and dividing by nonzero h, the expression is n*x^(n-1) plus terms each containing a positive power of h. At a fixed real x those extra terms tend to zero. Therefore (x^n)'=n*x^(n-1). For n=1 the quotient is exactly 1 and there are no extra terms. Treat n=0 separately as the constant function 1, avoiding an unnecessary expression such as 0*x^(-1) at x=0.

Worked derivation E1: f(x)=x^4.

[(x+h)^4-x^4]/h = 4x^3+6x^2*h+4x*h^2+h^3, h!=0.

Its limit is 4x^3, for every real x. At x=-2 the derivative is -32. The function value is 16; neither number replaces the other.

If f and g are differentiable at x and a,b are fixed real constants, the difference quotient of a*f+b*g is a times f's quotient plus b times g's quotient. Taking finite limits yields (a*f+b*g)'=a*f'+b*g'. The coefficients must be constant with respect to the variable of differentiation. Replacing a by a changing function introduces a product, not a constant multiple.

Worked example E2: p(x)=3x^4-5x^2+7x-9.

p'(x)=12x^3-10x+7, on all real x. At x=2, p'(2)=96-20+7=83. Each term's derivative is added with its sign. The constant -9 contributes zero; it does not disappear from p itself.

Guided G1: Differentiate 2x^5-3x^3+4. First list each exponent and coefficient. Then evaluate the derivative at x=-1.

Independent I1: Differentiate 4x^3-7x+2 and use the definition directly at x=0 as a second check.

4.3 WHY PRODUCTS NEED TWO TERMS

For a product f*g, add and subtract f(x+h)g(x) in the numerator. The difference quotient becomes

f(x+h)*[g(x+h)-g(x)]/h + g(x)*[f(x+h)-f(x)]/h.

Differentiability of f at x implies continuity there: f(x+h)-f(x) equals h times its difference quotient, and this product tends to zero because the quotient has a finite limit. Consequently f(x+h) tends to f(x). Taking limits gives

(f*g)'(x)=f(x)g'(x)+g(x)f'(x).

Both functions must be differentiable at the point for this theorem's hypothesis. These are sufficient conditions; if one fails, the theorem cannot decide the result, but the product might still be differentiable by another argument.

Worked example E3: y=(x^2+3)(2x-1).

Product rule: y'=2x(2x-1)+2(x^2+3)=6x^2-2x+6.

Independent algebra: y=2x^3-x^2+6x-3, whose polynomial derivative is the same. At x=1, y'=10. Multiplying the derivatives instead gives (2x)(2)=4x, which wrongly predicts 4 there.

The product rule accounts for changes in either factor. A tiny change in both also produces a product of increments, but under differentiability that contribution vanishes after division and the limiting process. This explanation supplements the derivation; it does not justify skipping its hypotheses.

Guided G2: For (x^3-2)(x^2+1), name the two factors, write both product-rule terms and simplify.

Independent I2: Differentiate x^2(3x+4) twice: by expansion and by the product rule. Compare at x=-1.

4.4 QUOTIENTS, RECIPROCALS AND HOLES

For a differentiable g with g(x)!=0, continuity ensures g(x+h) remains nonzero for sufficiently small h. The reciprocal quotient is

[1/g(x+h)-1/g(x)]/h

= -[g(x+h)-g(x)]/[h*g(x+h)*g(x)].

Its limit is -g'(x)/g(x)^2. Applying the product rule to f*(1/g) gives

(f/g)'=(f'g-fg')/g^2, wherever f,g are differentiable and g!=0.

The order in the numerator matters. The denominator is the square of the original denominator, not the derivative of the denominator. A zero denominator excludes that input before and after differentiation.

Worked example E4: q(x)=(x^2+2)/(x+1), original domain x!=-1.

q'=[2x(x+1)-(x^2+2)]/(x+1)^2

=(x^2+2x-2)/(x+1)^2, x!=-1.

At x=1, q'=1/4. A numerical slope near 1 can corroborate this local value, but it cannot prove the formula everywhere or test the excluded input -1.

Worked example E5: r(x)=(x^2-4)/(x-2), domain x!=2.

Factoring gives r(x)=x+2 only for x!=2, so r'=1 on that domain. There is no r'(2), because r(2) is not defined. A new function extended by setting the value at 2 to 4 is differentiable there; that statement concerns the new function, not an erased restriction on r.

Negative integer powers follow without assuming the general real-power rule. If m is a positive integer, x^(-m)=1/x^m for x!=0. The reciprocal calculation gives -m*x^(m-1)/x^(2m)=-m*x^(-m-1). For example (x^(-3))'=-3x^(-4), x!=0. This statement does not settle arbitrary fractional or irrational exponents and their domains.

Guided G3: Differentiate (2x+3)/(x-1), retaining the exclusion.

Independent I3: Differentiate (x^2+1)/(x-2), and evaluate at x=0. Explain why x=2 is not an acceptable numerical test point.

4.5 COMPOSITION: A CHANGING INPUT TO ANOTHER FUNCTION

For y=F(g(x)), g acts first. The chain rule states: if g is differentiable at x and F is differentiable at g(x), with the composition defined in the relevant neighbourhood, then

y'=F'(g(x))*g'(x).

This theorem is assumed in this unit. The outer derivative must be evaluated at the inner value; F'(x) alone is not enough. Do not prove the rule by blindly dividing by g(x+h)-g(x): that difference can be zero for nonzero h. A rigorous general argument must handle that case. Our applications check the theorem's conditions rather than pretending that cancellation always works.

Original diagram U4-D1:

input x --g--> intermediate u --F--> output y

local input change: dx

intermediate first-order change: approximately g'(x)*dx

output first-order change: approximately F'(g(x))*g'(x)*dx

Text equivalent: the inner function converts input to an intermediate value. The outer function converts that intermediate value to output. Local scale factors multiply, with the outer factor evaluated at the intermediate value. This is an explanatory first-order picture, not an assertion of exact finite changes or a second proof of the theorem. It requires no colour, spatial perception or animation.

Worked example E6: y=(2x^2+1)^3.

Let g(x)=2x^2+1 and F(u)=u^3. Then g'=4x and F'(u)=3u^2. Therefore y'=12x(2x^2+1)^2, all real x. At x=1 the derivative is 108. Expansion gives y=8x^6+12x^4+6x^2+1 and derivative 48x^5+48x^3+12x, agreeing algebraically. The unmultiplied expression 3(2x^2+1)^2 misses how quickly the inside changes.

Worked example E7: z=1/(3x-2)^2=(3x-2)^(-2).

Use the negative-integer result for the outer function, then the chain rule: z'=-2(3x-2)^(-3)*3=-6/(3x-2)^3. Domain x!=2/3. At x=1, z'=-6. A negative rate is compatible with a positive function value.

Composition is not multiplication. For a(x)=x^2+1 and b(x)=3x, a(x)*b(x)=(x^2+1)(3x) differs from a(b(x))=(3x)^2+1. The first needs product reasoning (or expansion); the second is a composition. Parentheses and named intermediate values help expose the difference.

Guided G4: Differentiate (1-3x)^4. Name inside and outside, and explain the derivative's sign at x=0.

Independent I4: Differentiate x*(x^2+2)^2, showing both product and chain reasoning. Verify by expansion.

4.6 A RULE-SELECTION WORKFLOW

1. Record the original real domain and, for a model, its narrower permitted interval.

2. Read the outermost operation: sum, product, quotient or composition. Simplification may reduce work but must not erase excluded inputs.

3. Name factors or inner/outer functions. Write the rule before arithmetic.

4. Simplify while retaining restrictions. Give derivative units for a measured model.

5. Check one example by another method: expansion, the original limit or a nearby slope at an allowed interior point. A numerical match is a check, not a proof or universal accuracy guarantee.

6. State where hypotheses fail. If a rule is inapplicable, investigate directly or report the limit of the current method rather than automatically declaring “no derivative.”

WORKBOOK — 4 POINTS

U4-W1 For p(x)=5x^4-2x^2+6, calculate p'(x) and p'(1). Award 1 for rule-based derivative, 1 for evaluation. (2)

U4-W2 For y=(x^2+1)^2, identify inner/outer functions and give the complete derivative. Award 1 for decomposition, 1 for derivative with inner factor. (2)

HOMEWORK — 6 POINTS

U4-H1 Differentiate (x^2-1)(x+3), show expansion as an independent check and give its derivative domain. Award 1 for product rule, 1 for agreement after expansion, 1 for domain. (3)

U4-H2 Differentiate (x+2)/(x-3). State original domain; derive the expression; explain why cancellation of a common factor in a different problem would not automatically restore a missing point. Award 1 for each. (3)

QUIZ — 10 POINTS — ATTEMPT BEFORE KEYS

U4-Q1 Derive the constant rule from the definition and distinguish c from its derivative. (2: quotient/limit 1; distinction 1)

U4-Q2 Differentiate (3x^2+2)^2 and evaluate at x=1. (3: outer term 1; inner factor 1; evaluation 1)

U4-Q3 For f(x)=(x^2-9)/(x-3), give the derivative on its domain and decide whether f'(3) exists. Explain. (3: derivative 1; restriction 1; point-value reasoning 1)

U4-Q4 A learner claims (fg)'=f'g'. Disprove it using f=x and g=x and give the correct product rule. (2: counterexample 1; corrected rule 1)

MISCONCEPTION CHECKS — UNSCORED

M1: “The chain rule always requires a positive inner derivative.” Refute with G4.

M2: “A simplified derivative formula automatically defines a derivative at every real input.” Refute with E5.

M3: “If f or g is not differentiable, their product cannot be differentiable.” Consider f=g=|x| at zero; the product is x^2. Distinguish sufficient hypotheses from necessary conditions.

CUMULATIVE PROJECT — MILESTONE 4 — 10 POINTS

Keep milestones 1–3 and the original V and M definitions unchanged. All quantities are fictional; do not measure or alter a real tank.

Part A: Recover V'(t)=8-2t using rules and compare V'(2) with milestone 3's difference-quotient result. Give units and the interior model interval. (3: formula 1; agreement 1; units/domain 1)

Part B: Introduce a separate time-reparameterised scenario W(s)=V(s/2), where s is also measured in minutes, 0<=s<=6. The ratio 1/2 is dimensionless: the old model's time input advances half as fast as the new scenario clock. This is a fictional model comparison, not a claim that an actual flow has been changed. Derive W'(s), evaluate W(4), W'(4), and explain why the volume agrees with V(2) while the rates differ. (3: formula 1; values 1; explanation 1)

Part C: Write W as a polynomial and differentiate it independently. Confirm the result at s=4, then give a centred finite-difference check with h=0.1 minute, using points within the allowed interval. Explain why a matching model calculation does not verify a real process. (2: independent polynomial check 1; finite difference with limitation 1)

Part D: State why M cannot silently replace V in the chain calculation at s=4. Preserve the earlier record and label any revised display function separately. Explain what this unit did and did not prove about differentiation rules. (2: original-rule preservation 1; theorem/proof distinction 1)

Project rubric: fully earn a criterion only when the calculation and interpretation requested are present; give a partial point only where the criterion explicitly divides into subpoints. Maximum 10, no automatic marking. Wrong units, erased model restrictions, unlabelled replacement of M, or treating fiction as engineering validation must be revised regardless of total. Retain first attempt and correction rationale.

SEPARATE EXPLAINED KEYS — READ AFTER ATTEMPT

R1: quotient 2a+h for h!=0, limit 2a. R2: domain excludes 1; the equality with x+1 holds only there, so simplifying does not fill the hole. R3: M(2)=131 differs from V(2)=132; its discontinuity cannot be erased by changing which function is being differentiated without saying so.

G1: 10x^4-9x^2; at -1 the value is 1. The constant 4 has derivative zero.

I1: derivative 12x^2-7. At zero the quotient [4h^3-7h]/h=4h^2-7 tends to -7.

G2: 3x^2(x^2+1)+2x(x^3-2)=5x^4+3x^2-4x. Both factors contribute.

I2: 2x(3x+4)+3x^2=9x^2+8x. Expanding gives 3x^3+4x^2, hence the same result. At -1 the derivative is 1.

G3: [2(x-1)-(2x+3)]/(x-1)^2=-5/(x-1)^2, x!=1.

I3: [2x(x-2)-(x^2+1)]/(x-2)^2=(x^2-4x-1)/(x-2)^2; at zero -1/4. Original function is undefined at 2, so it has no derivative there.

G4: outer u^4, inner 1-3x; derivative -12(1-3x)^3. At zero -12, because the inner input decreases as x increases.

I4: (x^2+2)^2+x*2(x^2+2)*2x=(x^2+2)(5x^2+2). Expansion of the original gives x^5+4x^3+4x; derivative 5x^4+12x^2+4, agreeing.

W1: p'=20x^3-4x, p'(1)=16. W2: inner x^2+1, outer u^2; y'=4x(x^2+1).

H1: 2x(x+3)+(x^2-1)=3x^2+6x-1. Expansion x^3+3x^2-x-3 yields the same derivative. Both original and derivative domains are all real x.

H2: [(x-3)-(x+2)]/(x-3)^2=-5/(x-3)^2, original domain x!=3. Algebraic simplification is equality on the original domain; assigning a value at a missing point is a separately defined extension, not an automatic consequence.

Q1: (c-c)/h=0 for h!=0; limit zero. Function value c need not be zero.

Q2: 2(3x^2+2)*6x=12x(3x^2+2); at 1 the derivative is 60.

Q3: f=x+3 only for x!=3; derivative 1 there. f(3) is undefined, so f'(3) does not exist for the stated function.

Q4: fg=x^2 gives derivative 2x, while f'g'=1. These are not equal as functions. Correct rule f'g+fg'.

M1: G4 has inner derivative -3 and is valid. M2: E5's simplified derivative 1 cannot repair its missing original value. M3: |x| is not differentiable at zero but its square x^2 is. Failure of a sufficient condition does not prove failure of the conclusion.

PROJECT KEY

A: V'=8-2t L/min, 0<t<3 for the ordinary two-sided model derivative. At t=2, 4 L/min agrees with Unit 3. The polynomial has an algebraic extension beyond the interval, but this does not enlarge the stated model validity.

B: W'=V'(s/2)*(1/2)=(8-s)/2=4-s/2 L/min, 0<s<6. W(4)=V(2)=132 L. W'(4)=2 L/min. Same represented volume at corresponding inputs does not require the same rate per new-clock minute; the new clock maps to old time with scale 1/2.

C: W(s)=120+4s-s^2/4, derivative 4-s/2. W(3.9)=131.7975 L and W(4.1)=132.1975 L. Their difference 0.4 L divided by 0.2 min gives 2 L/min. For this quadratic the centred difference equals the derivative at the centre exactly; that is not a universal finite-difference identity. Fictional model agreement is not measurement evidence or real-system validation.

D: M(s/2) at s=4 equals 131 L while the nearby limit is 132 L; it is discontinuous there and cannot have a finite ordinary derivative. Using V instead is a separately stated choice. This unit derived constant, positive-integer power, linear combination, product and quotient rules from stated prior facts; it assumed the general chain theorem. It did not prove all real-power rules, general numerical error bounds, or physical model accuracy. Preserve the earlier display record and label a continuous redefinition if one is discussed.

PROVENANCE AND STATUS

The explanations, numerical cases, text diagram, tasks and keys are original authoring. Optional primary reference pages checked 1 November 2026:

S1 OpenStax Calculus Volume 1, 3.3 Differentiation Rules — https://openstax.org/books/calculus-volume-1/pages/3-3-differentiation-rules

S2 OpenStax Calculus Volume 1, 3.6 The Chain Rule — https://openstax.org/books/calculus-volume-1/pages/3-6-the-chain-rule

These references corroborate rule statements and progression; no textbook exercises, diagrams or media are reproduced. No provider endorsement or blanket rights clearance claimed. The presentation deliberately labels the general chain theorem assumed rather than reproducing an incomplete cancellation argument as a proof.

Learning limits: this unit has locally checked calculations and independent mathematical review. These are not learner results, device tests or specialist grading. No real tank operation is authorised. Units 5–10 remain unfinished; the next planned topic is trigonometric and exponential models, requiring the stated trigonometry preparation.