In calculus, differentiation is a method of finding the derivative of a function. The derivative of a function basically represents the slope in a graph. For example, the slope of a line 3x is 3. The slope of a constant value is zero; thus, it will be parallel to either of the axes. Some of the common functions whose derivatives are evaluated are square root, trigonometric functions, line, etc.Â

For all the functions, we cannot apply the same method to find the derivatives. For example, finding the derivative of a **continuous function** that is continuously differentiable at every point.Â Therefore, there are certain rules that are used to find these derivatives, which we will be discussing here.

## What are the Rules of Differentiation?

The rules to find the derivatives of a function are:

- Power Rule
- Sum Rule
- Difference Rule
- Product Rule
- Quotient Rule
- Chain Rule

Let us discuss these rules one by one.

## Power Rule

According to this rule, if the function is x is a variable that is raised to a power n, then the differentiation of x raised to the power n is given by:

(d/dx)x^{n} = nx^{n-1}

Let us understand by an example.

Suppose function f (x) = x^{4}

Differentiating f with respect to x we get;

fâ€™(x) = 4x^{4-1} = 4x^{3}

## Sum Rule of Differentiation

As per the sum rule, the derivative of the sum of any two functions is equal to the sum of the derivative of individual functions.

If f(x)=u(x) + v(x), then;

f'(x) = u'(x) + v'(x)

We can solve an example to understand this rule.

Example: f(x) = x^{2} + 2x

Differentiating f(x) with respect to x, we get;

fâ€™(x) = d/dx (x^{2} + 2x)

fâ€™(x) = 2x + 2 = 2(x+1)

## Difference Rule of Differentiation

The difference rule is the same as the sum rule for differentiation. The derivative of the differentiation of two functions will be equal to the difference of the derivative of the individual function.

If f(x)=u(x) â€“ v(x), then;

f'(x) = u'(x) â€“ v'(x)

## Product Rule of Differentiation

If f(x) is a function that is product of any two functions u(x) and v(x), such that;

f(x) =Â u(x)Ã—v(x),Â

Then the derivative of function f(x) is given by:

fâ€²(x) = uâ€²(x) Ã— v(x) + u(x) Ã— vâ€²(x)

Example: Find the derivative of 2x (x^{2})

Let f(x) = 2x (x^{2})

Differentiating f(x), w.r.t x, we get;

fâ€™(x) = d/dx (2x.(x^{2}))

= d/dx(2x) (x^{2}) + 2x d/dx (x^{2})

= 2.x^{2} + 2x (2x)

= 2x^{2} + 4x^{2}

= 6x^{2}

## Quotient Rule of Differentiation

According to the quotient rule, if f(x) is a function, such that;

f(x) = u(x)/v(x)

Then the derivative of f(x) is given by:

fâ€™(x) = [uâ€™(x)v(x) â€“ u(x)vâ€™(x)]/v(x)^{2}

## Chain Rule of Differentiation

This rule is used for composite functions. A composite function is a function that is written inside another function. Suppose, y = f(x) = g(u) and if u = h(x), then as per the **chain rule**.

dy/dx = (dy/du) Ã— (du/dx)

Example: Derivative of d/dx (1/cosx)

Let,

g(x) = cos

f(g) = 1/g(x)

Now as per chain rule;

derivative of f(g(x)) = fâ€™(g(x))gâ€™(x)

fâ€™g(x) = -1/g^{2}

gâ€™(x) = -sin x

(1/cos(x))â€™ = -1/g(x)^{2} (-sin(x)

= sin x/cos^{2}x

Read More Why Outsourcing IT Services Is Increasingly Popular.