Derivative of Function

Nerd Cafe

1. Derivative of a Power Function

  • Function:

f(x)=x3f(x)=x^{3}
  • Derivative:

fˊ(x)=3x2f\acute{}(x)=3x^{2}
  • Python Code:

from sympy import symbols, diff

x = symbols('x')
f = x**3
derivative = diff(f, x)
print(derivative)
  • Output:

2. Derivative of a Polynomial

  • Function:

f(x)=2x4+3x25f(x)=2x^{4}+3x^{2}-5
  • Derivative:

fˊ(x)=8x3+6xf\acute{}(x)=8x^{3}+6x
  • Python Code:

  • Output:

3. Derivative of a Constant Multiplied Function

  • Function:

f(x)=7x5f(x)=7x^{5}
  • Derivative:

fˊ(x)=35x4f\acute{}(x)=35x^{4}
  • Python Code:

  • Output:

4. Derivative of a Sum of Functions

  • Function:

f(x)=x2+x+1f(x)=x^{2}+x+1
  • Derivative:

fˊ(x)=2x+1f\acute{}(x)=2x+1
  • Python Code:

5. Derivative of a Trigonometric Function

  • Function:

f(x)=sin(x)f(x)=sin(x)
  • Derivative:

fˊ(x)=cos(x)f\acute{}(x)=cos(x)
  • Python Code:

  • Output:

6. Derivative of a Product of Two Functions

  • Function:

f(x)=x.sin(x)f(x)=x.sin(x)
  • Derivative (Product Rule):

fˊ(x)=x.cos(x)+sin(x)f\acute{}(x)=x.cos(x)+sin(x)
  • Python Code:

  • Output:

7. Derivative of a Quotient

  • Function:

f(x)=x2+1xf(x)=\frac{x^{2}+1}{x}
  • Derivative (Quotient Rule):

fˊ(x)=2x(x)(1)(x2+1)x2=x21x2f\acute{}(x)=\frac{2x(x)-(1)(x^{2}+1)}{x^{2}}=\frac{x^{2}-1}{x^{2}}
  • Python Code:

  • Output:

8. Derivative of a Composite Function

  • Function:

f(x)=sin(x2)f(x)=sin(x^{2})
  • Derivative (Chain Rule):

fˊ(x)=(2x).cos(x2)f\acute{}(x)=(2x).cos(x^{2})
  • Python Code:

  • Output:

9. Derivative of an Exponential Function

  • Function:

f(x)=exf(x)=e^{x}
  • Derivative:

fˊ(x)=exf\acute{}(x)=e^{x}
  • Python Code:

  • Output:

10. Derivative of a Logarithmic Function

  • Function:

f(x)=ln(x)f(x)=ln(x)
  • Derivative:

fˊ(x)=1xf\acute{}(x)=\frac{1}{x}
  • Python Code:

  • Output:

Keywords

derivative,calculus,calculus 1,python,sympy,math,mathematics,differentiation,power rule,product rule,quotient rule,chain rule,polynomial,trigonometric function,exponential function,logarithmic function,symbolic computation,automatic differentiation,step-by-step,python code, nerd cafe

Last updated