Question
Question: How do you determine \(\dfrac{dy}{dx}\) given \(y={{x}^{2}}+xy\) ?...
How do you determine dxdy given y=x2+xy ?
Solution
There are two ways to solve this problem. One is by making the given function explicit and then explicitly differentiating it and the other method is by implicit differentiation of function and then rearranging it to find the required result. We shall go with the explicit differentiation of the given function. Hence, we will differentiate using product rule and chain rule of differentiation.
Complete step by step answer:
Complete step-by-step solution:
The given equation is, y=x2+xyand in order to find dxdy, we shall differentiate the entire function with respect to x.
Differentiating it with respect to x, we get
dxdy=dxd(x2)+dxd(xy)
We know that the differentiation of any variable, let us say, t, raised to some power nis given as:
dtd(tn)=ntn−1 , applying this on the first term, we get
⇒dxdy=2x2−1+dxd(xy)
Also, we use the product rule of differentiation where more than one variable is present in one term to be differentiated. We first differentiate one variable and keep the other ones unchanged, then we add another term in which we keep the first variable unchanged and differentiate the other variable.
Applying this rule in our equation, we get
⇒dxdy=2x+1.y+x.dxdy
⇒dxdy(1−x)=2x+y
⇒dxdy=1−x2x+y ……………… equation (1)
But result that we have got is in still in terms of y, thus we substitute value of y from y=x2+xyand rearranging, we get
⇒y(1−x)=x2⇒y=1−xx2
Now, substituting this value in equation (1), we get
⇒dxdy=1−x2x+(1−xx2)
We will take LCM in the numerator to further solve:
⇒dxdy=1−x(1−x2x(1−x)+x2)⇒dxdy=1−x(1−x2x−2x2+x2)⇒dxdy=1−x(1−x2x−x2)
Rearranging further, we get
⇒dxdy=(1−x)22x−x2
Therefore, dxdy=(1−x)22x−x2 wheny=x2+xy.
Note:
Another method of solving the question was by making the given function explicit. This could be done by rearranging the initially given equation and separating the x and y-terms, that is, expressing the y-variable in terms of x-variable only and then differentiating the function using the quotient rule of differentiation.