# Algebra of Derivative of Functions

Derivatives are an integral part of calculus. They measure the rate of change in any quantity. Suppose there is a water tank from which water is leaking. A local engineer is asked to measure the time in which the water tank will become empty. In such a scenario, the engineer needs to know two things — the size of the water tank and the rate at which water is flowing out of it. The size of the tank can be found out easily but to measure the rate at which water is leaking he will have to use derivatives. In this way, derivatives are intertwined in our lives. It is easy to calculate the derivatives for simple functions, but when functions become complex the correct way to approach this problem is to break the problem into subproblems that are easier to solve. Let’s see some rules and approaches to do that in the case of derivatives.

### Derivatives

Derivatives are built on top of the concept of limits. They measure the difference between the values of a function in an interval whose width approaches the value zero. For example, let’s say a function f(x) is given and the goal is to calculate the derivative of that function at a point x = a using limits. It is denoted by , or f'(x).

At x = a,

Notice in the figure, as the interval “h” approaches zero. The line approaches to being a tangent from a chord. This means, that now the derivative when h approaches zero, gives us the slope of the tangent at that particular point.

**Derivatives of some Basic Functions**

The table below shows the derivatives of some standard basic functions.

Common Function | Function | Derivative |

Constant Function | c | f'(x) = 0 |

Line | Ax + b | f'(x) = A |

Square | x^{2} | f'(x) = 2x |

Square Root | √x | f'(x) = |

Exponential | e^{x} | e^{x} |

Exponential | a^{x} | ln(a)a^{x} |

Logarithms | log_{e}x | |

Logarithms | log_{a}x | |

Trigonometry | sin(x) | cos(x) |

Trigonometry | cos(x) | -sin(x) |

Trigonometry | tan(x) | sec^{2}(x) |

### Rules of Differentiation

The above table presents us derivatives of some standard functions, but in real life, the functions are not always simple. Usually, the functions encountered involve more than one function related to each other by the operators such as addition, subtraction, multiplication, and division. In such cases, it is very cumbersome to solve the derivatives through their limits definition. To make such calculations easy certain rules were given:

- Summation or Difference Rule
- Product and Division Rule

Consider two functions f(x) and g(x). Let’s say there is a third function h(x) which combines these two functions.

**Summation and Difference Rule:**

**Case 1: h(x) = f(x) + g(x) **

This function is summation of both f(x) and g(x), the derivative of such functions is given by,

⇒

or

h'(x) = f'(x) + g'(x)

**Case 2: h(x) = f(x) – g(x) **

This function is the difference of both f(x) and g(x), the derivative of such functions is given by,

⇒

or

h'(x) = f'(x) – g'(x)

**Product and Division Rules:**

**Case (i): h(x) = f(x) x g(x)**

This function is product of both f(x) and g(x), the derivative of such functions is given by,

⇒

or

h'(x) = f'(x)g(x) + g'(x) f(x)

**Case (i): h(x) = **

This function is division of both f(x) and g(x), the derivative of such functions is given by,

⇒

or

h'(x) =

The division and product rules are also called the Leibniz rules.

Let’s see some sample problems with these rules.

### Sample Problems

**Question 1: Find the derivative for the given function f(x). **

**f(x) = x ^{2} + 3x **

**Solution: **

This function is the sum of two different function. Sum rule will be used here.

f(x) = x

^{2}+ 3xHere, h(x) = x

^{2}and g(x) = 3x.f(x) = h(x) + g(x)

⇒f'(x) = h'(x) + g'(x)

⇒ f'(x) =

⇒f'(x) =

⇒f'(x) = 2x + 3

**Question 2: Find the derivative for the given function f(x). **

**f(x) = e ^{x} + sin(x) **

**Solution: **

This function is the sum of two different function. Sum rule will be used here.

f(x) =e

^{x}+ sin(x)Here, h(x) =e

^{x}and g(x) = sin(x)f(x) = h(x) + g(x)

⇒f'(x) = h'(x) + g'(x)

⇒ f'(x) =

⇒f'(x) =

⇒f'(x) = e

^{x }+ cos(x)

**Question 3: Find the derivative for the given function f(x), **

**f(x) = 5x ^{4} – 3x^{2} **

**Solution: **

This function is the difference of two different function. Difference rule will be used here.

f(x) =5x

^{4}– 3x^{2}Here, h(x) =5x

^{4}and g(x) = 3x^{2}f(x) = h(x) – g(x)

⇒f'(x) = h'(x) – g'(x)

⇒ f'(x) =

⇒f'(x) =

⇒f'(x) = 20x

^{3}+ 6x

**Question 4: Find the derivative for the given function f(x), **

**f(x) = 5log(x) – 3x**

**Solution: **

This function is the difference of two different function. Difference rule will be used here.

f(x) =

5log(x) – 3xHere, h(x) =

5log(x)and g(x) = 3xf(x) = h(x) – g(x)

⇒f'(x) = h'(x) – g'(x)

⇒ f'(x) =

⇒f'(x) =

⇒f'(x) =

**Question 5: Find the derivative for the given function f(x), **

**f(x) = 5x ^{4}.sin(x)**

**Solution: **

This function is the product of two different function. Product rule will be used here.

f(x) =5x

^{4}.sin(x)Here, h(x) =5x

^{4}and g(x) = sin(x)f(x) = h(x).g(x)

⇒f'(x) = h'(x) g(x) + h(x)g'(x)

⇒ f'(x) =

⇒f'(x) =

⇒f'(x) = 20x

^{3}sin(x) + 5x^{4}cos(x)

**Question 6: Find the derivative for the given function f(x), **

**f(x) = 5e ^{x}.log(x)**

**Solution: **

This function is the product of two different function. Product rule will be used here.

f(x) =5e

^{x}.log(x)Here, h(x) =5e

^{x}and g(x) = log(x)f(x) = h(x).g(x)

⇒f'(x) = h'(x) g(x) + h(x)g'(x)

⇒ f'(x) =

⇒f'(x) =

⇒f'(x) =

**Question 7: Find the derivative for the given function f(x), **

**f(x) = **

**Solution: **

This function is the division of two different function. Division rule will be used here.

f(x) =

Here, h(x) =x + 1 and g(x) = 2x

f(x) =

⇒f'(x) =

⇒ f'(x) =

⇒f'(x) =

⇒f'(x) =

⇒f'(x) =

**Question 8: Find the derivative for the given function f(x), **

**f(x) = **

**Solution: **

This function is the division of two different function. Division rule will be used here.

f(x) =

Here, h(x) =log(x) and g(x) = 2x

f(x) =

⇒f'(x) =

⇒ f'(x) =

⇒f'(x) =

⇒f'(x) =