# How do you implicitly differentiate 18=(y-x)^2+y/x?

##### 1 Answer
May 8, 2016

$\frac{\mathrm{dy}}{\mathrm{dx}} = \frac{2 {x}^{2} \left(y - x\right) + y}{2 {x}^{2} \left(y - x\right) + x}$

#### Explanation:

An implicit function is a function, in which a variable is not explicitly derived from another variable, rather is defined implicitly by an implicit equation i.e. by associating one of the variables with the other.

In such cases, we differentiate, say $y$ normally, but as we derive w.r.t. say $x$, considering $y$ as a function of $x$, using chain rule, we multiply by $\frac{\mathrm{dy}}{\mathrm{dx}}$.

In the given case $18 = {\left(y - x\right)}^{2} + \frac{y}{x}$, differentiating w.r,t, $x$, we get

$0 = 2 \left(y - x\right) \left(\frac{\mathrm{dy}}{\mathrm{dx}} - 1\right) + \frac{x \frac{\mathrm{dy}}{\mathrm{dx}} - y}{x} ^ 2$ or

$\frac{y - x \frac{\mathrm{dy}}{\mathrm{dx}}}{x} ^ 2 = 2 \left(y - x\right) \left(\frac{\mathrm{dy}}{\mathrm{dx}} - 1\right)$ or

$\left(y - x \frac{\mathrm{dy}}{\mathrm{dx}}\right) = 2 {x}^{2} \left(y - x\right) \frac{\mathrm{dy}}{\mathrm{dx}} - \left(2 {x}^{2} \left(y - x\right)\right)$ or

$- x \frac{\mathrm{dy}}{\mathrm{dx}} = 2 {x}^{2} \left(y - x\right) \frac{\mathrm{dy}}{\mathrm{dx}} - 2 {x}^{2} \left(y - x\right) - y$ or

$2 {x}^{2} \left(y - x\right) \frac{\mathrm{dy}}{\mathrm{dx}} + x \frac{\mathrm{dy}}{\mathrm{dx}} = y + 2 {x}^{2} \left(y - x\right)$

$\left(2 {x}^{2} \left(y - x\right) + x\right) \frac{\mathrm{dy}}{\mathrm{dx}} = y + 2 {x}^{2} \left(y - x\right)$ or

$\frac{\mathrm{dy}}{\mathrm{dx}} = \frac{2 {x}^{2} \left(y - x\right) + y}{2 {x}^{2} \left(y - x\right) + x}$
{"ft_lang_label":"__label__en","ft_lang_prob":0.8703138,"math_prob":1.0000097,"size":394,"snap":"2021-21-2021-25","text_gpt3_token_len":84,"char_repetition_ratio":0.14615385,"word_repetition_ratio":0.0,"special_character_ratio":0.20812182,"punctuation_ratio":0.118421055,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":1.0000064,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2021-06-22T20:41:56Z\",\"WARC-Record-ID\":\"<urn:uuid:47e8cc8e-51d7-4116-a3df-bd91750be23e>\",\"Content-Length\":\"34799\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:01383d23-0f71-45c1-bc1c-5eae987b1f78>\",\"WARC-Concurrent-To\":\"<urn:uuid:a84b913c-88d5-405f-acf1-d073312e8739>\",\"WARC-IP-Address\":\"216.239.38.21\",\"WARC-Target-URI\":\"https://socratic.org/questions/how-do-you-implicitly-differentiate-18-y-x-2-y-x\",\"WARC-Payload-Digest\":\"sha1:QINOATXDVINPNPC6WSMEJOA3XIKAJOMV\",\"WARC-Block-Digest\":\"sha1:JATCWQXUK3WII2WDCB4H425JHFF576DL\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2021/CC-MAIN-2021-25/CC-MAIN-2021-25_segments_1623488519735.70_warc_CC-MAIN-20210622190124-20210622220124-00544.warc.gz\"}"}