Sign In
Start by solving the given equation for y.
d=|ax_0 + by_0|/sqrt(a^2+b^2)
Let's begin by writing the line in slope-intercept form.
LHS-ax=RHS-ax
.LHS /b.=.RHS /b.
Put minus sign in front of fraction
a* b/c=a/c* b
The distance from a point to a line is defined as the shortest distance. This is going to be the segment that runs perpendicular to the line.
Lines that run perpendicular to each other have slopes that are opposite reciprocals. This means the product of their slopes will equal -1. m_1* m_2=- 1 Examining the slope-intercept form of the line, we know that it has a slope of - ab. By substituting this value into the formula, we can find the slope of the perpendicular line.
y= y_0, x= x_0
LHS-b/ax_0=RHS-b/ax_0
Rearrange equation
a/c* b = a* b/c
a = a* a/a
Subtract fractions
Now we can write the equation of the perpendicular line. y=b/ax+ay_0-bx_0/a
To find our distance, we also need to know where the given line and the perpendicular line intersect. By setting up a system of equations, we can find the point of intersection. y=- abx & (I) y= bax+ ay_0-bx_0a & (II) Since both equations have y isolated, it's convenient to use the Substitution Method. We will substitute the value of y from Equation (I) into Equation (II).
y= - a/bx
LHS-b/ax=RHS-b/ax
Factor out x
.LHS /(- a/b-b/a).=.RHS /(- a/b-b/a).
From here, we subtract the fractions in the denominator before multiplying the numerator and the denominator by ab. x=(ay_0-bx_0/a)* ab/(- a/b-b/a) * ab ⇔ x=b(ay_0-bx_0)/- a^2-b^2 Now, we simplify a little more by multiplying the numerator and denominator by -1. x=b(ay_0-bx_0)* (-1)/(- a^2-b^2)* (-1) ⇔ x=b(bx_0-ay_0)/a^2+b^2 Having solved the second equation for x, we can substitute this value into the first equation to find the value of y.
x= b(bx_0-ay_0)/a^2+b^2
Multiply fractions
a/b=.a /b./.b /b.
Put minus sign in numerator
-(b-a)=a-b
When we know the coordinates of the two points making up the segment, we can use the Distance Formula to calculate it.
Substitute ( b(bx_0-ay_0)/a^2+b^2,a(ay_0-bx_0)/a^2+b^2) & ( x_0,y_0)
a = (a^2+b^2)* a/(a^2+b^2)
Distribute coefficients
Subtract fractions
To simplify this further, there are two things we need to do. First, remember that the square of a negative is a positive number. Then, we can use the properties of perfect square trinomials.
Factor out - 1
Put minus sign in front of fraction
(- a)^2 = a^2
(a/b)^m=a^m/b^m
Add fractions
(a+b)^2=a^2+2ab+b^2
Finally, we can remove common factors from the numerator and the denominator before fully simplifying the distance.
Factor out a^2
Factor out b^2
Commutative Property of Addition
Factor out (a^2+b^2)
a/b=.a /(a^2+b^2)./.b /(a^2+b^2).
a^2+2ab+b^2=(a+b)^2
sqrt(a/b)=sqrt(a)/sqrt(b)
sqrt(a^2)=|a|
Having found the formula, we can try it using the point (1,1) and the line 2x+3y=0. This means a= 2, b= 3, x_0= 1, and y_0=1
Substitute values
The distance is approximately 1.39 units.