How Do I Derive Equation From a Graph?

In summary: If you're looking for a function that approximates the points, you'll need to use a higher order polynomial.
  • #1
Gordon Arnaut
16
0
How can I derive the equation from a Graph?

The x coordinates are: 28,30,32,33,34,35

The Y coordinates are: 7,8,9,10,11,12


We could express this as a relation, r:

r{(7,28), (8,30), (9,32), (10,33), (11,34) (12,35)}


Regards,

Gordon,
 
Physics news on Phys.org
  • #2
Are you familiar with the general form of a linear equation, y=mx+b? What are m and b?

Graph your points by hand, and you should be able to figure out m and b. Then, you should look in your book to see how you figure out m and b when you are given just two x,y points for a line in the general case...
 
  • #3
BTW, I moved this thread to Homework Help, Precalculus Math. Please be sure to post all homework and coursework problems in the Homework Help forums, and not in the general forums.
 
  • #4
Berkeman,

The relation describes a curve, not a line.

See the attached graph.


Regards,

Gordon
 

Attachments

  • graph.JPG
    graph.JPG
    10 KB · Views: 1,043
  • #5
Ah, I'd just glanced at the first few data points, and it looked like the delta y was 1 for each 2 delta x. But now I see that it's actually two straight lines that join in the middle...

So you should be able to write the equation as piecewise continuous straight lines over two x intervals...
 
  • #6
Okay thanks, Berkeman.

Actually there are more data points, so it becomes more like a curve than two straight lines.

I'm going to try function transformations to see if I can come up with a formula that comes close to matching the curve.

Regards,

Gordon.
 
  • #7
The most straightforward approach is to fit an (n-1) degree polynomial to the n points, in this case a degree 5 since you have 6 points. It means solving a 6 x 6 set of simultaneous linear equations to get the coefficients of the polynomial. The fit will be exact, but the function may be wiggly - may or may not be what you want.

If you are looking for an approximating function that is fit to the points in a least squares sense, that's more complicated. There is no way I know of to determine the best form of the equation to model the points (exhaustive trial and error will get you close). If the points came from experimental data, you might glean a hint from knowledge of the mathematical/physical nature of the experiment. Short of that, you can look at the points and make intelligent guesses as to functions to try (e.g. low order polynomials, exponential, etc.). It means trial and error, but that's a perfectly valid technique.
.
 
Last edited:
  • #8
There exists an infinite number of graphs that will pass through any given finite set of points. What other conditions do you have? Are you looking for the polynomial of lowest degree that gives a graph through those points?
 
  • #9
You can get a best fit line from a graphing calculator or Excel, seeing as you already have the data in there
 

1. How do I determine the slope of a line from a graph?

The slope of a line on a graph can be determined by selecting two points on the line and using the formula (y2-y1)/(x2-x1), where (x1, y1) and (x2, y2) are the coordinates of the chosen points.

2. What is the significance of the y-intercept on a graph?

The y-intercept on a graph represents the value of the dependent variable (y) when the independent variable (x) is equal to 0. It is the starting point of the line on the y-axis and can provide important information about the relationship between the variables.

3. How do I use a graph to find the equation of a line?

To find the equation of a line from a graph, you can use the slope-intercept form (y=mx+b) where m is the slope of the line and b is the y-intercept. You can determine the values of m and b by using the coordinates of any point on the line.

4. What is the difference between a linear and a nonlinear graph?

A linear graph is a straight line, while a nonlinear graph is any curve or shape that is not a straight line. Linear graphs have a constant slope, while nonlinear graphs have a changing slope.

5. Can I derive an equation from any type of graph?

No, not all graphs can be used to derive an equation. Only linear graphs can be used to derive a linear equation. Nonlinear graphs may require more complex methods to derive an equation, such as using a curve fitting tool or calculus.

Similar threads

  • Precalculus Mathematics Homework Help
Replies
10
Views
610
  • Precalculus Mathematics Homework Help
Replies
12
Views
6K
Replies
49
Views
1K
  • Precalculus Mathematics Homework Help
Replies
2
Views
959
  • Precalculus Mathematics Homework Help
Replies
3
Views
758
  • Precalculus Mathematics Homework Help
Replies
14
Views
2K
Replies
4
Views
757
  • Precalculus Mathematics Homework Help
Replies
9
Views
2K
  • General Engineering
Replies
6
Views
387
  • Introductory Physics Homework Help
Replies
2
Views
2K
Back
Top