Differential Calculus 201-SN2-RE • CEGEP, Montreal

Revision sheet: the derivative and its rules (201-SN2-RE)

This sheet does not copy out the table of derivatives again: you have it in your notes, and copying it costs nobody a single mark. It deals with what really decides the grade on the second test of Differential Calculus 201-SN2-RE (formerly 201-NYA): recognizing the structure of an expression before choosing a rule, not losing the inside derivative, and writing the equation of a tangent line the way the marker expects it.

It is written for CEGEP students in the Science program (Sciences de la nature). Once the sheet is read, the corrected exercise set on the same chapter puts every reflex to the test.

Mark this sheet as read or add it to your favourites: a free account, no password, keeps your read sheets and favourites from one visit to the next, tells you which chapter to tackle next and lets you ask for the method or exercise you are missing. Create your space, an email is enough.

The thread of the chapter

Before differentiating, read the STRUCTURE of the expression, never its symbols: the rule to apply is decided by the LAST operation performed. Almost every mark lost in this chapter comes from seeing a sin⁡\sin or a square instead of seeing a product, a quotient or a composition.

This chapter is part of 201-SN2-RE, Differential Calculus

The essentials

The derivative is a limit, and which one

  • • f′(a)=lim⁡h→0f(a+h)−f(a)hf'(a)=\lim_{h\to 0}\frac{f(a+h)-f(a)}{h}, or equivalently lim⁡x→af(x)−f(a)x−a\lim_{x\to a}\frac{f(x)-f(a)}{x-a}.
  • • The quotient ALWAYS has the form 00\frac{0}{0}: that is why you must transform the expression, never substitute h=0h=0.
  • • Interpretation: f(a+h)−f(a)h\frac{f(a+h)-f(a)}{h} is the slope of the SECANT line; its limit is the slope of the TANGENT line.
  • • f′f' is a FUNCTION, f′(a)f'(a) is a NUMBER. This distinction decides half of the tangent line questions.
-1123456-112345678910secant: slope 5tangent: slope 4
The secant line through (2,4)(2, 4) and (3,9)(3, 9) has slope 55; as the second point slides towards the first, it tips towards the tangent line at (2,4)(2, 4), with slope 44. The limit computes that tipping, and only that.

When the question says “from the definition” or “using the limit”, any answer obtained with the rules is worth zero, even if it is correct.

The rules, in the order you look for them

  • • Sum and constant multiple: (u±v)′=u′±v′(u\pm v)'=u'\pm v' and (ku)′=ku′(ku)'=ku'. These are the ONLY rules that distribute.
  • • Product: (uv)′=u′v+uv′(uv)'=u'v+uv'. Quotient: (uv)′=u′v−uv′v2\left(\frac{u}{v}\right)'=\frac{u'v-uv'}{v^{2}}, numerator in THAT order.
  • • Chain: (f(g(x)))′=f′(g(x))⋅g′(x)\left(f(g(x))\right)'=f'(g(x))\cdot g'(x). The second factor is the inside derivative.
  • • Transcendental: (sin⁡x)′=cos⁡x(\sin x)'=\cos x, (cos⁡x)′=−sin⁡x(\cos x)'=-\sin x, (tan⁡x)′=sec⁡2x(\tan x)'=\sec^{2}x, (ex)′=ex\left(e^{x}\right)'=e^{x}, (ln⁡x)′=1x(\ln x)'=\frac{1}{x}, all in RADIANS.
  • • Common compositions: (eu)′=u′eu\left(e^{u}\right)'=u'e^{u}, (ln⁡u)′=u′u(\ln u)'=\frac{u'}{u}, (un)′=nun−1u′\left(u^{n}\right)'=nu^{n-1}u'.

The factor u′u' that shows up everywhere is one and the same thing: the inside derivative. Forgetting it is the most frequent error in the chapter.

What is NOT a rule

  • • (uv)′≠u′v′(uv)'\neq u'v': a product is not differentiated factor by factor.
  • • (uv)′≠u′v′\left(\frac{u}{v}\right)'\neq\frac{u'}{v'}: neither is a quotient.
  • • (xx)′≠x⋅xx−1\left(x^{x}\right)'\neq x\cdot x^{x-1}: the power rule assumes a CONSTANT exponent.
  • • (ax)′=axln⁡a\left(a^{x}\right)'=a^{x}\ln a, not x ax−1x\,a^{x-1}: constant base, variable exponent, it is the exponential.
  • • Continuity does NOT imply differentiability; differentiability implies continuity. The implication goes one way only.

Reading non-differentiability on an exam graph

  • • The question does not ask for a definition, it asks for a sweep: run along the curve from left to right and stop wherever the pencil abruptly changes direction, lifts off, or shoots up vertically.
  • • A DISCONTINUITY is enough to conclude, with no computation: not continuous, so not differentiable. Corners and vertical tangents, on the other hand, occur on perfectly continuous pieces, which is what makes them easy to miss.
  • • A CONSTANT piece is not a point where the derivative is zero, it is a whole INTERVAL: answering with a single xx-value where f′=0f'=0 on (a,b)(a,b) is expected costs the question.
  • • The sign of f′f' is discussed only at points where f′f' EXISTS. Claiming that the derivative is positive “at” a corner is an error of logic, not a slip.
-6-5-4-3-2-1123456-4-3-2-11234cornerjumpverticalf′ = 0
An exam graph does not sort the accidents for you: here a corner at x=−3x=-3, a jump at x=0x=0 and a vertical tangent at x=3x=3, plus a constant piece on (−6,−3)(-6,-3) where f′f' is zero everywhere and not at a single point.

“Where is ff not differentiable?” expects a LIST of xx-values AND one reason per value. Naming the points without naming the cause earns half the marks.

The rules in table form

Each row reads from left to right: the assumptions, then the result. A red cell is not an answer, it is the finding that the form settles nothing and the instruction to rewrite it. Every case is followed by a worked example.

The basic derivatives

The table the exam assumes you know. Each row comes with the number it produces at a point, because a wrong derivative is spotted faster on a slope than on a formula.

f(x)f(x)Where it holdsf′(x)f'(x)
kk, a constant everywhere 00

Example: (π2)′=0\left(\pi^{2}\right)'=0, and (2 x3)′=32 x2\left(\sqrt{2}\,x^{3}\right)'=3\sqrt{2}\,x^{2}: anything that does not contain xx is a constant.

xnx^{n}, nn constant any real nn nxn−1nx^{n-1}

Example: (x5)′=5x4\left(x^{5}\right)'=5x^{4}, so the slope at x=2x=2 is 8080.

x\sqrt{x} x>0x>0 strictly 12x\frac{1}{2\sqrt{x}}

Example: At x=9x=9, the slope is 16≈0.167\frac{1}{6}\approx 0.167. At x=0x=0 it does not exist: the tangent line there is vertical.

1x\frac{1}{x} x≠0x\neq 0 −1x2-\frac{1}{x^{2}}

Example: At x=2x=2, the slope is −0.25-0.25: always negative, which you can see on both branches of the hyperbola.

ex\mathrm{e}^{x} everywhere ex\mathrm{e}^{x}

Example: The only function equal to its own derivative. At x=0x=0, the slope is 11; at x=1x=1 it is e≈2.718\mathrm{e}\approx 2.718.

axa^{x}, a>0a>0 everywhere axln⁡aa^{x}\ln a

Example: (2x)′=2xln⁡2\left(2^{x}\right)'=2^{x}\ln 2, so the slope at x=3x=3 is 8ln⁡2≈5.558\ln 2\approx 5.55, not 3×22=123\times 2^{2}=12.

ln⁡x\ln x x>0x>0 1x\frac{1}{x}

Example: At x=4x=4, the slope is 0.250.25. With ln⁡∣x∣\ln|x|, the same derivative 1x\frac{1}{x} holds for every x≠0x\neq 0.

sin⁡x\sin x in radians cos⁡x\cos x

Example: At x=0x=0, the slope is 11: that is exactly the limit sin⁡xx→1\frac{\sin x}{x}\to 1 from the previous chapter.

cos⁡x\cos x in radians −sin⁡x-\sin x

Example: At x=π2x=\frac{\pi}{2}, the slope is −1-1. The minus sign is the only thing to remember from this row.

tan⁡x\tan x x≠π2+kπx\neq\frac{\pi}{2}+k\pi sec⁡2x=1+tan⁡2x\sec^{2}x=1+\tan^{2}x

Example: At x=0x=0, the slope is 11; at x=π4x=\frac{\pi}{4} it is already 22. A derivative that never vanishes, so a function that is strictly increasing on each branch.

Every row can be read with a uu in place of xx, and a factor u′u' behind it: (eu)′=u′eu\left(\mathrm{e}^{u}\right)'=u'\mathrm{e}^{u}, (ln⁡u)′=u′u(\ln u)'=\frac{u'}{u}, (un)′=nu′un−1\left(u^{n}\right)'=nu'u^{n-1}. The table gives the outside; you write the u′u'.

The five operations, and what they produce

Read the LAST operation in the expression, the one you would perform last on a calculator, and take the corresponding row.

Form of ffWhat you set up on scrap paperf′f'
u+vu+v nothing, differentiate each piece u′+v′u'+v'

Example: (x3+sin⁡x)′=3x2+cos⁡x\left(x^{3}+\sin x\right)'=3x^{2}+\cos x, which equals 3+cos⁡1≈3.5403+\cos 1\approx 3.540 at x=1x=1.

kuku, kk constant take kk out ku′ku'

Example: (5ln⁡x)′=5x\left(5\ln x\right)'=\frac{5}{x}, so the slope at x=5x=5 is exactly 11.

uvuv uu, vv, u′u', v′v' u′v+uv′u'v+uv'

Example: (x2sin⁡x)′=2xsin⁡x+x2cos⁡x\left(x^{2}\sin x\right)'=2x\sin x+x^{2}\cos x, which equals −π2≈−9.87-\pi^{2}\approx -9.87 at x=πx=\pi. With u′v′u'v' you would get 2πcos⁡π≈−6.282\pi\cos\pi\approx -6.28, a different slope.

uv\frac{u}{v} uu, vv, u′u', v′v' u′v−uv′v2\frac{u'v-uv'}{v^{2}}

Example: (xx+1)′=1(x+1)2\left(\frac{x}{x+1}\right)'=\frac{1}{(x+1)^{2}}, so 0.250.25 at x=1x=1. The numerator is read in THAT order, otherwise the slope changes sign.

v(u(x))v\bigl(u(x)\bigr) the inside uu and u′u' u′×v′(u(x))u'\times v'\bigl(u(x)\bigr)

Example: (x2+1)′=xx2+1\left(\sqrt{x^{2}+1}\right)'=\frac{x}{\sqrt{x^{2}+1}}, which equals 25≈0.894\frac{2}{\sqrt{5}}\approx 0.894 at x=2x=2.

unu^{n} uu and u′u' nu′un−1nu'u^{n-1}

Example: ((3x+1)4)′=12(3x+1)3\left((3x+1)^{4}\right)'=12(3x+1)^{3}, so 768768 at x=1x=1. Expanding first would give the same number after many more lines.

None of these rows distributes except the first two: (uv)′≠u′v′(uv)'\neq u'v' and (uv)′≠u′v′\left(\frac{u}{v}\right)'\neq\frac{u'}{v'}. It is the most frequent error on the second test, the one on the differentiation rules, and it is detected by comparing two numerical slopes.

The mistakes that cost marks

These are the errors I correct most often in session. Each one costs marks on a paper, even when the reasoning behind it is right.

1. Differentiating a product factor by factor

2 marks, and the whole question if what follows depends on it

What not to write

(x2sin⁡x)′=2xcos⁡x\left(x^{2}\sin x\right)'=2x\cos x

What to write

(x2sin⁡x)′=2xsin⁡x+x2cos⁡x\left(x^{2}\sin x\right)'=2x\sin x+x^{2}\cos x

-11234-112345slope 2 = (x²)′slope 1 = u′v′
With u=v=xu=v=x: the tangent line to y=x2y=x^{2} at 11 has slope 22 (green), not u′v′=1u'v'=1 (red). The product of the derivatives gives a line that cuts the curve instead of touching it.

Why: One counterexample settles the matter for good: with u=v=xu=v=x, the product is x2x^{2}, whose derivative is 2x2x, whereas u′v′=1u'v'=1. The product rule does not have two terms for elegance, it has two because each of the two factors varies.

2. Losing the inside derivative in the chain rule

1 mark per occurrence, and there are many

What not to write

(sin⁡(3x))′=cos⁡(3x)\left(\sin(3x)\right)'=\cos(3x)

What to write

(sin⁡(3x))′=3cos⁡(3x)\left(\sin(3x)\right)'=3\cos(3x)

-1.5-1-0.50.511.5-2-1.5-1-0.50.511.52slope 3slope 1sin xsin 3x
At the origin, sin⁡3x\sin 3x (orange) rises three times as fast as sin⁡x\sin x (blue): its tangent line has slope 3cos⁡0=33\cos 0=3 (green). Forgetting the inside derivative gives the slope 11 of sin⁡x\sin x (red).

Why: The forgotten factor here is 33, so the answer is three times too small. The ten-second check: the derivative of sin⁡(3x)\sin(3x) at 00 must equal the slope of the curve at the origin, visibly steeper than that of sin⁡x\sin x. An answer equal to 11 instead of 33 is spotted without any computation.

3. Reversing the order in the numerator of the quotient rule

the whole question, because the sign of the result is reversed

What not to write

(uv)′=uv′−u′vv2\left(\frac{u}{v}\right)'=\frac{uv'-u'v}{v^{2}}

What to write

(uv)′=u′v−uv′v2\left(\frac{u}{v}\right)'=\frac{u'v-uv'}{v^{2}}, with the TOP differentiated first

123-11234y = 1/xslope −1slope +1
1x\frac{1}{x} goes down: its derivative at 11 is −1-1 (green). The reversed numerator gives +1+1 (red), a line that rises where the curve falls.

Why: The result is not approximate, it is the opposite of the correct one: a sign chart built on it is entirely wrong. Instant check on 1x\frac{1}{x}, whose derivative must be −1x2-\frac{1}{x^{2}}, hence negative: the correct formula gives 0⋅x−1⋅1x2=−1x2\frac{0\cdot x-1\cdot 1}{x^{2}}=-\frac{1}{x^{2}} ✓, the wrong one gives +1x2+\frac{1}{x^{2}}.

4. Writing the tangent line with the derivative function instead of the derivative at the point

2 marks, even though the derivative was correct

What not to write

“f′(x)=3x2f'(x)=3x^{2}, so the tangent line at x=2x=2 is y=3x2(x−2)+8y=3x^{2}(x-2)+8.”

What to write

“f′(2)=12f'(2)=12, so the tangent line is y=12(x−2)+8y=12(x-2)+8, that is y=12x−16y=12x-16.”

0.511.522.53-16-12-8-4481216202428y = 12x − 16y = 3x²(x − 2) + 8y = x³
The tangent line to y=x3y=x^{3} at (2,8)(2, 8) is a LINE, y=12x−16y=12x-16 (green). Keeping f′(x)=3x2f'(x)=3x^{2} gives a curve (red): it is no longer a tangent line.

Why: A tangent line is a LINE: its equation cannot contain any x2x^{2}. Substitute aa into f′f' before writing anything. The check is visual: if the final equation is not of the form y=mx+py=mx+p, the substitution was not done.

5. Believing that a continuous function is differentiable

the whole differentiability question, often 3 marks

What not to write

“ff is continuous at 00, so f′(0)f'(0) exists.”

What to write

“ff is continuous at 00, but the two limits of the difference quotient differ, so ff is not differentiable at 00.”

-11234567891011-1.5-1-0.50.511.5cornercuspverticaly = |x|y = ∛(x²)y = ∛x
Three continuous curves, none differentiable at the marked point: the corner of ∣x∣|x| has two opposite slopes, the cusp of x2/3x^{2/3} two infinite slopes, x1/3x^{1/3} a single slope, vertical.

Why: ∣x∣|x|, x2/3x^{2/3} and x3\sqrt[3]{x} are continuous everywhere and yet not differentiable at 00, for three different reasons: a corner, a cusp, a vertical tangent. The implication only goes the other way: differentiable implies continuous, which is how you show that a discontinuous function is certainly not differentiable.

6. Applying the power rule to a variable exponent

the whole question

What not to write

(xx)′=x⋅xx−1=xx\left(x^{x}\right)'=x\cdot x^{x-1}=x^{x}

What to write

y=xxy=x^{x} gives ln⁡y=xln⁡x\ln y=x\ln x, then y′y=ln⁡x+1\frac{y'}{y}=\ln x+1, so (xx)′=xx(ln⁡x+1)\left(x^{x}\right)'=x^{x}\left(\ln x+1\right)

0.511.522.532468101214slope ≈ 6.77slope 4y = xˣ
At x=2x=2, the tangent line to y=xxy=x^{x} has slope 4(ln⁡2+1)≈6.774(\ln 2+1)\approx 6.77 (green). The power rule wrongly applied gives 44 (red): a line that is too flat.

Why: The rule (xn)′=nxn−1\left(x^{n}\right)'=nx^{n-1} requires a CONSTANT exponent, and (ax)′=axln⁡a\left(a^{x}\right)'=a^{x}\ln a requires a constant base. When both vary, neither applies and logarithmic differentiation is the only way. Numerical check at x=1x=1: the correct formula gives 1⋅(0+1)=11\cdot(0+1)=1, which the difference quotient confirms.

7. Forgetting the factor y′y' in implicit differentiation

the whole question, since the equation obtained no longer contains the unknown

What not to write

ddx(y2)=2y\frac{d}{dx}\left(y^{2}\right)=2y

What to write

ddx(y2)=2y y′\frac{d}{dx}\left(y^{2}\right)=2y\,y', because yy is a function of xx

Why: In implicit differentiation, every yy is an unknown function of xx: differentiating a yy always produces a y′y', exactly as the chain rule says. The alarm bell is immediate: if the equation you obtain contains no y′y', there is nothing left to solve for and the solution stops dead.

8. Differentiating a sine with an argument in degrees

1 mark, plus all those that depend on the numerical value

What not to write

“The calculator is in degrees, so (sin⁡x)′=cos⁡x(\sin x)'=\cos x still works.”

What to write

“All the trigonometric differentiation formulas assume RADIANS; in degrees, (sin⁡x)′=π180cos⁡x(\sin x)'=\frac{\pi}{180}\cos x.”

Why: The formula comes from lim⁡h→0sin⁡hh=1\lim_{h\to 0}\frac{\sin h}{h}=1, which equals π180≈0.01745\frac{\pi}{180}\approx 0.01745 in degrees. A slope that comes out fifty-seven times too small, or the number 0.017450.01745 appearing on the screen, are the two telltale signs of this setting.

9. Differentiating a constant because it contains a symbol

1 to 2 marks, on the question that is supposed to be the easy one

What not to write

“In f(x)=5x4+2 x3−π2f(x)=5x^{4}+\sqrt{2}\,x^{3}-\pi^{2}, the term −π2-\pi^{2} differentiates to −2π-2\pi.”

What to write

“π\pi is a NUMBER, so π2\pi^{2} is a constant and its derivative is 00; 2\sqrt{2} is a coefficient, so (2 x3)′=32 x2\left(\sqrt{2}\,x^{3}\right)'=3\sqrt{2}\,x^{2}. In total f′(x)=20x3+32 x2f'(x)=20x^{3}+3\sqrt{2}\,x^{2}.”

Why: The rule has no exceptions: anything that does not contain the variable is a constant, however complicated it looks. The same reflex makes students stumble on 8x43\sqrt[3]{8x^{4}}, which only needs to be rewritten as 2x4/32x^{4/3} to fall back on the power rule and get 83x1/3\frac{8}{3}x^{1/3}. Before differentiating, circle what contains xx: the rest is a number.

10. Believing that a tangent line touches the curve at only one point

the whole question when you are asked where the tangent line meets the curve again

What not to write

“This line crosses the curve again further on, so it is not the tangent line.”

What to write

“Being tangent is a LOCAL property, which describes the contact at one point. The tangent line to f(x)=x3−92x2−12x+2f(x)=x^{3}-\frac{9}{2}x^{2}-12x+2 at (0,2)(0,2) is y=−12x+2y=-12x+2, and it crosses the curve again at (4.5,−52)(4.5, -52).”

-3-2-1123456-70-60-50-40-30-20-101020(0, 2)(4.5, −52)
The tangent line at (0,2)(0, 2), y=−12x+2y=-12x+2, touches the curve at that point and then CROSSES it again at (4.5,−52)(4.5, -52). Being tangent is a local property.

Why: Solving f(x)=−12x+2f(x)=-12x+2 gives x2(x−92)=0x^{2}\left(x-\frac{9}{2}\right)=0: the DOUBLE root at 00 is the signature of tangential contact, the simple root at 92\frac{9}{2} is an ordinary intersection. It is the multiplicity of the root that distinguishes touching from crossing, never the number of intersection points. The reasoning works both ways and is used to find a point of tangency when the question gives the line instead of the point.

Which method to choose

Which rule, according to the last operation in the expression

Do not look at which symbols are present; look for the LAST operation you would perform to evaluate the expression at a number. That operation names the rule.

  • If the last operation is an addition or a subtraction → differentiate term by term; it is the only rule that distributes

    Example: (x3+sin⁡x)′=3x2+cos⁡x\left(x^{3}+\sin x\right)'=3x^{2}+\cos x

  • If the last operation is a multiplication of two factors that both depend on xx → product rule u′v+uv′u'v+uv'

    Example: (x2ex)′=2xex+x2ex=xex(x+2)\left(x^{2}e^{x}\right)'=2xe^{x}+x^{2}e^{x}=xe^{x}(x+2)

    If one of the factors is a CONSTANT, it is not a product in the sense of the rule: the constant simply comes out.

  • If the last operation is a division → quotient rule u′v−uv′v2\frac{u'v-uv'}{v^{2}}, or rewriting as a negative power when the denominator is a monomial

    Example: 3x2=3x−2\frac{3}{x^{2}}=3x^{-2} differentiates to −6x−3-6x^{-3}, without the quotient rule

  • If the last operation is applying a function to an expression, in other words a composition → chain rule: differentiate the outside while keeping the inside, then multiply by the inside derivative

    Example: (x2+1)′=2x2x2+1=xx2+1\left(\sqrt{x^{2}+1}\right)'=\frac{2x}{2\sqrt{x^{2}+1}}=\frac{x}{\sqrt{x^{2}+1}}

  • If the exponent contains the variable → logarithmic differentiation: take the logarithm of both sides, differentiate, then multiply by yy

    Example: y=(sin⁡x)xy=\left(\sin x\right)^{x} gives ln⁡y=xln⁡sin⁡x\ln y=x\ln\sin x

  • If the equation is not solved for yy → implicit differentiation: differentiate both sides with respect to xx, each yy producing a y′y', then solve for y′y'

    Example: x2+y2=25x^{2}+y^{2}=25 gives 2x+2yy′=02x+2yy'=0, so y′=−xyy'=-\frac{x}{y}

A composition with three layers is differentiated from the outside in, one layer at a time, and the result is a PRODUCT of three factors. Counting the layers before you start keeps you from forgetting one.

Should you simplify before differentiating

One minute of rewriting often saves five minutes of computation and removes half of the sign errors.

  • If the denominator is a monomial → rewrite with negative powers and differentiate term by term

    Example: x3+2xx2=x+2x−1\frac{x^{3}+2x}{x^{2}}=x+2x^{-1}, whose derivative is 1−2x−21-2x^{-2}

  • If the expression is a product of roots or of powers of the same base → combine the exponents before differentiating

    Example: x⋅x2=x5/2\sqrt{x}\cdot x^{2}=x^{5/2}, whose derivative is 52x3/2\frac{5}{2}x^{3/2}

  • If the expression contains the logarithm of a product, a quotient or a power → expand with the properties of logarithms before differentiating

    Example: ln⁡x2x+1x−3=2ln⁡x+12ln⁡(x+1)−ln⁡(x−3)\ln\frac{x^{2}\sqrt{x+1}}{x-3}=2\ln x+\frac{1}{2}\ln(x+1)-\ln(x-3)

  • If none of these forms → differentiate directly, and simplify only at the end if the question asks for it

Be careful, though: simplifying can change the DOMAIN. x2−4x−2\frac{x^{2}-4}{x-2} equals x+2x+2 except at 22, where the original function is not defined and therefore has no derivative.

How the answer is expected to be written

A marker ticks steps. Here they are in order, with the concluding sentence expected word for word.

The equation of a tangent line, written up for the marker

When to use it: As soon as the question asks for the tangent line, the normal line, or the linear approximation at a point.

  1. 1 Compute f(a)f(a) and write it down: “f(2)=8f(2)=8, so the point of tangency is A(2,8)A(2, 8).”
  2. 2 Compute the derivative FUNCTION f′(x)f'(x), naming the rule used.
  3. 3 Substitute: “f′(2)=12f'(2)=12”, a NUMBER, which is the slope.
  4. 4 Write the equation in point-slope form y−f(a)=f′(a)(x−a)y-f(a)=f'(a)(x-a), then expand.
  5. 5 Check that the point of tangency satisfies the equation you found.

Concluding sentence

The tangent line to the graph of ff at the point with xx-coordinate 22 has equation y=12(x−2)+8y=12(x-2)+8, that is y=12x−16y=12x-16.

The trap: Leaving an xx in the slope. A tangent line is a line: if the final equation contains an x2x^{2} or a sin⁡x\sin x, the substitution of aa into f′f' was forgotten.

Marking: Usually 1 mark for f(a)f(a), 1 mark for f′(x)f'(x), 1 mark for f′(a)f'(a), 1 mark for the final equation in slope-intercept form.

The derivative from the definition, when the question requires it

When to use it: The question says “from the definition”, “using the limit” or “without using the rules”. Any answer obtained otherwise is worth zero.

  1. 1 Write the complete limit, with the lim⁡h→0\lim_{h\to 0}, before any computation.
  2. 2 Expand f(a+h)f(a+h) without simplifying too fast, and set up the difference f(a+h)−f(a)f(a+h)-f(a).
  3. 3 Note the form 00\frac{0}{0} and transform: factor out hh, or multiply by the conjugate if a square root appears.
  4. 4 Cancel the hh, saying explicitly that h≠0h\neq 0, since hh TENDS to zero without reaching it.
  5. 5 Take the limit and conclude with a sentence.

Concluding sentence

The difference quotient equals 2a+h2a+h for every h≠0h\neq 0, so f′(a)=lim⁡h→0(2a+h)=2af'(a)=\lim_{h\to 0}(2a+h)=2a.

The trap: Substituting h=0h=0 before simplifying, which gives 00\frac{0}{0} and stalls the solution. The indeterminate form is not an obstacle, it is the signal to transform the expression.

Marking: The limit written at the start is often worth as much as the computation itself: it proves you understand what you are computing.

Check before you hand in

Five minutes of checking recover more marks than one more problem started in a hurry.

The typical problem, taken apart

Tangent line to an implicitly defined curve, as on the exam

The curve with equation x2+xy+y2=7x^{2}+xy+y^{2}=7 passes through the point A(1,2)A(1, 2).

Find the equation of the tangent line to this curve at the point AA.

-4-3-2-11234-4-3-2-11234A(1, 2)
For a single xx-value, the ellipse x2+xy+y2=7x^{2}+xy+y^{2}=7 gives TWO yy-values: no function y=f(x)y=f(x) describes all of it, hence implicit differentiation.

Step 1

Preliminary check: 12+1×2+22=1+2+4=71^{2}+1\times 2+2^{2}=1+2+4=7 ✓, the point AA does lie on the curve.

Why

Ten seconds that keep you from solving the wrong problem. A point off the curve makes everything that follows pointless, and the marker always starts there.

Step 2

Differentiate both sides with respect to xx, treating yy as an unknown function of xx: ddx(x2)=2x\frac{d}{dx}\left(x^{2}\right)=2x, ddx(y2)=2y y′\frac{d}{dx}\left(y^{2}\right)=2y\,y', and ddx(xy)=1⋅y+x⋅y′\frac{d}{dx}(xy)=1\cdot y+x\cdot y' by the product rule. The right-hand side is constant, so its derivative is zero. Hence 2x+y+xy′+2yy′=02x+y+xy'+2yy'=0.

Why

This is the step that carries the whole chapter: each differentiated yy produces a y′y' through the chain rule, and the cross term xyxy is a genuine product of two functions of xx. A solution that writes 2x+y+2yy′=02x+y+2yy'=0 has treated xyxy as a constant times yy.

Step 3

Collect the terms in y′y': y′(x+2y)=−(2x+y)y'(x+2y)=-(2x+y), hence y′=−2x+yx+2yy'=-\frac{2x+y}{x+2y}.

Why

Solving for y′y' BEFORE substituting gives a formula valid at every point of the curve, reusable if the question asks for a second tangent line. Substituting first would mean starting all over again.

Step 4

Substitute the coordinates of AA: y′(1,2)=−2(1)+21+2(2)=−45y'(1, 2)=-\frac{2(1)+2}{1+2(2)}=-\frac{4}{5}.

Why

In implicit differentiation, the slope depends on BOTH coordinates, not only on xx. That is the algebraic translation of the fact that a single xx-value carries two points of the curve, with two different tangent lines.

Step 5

Point-slope form: y−2=−45(x−1)y-2=-\frac{4}{5}(x-1), that is y=−45x+45+2=−45x+145y=-\frac{4}{5}x+\frac{4}{5}+2=-\frac{4}{5}x+\frac{14}{5}.

-4-3-2-112345678-4-3-2-11234Ay = −0.8x + 2.8

Why

Expand to deliver the equation in slope-intercept form, which the marking scheme almost always asks for, but write the point-slope form first because it is the least risky: it contains the point and the slope, visible at a glance.

Step 6

Check: at x=1x=1, the tangent line gives −45+145=105=2-\frac{4}{5}+\frac{14}{5}=\frac{10}{5}=2 ✓, the yy-coordinate of AA. And the slope is negative, which the graph confirms: at the point AA, the curve goes down.

Why

Two independent checks, one algebraic and one graphical. They catch a sign error just as well as an arithmetic error in the expansion.

The conclusion, written out

The tangent line to the curve x2+xy+y2=7x^{2}+xy+y^{2}=7 at the point A(1,2)A(1, 2) has equation y=−45x+145y=-\frac{4}{5}x+\frac{14}{5}.

The classic mistake on this problem: Writing ddx(xy)=y′\frac{d}{dx}(xy)=y', forgetting the product rule, which gives 2x+xy′+2yy′=02x+xy'+2yy'=0 and then a slope of −25-\frac{2}{5}. The cross term xyxy is the only place in the computation where two rules combine, product AND chain, and that is where the question is won or lost.

Learn by heart

  • • f′(a)=lim⁡h→0f(a+h)−f(a)hf'(a)=\lim_{h\to 0}\frac{f(a+h)-f(a)}{h}, always of the form 00\frac{0}{0}: transform, do not substitute.
  • • (uv)′=u′v+uv′(uv)'=u'v+uv' and (uv)′=u′v−uv′v2\left(\frac{u}{v}\right)'=\frac{u'v-uv'}{v^{2}}, the numerator of the quotient in THAT order.
  • • Chain: (f(g(x)))′=f′(g(x)) g′(x)\left(f(g(x))\right)'=f'(g(x))\,g'(x). The second factor, the inside derivative, is the one people forget.
  • • (eu)′=u′eu\left(e^{u}\right)'=u'e^{u}, (ln⁡u)′=u′u(\ln u)'=\frac{u'}{u}, (un)′=nun−1u′\left(u^{n}\right)'=nu^{n-1}u': the same u′u' everywhere.
  • • Variable exponent: logarithmic differentiation. (ax)′=axln⁡a\left(a^{x}\right)'=a^{x}\ln a, never x ax−1x\,a^{x-1}.
  • • Implicit differentiation: each differentiated yy gives a y′y'; with no y′y' in the equation, there is nothing to solve for.
  • • Tangent line: y=f′(a)(x−a)+f(a)y=f'(a)(x-a)+f(a), where f′(a)f'(a) is a NUMBER. No tangent line contains an x2x^{2}.
  • • Differentiable implies continuous; the converse is false, as ∣x∣|x| at 00 shows.
  • • Three ways to lose the derivative while staying continuous: a corner (two different finite slopes), a cusp (two infinite slopes of opposite signs), a vertical tangent (the same infinite slope on both sides). A discontinuity, for its part, always rules out the derivative.
  • • Anything that does not contain the variable is a constant: (π2)′=0\left(\pi^{2}\right)'=0 and (2 x3)′=32 x2\left(\sqrt{2}\,x^{3}\right)'=3\sqrt{2}\,x^{2}.

Frequently asked questions

How do you know which differentiation rule to use?

Find the last operation you would perform to evaluate the expression. An addition is differentiated term by term, a multiplication calls for the product rule, a division for the quotient rule, and a function applied to an expression calls for the chain rule. It is the structure of the expression that decides, never the symbols that appear in it.

Why do you have to multiply by the inside derivative?

Because the change in the inside expression is amplified or reduced before it enters the outside function. If the inside changes three times as fast, the composite function changes three times as fast too. That is exactly what the chain rule says, and forgetting it gives an answer that is off by a constant factor.

What is the difference between f prime of x and f prime of a?

The first is a function, which gives the slope at every point. The second is a number, the slope at the point where x equals a exactly. The equation of a tangent line uses the number, never the function, which is why a tangent line is always a straight line whose equation contains no square and no sine.

Is a continuous function always differentiable?

No, and it is a classic mistake. The absolute value function is continuous everywhere but has a corner at the origin, where the slopes on the left and on the right are minus one and plus one. The implication only works the other way: a function that is differentiable at a point is necessarily continuous there.

How do you differentiate when y is not isolated in the equation?

You use implicit differentiation. Differentiate both sides with respect to x, treating y as a function of x, which produces a factor y prime every time a y is differentiated, then collect the terms and solve for y prime. The slope you get then depends on both coordinates of the point.

How do you differentiate x to the power x?

Neither the power rule nor the exponential rule applies, because the base and the exponent both vary. Use logarithmic differentiation: take the logarithm of both sides, differentiate, then multiply by y. The result is x to the power x times the quantity natural log of x plus one.

Practise it

Corrected exercises: The derivative and its rules, 201-SN2-RE

A method is proved on a paper, not on a sheet. The set for the same chapter takes each of these traps into a problem, with the solution written out step by step.

  • 17 corrected exercises
  • 170 points
  • 225 minutes
Do the exercises
Something missing from this sheet? A method, a trap, an exercise to practise it, a mistake you spotted: tell me, I read every request.

Sending goes through your free space: that is how I can answer you and tell you when the exercise is added. An email is enough, no password. Create your space. Rather not create an account? Write to me directly.

What is it about?
I read every request myself, nobody else sees it. No need to write your name or your school.
When your request is dealt with, you hear about it by email and in your space.

By sending, you agree that I read your request to answer it. It is kept with your account, erased with it, and never published: privacy policy.

Previous sheet Limits and continuity Next sheet Derivatives of trigonometric, exponential and logarithmic functions

© Ahmed Squalli Houssaini. Revision sheet published at www.letuteurscientifique.ca/en/fiches/cegep-calc1-derivative-rules. Free for personal and classroom use; republishing it elsewhere requires written permission (legal notice).

See also

Looking for a 201-SN2-RE tutor in Montreal?

Get in touch for a first session. We go back over the moves that cost marks on the differential calculus exam, then we test them on exercises at the level of real CEGEP tests.

Site by Studio Squalli