image
Physics Forums Logo
image
image
* Register * Upgrade Blogs Library Staff Rules Mark Forums Read
image
image   image
image

Go Back   Physics Forums > Mathematics > General Math


Reply

image Graph reflections Share It Thread Tools Search this Thread image
Old Jun20-09, 05:15 AM                  #1
Mentallic

Mentallic is Online:
Posts: 791
Graph reflections

I know how to take the reflection of a graph in the LaTeX Code: y=x line, or more formally, finding the inverse function. All I really do is switch the x and y variables in the function.

e.g. LaTeX Code: y=x^2 , LaTeX Code: x=y^2

I tried taking the same idea and extending it to a reflection in the y=mx line, m constant. But I encountered problems as such:

Take the function LaTeX Code: y=(x+1)^2 , reflect it in the line LaTeX Code: y=2x or LaTeX Code: x=y/2

I tried using the same idea as before, so I substitute all x and y variables as such and this is the result:

LaTeX Code: y=(x+1)^2 : 2x=(y/2+1)^2

But when I graph both functions, it doesn't look correct. The new 'reflected' function looks much too fat/shallow.
Could someone please explain what I'm doing wrong. Where is my logic flawed here?
  Reply With Quote
Old Jun20-09, 01:10 PM                  #2
tiny-tim
 
tiny-tim's Avatar

Homework Helper 2008

tiny-tim is Online:
Posts: 9,285
Blog Entries: 27
Recognitions:
PF Contributor PF Contributor
Homework Helper Homework Helper
Science Advisor Science Advisor
Hi Mentallic!

Your first transformation was

0 1
1 0

which is a reflection.

Your second transformation is

0 1/2
2 0

It leaves the line y = 2x invariant not because it is a reflection about that line, but because it is a reflection about y = x combined with a shear:

0 1
1 0

and

1/2 0
0 2
  Reply With Quote
Old Jun20-09, 10:22 PM                  #3
Mentallic

Mentallic is Online:
Posts: 791
Re: Graph reflections

Oh no, matrices. My worst enemy! I tried to learn them off the Massechusetts (spelling) videos on youtube, but failed miserably after a few lectures.

Is it possible to extend this explanation into another form other than matrices?
  Reply With Quote
Old Jun21-09, 04:47 AM                  #4
tiny-tim
 
tiny-tim's Avatar

Homework Helper 2008

tiny-tim is Online:
Posts: 9,285
Blog Entries: 27
Recognitions:
PF Contributor PF Contributor
Homework Helper Homework Helper
Science Advisor Science Advisor
Originally Posted by Mentallic View Post
Oh no, matrices. My worst enemy! I tried to learn them off the Massechusetts (spelling) videos on youtube, but failed miserably after a few lectures.

Is it possible to extend this explanation into another form other than matrices?
ah … this is your chance to get a better understanding of matrices.

First, can you see that

3 0
0 3

is an expansion (everything gets 3 times bigger)?

Second,

3 0
0 1

stretches in the x-direction only (leaving the y coordinates the same),

and likewise

1 0
0 2

stretches in the y-direction only (leaving the x coordinates the same).

Finally,

3 0
0 2

is a shear, which stretches 3 times in the x-direction but only 2 times in the y-direction, and

0 3
2 0

is a reflection in the x = y line, combined with a shear.
Does that make sense?
  Reply With Quote
Old Jun21-09, 04:56 AM                  #5
Mentallic

Mentallic is Online:
Posts: 791
Re: Graph reflections

Surprisingly, yes

But this is how I learnt (if you can even call it that) matrices:

Excuse me for not using latex, as I don't know how to create matrices...

[a c] [e]
[b d] [f]

Is equivalent to: ax+cy=e and bx+dy=f

Now, as for all the matrices you've shown, I don't know what they're supposed to mean when they don't have the second 'box' next to them.

i.e.

3 0
0 3

this is equivalent to 3x and 3y? It doesn't make sense to me when they're not expressed as functions.
  Reply With Quote
Old Jun21-09, 05:15 AM                  #6
tiny-tim
 
tiny-tim's Avatar

Homework Helper 2008

tiny-tim is Online:
Posts: 9,285
Blog Entries: 27
Recognitions:
PF Contributor PF Contributor
Homework Helper Homework Helper
Science Advisor Science Advisor
Originally Posted by Mentallic View Post
Excuse me for not using latex, as I don't know how to create matrices...
I do know how to

but it takes so long I can't be bothered!
But this is how I learnt (if you can even call it that) matrices:

[a c] [e]
[b d] [f]

Is equivalent to: ax+cy=e and bx+dy=f
Nooo, that should be:

[a c] [x] = [e]
[b d] [y] = [f]
Now, as for all the matrices you've shown, I don't know what they're supposed to mean when they don't have the second 'box' next to them.

i.e.

3 0
0 3

this is equivalent to 3x and 3y? It doesn't make sense to me when they're not expressed as functions.
[3 0]
[0 3]

is (in algebra) a set of instructions,

and (in geometry) a transformation,

and it means that if you put a vector next to it:

[3 0] [2]
[0 3] [3]

then it converts that vector to another vector:

[3 0] [2] = [6]
[0 3] [3] = [9]

and similarly

[0 3]
[2 0]

is the rule that converts as follows:

[0 3] [2] = [9]
[2 0] [3] = [4]
So when you write a matrix on its own, it's a rule (like a computer program),

and you can put any "input" vector next to it, and get an "output" vector.
  Reply With Quote
Old Jun21-09, 05:51 AM                  #7
Mentallic

Mentallic is Online:
Posts: 791
Re: Graph reflections

omgosh

Maybe I should go learn matrices for real this time... Be back in a bit after
i've acquired more knowledge on the topic
  Reply With Quote
Old Jun21-09, 06:23 AM                  #8
Mentallic

Mentallic is Online:
Posts: 791
Re: Graph reflections

In one last attempt, I tried reflecting LaTeX Code: y=(x+1)^2 in the line LaTeX Code: y=4x
This case is slightly different since the line now intersects the parabola at one point (1,4) and when I tried the same thing I did previously:

So I plotted LaTeX Code: 4x=(\\frac{y}{4}+1)^2 and this parabola intersected the the line at the same point, which is consistent with the features of other functions being reflected in the y=x line. I guess they don't look like the same because they have been sheared as you said tiny-tim

Still, I need to learn these matrices as they keep popping up in the most awkward places and catch me off-guard.
  Reply With Quote
image image
Reply
Thread Tools


Similar Threads for: Graph reflections
Thread Thread Starter Forum Replies Last Post
Finite reflections Loren Booda General Physics 1 Dec5-08 06:03 AM
Reflections Aamun Introductory Physics 2 Jan9-08 11:24 PM
Reflections of Functions HelloMotto Precalculus Mathematics 2 Nov3-07 02:37 PM
Reflections on Relativity Hyperreality Science Book Discussion 1 Dec12-04 04:26 PM
Celestial reflections? bothnicum General Astronomy 9 Mar21-04 10:49 PM

Powered by vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd. © 2009 Physics Forums
Sciam | physorgPhysorg.com Science News Partner
image
image   image