Friday, April 26, 2024

Calculating partial derivatives of a function of two variables without using limit

 Goal: Calculate partial derivatives without using limit

The idea behind calculating partial derivatives is to keep all independent variables, other than the ones with respect to which you are differentiating, as constant. Then proceed as if you were using a function of single variable. To prove this let's fix y and pose g(x) = f(x, y)


The same is true when differentiating with respect to y. In this case, we fix x and pose  h(y) = f(x,y) 

as a function of y.                                                                                                                                        
                                                                                                                                               


Example

Calculate 



for the following functions by holding the opposite variable constant and differentiating


Solution



The derivative of the third, fifth and sixth terms are all zero because they do not contain the variable x. Therefore they are treated as constants. The derivative of the second term is -3y since y is considered as a constant number.










Then differentiate g(x,y) with respect to x using 

    
the chain rule and the power rule.





Then differentiate g(x,y) with respect to y using


 the chain rule and the power rule.



   


Practice

by holding the opposite variable 

constant and then differentiating

Wednesday, April 24, 2024

Derivatives of a function of two variables

 Goal: Calculate the partial derivatives of a function of two variables

 Derivatives of a function of two variables

We have seen that some methods of the function of one variable can be applied to the function of two variables. In the notation of Leibniz dy/dx, x is the independent variable and y is the dependent variable. In a function of two variables, how do we adapt this notation? What would be an acceptable definition for the derivative of a function of two variables. This leads to the notion of partial derivatives

Definition

Let f be a function of two variables. Then the partial derivative of with respect to x, written as    

 is defined as:  

The partial derivative of f with respect to y, written as is defined as

 

N.B The notation   is called partial derivative of f with respect to x. 

The notation  is called partial derivative of with respect to y.

Example 

Use the definition of the partial derivative as a limit to calculate  and

for the function :

 

Solution

First, let's calculate f(x+h, y):

  

Let's substitute this in the definition of the partial derivative of f with respect to x.

 

 

To calculate the partial derivative of f with respect to y, let's calculate f(x, y+h)

 

Let's substitute this in the definition of the partial derivative with respect to y:

 

Practice

Use the definition of the partial derivative as a limit to calculate and for the following function: