How can I do implicit differentiation

11 views (last 30 days)
zahra alramadhan
zahra alramadhan on 4 Jul 2020
Answered: Walter Roberson on 4 Jul 2020
Hello,
I have this quastion and I need to do it by matlab. If anyone could help me please with it.
Find dy/dx by implicit differentiation.
tan^-1 (x^2y)=x+xy^2

Answers (3)

madhan ravi
madhan ravi on 4 Jul 2020
Edited: madhan ravi on 4 Jul 2020

Star Strider
Star Strider on 4 Jul 2020
Edited: Star Strider on 4 Jul 2020
I can find no documentation that it is possible in MATLAB (as much as I like it).
See this Wolfram Alpha page for the correct solution.

Walter Roberson
Walter Roberson on 4 Jul 2020
Example
syms y(x) DY
eqn = acot(x^2+x*y) - asin(x+y) == y^3-x;
dy = diff(y);
deqn = diff(eqn,x);
Deqn = subs(deqn, dy, DY);
DYsol = simplify( solve(Deqn, DY) );
disp(DY == DYsol)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!