A simple problem over reflection of point about a line
up vote
0
down vote
favorite
My question is extremely dull, so please don't bother: I want to have an explicit expression for the reflection of a point $(p,q)$ about a line $y=mx$, in terms of coefficients $p$,$q$ and $m$. But I am unable to get it. (Atleast no textbook or website mentions it to my reach). Please help.
analytic-geometry
add a comment |
up vote
0
down vote
favorite
My question is extremely dull, so please don't bother: I want to have an explicit expression for the reflection of a point $(p,q)$ about a line $y=mx$, in terms of coefficients $p$,$q$ and $m$. But I am unable to get it. (Atleast no textbook or website mentions it to my reach). Please help.
analytic-geometry
1
"Please don't bother"? To answer your question?
– Shubham Johri
Dec 2 at 14:24
@Shubham Johri , I know that my question is a lack of mind and totally dull , and I fear that it may be put on hold or closed by the community , but the concept of reflection is quite new to me and I really don't know a bit about it.
– Awe Kumar Jha
Dec 2 at 14:29
1
It's okay I guess. Nobody is at the same level and this website is meant for general consumption. All you have to do is convince us that you have genuinely tried to solve the problem.
– Shubham Johri
Dec 2 at 14:46
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
My question is extremely dull, so please don't bother: I want to have an explicit expression for the reflection of a point $(p,q)$ about a line $y=mx$, in terms of coefficients $p$,$q$ and $m$. But I am unable to get it. (Atleast no textbook or website mentions it to my reach). Please help.
analytic-geometry
My question is extremely dull, so please don't bother: I want to have an explicit expression for the reflection of a point $(p,q)$ about a line $y=mx$, in terms of coefficients $p$,$q$ and $m$. But I am unable to get it. (Atleast no textbook or website mentions it to my reach). Please help.
analytic-geometry
analytic-geometry
edited Dec 2 at 14:30
asked Dec 2 at 14:16
Awe Kumar Jha
27210
27210
1
"Please don't bother"? To answer your question?
– Shubham Johri
Dec 2 at 14:24
@Shubham Johri , I know that my question is a lack of mind and totally dull , and I fear that it may be put on hold or closed by the community , but the concept of reflection is quite new to me and I really don't know a bit about it.
– Awe Kumar Jha
Dec 2 at 14:29
1
It's okay I guess. Nobody is at the same level and this website is meant for general consumption. All you have to do is convince us that you have genuinely tried to solve the problem.
– Shubham Johri
Dec 2 at 14:46
add a comment |
1
"Please don't bother"? To answer your question?
– Shubham Johri
Dec 2 at 14:24
@Shubham Johri , I know that my question is a lack of mind and totally dull , and I fear that it may be put on hold or closed by the community , but the concept of reflection is quite new to me and I really don't know a bit about it.
– Awe Kumar Jha
Dec 2 at 14:29
1
It's okay I guess. Nobody is at the same level and this website is meant for general consumption. All you have to do is convince us that you have genuinely tried to solve the problem.
– Shubham Johri
Dec 2 at 14:46
1
1
"Please don't bother"? To answer your question?
– Shubham Johri
Dec 2 at 14:24
"Please don't bother"? To answer your question?
– Shubham Johri
Dec 2 at 14:24
@Shubham Johri , I know that my question is a lack of mind and totally dull , and I fear that it may be put on hold or closed by the community , but the concept of reflection is quite new to me and I really don't know a bit about it.
– Awe Kumar Jha
Dec 2 at 14:29
@Shubham Johri , I know that my question is a lack of mind and totally dull , and I fear that it may be put on hold or closed by the community , but the concept of reflection is quite new to me and I really don't know a bit about it.
– Awe Kumar Jha
Dec 2 at 14:29
1
1
It's okay I guess. Nobody is at the same level and this website is meant for general consumption. All you have to do is convince us that you have genuinely tried to solve the problem.
– Shubham Johri
Dec 2 at 14:46
It's okay I guess. Nobody is at the same level and this website is meant for general consumption. All you have to do is convince us that you have genuinely tried to solve the problem.
– Shubham Johri
Dec 2 at 14:46
add a comment |
2 Answers
2
active
oldest
votes
up vote
1
down vote
accepted
Let the image of $(p,q)$ be $(a,b)$.
Since the line joining these two points is orthogonal to $y=mx$, its slope $=frac{b-q}{a-p}=-1/m$. Further, the midpoint of the line segment joining these two points lies on $y=mximplies frac{b+q}2=mcdotfrac{a+p}2$. Solve these two equations to get $(a,b)=(frac{2mq-p(m^2-1)}{m^2+1},frac{2mp+q(m^2-1)}{m^2+1})$.
add a comment |
up vote
1
down vote
There is a simple derivation using complex numbers.
Let $alpha$ be the angle the line forms with the positive $x$-semiaxis, so $m=tanalpha$; we can choose $-pi/2<alpha<pi/2$.
We can find the point corresponding to $(p,q)$ in three steps:
- rotate the point around the origin by the angle $-alpha$;
- get the reflection of the point about the $x$-axis;
- rotate the point around the origin by the angle $alpha$.
If we identify $(p,q)$ with $z=p+iq$ and consider $u=cosalpha+isinalpha$, then the three operations above are
- multiply $z$ by $u^{-1}=bar{u}$;
- get the conjugate;
- multiply by $u$.
The bar denotes conjugation.
Thus the corresponding point is
$$
overline{(zbar{u})}u=bar{z}uu=u^2bar{z}
$$
Now it's just a matter of separating the real and imaginary parts. Note that
$$
u^2=cos2alpha+isin2alpha
$$
so we have
$$
u^2bar{z}=(cos2alpha+isin2alpha)(p-iq)=(pcos2alpha+qsin2alpha)+i(psin2alpha-qcos2alpha)
$$
Taking into account that
$$
cos2alpha=frac{1-tan^2alpha}{1+tan^2alpha}=frac{1-m^2}{1+m^2},qquad
sin2alpha=frac{2tanalpha}{1+tan^2alpha}=frac{2m}{1+m^2}
$$
we have
$$
(p,q)mapstoleft(frac{1-m^2}{1+m^2}p+frac{2m}{1+m^2}q,frac{2m}{1+m^2}p-frac{1-m^2}{1+m^2}qright)
$$
In matrix form, identifying a point with a column vector, the transformation is
$$
begin{bmatrix} p \ q end{bmatrix}
mapsto
begin{bmatrix}
dfrac{1-m^2}{1+m^2} & dfrac{2m}{1+m^2} \
dfrac{2m}{1+m^2} & -dfrac{1-m^2}{1+m^2}
end{bmatrix}
begin{bmatrix} p \ q end{bmatrix}
=
begin{bmatrix}
cos2alpha & sin2alpha \
sin2alpha & -cos2alpha
end{bmatrix}
begin{bmatrix} p \ q end{bmatrix}
$$
Note that the trigonometric representation is also valid for any angle, including $pi/2$.
add a comment |
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
accepted
Let the image of $(p,q)$ be $(a,b)$.
Since the line joining these two points is orthogonal to $y=mx$, its slope $=frac{b-q}{a-p}=-1/m$. Further, the midpoint of the line segment joining these two points lies on $y=mximplies frac{b+q}2=mcdotfrac{a+p}2$. Solve these two equations to get $(a,b)=(frac{2mq-p(m^2-1)}{m^2+1},frac{2mp+q(m^2-1)}{m^2+1})$.
add a comment |
up vote
1
down vote
accepted
Let the image of $(p,q)$ be $(a,b)$.
Since the line joining these two points is orthogonal to $y=mx$, its slope $=frac{b-q}{a-p}=-1/m$. Further, the midpoint of the line segment joining these two points lies on $y=mximplies frac{b+q}2=mcdotfrac{a+p}2$. Solve these two equations to get $(a,b)=(frac{2mq-p(m^2-1)}{m^2+1},frac{2mp+q(m^2-1)}{m^2+1})$.
add a comment |
up vote
1
down vote
accepted
up vote
1
down vote
accepted
Let the image of $(p,q)$ be $(a,b)$.
Since the line joining these two points is orthogonal to $y=mx$, its slope $=frac{b-q}{a-p}=-1/m$. Further, the midpoint of the line segment joining these two points lies on $y=mximplies frac{b+q}2=mcdotfrac{a+p}2$. Solve these two equations to get $(a,b)=(frac{2mq-p(m^2-1)}{m^2+1},frac{2mp+q(m^2-1)}{m^2+1})$.
Let the image of $(p,q)$ be $(a,b)$.
Since the line joining these two points is orthogonal to $y=mx$, its slope $=frac{b-q}{a-p}=-1/m$. Further, the midpoint of the line segment joining these two points lies on $y=mximplies frac{b+q}2=mcdotfrac{a+p}2$. Solve these two equations to get $(a,b)=(frac{2mq-p(m^2-1)}{m^2+1},frac{2mp+q(m^2-1)}{m^2+1})$.
answered Dec 2 at 14:41
Shubham Johri
1,28239
1,28239
add a comment |
add a comment |
up vote
1
down vote
There is a simple derivation using complex numbers.
Let $alpha$ be the angle the line forms with the positive $x$-semiaxis, so $m=tanalpha$; we can choose $-pi/2<alpha<pi/2$.
We can find the point corresponding to $(p,q)$ in three steps:
- rotate the point around the origin by the angle $-alpha$;
- get the reflection of the point about the $x$-axis;
- rotate the point around the origin by the angle $alpha$.
If we identify $(p,q)$ with $z=p+iq$ and consider $u=cosalpha+isinalpha$, then the three operations above are
- multiply $z$ by $u^{-1}=bar{u}$;
- get the conjugate;
- multiply by $u$.
The bar denotes conjugation.
Thus the corresponding point is
$$
overline{(zbar{u})}u=bar{z}uu=u^2bar{z}
$$
Now it's just a matter of separating the real and imaginary parts. Note that
$$
u^2=cos2alpha+isin2alpha
$$
so we have
$$
u^2bar{z}=(cos2alpha+isin2alpha)(p-iq)=(pcos2alpha+qsin2alpha)+i(psin2alpha-qcos2alpha)
$$
Taking into account that
$$
cos2alpha=frac{1-tan^2alpha}{1+tan^2alpha}=frac{1-m^2}{1+m^2},qquad
sin2alpha=frac{2tanalpha}{1+tan^2alpha}=frac{2m}{1+m^2}
$$
we have
$$
(p,q)mapstoleft(frac{1-m^2}{1+m^2}p+frac{2m}{1+m^2}q,frac{2m}{1+m^2}p-frac{1-m^2}{1+m^2}qright)
$$
In matrix form, identifying a point with a column vector, the transformation is
$$
begin{bmatrix} p \ q end{bmatrix}
mapsto
begin{bmatrix}
dfrac{1-m^2}{1+m^2} & dfrac{2m}{1+m^2} \
dfrac{2m}{1+m^2} & -dfrac{1-m^2}{1+m^2}
end{bmatrix}
begin{bmatrix} p \ q end{bmatrix}
=
begin{bmatrix}
cos2alpha & sin2alpha \
sin2alpha & -cos2alpha
end{bmatrix}
begin{bmatrix} p \ q end{bmatrix}
$$
Note that the trigonometric representation is also valid for any angle, including $pi/2$.
add a comment |
up vote
1
down vote
There is a simple derivation using complex numbers.
Let $alpha$ be the angle the line forms with the positive $x$-semiaxis, so $m=tanalpha$; we can choose $-pi/2<alpha<pi/2$.
We can find the point corresponding to $(p,q)$ in three steps:
- rotate the point around the origin by the angle $-alpha$;
- get the reflection of the point about the $x$-axis;
- rotate the point around the origin by the angle $alpha$.
If we identify $(p,q)$ with $z=p+iq$ and consider $u=cosalpha+isinalpha$, then the three operations above are
- multiply $z$ by $u^{-1}=bar{u}$;
- get the conjugate;
- multiply by $u$.
The bar denotes conjugation.
Thus the corresponding point is
$$
overline{(zbar{u})}u=bar{z}uu=u^2bar{z}
$$
Now it's just a matter of separating the real and imaginary parts. Note that
$$
u^2=cos2alpha+isin2alpha
$$
so we have
$$
u^2bar{z}=(cos2alpha+isin2alpha)(p-iq)=(pcos2alpha+qsin2alpha)+i(psin2alpha-qcos2alpha)
$$
Taking into account that
$$
cos2alpha=frac{1-tan^2alpha}{1+tan^2alpha}=frac{1-m^2}{1+m^2},qquad
sin2alpha=frac{2tanalpha}{1+tan^2alpha}=frac{2m}{1+m^2}
$$
we have
$$
(p,q)mapstoleft(frac{1-m^2}{1+m^2}p+frac{2m}{1+m^2}q,frac{2m}{1+m^2}p-frac{1-m^2}{1+m^2}qright)
$$
In matrix form, identifying a point with a column vector, the transformation is
$$
begin{bmatrix} p \ q end{bmatrix}
mapsto
begin{bmatrix}
dfrac{1-m^2}{1+m^2} & dfrac{2m}{1+m^2} \
dfrac{2m}{1+m^2} & -dfrac{1-m^2}{1+m^2}
end{bmatrix}
begin{bmatrix} p \ q end{bmatrix}
=
begin{bmatrix}
cos2alpha & sin2alpha \
sin2alpha & -cos2alpha
end{bmatrix}
begin{bmatrix} p \ q end{bmatrix}
$$
Note that the trigonometric representation is also valid for any angle, including $pi/2$.
add a comment |
up vote
1
down vote
up vote
1
down vote
There is a simple derivation using complex numbers.
Let $alpha$ be the angle the line forms with the positive $x$-semiaxis, so $m=tanalpha$; we can choose $-pi/2<alpha<pi/2$.
We can find the point corresponding to $(p,q)$ in three steps:
- rotate the point around the origin by the angle $-alpha$;
- get the reflection of the point about the $x$-axis;
- rotate the point around the origin by the angle $alpha$.
If we identify $(p,q)$ with $z=p+iq$ and consider $u=cosalpha+isinalpha$, then the three operations above are
- multiply $z$ by $u^{-1}=bar{u}$;
- get the conjugate;
- multiply by $u$.
The bar denotes conjugation.
Thus the corresponding point is
$$
overline{(zbar{u})}u=bar{z}uu=u^2bar{z}
$$
Now it's just a matter of separating the real and imaginary parts. Note that
$$
u^2=cos2alpha+isin2alpha
$$
so we have
$$
u^2bar{z}=(cos2alpha+isin2alpha)(p-iq)=(pcos2alpha+qsin2alpha)+i(psin2alpha-qcos2alpha)
$$
Taking into account that
$$
cos2alpha=frac{1-tan^2alpha}{1+tan^2alpha}=frac{1-m^2}{1+m^2},qquad
sin2alpha=frac{2tanalpha}{1+tan^2alpha}=frac{2m}{1+m^2}
$$
we have
$$
(p,q)mapstoleft(frac{1-m^2}{1+m^2}p+frac{2m}{1+m^2}q,frac{2m}{1+m^2}p-frac{1-m^2}{1+m^2}qright)
$$
In matrix form, identifying a point with a column vector, the transformation is
$$
begin{bmatrix} p \ q end{bmatrix}
mapsto
begin{bmatrix}
dfrac{1-m^2}{1+m^2} & dfrac{2m}{1+m^2} \
dfrac{2m}{1+m^2} & -dfrac{1-m^2}{1+m^2}
end{bmatrix}
begin{bmatrix} p \ q end{bmatrix}
=
begin{bmatrix}
cos2alpha & sin2alpha \
sin2alpha & -cos2alpha
end{bmatrix}
begin{bmatrix} p \ q end{bmatrix}
$$
Note that the trigonometric representation is also valid for any angle, including $pi/2$.
There is a simple derivation using complex numbers.
Let $alpha$ be the angle the line forms with the positive $x$-semiaxis, so $m=tanalpha$; we can choose $-pi/2<alpha<pi/2$.
We can find the point corresponding to $(p,q)$ in three steps:
- rotate the point around the origin by the angle $-alpha$;
- get the reflection of the point about the $x$-axis;
- rotate the point around the origin by the angle $alpha$.
If we identify $(p,q)$ with $z=p+iq$ and consider $u=cosalpha+isinalpha$, then the three operations above are
- multiply $z$ by $u^{-1}=bar{u}$;
- get the conjugate;
- multiply by $u$.
The bar denotes conjugation.
Thus the corresponding point is
$$
overline{(zbar{u})}u=bar{z}uu=u^2bar{z}
$$
Now it's just a matter of separating the real and imaginary parts. Note that
$$
u^2=cos2alpha+isin2alpha
$$
so we have
$$
u^2bar{z}=(cos2alpha+isin2alpha)(p-iq)=(pcos2alpha+qsin2alpha)+i(psin2alpha-qcos2alpha)
$$
Taking into account that
$$
cos2alpha=frac{1-tan^2alpha}{1+tan^2alpha}=frac{1-m^2}{1+m^2},qquad
sin2alpha=frac{2tanalpha}{1+tan^2alpha}=frac{2m}{1+m^2}
$$
we have
$$
(p,q)mapstoleft(frac{1-m^2}{1+m^2}p+frac{2m}{1+m^2}q,frac{2m}{1+m^2}p-frac{1-m^2}{1+m^2}qright)
$$
In matrix form, identifying a point with a column vector, the transformation is
$$
begin{bmatrix} p \ q end{bmatrix}
mapsto
begin{bmatrix}
dfrac{1-m^2}{1+m^2} & dfrac{2m}{1+m^2} \
dfrac{2m}{1+m^2} & -dfrac{1-m^2}{1+m^2}
end{bmatrix}
begin{bmatrix} p \ q end{bmatrix}
=
begin{bmatrix}
cos2alpha & sin2alpha \
sin2alpha & -cos2alpha
end{bmatrix}
begin{bmatrix} p \ q end{bmatrix}
$$
Note that the trigonometric representation is also valid for any angle, including $pi/2$.
answered Dec 2 at 14:53
egreg
175k1383198
175k1383198
add a comment |
add a comment |
Thanks for contributing an answer to Mathematics Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3022687%2fa-simple-problem-over-reflection-of-point-about-a-line%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
"Please don't bother"? To answer your question?
– Shubham Johri
Dec 2 at 14:24
@Shubham Johri , I know that my question is a lack of mind and totally dull , and I fear that it may be put on hold or closed by the community , but the concept of reflection is quite new to me and I really don't know a bit about it.
– Awe Kumar Jha
Dec 2 at 14:29
1
It's okay I guess. Nobody is at the same level and this website is meant for general consumption. All you have to do is convince us that you have genuinely tried to solve the problem.
– Shubham Johri
Dec 2 at 14:46