Questions tagged [graphing-functions]

For questions regarding the plotting or graphing of functions. For questions about the kinds of graphs with vertices and edges, use the (graph-theory) tag instead.

Given a real-valued function $f\colon \mathbf{R} \to \mathbf{R}$, the graph of $f$ is the set of all input-output pairs $(x,f(x))$ regarded as a set of points in the plane $\mathbf{R} \times \mathbf{R}$. Considering the graph of a function gives us a geometric perspective on the data that the function represents.

  • If the function $f$ is continuous, the graph of $f$ "looks continuous." That is, there are no gaps, and the graph is a connected curve.

  • If the function $f$ is differentiable, then it will contain no "sharp corners."

  • If we're thinking of the domain of the function as representing time, the the graph gives us a nice visualization of the change in outputs of the function over time.

A graph can be defined much more generally though. Let $\mathbf{k}$ be a local field, and suppose $f$ is a vector-valued function $f\colon \mathbf{k}^n \to \mathbf{k}^m$ where $f(x_1, \dotsc, x_n) = (y_1, \dotsc, y_m)$ and each coordinate $y_i$ of the output is a function of the $x_1, \dotsc, x_n$. In this setting, the graph of $f$ is the set of points

$$(x_1, \dotsc, x_n, y_1, \dotsc, y_m) \subset \mathbf{k}^{n+m}\,.$$

This general construction of the graph of a function can be useful in the study of algebraic geometry or the study of manifolds.

5041 questions
2
votes
1 answer

$y=x^x$ Graph Confusion

I plotted $y=x^x$ just for fun online, but i cam up with very confusing and unexpected results. The returned graph resembles a form of exponential, but with some unique features. They are the reasons why i'm confused. Graphs seem to be able to graph…
John Hon
  • 473
2
votes
2 answers

Curved line through points

I would like to be able to do something like this in c++. How can I go about creating a nice curved line like this through a list of points? Can anyone please point me in the direction of the relevant maths? Edit 1: Here is another example of what…
Beakie
  • 298
2
votes
1 answer

How to graph a level set of $f(x,y)=\sqrt{4-x^2-y^2}$?

If the definitions are: $$D=\{(x,y) \in\mathbb{R}^2 \mid x^2+y^2<4\}$$ $$f:D\rightarrow\mathbb{R}$$ $$f(x,y)=\sqrt{4-x^2-y^2}$$ How do I graph the contour line (subset of $D$) where $f(x,y)=c$ with a real constant $c > 0$? I'm using a mac, so I've…
Void
  • 451
2
votes
1 answer

Approximate a function from points

I would like to approximate a polynomial equation from a series of points. Searching around this site I found this post which pointed to the Lagrange Interpolating Polynomial. The challenge however is that the points I have are inexact, differing by…
Chris Smith
  • 123
  • 1
  • 5
2
votes
3 answers

Why Can't I graph $(-1)^x$?

I tried to graph $(-1)^x$ but got nothing. Then I went on and tried $(-1)^{3.2}$ and got -1 as the answer, but when I tried $x=3.3$ instead I got an error. I know that when x is a natural number that is even we should get $(-1)^x=1$ and that we…
Reine
  • 25
2
votes
1 answer

Can we construct a non-trivial bicubic Bezier surface with mean curvature = 0 everywhere?

If possible how to display the min and max mean curvature values?
2
votes
1 answer

Parabola directrix formula

Question 1: I don't understand why (p+x)^2 = (MP)^2 Does it include positive and negative values? Question 2: Why is x + p = 0 Any help is much appreciated. Thank you.
jhuk
  • 359
2
votes
2 answers

Find the positive real number(s) $c$ such that the graphs of $y=x^c$ and $x=y^c$ intersect (somewhere) at an angle $\frac{\pi}{4}$

Find the positive real number(s) $c$ such that the graphs of $y=x^c$ and $x=y^c$ intersect (somewhere) at an angle $\frac{\pi}{4}$. A problem from Mark Krusemeyer. Should one be using the symmetry of the graphs along $x=y$ due the functions being…
2
votes
1 answer

Drawing critical points together with a level curve

I would like some help sketching the critical points of a given function. The function $f$ is given by $f (x, y) = (\sin x + \sin y)^2$ for all $(x, y)$ in $\mathbb R^2$. The critical points we have gotten so far are: $(((π/2)+2πn),(π/2)+2πn)$,…
Pinkney
  • 35
  • 3
2
votes
1 answer

What does the double vertical lines in the domain of a function mean?

In my math textbook there was a question to sketch a possible graph in which it gave me some information on it. One of the questions gave me the domain and range of the function. The domain was [-5,||) and the range was [0,||). What does the double…
Justin Lam
  • 33
  • 1
  • 4
2
votes
2 answers

Graphing a function of 4 variables

I have a function of 4 variables: i, r, s, and p. This is the function: $$f(i,r,s,p) = s*p(\frac{r} {1+i-r}) $$ D=$\mathbb{R}$ Is there a way for me to graph this function? Is it somehow possible to modify a 3D graph to express 4 variables if I were…
Daniel
  • 216
2
votes
2 answers

Get rid of division in modulo

I'm writing a program, that draws horizontal stripes and blank spaces between them with the same height 44. So I made an inequality $({{y}\over{44}}) \mod {2} < {1} $ The problem is I'm not allowed to use the division in this programming…
Ali_run
  • 23
2
votes
2 answers

Is there a quick method for sketching the general shape of $f(x)=x^2 e^x$ by inspection?

I would like to know if there is a way to sketch the graph of $f(x)=x^2 e^x$ without finding the axis intercepts, asymptotes, and differentiating to find the maxima/minima etc. I was informed that in trying to sketch $f(x)$ it is helpful to sketch…
BLAZE
  • 8,458
2
votes
2 answers

$6x -3y -18 =0$ What does $x$ and $y$ equal on a straight line graph?

I need to sketch a graph of $6x-3y-18=0$. I don't know if I'm on the right track but this is what I tried to get $x$: $6x-3y-18=0$ $\Rightarrow 6x-3y+18=0+18$ $\Rightarrow 6x-3y=18$ $\Rightarrow 6x-3(0)=18$ $\Rightarrow x=18/6$ $\Rightarrow x=3$ Am…
Lisa
  • 51
2
votes
1 answer

Find asymptote of $f(x)=(1+x)^{1/x}$

Find asymptote of $f(x)=(1+x)^{1/x}$ I am thinking, maybe I differentiate and let $f'(x)=0$? But how do I even differentiate the equation? Or maybe I do $\lim_{n\to\infty} (1+x)^{1/x}$ ... but I dont really see how do I do this? I think the answer…
Jiew Meng
  • 4,593