Plotting contour diagrams? how do i do that?

  • Thread starter Thread starter starsiege
  • Start date Start date
  • Tags Tags
    Diagrams Plotting
Click For Summary
SUMMARY

This discussion focuses on the process of plotting contour diagrams for functions of two variables, specifically f(x,y) = x+y and f(x,y) = x² - y². Participants emphasize the importance of selecting appropriate values for the constant c to generate contour lines and suggest using linear interpolation for data derived from tables. Key techniques include identifying intercepts for straight lines and recognizing hyperbolic shapes for quadratic functions. The conversation concludes that using graphing calculators can simplify the plotting process.

PREREQUISITES
  • Understanding of contour diagrams in multivariable calculus
  • Familiarity with linear equations and their graphical representations
  • Knowledge of hyperbolic functions and their properties
  • Basic skills in linear interpolation for data analysis
NEXT STEPS
  • Learn how to perform linear interpolation for contour plotting
  • Study the properties of hyperbolas and their asymptotes
  • Explore the use of graphing calculators for visualizing multivariable functions
  • Investigate software tools for automated contour plotting from data tables
USEFUL FOR

Students studying calculus, educators teaching multivariable functions, and anyone interested in visualizing mathematical concepts through contour diagrams.

starsiege
Messages
6
Reaction score
0
im learning about contour diagrams in my calculus text but I am totally confused as to how one should start drawing those plots?

for example f(x,y) = x+y
then its supposed to go like

x+y = c
y = -x +c

^^i can see that the slope is 1
but how do i plot this graph?..im told that i should give values to c and plot it...but I am totally confused as to how i should do that (the answer is there too but i donno how they drew the graph/which method they used to draw it)



also I am totally confused as to how one can draw a contour diagram from the data given in a table

table of values for f(x,y) = X^2 - Y^2

i have attached the table here too


thank you
 

Attachments

  • contour.jpg
    contour.jpg
    5.4 KB · Views: 735
Physics news on Phys.org
Connect the dots.
 
well..my main issue is how to find each separate contour line?

if i were to draw one line which dots/values should i use

:confused:
 
starsiege said:
well..my main issue is how to find each separate contour line?

if i were to draw one line which dots/values should i use

:confused:

Well, your curves are easy. Your first example is a straight line so you can use slope and intercept. Your second example looks like a hyperbolic functions so you could find the asymptotes and the point where it crosses the axis.

In general though it is not much different then plotting any function. Pick some x values, find the corresponding y values and plot. If you can find roots, asymptotes and extreme values that can reduce the number of points you need to find. You could use a graphing calculator if you are having trouble.
 
starsiege said:
well..my main issue is how to find each separate contour line?

if i were to draw one line which dots/values should i use

:confused:
Here is one procedure to find approximate dots from values in a table: Look along
each row and each column in the table to find the "box" through which the contour
might pass. Then do a linear interpolation to find the coordinates. Then connect the dots.

For example, suppose you look for the contour -1 in your table. Looking along the first
row in your table, this contour would have approximate dots at the
coordinates (-2.8, 3.0) and (2.8,3.0). Now do this for every row and
every column, collect the dots and connect them.

Now, write a computer programme to do this automatically and you will see that it is not as easy as the above instructions seem!
 
starsiege said:
im learning about contour diagrams in my calculus text but I am totally confused as to how one should start drawing those plots?

for example f(x,y) = x+y
then its supposed to go like

x+y = c
y = -x +c

^^i can see that the slope is 1
I would hope that you could see the slope was -1!

but how do i plot this graph?..im told that i should give values to c and plot it...but I am totally confused as to how i should do that (the answer is there too but i donno how they drew the graph/which method they used to draw it)
Surely, if you are looking at functions of more than 1 variable, you learned long ago that the graph of y= -x+ c is a straight line! You only need two points to determine a straight line. when x= 0, y= c and when y= 0, x= c. Draw the straight line through the intercepts (0, c) and (c, 0). Do that for several different values of c.

also I am totally confused as to how one can draw a contour diagram from the data given in a table

table of values for f(x,y) = X^2 - Y^2

i have attached the table here too


thank you
Why make a table? That's what you do with functions you've never seen before! That's what a calculator does! You are supposed to be smarter than a calculator.

For any c, f(x,y)= c is x2- y2= c. You should recognise immediately that that is a hyperbola. If c is positive, the vertices are at (\sqrt{c}, 0) and (-\sqrt{c},0) and the asymptotes are the lines y= x+ \sqrt{c} and y= -x+ \sqrt{c}. If c is negative, the vertices are at (0, \sqrt{c}) and (0, -\sqrt{c}) and the same asymptotes as above. If c= 0, the asymptotes are the graph. It should take you about 3 minutes to draw several of those contours.
 
Relativistic Momentum, Mass, and Energy Momentum and mass (...), the classic equations for conserving momentum and energy are not adequate for the analysis of high-speed collisions. (...) The momentum of a particle moving with velocity ##v## is given by $$p=\cfrac{mv}{\sqrt{1-(v^2/c^2)}}\qquad{R-10}$$ ENERGY In relativistic mechanics, as in classic mechanics, the net force on a particle is equal to the time rate of change of the momentum of the particle. Considering one-dimensional...

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 19 ·
Replies
19
Views
4K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 8 ·
Replies
8
Views
848
  • · Replies 0 ·
Replies
0
Views
1K
Replies
7
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 2 ·
Replies
2
Views
962