Ask Your Question

evaluating derivative of implicit function

asked 2019-04-05 15:28:44 -0500

brettpim gravatar image

I am trying to evaluate the derivative of an implicitly defined function

rho = function('rho',u)
u_z_equation = u*z^3 - u*z^2 - z^3 + z^2 - 2*z + 1
implicit = u_z_equation(z=rho)
rho_1 = solve(implicit(u=1),rho(1))[0]
print rho_1
d_rho = solve(diff(implicit,u),diff(rho))[0]
print d_rho(u=1)

But I do not know how to substitute the value I found for rho(1) into the expression for the derivative

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2019-04-05 16:28:53 -0500

rburing gravatar image

You can do it like this (subs accepts relational arguments):

edit flag offensive delete link more



thanks rburing

brettpim gravatar imagebrettpim ( 2019-04-06 07:23:50 -0500 )edit

You're welcome. You can also vote up and accept the answer using the buttons on the left of it.

rburing gravatar imagerburing ( 2019-04-06 08:03:25 -0500 )edit

@rburing: it's also important to upvote questions that are good enough to deserve an answer, especially questions by users with low karma; users with low karma can only accept anwers but cannot upvote!

slelievre gravatar imageslelievre ( 2019-04-08 16:39:41 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2019-04-05 15:28:44 -0500

Seen: 187 times

Last updated: Apr 05 '19