Mathématiques • Physique • Chimie
Préparation au CEGEP | Exercices • Défis • Corrections
Étudier. Pratiquer. Progresser. Study. Practice. Improve.
📝
Exercices Practice problems
💡
Défis Challenges
✓
Corrections Detailed solutions
📖
Concepts Deeper understanding
StudyGroup AN educational mascot

Derivatives and Optimization: 15 Solved Problems | CEGEP

DIFFERENTIAL CALCULUSCEGEP15 SOLVED PROBLEMS

A derivative measures an instantaneous rate of change and gives the slope of a tangent line. This guide turns 15 handwritten calculations into a complete review of the limit definition, differentiation rules, tangent lines, approximation, implicit differentiation, and optimization.

Each solution explains the main idea, the calculation, the final result, and a common mistake. Two errors from the handwritten sheet are corrected: the expansion of 0.0152 in Q13 and the surface area of the open box in Q15.

Handwritten review sheet showing derivative examples and corrections

Starting notes: derivative rules, implicit differentiation, approximation and optimization.

1. Essential Formulas

RuleFormulaWhen to use it
Definitionf′(x) = limh→0 [f(x+h) − f(x)]/hWhen the definition is required or differentiability must be justified.
Power(xn)′ = nxn−1A simple power of x.
Sum(u ± v)′ = u′ ± v′Terms added or subtracted.
Product(uv)′ = u′v + uv′Two functions multiplied.
Quotient(u/v)′ = (u′v − uv′)/v2One function divided by another.
Chain[f(g(x))]′ = f′(g(x))g′(x)One function inside another.
Tangent liney − f(a) = f′(a)(x − a)The tangent at x=a.


2. Definition of the Derivative — Q1 to Q5

In the first five problems, begin with the difference quotient. Take the limit only after the factor h has been simplified.

Secant line approaching a tangent line as h tends to zero

 Figure 1 — As h approaches zero, the secant slope approaches the tangent slope.

Q1 — Linear function

Problem. Differentiate f(x)=5x−2 from the definition.

Main idea. Find f(x+h), then form the difference quotient.

f(x+h)=5x+5h−2

[f(x+h)−f(x)]/h=[5x+5h−2−(5x−2)]/h=5h/h=5

f′(x)=limh→05=5

Answer. f′(x)=5.
Check. The slope of the line is 5.

Q2 — Quadratic and derivative at a point

Problem. For f(x)=x2+3x, use the definition to find f′(x), then evaluate f′(4).

f(x+h)=x2+2xh+h2+3x+3h

[f(x+h)−f(x)]/h=[2xh+h2+3h]/h=2x+h+3

f′(x)=2x+3; therefore f′(4)=11

Answer. f′(x)=2x+3 and f′(4)=11.
Common mistake. Do not omit 2xh when expanding (x+h)2.

Q3 — A non-differentiable function

Problem. Is f(x)=|x−1| differentiable at x=1?

[f(1+h)−f(1)]/h=|h|/h

  • For h>0, the quotient equals 1.
  • For h<0, the quotient equals −1.
Answer. The one-sided limits differ, so f′(1) does not exist.
Graphical meaning. The graph has a corner at x=1.

Q4 — Instantaneous velocity

Problem. The position is s(t)=t3−6t2. Find the velocity at t=2 s.

s′(t)=3t2−12t

s′(2)=3(2)2−12(2)=−12

Answer. The instantaneous velocity is −12 m/s.
Interpretation. The negative sign indicates motion in the negative direction of the chosen axis.

Q5 — Square-root derivative and tangent line

Problem. Differentiate f(x)=√x from the definition, then find the tangent line at x=9.

[√(x+h)−√x]/h × [√(x+h)+√x]/[√(x+h)+√x]

=1/[√(x+h)+√x]

f′(x)=1/(2√x), f(9)=3, f′(9)=1/6

y−3=(1/6)(x−9), so y=x/6+3/2

Answer. f′(x)=1/(2√x); tangent: y=x/6+3/2.

3. Differentiation Rules — Q6 to Q12

Before differentiating, identify whether the function is a sum, product, quotient, or composition.

Visual guide to choosing sum, product, quotient and chain differentiation rules

Figure 2 — Choose the derivative rule from the structure of the expression.



Q6 — Power rule

Problem. Differentiate f(x)=7.5x4−3.5x3+8.

f′(x)=7.5·4x3−3.5·3x2+0

Answer. f′(x)=30x3−10.5x2.

Q7 — Product rule

Problem. Differentiate y=(x+1)(3x2−2x).

y′=(3x2−2x)+(x+1)(6x−2)=9x2+2x−2

Answer. y′=9x2+2x−2.
Common mistake. The derivative of a product is not the product of the derivatives.

Q8 — Quotient rule

Problem. Differentiate y=(3x−1)/(2x), where x≠0.

y′=[3(2x)−2(3x−1)]/(2x)2=2/(4x2)

Answer. y′=1/(2x2).
Check. Rewrite as 3/2−1/(2x) and differentiate.

Q9 — Chain rule

Problem. Differentiate f(x)=(4x2−1)3.

f′(x)=3(4x2−1)2·8x

Answer. f′(x)=24x(4x2−1)2.

Q10 — Quotient and chain rules

Problem. Differentiate y=x/√(x+1).

y=x(x+1)−1/2

y′=(x+1)−1/2−(x/2)(x+1)−3/2

Answer. y′=(x+2)/[2(x+1)3/2], for x>−1.

Q11 — First and second derivatives

Problem. For f(x)=4x3−6x2+5, find f′(x) and f″(x).

f′(x)=12x2−12x

f″(x)=24x−12

Answer. f′(x)=12x2−12x, f″(x)=24x−12.

Q12 — Rational function

Problem. For f(x)=1/(x+1), find f′(x) and f′(1).

f′(x)=−1/(x+1)2

f′(1)=−1/4

Answer. f′(x)=−1/(x+1)2 and f′(1)=−1/4.

4. Applications — Q13 to Q15

Q13 — Approximating 0.015²

Problem. Use the linearization of f(x)=x2 near x0=0.01 to estimate 0.0152, then compare it with the exact value.

Δx=0.005, f(0.01)=0.0001, f′(0.01)=0.02

f(0.015)≈0.0001+0.02(0.005)=0.0002

0.0152=(0.01+0.005)2=0.000225

Correction. The first term is 0.012=0.0001, not 0.22. Linearization omits the small quadratic term 0.000025.
Answer. Linear estimate: 0.0002; exact value: 0.000225.

Q14 — Implicit differentiation

Problem. Find y′ if x2y+y3=4.

2xy+x2y′+3y2y′=0

y′(x2+3y2)=−2xy

Answer. y′=−2xy/(x2+3y2).
Comparison. For x2+y2=C, the result would instead be y′=−x/y.

Open box with square base x by x and height h
Figure 3 — Open box model with square base x by x and height h.


Q15 — Optimizing an open box

Problem. An open box with a square base must have a volume of 500 cm3. Find the dimensions that minimize the amount of material.

Let x be the side of the square base and h the height.

x2h=500, so h=500/x2

The box has one base and four side faces:

A=x2+4xh=x2+2000/x

A′(x)=2x−2000/x2=0

x3=1000, so x=10 cm and h=5 cm

A″(10)=6>0

Correction. The handwritten expression x2+2xh counts only two side faces. A square-base box has four, so the correct expression is x2+4xh.
Answer. Base: 10 cm × 10 cm; height: 5 cm.

5. Common Mistakes

MistakeCorrection
Substituting h=0 before simplifying.Factor and cancel h first, then take the limit.
Writing (uv)′=u′v′.Use u′v+uv′.
Forgetting the inner derivative.Complete the chain rule by multiplying by g′(x).
Forgetting y′ in implicit differentiation.For example, (y3)′=3y2y′.
Stopping at a critical point.Verify that it is a minimum or maximum.

6. Independent Practice

  1. Differentiate f(x)=3x+7 from the definition.
  2. Differentiate y=(2x−1)(x2+4).
  3. Differentiate g(x)=(x+2)/(x−1).
  4. Find y′ if x2+xy+y2=7.
  5. An open square-base box has volume 256 cm3. Write its surface area as a function of x.
Show brief answers
  1. f′(x)=3.
  2. y′=6x2−2x+8.
  3. g′(x)=−3/(x−1)2.
  4. y′=−(2x+y)/(x+2y).
  5. A(x)=x2+1024/x.

7. Frequently Asked Questions

Why learn the definition when the rules are faster?

The definition explains what a derivative measures and helps test differentiability at corners or other uncertain points.

When should I use the chain rule?

Use it when one function is inside another, such as (4x2−1)3 or √(x2+1).

Is every critical point a minimum?

No. Verify it with a sign analysis or the second derivative.

Why does the open box have four lateral terms?

Each of the four sides of the square base supports one rectangular face of area xh, giving 4xh.

Conclusion

Start by identifying the structure of the function. Use the definition when the concept or differentiability must be justified, and use the power, product, quotient, and chain rules for efficient calculation. In applications, interpret the sign and units of the derivative, and always verify critical points before concluding.