In space, the angle between two lines is measured through their directions, not their positions — two lines that never meet still have a well-defined angle between them (the angle you would see if you slid one across to meet the other).
So the angle between the lines is just the angle between their direction vectors. If the lines run along b1 and b2,
cosθ=∣b1∣∣b2∣∣b1⋅b2∣
Why the absolute value
A line has two opposite directions, so b and −b describe the same line. The modulus in the numerator picks the acute angle (0∘≤θ≤90∘), which is the convention for the angle between lines.
In Cartesian form
If the lines have direction ratios (a1,b1,c1) and (a2,b2,c2),
If instead you know the direction cosines (l1,m1,n1) and (l2,m2,n2), the denominators are both 1 and cosθ=∣l1l2+m1m2+n1n2∣.
Two special cases
Parallel: the direction ratios are proportional, a2a1=b2b1=c2c1.
Perpendicular: the dot product vanishes, a1a2+b1b2+c1c2=0.
Example
Lines with directions b1=(1,2,2) and b2=(2,2,1):
cosθ=99∣1⋅2+2⋅2+2⋅1∣=98,
so θ=cos−198.
Finding the angle between two lines using their direction ratios or direction cosines is one of the most exam-relevant results in the NCERT Class 12 Three Dimensional Geometry chapter, tested in CBSE boards, JEE Main and several state CETs. "Angle between two lines in 3D formula" is a commonly searched revision topic, and the same absolute-value trick reappears later for angles between lines and planes.
A line parallel to ax+by+c=0 has the form ax+by+k=0; fix k using the given x-intercept (3,0).
5x−4y+k=0 through (3,0) gives 15+k=0⇒k=−15.
✓Final answer
5x−4y−15=0
A line parallel to ax+by+c=0 has the form ax+by+k=0; fix k using the given x-intercept (3,0).
5x−4y+k=0 through (3,0) gives 15+k=0⇒k=−15.
Every line parallel to 5x−4y+3=0 shares the same coefficients of x and y (same direction), differing only in the constant term, so it belongs to the family 5x−4y+k=0 for some constant k.
Step 1. Write the family of parallel lines. Since the required line is parallel to 5x−4y+3=0, its equation is
5x−4y+k=0
for some constant k to be determined.
Step 2. Use the given x-intercept. An x-intercept of 3 means the line passes through the point (3,0) (where y=0). Substituting:
5(3)−4(0)+k=0⟹15+k=0⟹k=−15.
Step 3. Write the final equation. Substituting k=−15 back into the family:
5x−4y−15=0.
Check: at y=0, 5x=15⇒x=3✓, and the coefficients (5,−4) match the given line, confirming parallelism.
✓Final answer
5x−4y−15=0
Family of parallel lines ax+by+k=0, fixed by the given x-intercept
Using the point-slope perpendicular family (swapping/sign-flipping coefficients) instead of keeping the same a,b for a parallel line.
Mis-substituting the x-intercept as (0,3) instead of (3,0).