How to solve simultaneous equations?

1 view (last 30 days)
wonsoek lee
wonsoek lee on 29 Mar 2018
Commented: Ameer Hamza on 21 Apr 2018
I am trying to use the symbolic toolbox of MATLAB to solve the following systems of equations. Given the following 8 equations
1. D1*(a - d) + D2*(b - e) - 1/2 == 0
2. a-4*D1*(a^2-a*d)+D2*(c^2-c*f)+2*D1*(b*f-e*c)==0
3. b-4*D2*(b^2-b*e)+D1*(c^2-c*f)+2*D3*(b*f-e*c)==0
4. c-2*D1*(2*a*c-a*f-d*c)+2*D2*(2*b*c-b*f-c*e)+4*D3*(d*b-a*e)==0
5. D4*d+D5*e-D7*a-D8*b==0
6. 4*D4*a*d+D5*c*f+2*D6*(a*f-c*d)+4*D7*a^2+D8*c^2==0
7. 4*D5*b*e+D4*c*f+2*D6*(c*e-b*f)+4*D8*b^2+D7*c^2==0
8. 2*D6*(b*d-a*e)-D4*(d*c+c*d)-D5*(b*f+c*b)-2*D7*a*c-2*D8*b*c==0
where (D1~D8) are constants and (a,b,c,d,e,f) are variables.
i need to solve for a, b and c in terms of D1, D2, D3, … , D7 and D8.
  1 Comment
Ameer Hamza
Ameer Hamza on 21 Apr 2018
How do you expect to solve a system of 8 equations with 6 variables. The system is overdetermined. A solution will not exist unless two or more equations are linearly related.

Sign in to comment.

Answers (0)

Categories

Find more on Symbolic Math Toolbox 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!