4 Derivatives And Differentiation

Basic Mathematics · Unit 4

Derivatives and Differentiation

Exam-focused notes for Derivatives and Differentiation (Basic Mathematics, MTH104): what the TU syllabus asks and how it has actually been tested, with 7 solved past questions from this unit.

Derivatives and Differentiation in short

Differentiation measures how fast a quantity changes. The derivative gives slopes of curves, speeds, and rates, and it is the main tool of the rest of the course.

Derivatives and Differentiation: notes

Derivative definition and interpretation

The derivative of $f$ at $x$ is

$$f'(x) = \lim_{h \to 0} \frac{f(x + h) - f(x)}{h},$$

if the limit exists. It is also written $\dfrac{dy}{dx}$. It measures the instantaneous rate of change of $y$ with respect to $x$.

Example. Find the derivative of $f(x) = x^2$ from the definition.

$$\begin{aligned} f'(x) &= \lim_{h \to 0} \frac{(x+h)^2 - x^2}{h} \ &= \lim_{h \to 0} \frac{2xh + h^2}{h} \ &= \lim_{h \to 0} (2x + h) = 2x \end{aligned}$$

A function is not differentiable where it has a corner, a jump, or a vertical tangent. Differentiable functions are always continuous, but the reverse is false. For example $|x|$ is continuous at $0$ but has no derivative there.

Derivative as slope of tangent line

The derivative $f'(a)$ is the slope of the tangent line to the curve at the point $(a, f(a))$. The tangent line is

$$y - f(a) = f'(a)(x - a).$$

For $y = x^2$ at $x = 1$ the slope is $2$ and the point is $(1, 1)$.

$$\begin{aligned} y - 1 &= 2(x - 1) \ y &= 2x - 1 \end{aligned}$$

Power rule and basic differentiation rules

  • Constant: $\dfrac{d}{dx}(c) = 0$.
  • Power rule: $\dfrac{d}{dx}(x^n) = nx^{n-1}$ for any real $n$.
  • Constant multiple: $\dfrac{d}{dx}(cf) = cf'$.
  • Sum and difference: $(f \pm g)' = f' \pm g'$.

Example. For $y = 3x^4 - 2\sqrt{x} + \dfrac{5}{x}$ write $y = 3x^4 - 2x^{1/2} + 5x^{-1}$.

$$\begin{aligned} y' &= 12x^3 - x^{-1/2} - 5x^{-2} \ &= 12x^3 - \frac{1}{\sqrt{x}} - \frac{5}{x^2} \end{aligned}$$

What this unit covers

  • Derivative definition and interpretation
  • Derivative as slope of tangent line
  • Power rule and basic differentiation rules
  • Product and quotient rules
  • Chain rule
  • Implicit differentiation
  • Derivatives of trigonometric functions
  • Derivatives of inverse trigonometric functions
  • Derivatives of exponential and logarithmic functions
  • Higher order derivatives
  • Partial derivatives

Derivatives of inverse trigonometric functions

2081 · 10 marks

Find the derivative of $y = \frac{\tan^{-1} x}{\sqrt{x}}$ with respect to $x$.

Find the area of the region bounded by $y = -x$ and $x = y^2 + 3y$.

[5+5]

Show solved answer

Model Answer

Given Data

Part 1: $y = \dfrac{\tan^{-1} x}{\sqrt{x}}$

Part 2: Curves $y = -x$ and $x = y^2 + 3y$


(a) Derivative

Let $u = \tan^{-1} x$ and $v = \sqrt{x} = x^{1/2}$.

$$\frac{du}{dx} = \frac{1}{1+x^2}, \qquad \frac{dv}{dx} = \frac{1}{2\sqrt{x}}$$

Quotient rule: $\dfrac{dy}{dx} = \dfrac{v,\frac{du}{dx} - u,\frac{dv}{dx}}{v^2}$

$$\frac{dy}{dx} = \frac{\sqrt{x}\cdot\dfrac{1}{1+x^2} - \tan^{-1}x \cdot \dfrac{1}{2\sqrt{x}}}{x}$$

Numerator over common denominator $2\sqrt{x}(1+x^2)$:

$$= \frac{\dfrac{2x - (1+x^2)\tan^{-1}x}{2\sqrt{x}(1+x^2)}}{x} = \frac{2x - (1+x^2)\tan^{-1}x}{2x\sqrt{x}(1+x^2)}$$

$$\boxed{\frac{dy}{dx} = \frac{2x - (1+x^2)\tan^{-1}x}{2x^{3/2}(1+x^2)}}$$


(b) Area bounded by $y = -x$ and $x = y^2 + 3y$

Line: $x = -y$. Parabola: $x = y^2 + 3y$.

Intersections: Set $-y = y^2 + 3y$

$$0 = y^2 + 4y = y(y+4) \implies y = 0 \text{ or } y = -4$$

Points: $(0,0)$ and $(4,-4)$.

Rightmost curve: At $y = -2$: line gives $x = 2$; parabola gives $x = 4-6 = -2$. Line is to the right.

Integrate in $y$:

$$A = \int_{-4}^{0}\left[(-y) - (y^2+3y)\right]dy = \int_{-4}^{0}\left(-y^2 - 4y\right)dy$$

$$= \left[-\frac{y^3}{3} - 2y^2\right]_{-4}^{0}$$

At $y=0$: $0$. At $y=-4$: $-\dfrac{-64}{3} - 2(16) = \dfrac{64}{3} - 32 = \dfrac{-32}{3}$.

$$A = 0 - \left(-\frac{32}{3}\right) = \frac{32}{3}$$

$$\boxed{A = \frac{32}{3} \text{ square units} \approx 10.67}$$

Both parts verified.

Open this answer on its own page →

Implicit differentiation

2080 · 5 marks

Define implicit differentiation and find the slope of the circle $x^2 + y^2 = 25$ at the point (3, -4). [5]

Show solved answer

Given

Given data:

  • Curve (implicit relation): $x^2 + y^2 = 25$ (a circle of radius 5 centered at origin)
  • Point of interest: $(3, -4)$

Check that the point lies on the circle: $3^2 + (-4)^2 = 9 + 16 = 25$ ✓

All required data present.

Solution

Definition of Implicit Differentiation

Implicit differentiation is the process of finding the derivative $\dfrac{dy}{dx}$ when $y$ is defined implicitly as a function of $x$ through an equation $F(x, y) = 0$, rather than explicitly as $y = f(x)$.

Procedure:

  • Differentiate both sides of the equation with respect to $x$.
  • Treat $y$ as a function of $x$, applying the chain rule to every term containing $y$ (i.e., $\frac{d}{dx}[f(y)] = f'(y)\frac{dy}{dx}$).
  • Algebraically solve the resulting equation for $\dfrac{dy}{dx}$.

Finding the Slope

Step 1: Differentiate both sides with respect to $x$

$$\frac{d}{dx}(x^2 + y^2) = \frac{d}{dx}(25)$$

$$2x + 2y\frac{dy}{dx} = 0$$

Step 2: Solve for $\dfrac{dy}{dx}$

$$2y\frac{dy}{dx} = -2x \implies \frac{dy}{dx} = -\frac{x}{y}$$

Step 3: Substitute the point $(3, -4)$

$$\frac{dy}{dx}\bigg|_{(3,-4)} = -\frac{3}{-4} = \frac{3}{4}$$

Final Result

$$\boxed{\text{Slope} = \frac{3}{4} = 0.75}$$

Open this answer on its own page →

2079 · 5 marks

Find $\frac{dy}{dx}$ of the following. $y^2 - x^2 = \cos(xy)$, $x^2 = \frac{9}{y^2}$. [5]

  • Equation 1: $y^2 - x^2 = \cos(xy)$ - Equation 2: $x^2 = \dfrac{9}{y^2}$ Find $\dfrac{dy}{dx}$ for each (implicit differentiation). --- Differentiate both sides with respect to $x$: $$\frac{d}{dx}(y^2 - x^2) = \frac{d}{dx}[\cos(xy)]$$ Left side: $$2y\frac{dy}{dx} - 2x$$ Right side (chain rule + ...
Open this answer on its own page →

2078 · 5 marks

Find $\frac{dy}{dx}$ if $y^2 - x^2 = \sin x$. Find the slope of circle $x^2 + y^2 = 25$ at the point $(3,4)$. [2.5+2.5]

  • Part 1: $y^2 - x^2 = \sin x$ - Part 2: Circle $x^2 + y^2 = 25$, point $(3, 4)$ --- (a) Find $\frac{dy}{dx}$ if $y^2 - x^2 = \sin x$ Differentiate both sides with respect to $x$: $$\frac{d}{dx}(y^2 - x^2) = \frac{d}{dx}(\sin x)$$ $$2y\frac{dy}{dx} - 2x = \cos x$$ Isolate $\frac{dy}{dx}$: $$2y\fr...
Open this answer on its own page →

Chain rule

2077 · 5 marks

Find $\frac{dy}{dx}$ for:

  1. $Y = 2u^3$, $u = 8x - 1$
  2. $Y = \sin u$, $u = x - x\cos x$

[5]

Problem 1: $Y = 2u^3$, $u = 8x - 1$ Problem 2: $Y = \sin u$, $u = x - x\cos x$ Chain rule: $\dfrac{dy}{dx} = \dfrac{dy}{du} \cdot \dfrac{du}{dx}$ --- Step 1: Differentiate $Y$ with respect to $u$ $$\frac{dy}{du} = 2 \cdot 3u^2 = 6u^2$$ Step 2: Differentiate $u$ with respect to $x$ $$\frac{du}{dx}...

Open this answer on its own page →

2081.2 · 5 marks

Use the chain rule to find $\frac{dz}{dt}$ when $z = \cos(x + 4y)$, $x = 5t^4$, $y = \frac{1}{t}$. [5]

  • $z = \cos(x + 4y)$ - $x = 5t^4$ - $y = \dfrac{1}{t}$ Required: $\dfrac{dz}{dt}$ --- $$\frac{dz}{dt} = \frac{\partial z}{\partial x}\cdot\frac{dx}{dt} + \frac{\partial z}{\partial y}\cdot\frac{dy}{dt}$$ $$\frac{\partial z}{\partial x} = -\sin(x + 4y)$$ $$\frac{\partial z}{\partial y} = -4\sin(x ...
Open this answer on its own page →

Derivative as slope of tangent line

0 · 5 marks

Find the slope of the curve $y = 1/x$ at any point $x = a$, $a \neq 0$. What is the slope at the point $x = -1$? Where does the slope equal $-1/4$? What happens to the tangent to the curve at the point $(a, 1/a)$ as $a$ changes? [2+1.5+1.5]

  • Curve: $y = \dfrac{1}{x}$ - Point of interest: $x = a$, with $a \neq 0$ - Specific values to evaluate: slope at $x = -1$; where slope $= -\dfrac{1}{4}$; behavior of tangent at $(a, 1/a)$ as $a$ varies --- Write $y = x^{-1}$. Differentiating using the power rule: $$\frac{dy}{dx} = -1 \cdot x^{-2...
Open this answer on its own page →