how to convert explicit function to implicit?

4 views (last 30 days)
Hi, I have an equation and I want y be as a fuction, in fact, I 'd like a function in which x is independent variable and y is dependent to x,could you please help me how to do it?
A is a complicated equation but doesn't have "y" in it so it is not important what it is, a and b also have values.
  2 Comments
Rik
Rik on 21 Aug 2021
This seems doable with fairly basic algebra. What have you tried so far?
M
M on 21 Aug 2021
it seems simple but when I tried to solve by hand, it becomes complicated...

Sign in to comment.

Accepted Answer

Wan Ji
Wan Ji on 21 Aug 2021
If you feel bored solving it by hand, just use matlab!
syms a y x b A
eq = a*y - x*(a+1) - A*(x^2-b*a^2*(y-x)^2);
y = solve(eq, y)
the answer is
y =
-((4*b*A^2*x^2 + 4*b*A*x + 1)^(1/2) - 2*A*a*b*x + 1)/(2*A*a*b)
((4*b*A^2*x^2 + 4*b*A*x + 1)^(1/2) + 2*A*a*b*x - 1)/(2*A*a*b)

More Answers (0)

Categories

Find more on Loops and Conditional Statements in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!