Algebra Examples
x-y=4 , 4x-y=-5
Step 1
To find the intersection of the line through a point (p,q,r) perpendicular to plane P1 ax+by+cz=d and plane P2 ex+fy+gz=h:
1. Find the normal vectors of plane P1 and plane P2 where the normal vectors are n1=⟨a,b,c⟩ and n2=⟨e,f,g⟩. Check to see if the dot product is 0.
2. Create a set of parametric equations such that x=p+at, y=q+bt, and z=r+ct.
3. Substitute these equations into the equation for plane P2 such that e(p+at)+f(q+bt)+g(r+ct)=h and solve for t.
4. Using the value of t, solve the parametric equations x=p+at, y=q+bt, and z=r+ct for t to find the intersection (x,y,z).
Step 2
Step 2.1
P1 is x-y=4. Find the normal vector n1=⟨a,b,c⟩ from the plane equation of the form ax+by+cz=d.
n1=⟨1,-1,0⟩
Step 2.2
P2 is 4x-y=-5. Find the normal vector n2=⟨e,f,g⟩ from the plane equation of the form ex+fy+gz=h.
n2=⟨4,-1,0⟩
Step 2.3
Calculate the dot product of n1 and n2 by summing the products of the corresponding x, y, and z values in the normal vectors.
1⋅4-1⋅-1+0⋅0
Step 2.4
Simplify the dot product.
Step 2.4.1
Remove parentheses.
1⋅4-1⋅-1+0⋅0
Step 2.4.2
Simplify each term.
Step 2.4.2.1
Multiply 4 by 1.
4-1⋅-1+0⋅0
Step 2.4.2.2
Multiply -1 by -1.
4+1+0⋅0
Step 2.4.2.3
Multiply 0 by 0.
4+1+0
4+1+0
Step 2.4.3
Simplify by adding numbers.
Step 2.4.3.1
Add 4 and 1.
5+0
Step 2.4.3.2
Add 5 and 0.
5
5
5
5
Step 3
Next, build a set of parametric equations x=p+at,y=q+bt, and z=r+ct using the origin (0,0,0) for the point (p,q,r) and the values from the normal vector 5 for the values of a, b, and c. This set of parametric equations represents the line through the origin that is perpendicular to P1 x-y=4.
x=0+1⋅t
y=0+-1⋅t
z=0+0⋅t
Step 4
Substitute the expression for x, y, and z into the equation for P2 4x-y=-5.
4(0+1⋅t)-(0-1⋅t)=-5
Step 5
Step 5.1
Simplify 4(0+1⋅t)-(0-1⋅t).
Step 5.1.1
Combine the opposite terms in 4(0+1⋅t)-(0-1⋅t).
Step 5.1.1.1
Add 0 and 1⋅t.
4(1⋅t)-(0-1⋅t)=-5
Step 5.1.1.2
Subtract 1⋅t from 0.
4(1⋅t)-(-1⋅t)=-5
4(1⋅t)-(-1⋅t)=-5
Step 5.1.2
Simplify each term.
Step 5.1.2.1
Multiply t by 1.
4t-(-1⋅t)=-5
Step 5.1.2.2
Rewrite -1t as -t.
4t--t=-5
Step 5.1.2.3
Multiply --t.
Step 5.1.2.3.1
Multiply -1 by -1.
4t+1t=-5
Step 5.1.2.3.2
Multiply t by 1.
4t+t=-5
4t+t=-5
4t+t=-5
Step 5.1.3
Add 4t and t.
5t=-5
5t=-5
Step 5.2
Divide each term in 5t=-5 by 5 and simplify.
Step 5.2.1
Divide each term in 5t=-5 by 5.
5t5=-55
Step 5.2.2
Simplify the left side.
Step 5.2.2.1
Cancel the common factor of 5.
Step 5.2.2.1.1
Cancel the common factor.
5t5=-55
Step 5.2.2.1.2
Divide t by 1.
t=-55
t=-55
t=-55
Step 5.2.3
Simplify the right side.
Step 5.2.3.1
Divide -5 by 5.
t=-1
t=-1
t=-1
t=-1
Step 6
Step 6.1
Solve the equation for x.
Step 6.1.1
Remove parentheses.
x=0+1⋅(-1)
Step 6.1.2
Simplify 0+1⋅(-1).
Step 6.1.2.1
Multiply -1 by 1.
x=0-1
Step 6.1.2.2
Subtract 1 from 0.
x=-1
x=-1
x=-1
Step 6.2
Solve the equation for y.
Step 6.2.1
Remove parentheses.
y=0-1⋅-1
Step 6.2.2
Simplify 0-1⋅-1.
Step 6.2.2.1
Multiply -1 by -1.
y=0+1
Step 6.2.2.2
Add 0 and 1.
y=1
y=1
y=1
Step 6.3
Solve the equation for z.
Step 6.3.1
Remove parentheses.
z=0+0⋅(-1)
Step 6.3.2
Simplify 0+0⋅(-1).
Step 6.3.2.1
Multiply 0 by -1.
z=0+0
Step 6.3.2.2
Add 0 and 0.
z=0
z=0
z=0
Step 6.4
The solved parametric equations for x, y, and z.
x=-1
y=1
z=0
x=-1
y=1
z=0
Step 7
Using the values calculated for x, y, and z, the intersection point is found to be (-1,1,0).
(-1,1,0)