Solving system of 3 quadratic equations

  • #1
Gbl911
18
0
Thread moved from the technical forums to the schoolwork forums
Given the following equation:

R = ((Q-P) / |Q-P|) ⋅ V
where Q, P, and V are 3 dimensional vectors, R is a scalar, "" denotes the dot product, and |Q-P| is the magnitude of Q-P.

Assuming Q, V, and R are known and given 3 independent equations with different values for Q, V, and R that all correspond to one vector P, solve for all elements of P.

As an example the first equation would be:
R1 = ((Q1-P) / |Q1-P|) ⋅ V1

Expanding this out to view individual elements yields:
R1 = ((Q11-P1)V11 + (Q12-P2)V12 + (Q13-P3)V13) / sqrt((Q11-P1)2 + (Q12-P2)2+ (Q13-P3)2)

From here I have gotten some of the way through solving the 3 equations by substitution but it becomes unbearably long and requires the quadratic equation due to the sqrt... I have also tried using every numerical method I know to solve it but it seems the equation is far to ill conditioned and gradient methods are almost useless. I haven't found anything online regarding it and was hoping some of you who are good at math would be able to give me some guidance. I'm hoping there is a way without having to go through the substitution by hand but I may end up just doing that....
 
Last edited:
Physics news on Phys.org
  • #2
[tex]\mathbf{v}\cdot\frac{\mathbf{P}-\mathbf{Q}}{|\mathbf{P}-\mathbf{Q}|}=1[/tex]where
[tex]\mathbf{v}=\frac{\mathbf{V}}{R}[/tex]
the equations are
[tex]\sum_{k=1}^3 v_{ik}(p_k-q_{ik})=\sqrt{\sum_{k=1}^3(p_k-q_{ik})^2}[/tex]
or
[tex](\sum_{k=1}^3 v_{ik}(p_k-q_{ik}))^2=\sum_{k=1}^3(p_k-q_{ik})^2[/tex]
for i=1,2,3. By further calculation we can get three quadratic form equations of
[tex]\sum_{j,k=1}^3 a(i)_{jk}p_jp_k=0[/tex]
when ##\mathbf{p}=(0,0,0)## is a solution. Otherwise
[tex]\sum_{j,k=1}^3 a(i)_{jk}p_jp_k=1[/tex]
where i=1,2,3 and ##a(i)_{jk}=a(i)_{kj}##, symmetric.
I do not have enough knowledge to show how to solve it in general. Instead, I am interested in drawing figures of them in 3D space and observing the intersections and the crossing point if there are.

Example https://www.wolframalpha.com/input?i=plot+x^2+2y^2+3z^2+4xy+5yz+6zx=1+
 
Last edited:
  • #3
## r=((\vec{q}-\vec{p})/\|\vec{q}-\vec{p}\|)\cdot\vec{v} ##
## r(\vec{q}-\vec{p})=\|\vec{q}-\vec{p}\|\vec{v} ##
## (\vec{q}-\vec{p})/\|\vec{q}-\vec{p}\|=\vec{v}/r ##

In the Cartesian coordinate system there will be
## p_x=q_x-kv_x ##
## p_y=q_y-kv_y ##
## p_z=q_z-kv_z ##
where k is a non-zero real number.

The problem is unsolvable if ## \vec{v}/r ## is not a unit vector.
 
  • #4
You have basically three different ellipsoids and ask for their intersection. This is not a trivial problem. I assume that only numerical methods can help here.
 
  • Like
Likes Gavran
  • #5
The scalar product is not associative and the approach in the post #3 is wrong.
Sorry for that.
 

FAQ: Solving system of 3 quadratic equations

What is a system of quadratic equations?

A system of quadratic equations consists of two or more quadratic equations that are solved simultaneously. Each equation is typically in the form of ax² + bx + c = 0, where a, b, and c are constants. The solution to the system is the set of values for the variables that satisfy all the equations in the system at the same time.

How do you solve a system of 3 quadratic equations?

To solve a system of 3 quadratic equations, you can use methods such as substitution, elimination, or graphical methods. First, express one variable in terms of the others using one of the equations. Then substitute this expression into the other equations to reduce the number of variables. Continue this process until you can solve for the remaining variables, and then back-substitute to find all variable values.

Can a system of 3 quadratic equations have multiple solutions?

Yes, a system of 3 quadratic equations can have multiple solutions. Depending on the nature of the equations, the system may yield zero, one, or infinitely many solutions. For example, if the equations represent curves that intersect at multiple points, there could be several sets of values that satisfy all three equations.

What methods can be used to visualize the solutions of a system of quadratic equations?

Graphical methods are often used to visualize the solutions of a system of quadratic equations. By plotting each quadratic equation on a coordinate system, the points of intersection represent the solutions to the system. Software tools or graphing calculators can help create these visualizations, making it easier to identify the number and nature of the solutions.

Are there any specific challenges in solving a system of 3 quadratic equations?

Yes, there are several challenges in solving a system of 3 quadratic equations. These include the potential for complex solutions, the difficulty in finding exact solutions analytically, and the possibility of encountering non-linear behavior that complicates the solution process. Additionally, the presence of multiple intersections can make it challenging to identify all possible solutions without thorough analysis.

Similar threads

Replies
1
Views
1K
Replies
12
Views
2K
Replies
4
Views
2K
Replies
8
Views
2K
Replies
2
Views
585
Replies
2
Views
799
Replies
5
Views
2K
Back
Top