I am trying to use implicit differentiation to differentiate $e^{y/x} = 20x-y$. I get $\frac{20}{2 e^{y/x} \cdot \frac{x-y}{x^2}}$, but according to the math website I'm using, "WebWork", this is wrong.
I'm not sure how to handle it when an equation has two $\frac{dy}{dx}$ floating around, but I'm not sure this is the problem.
Here are my steps:
$$\frac{d}{dx}(e^{y/x}) = \frac{d}{dx}(20x-y)$$
Factoring both sides independently:
$$\frac{d}{dx}(e^{y/x}) = e^{y/x}\cdot\frac{x-y}{x^2} \frac{dy}{dx}$$
$$\frac{d}{dx}(20x-y)=20-\frac{dy}{dx}$$
Finding $\frac{dy}{dx}$
$$e^{y/x} \cdot \frac{x-y}{x^2} \frac{dy}{dx} = 20 - \frac{dy}{dx}$$
$$\frac{dy}{dx}+\frac{x-y}{x^2} \frac{dy}{dx} = \frac{20}{e^{y/x}}$$
$$\frac{dy}{dx} + \frac{dy}{dx} = \frac{20}{e^{y/x}\cdot\frac{x-y}{x^2}}$$
$$2\frac{dy}{dx} = \frac{20}{e^{y/x}\cdot\frac{x-y}{x^2}}$$
$$\frac{dy}{dx} = \frac{20}{2e^{y/x}\cdot\frac{x-y}{x^2}}$$
Consider representing $\frac{dy}{dx}=y'$ to make the equation clearer and easier to deal with terms.
Assuming your original equation is $e^{y/x} = 20x-y$.
$\dfrac{d}{dx}(e^{y/x})=e^{y/x}\cdot \dfrac{d}{dx}\left(\dfrac{y}x\right)=e^{y/x}\cdot\dfrac{x\dfrac{dy}{dx}-y\dfrac{dx}{dx}}{x^2}=e^{y/x}\cdot\left(\dfrac{xy'-y}{x^2}\right)\tag1$
So $\dfrac{d}{dx}\left(e^{y/x} = 20x-y\right)\implies\dfrac{d}{dx}\left(e^{y/x} \right)=\dfrac{d}{dx}\left(20x-y\right)$. Upon substituting $(1)$ we have, $\begin{align}e^{y/x}\cdot\left(\dfrac{xy'-y}{x^2}\right)=20-y'&\implies e^{y/x}xy'-e^{y/x}y=20x^2-x^2y'\\&\implies y'(x^2+xe^{y/x})=20x^2+e^{y/x}y\end{align}$
I suppose you can take it from here.
Taking logarithms can be considered as well.$$\frac{y}x=\ln(20x-y)$$ Differentiating $$\frac{xy'-y}{x^2}=\frac{20-y'}{20x-y} \implies y'=\frac{20x^2+20xy-y^2}{21x^2-xy}$$